public class ConnectedAccountsStub extends com.vmware.vapi.internal.bindings.Stub implements ConnectedAccounts
ConnectedAccounts
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ConnectedAccountsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ConnectedAccountsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
AwsCustomerConnectedAccount |
delete(java.lang.String org,
java.lang.String linkedAccountPathId,
java.lang.Boolean forceEvenWhenSddcPresent)
Delete a particular connected (linked) account.
|
void |
delete(java.lang.String org,
java.lang.String linkedAccountPathId,
java.lang.Boolean forceEvenWhenSddcPresent,
AsyncCallback<AwsCustomerConnectedAccount> asyncCallback)
Delete a particular connected (linked) account.
|
void |
delete(java.lang.String org,
java.lang.String linkedAccountPathId,
java.lang.Boolean forceEvenWhenSddcPresent,
AsyncCallback<AwsCustomerConnectedAccount> asyncCallback,
InvocationConfig invocationConfig)
Delete a particular connected (linked) account.
|
AwsCustomerConnectedAccount |
delete(java.lang.String org,
java.lang.String linkedAccountPathId,
java.lang.Boolean forceEvenWhenSddcPresent,
InvocationConfig invocationConfig)
Delete a particular connected (linked) account.
|
java.util.List<AwsCustomerConnectedAccount> |
get(java.lang.String org,
java.lang.String provider)
Get a list of connected accounts
|
void |
get(java.lang.String org,
java.lang.String provider,
AsyncCallback<java.util.List<AwsCustomerConnectedAccount>> asyncCallback)
Get a list of connected accounts
|
void |
get(java.lang.String org,
java.lang.String provider,
AsyncCallback<java.util.List<AwsCustomerConnectedAccount>> asyncCallback,
InvocationConfig invocationConfig)
Get a list of connected accounts
|
java.util.List<AwsCustomerConnectedAccount> |
get(java.lang.String org,
java.lang.String provider,
InvocationConfig invocationConfig)
Get a list of connected accounts
|
public ConnectedAccountsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ConnectedAccountsStub(ApiProvider apiProvider, StubConfigurationBase config)
public AwsCustomerConnectedAccount delete(java.lang.String org, java.lang.String linkedAccountPathId, java.lang.Boolean forceEvenWhenSddcPresent)
ConnectedAccounts
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface ConnectedAccounts
org
- Organization identifier (required)linkedAccountPathId
- The linked connected account identifier (required)forceEvenWhenSddcPresent
- When true, forcibly removes a connected account even when SDDC's are still
linked to it. (optional)public AwsCustomerConnectedAccount delete(java.lang.String org, java.lang.String linkedAccountPathId, java.lang.Boolean forceEvenWhenSddcPresent, InvocationConfig invocationConfig)
ConnectedAccounts
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface ConnectedAccounts
org
- Organization identifier (required)linkedAccountPathId
- The linked connected account identifier (required)forceEvenWhenSddcPresent
- When true, forcibly removes a connected account even when SDDC's are still
linked to it. (optional)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String org, java.lang.String linkedAccountPathId, java.lang.Boolean forceEvenWhenSddcPresent, AsyncCallback<AwsCustomerConnectedAccount> asyncCallback)
ConnectedAccounts
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.vmc.model.AwsCustomerConnectedAccount
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- An invalid connected account ID was specified, or the connection still has SDDCs
active on it.
Unauthorized
- Forbidden
delete
in interface ConnectedAccounts
org
- Organization identifier (required)linkedAccountPathId
- The linked connected account identifier (required)forceEvenWhenSddcPresent
- When true, forcibly removes a connected account even when SDDC's are still
linked to it. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String org, java.lang.String linkedAccountPathId, java.lang.Boolean forceEvenWhenSddcPresent, AsyncCallback<AwsCustomerConnectedAccount> asyncCallback, InvocationConfig invocationConfig)
ConnectedAccounts
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.vmc.model.AwsCustomerConnectedAccount
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- An invalid connected account ID was specified, or the connection still has SDDCs
active on it.
Unauthorized
- Forbidden
delete
in interface ConnectedAccounts
org
- Organization identifier (required)linkedAccountPathId
- The linked connected account identifier (required)forceEvenWhenSddcPresent
- When true, forcibly removes a connected account even when SDDC's are still
linked to it. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.util.List<AwsCustomerConnectedAccount> get(java.lang.String org, java.lang.String provider)
ConnectedAccounts
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ConnectedAccounts
org
- Organization identifier (required)provider
- The cloud provider of the SDDC (AWS or ZeroCloud). Default value is AWS.
(optional)public java.util.List<AwsCustomerConnectedAccount> get(java.lang.String org, java.lang.String provider, InvocationConfig invocationConfig)
ConnectedAccounts
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface ConnectedAccounts
org
- Organization identifier (required)provider
- The cloud provider of the SDDC (AWS or ZeroCloud). Default value is AWS.
(optional)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String org, java.lang.String provider, AsyncCallback<java.util.List<AwsCustomerConnectedAccount>> asyncCallback)
ConnectedAccounts
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
get
in interface ConnectedAccounts
org
- Organization identifier (required)provider
- The cloud provider of the SDDC (AWS or ZeroCloud). Default value is AWS.
(optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String org, java.lang.String provider, AsyncCallback<java.util.List<AwsCustomerConnectedAccount>> asyncCallback, InvocationConfig invocationConfig)
ConnectedAccounts
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
get
in interface ConnectedAccounts
org
- Organization identifier (required)provider
- The cloud provider of the SDDC (AWS or ZeroCloud). Default value is AWS.
(optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.