public class SddcTemplatesStub extends com.vmware.vapi.internal.bindings.Stub implements SddcTemplates
SddcTemplates
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
SddcTemplatesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
SddcTemplatesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
Task |
delete(java.lang.String org,
java.lang.String templateId)
Delete SDDC template identified by given id.
|
void |
delete(java.lang.String org,
java.lang.String templateId,
AsyncCallback<Task> asyncCallback)
Delete SDDC template identified by given id.
|
void |
delete(java.lang.String org,
java.lang.String templateId,
AsyncCallback<Task> asyncCallback,
InvocationConfig invocationConfig)
Delete SDDC template identified by given id.
|
Task |
delete(java.lang.String org,
java.lang.String templateId,
InvocationConfig invocationConfig)
Delete SDDC template identified by given id.
|
SddcTemplate |
get(java.lang.String org,
java.lang.String templateId)
Get configuration template by given template id.
|
void |
get(java.lang.String org,
java.lang.String templateId,
AsyncCallback<SddcTemplate> asyncCallback)
Get configuration template by given template id.
|
void |
get(java.lang.String org,
java.lang.String templateId,
AsyncCallback<SddcTemplate> asyncCallback,
InvocationConfig invocationConfig)
Get configuration template by given template id.
|
SddcTemplate |
get(java.lang.String org,
java.lang.String templateId,
InvocationConfig invocationConfig)
Get configuration template by given template id.
|
java.util.List<SddcTemplate> |
list(java.lang.String org)
List all available SDDC configuration templates in an organization
|
void |
list(java.lang.String org,
AsyncCallback<java.util.List<SddcTemplate>> asyncCallback)
List all available SDDC configuration templates in an organization
|
void |
list(java.lang.String org,
AsyncCallback<java.util.List<SddcTemplate>> asyncCallback,
InvocationConfig invocationConfig)
List all available SDDC configuration templates in an organization
|
java.util.List<SddcTemplate> |
list(java.lang.String org,
InvocationConfig invocationConfig)
List all available SDDC configuration templates in an organization
|
public SddcTemplatesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public SddcTemplatesStub(ApiProvider apiProvider, StubConfigurationBase config)
public Task delete(java.lang.String org, java.lang.String templateId)
SddcTemplates
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface SddcTemplates
org
- Organization identifier (required)templateId
- SDDC Template identifier (required)public Task delete(java.lang.String org, java.lang.String templateId, InvocationConfig invocationConfig)
SddcTemplates
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 SddcTemplates
org
- Organization identifier (required)templateId
- SDDC Template identifier (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String org, java.lang.String templateId, AsyncCallback<Task> asyncCallback)
SddcTemplates
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.vmc.model.Task
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
delete
in interface SddcTemplates
org
- Organization identifier (required)templateId
- SDDC Template identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String org, java.lang.String templateId, AsyncCallback<Task> asyncCallback, InvocationConfig invocationConfig)
SddcTemplates
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.Task
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
delete
in interface SddcTemplates
org
- Organization identifier (required)templateId
- SDDC Template identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public SddcTemplate get(java.lang.String org, java.lang.String templateId)
SddcTemplates
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface SddcTemplates
org
- Organization identifier (required)templateId
- SDDC Template identifier (required)public SddcTemplate get(java.lang.String org, java.lang.String templateId, InvocationConfig invocationConfig)
SddcTemplates
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 SddcTemplates
org
- Organization identifier (required)templateId
- SDDC Template identifier (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String org, java.lang.String templateId, AsyncCallback<SddcTemplate> asyncCallback)
SddcTemplates
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.vmc.model.SddcTemplate
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
NotFound
- Cannot find the SDDC Template with given identifier
get
in interface SddcTemplates
org
- Organization identifier (required)templateId
- SDDC Template identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String org, java.lang.String templateId, AsyncCallback<SddcTemplate> asyncCallback, InvocationConfig invocationConfig)
SddcTemplates
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.SddcTemplate
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
NotFound
- Cannot find the SDDC Template with given identifier
get
in interface SddcTemplates
org
- Organization identifier (required)templateId
- SDDC Template identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.util.List<SddcTemplate> list(java.lang.String org)
SddcTemplates
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface SddcTemplates
org
- Organization identifier (required)public java.util.List<SddcTemplate> list(java.lang.String org, InvocationConfig invocationConfig)
SddcTemplates
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 SddcTemplates
org
- Organization identifier (required)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String org, AsyncCallback<java.util.List<SddcTemplate>> asyncCallback)
SddcTemplates
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
list
in interface SddcTemplates
org
- Organization identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String org, AsyncCallback<java.util.List<SddcTemplate>> asyncCallback, InvocationConfig invocationConfig)
SddcTemplates
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
list
in interface SddcTemplates
org
- Organization identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.