public interface Credentials extends Service, CredentialsTypes
_VAPI_SERVICE_ID, CREATE_ADDON_TYPE_HCX, GET_ADDON_TYPE_HCX, LIST_ADDON_TYPE_HCX, UPDATE_ADDON_TYPE_HCX
Modifier and Type | Method and Description |
---|---|
NewCredentials |
create(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType,
NewCredentials credentials)
Associated a new add on credentials with the SDDC such as HCX
|
void |
create(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType,
NewCredentials credentials,
AsyncCallback<NewCredentials> asyncCallback)
Associated a new add on credentials with the SDDC such as HCX
|
void |
create(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType,
NewCredentials credentials,
AsyncCallback<NewCredentials> asyncCallback,
InvocationConfig invocationConfig)
Associated a new add on credentials with the SDDC such as HCX
|
NewCredentials |
create(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType,
NewCredentials credentials,
InvocationConfig invocationConfig)
Associated a new add on credentials with the SDDC such as HCX
|
NewCredentials |
get(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType,
java.lang.String name)
Get credential details by name
|
void |
get(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType,
java.lang.String name,
AsyncCallback<NewCredentials> asyncCallback)
Get credential details by name
|
void |
get(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType,
java.lang.String name,
AsyncCallback<NewCredentials> asyncCallback,
InvocationConfig invocationConfig)
Get credential details by name
|
NewCredentials |
get(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType,
java.lang.String name,
InvocationConfig invocationConfig)
Get credential details by name
|
java.util.List<NewCredentials> |
list(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType)
List all the credentials assoicated with an addon type with in a SDDC
|
void |
list(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType,
AsyncCallback<java.util.List<NewCredentials>> asyncCallback)
List all the credentials assoicated with an addon type with in a SDDC
|
void |
list(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType,
AsyncCallback<java.util.List<NewCredentials>> asyncCallback,
InvocationConfig invocationConfig)
List all the credentials assoicated with an addon type with in a SDDC
|
java.util.List<NewCredentials> |
list(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType,
InvocationConfig invocationConfig)
List all the credentials assoicated with an addon type with in a SDDC
|
NewCredentials |
update(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType,
java.lang.String name,
UpdateCredentials credentials)
Update credential details
|
void |
update(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType,
java.lang.String name,
UpdateCredentials credentials,
AsyncCallback<NewCredentials> asyncCallback)
Update credential details
|
void |
update(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType,
java.lang.String name,
UpdateCredentials credentials,
AsyncCallback<NewCredentials> asyncCallback,
InvocationConfig invocationConfig)
Update credential details
|
NewCredentials |
update(java.lang.String org,
java.lang.String sddcId,
java.lang.String addonType,
java.lang.String name,
UpdateCredentials credentials,
InvocationConfig invocationConfig)
Update credential details
|
NewCredentials create(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, NewCredentials credentials)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)credentials
- Credentials creation payload (required)ConcurrentChange
- Credentials with same name exists with in the scope of addOnTypeInvalidRequest
- Invalid inputUnauthorized
- ForbiddenNewCredentials create(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, NewCredentials credentials, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)credentials
- Credentials creation payload (required)invocationConfig
- Configuration for the method invocation.ConcurrentChange
- Credentials with same name exists with in the scope of addOnTypeInvalidRequest
- Invalid inputUnauthorized
- Forbiddenvoid create(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, NewCredentials credentials, AsyncCallback<NewCredentials> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.vmc.model.NewCredentials
Operation Errors:
ConcurrentChange
- Credentials with same name exists with in the scope of addOnType
InvalidRequest
- Invalid input
Unauthorized
- Forbidden
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)credentials
- Credentials creation payload (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, NewCredentials credentials, AsyncCallback<NewCredentials> asyncCallback, InvocationConfig invocationConfig)
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.NewCredentials
Operation Errors:
ConcurrentChange
- Credentials with same name exists with in the scope of addOnType
InvalidRequest
- Invalid input
Unauthorized
- Forbidden
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)credentials
- Credentials creation payload (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.NewCredentials get(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, java.lang.String name)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)name
- name of the credentials (required)Unauthorized
- ForbiddenNewCredentials get(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, java.lang.String name, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)name
- name of the credentials (required)invocationConfig
- Configuration for the method invocation.Unauthorized
- Forbiddenvoid get(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, java.lang.String name, AsyncCallback<NewCredentials> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.vmc.model.NewCredentials
Operation Errors:
Unauthorized
- Forbidden
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)name
- name of the credentials (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, java.lang.String name, AsyncCallback<NewCredentials> asyncCallback, InvocationConfig invocationConfig)
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.NewCredentials
Operation Errors:
Unauthorized
- Forbidden
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)name
- name of the credentials (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<NewCredentials> list(java.lang.String org, java.lang.String sddcId, java.lang.String addonType)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)Unauthorized
- Forbiddenjava.util.List<NewCredentials> list(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)invocationConfig
- Configuration for the method invocation.Unauthorized
- Forbiddenvoid list(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, AsyncCallback<java.util.List<NewCredentials>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthorized
- Forbidden
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, AsyncCallback<java.util.List<NewCredentials>> asyncCallback, InvocationConfig invocationConfig)
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:
Unauthorized
- Forbidden
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.NewCredentials update(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, java.lang.String name, UpdateCredentials credentials)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)name
- name of the credentials (required)credentials
- Credentials update payload (required)InvalidRequest
- Bad requestUnauthorized
- ForbiddenNewCredentials update(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, java.lang.String name, UpdateCredentials credentials, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)name
- name of the credentials (required)credentials
- Credentials update payload (required)invocationConfig
- Configuration for the method invocation.InvalidRequest
- Bad requestUnauthorized
- Forbiddenvoid update(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, java.lang.String name, UpdateCredentials credentials, AsyncCallback<NewCredentials> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.vmc.model.NewCredentials
Operation Errors:
InvalidRequest
- Bad request
Unauthorized
- Forbidden
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)name
- name of the credentials (required)credentials
- Credentials update payload (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, java.lang.String name, UpdateCredentials credentials, AsyncCallback<NewCredentials> asyncCallback, InvocationConfig invocationConfig)
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.NewCredentials
Operation Errors:
InvalidRequest
- Bad request
Unauthorized
- Forbidden
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)name
- name of the credentials (required)credentials
- Credentials update payload (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.