public interface SddcTemplates extends Service, SddcTemplatesTypes
_VAPI_SERVICE_ID
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
|
Task delete(java.lang.String org, java.lang.String templateId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Organization identifier (required)templateId
- SDDC Template identifier (required)Unauthenticated
- UnauthorizedUnauthorized
- ForbiddenTask delete(java.lang.String org, java.lang.String templateId, 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
- Organization identifier (required)templateId
- SDDC Template identifier (required)invocationConfig
- Configuration for the method invocation.Unauthenticated
- UnauthorizedUnauthorized
- Forbiddenvoid delete(java.lang.String org, java.lang.String templateId, AsyncCallback<Task> asyncCallback)
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
org
- Organization identifier (required)templateId
- SDDC Template identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String org, java.lang.String templateId, AsyncCallback<Task> 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.Task
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
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.SddcTemplate get(java.lang.String org, java.lang.String templateId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Organization identifier (required)templateId
- SDDC Template identifier (required)Unauthenticated
- UnauthorizedUnauthorized
- ForbiddenNotFound
- Cannot find the SDDC Template with given identifierSddcTemplate get(java.lang.String org, java.lang.String templateId, 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
- Organization identifier (required)templateId
- SDDC Template identifier (required)invocationConfig
- Configuration for the method invocation.Unauthenticated
- UnauthorizedUnauthorized
- ForbiddenNotFound
- Cannot find the SDDC Template with given identifiervoid get(java.lang.String org, java.lang.String templateId, AsyncCallback<SddcTemplate> asyncCallback)
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
org
- Organization identifier (required)templateId
- SDDC Template identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String org, java.lang.String templateId, AsyncCallback<SddcTemplate> 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.SddcTemplate
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
NotFound
- Cannot find the SDDC Template with given identifier
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.java.util.List<SddcTemplate> list(java.lang.String org)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Organization identifier (required)Unauthenticated
- UnauthorizedUnauthorized
- Forbiddenjava.util.List<SddcTemplate> list(java.lang.String org, 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
- Organization identifier (required)invocationConfig
- Configuration for the method invocation.Unauthenticated
- UnauthorizedUnauthorized
- Forbiddenvoid list(java.lang.String org, AsyncCallback<java.util.List<SddcTemplate>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
org
- Organization identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String org, AsyncCallback<java.util.List<SddcTemplate>> 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:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
org
- Organization identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.