public class CredentialsStub extends com.vmware.vapi.internal.bindings.Stub implements Credentials
Credentials
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, CREATE_ADDON_TYPE_HCX, GET_ADDON_TYPE_HCX, LIST_ADDON_TYPE_HCX, UPDATE_ADDON_TYPE_HCX
Constructor and Description |
---|
CredentialsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
CredentialsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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
|
public CredentialsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public CredentialsStub(ApiProvider apiProvider, StubConfigurationBase config)
public NewCredentials create(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, NewCredentials credentials)
Credentials
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface Credentials
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)credentials
- Credentials creation payload (required)public NewCredentials create(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, NewCredentials credentials, InvocationConfig invocationConfig)
Credentials
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface Credentials
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.public void create(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, NewCredentials credentials, AsyncCallback<NewCredentials> asyncCallback)
Credentials
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
create
in interface Credentials
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.public void create(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, NewCredentials credentials, AsyncCallback<NewCredentials> asyncCallback, InvocationConfig invocationConfig)
Credentials
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
create
in interface Credentials
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.public NewCredentials get(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, java.lang.String name)
Credentials
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Credentials
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)public NewCredentials get(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, java.lang.String name, InvocationConfig invocationConfig)
Credentials
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 Credentials
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.public void get(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, java.lang.String name, AsyncCallback<NewCredentials> asyncCallback)
Credentials
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
get
in interface Credentials
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.public void get(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, java.lang.String name, AsyncCallback<NewCredentials> asyncCallback, InvocationConfig invocationConfig)
Credentials
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
get
in interface Credentials
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.public java.util.List<NewCredentials> list(java.lang.String org, java.lang.String sddcId, java.lang.String addonType)
Credentials
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Credentials
org
- Org id of the associated SDDC (required)sddcId
- Id of the SDDC (required)addonType
- Add on type (required)public java.util.List<NewCredentials> list(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, InvocationConfig invocationConfig)
Credentials
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface Credentials
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.public void list(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, AsyncCallback<java.util.List<NewCredentials>> asyncCallback)
Credentials
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthorized
- Forbidden
list
in interface Credentials
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.public void list(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, AsyncCallback<java.util.List<NewCredentials>> asyncCallback, InvocationConfig invocationConfig)
Credentials
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
list
in interface Credentials
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.public NewCredentials update(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, java.lang.String name, UpdateCredentials credentials)
Credentials
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface Credentials
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)public NewCredentials update(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, java.lang.String name, UpdateCredentials credentials, InvocationConfig invocationConfig)
Credentials
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface Credentials
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.public void update(java.lang.String org, java.lang.String sddcId, java.lang.String addonType, java.lang.String name, UpdateCredentials credentials, AsyncCallback<NewCredentials> asyncCallback)
Credentials
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
update
in interface Credentials
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.public 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)
Credentials
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
update
in interface Credentials
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.