public interface NamespaceTemplates extends Service, NamespaceTemplatesTypes
NamespaceTemplatesTypes.CreateSpec, NamespaceTemplatesTypes.Info, NamespaceTemplatesTypes.Subject, NamespaceTemplatesTypes.Summary, NamespaceTemplatesTypes.UpdateSpec_VAPI_SERVICE_ID, RESOURCE_TYPE| Modifier and Type | Method and Description |
|---|---|
void |
create(java.lang.String cluster,
NamespaceTemplatesTypes.CreateSpec spec)
Creates a namespace template on a cluster on which vSphere Namespaces are
enabled on this vCenter.
|
void |
create(java.lang.String cluster,
NamespaceTemplatesTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Creates a namespace template on a cluster on which vSphere Namespaces are
enabled on this vCenter.
|
void |
create(java.lang.String cluster,
NamespaceTemplatesTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Creates a namespace template on a cluster on which vSphere Namespaces are
enabled on this vCenter.
|
void |
create(java.lang.String cluster,
NamespaceTemplatesTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Creates a namespace template on a cluster on which vSphere Namespaces are
enabled on this vCenter.
|
NamespaceTemplatesTypes.Info |
get(java.lang.String cluster,
java.lang.String template)
Get the information about a namespace template on given cluster.
|
void |
get(java.lang.String cluster,
java.lang.String template,
AsyncCallback<NamespaceTemplatesTypes.Info> asyncCallback)
Get the information about a namespace template on given cluster.
|
void |
get(java.lang.String cluster,
java.lang.String template,
AsyncCallback<NamespaceTemplatesTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Get the information about a namespace template on given cluster.
|
NamespaceTemplatesTypes.Info |
get(java.lang.String cluster,
java.lang.String template,
InvocationConfig invocationConfig)
Get the information about a namespace template on given cluster.
|
java.util.List<NamespaceTemplatesTypes.Summary> |
list(java.lang.String cluster)
Returns information about all the namespace templates associated with a cluster
on which vSphere Namespaces are enabled on this vCenter.
|
void |
list(java.lang.String cluster,
AsyncCallback<java.util.List<NamespaceTemplatesTypes.Summary>> asyncCallback)
Returns information about all the namespace templates associated with a cluster
on which vSphere Namespaces are enabled on this vCenter.
|
void |
list(java.lang.String cluster,
AsyncCallback<java.util.List<NamespaceTemplatesTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns information about all the namespace templates associated with a cluster
on which vSphere Namespaces are enabled on this vCenter.
|
java.util.List<NamespaceTemplatesTypes.Summary> |
list(java.lang.String cluster,
InvocationConfig invocationConfig)
Returns information about all the namespace templates associated with a cluster
on which vSphere Namespaces are enabled on this vCenter.
|
void |
update(java.lang.String cluster,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec)
Updates a namespace template associated with a cluster on which vSphere
Namespaces are enabled on this vCenter.
|
void |
update(java.lang.String cluster,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Updates a namespace template associated with a cluster on which vSphere
Namespaces are enabled on this vCenter.
|
void |
update(java.lang.String cluster,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Updates a namespace template associated with a cluster on which vSphere
Namespaces are enabled on this vCenter.
|
void |
update(java.lang.String cluster,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Updates a namespace template associated with a cluster on which vSphere
Namespaces are enabled on this vCenter.
|
NamespaceTemplatesTypes.Info get(java.lang.String cluster, java.lang.String template)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.template - Name of the namespace template.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.NamespaceTemplate.Error - if the system reports an error while responding to the request.NotFound - if cluster doesn't exist or if template doesn't exist.Unauthenticated - if the user can not be authenticated.Unauthorized - if the user does not have System.Read privilege.NamespaceTemplatesTypes.Info get(java.lang.String cluster, java.lang.String template, 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.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.template - Name of the namespace template.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.NamespaceTemplate.invocationConfig - Configuration for the method invocation.Error - if the system reports an error while responding to the request.NotFound - if cluster doesn't exist or if template doesn't exist.Unauthenticated - if the user can not be authenticated.Unauthorized - if the user does not have System.Read privilege.void get(java.lang.String cluster,
java.lang.String template,
AsyncCallback<NamespaceTemplatesTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Information about the namespace template.
Operation Errors:
Error - if the system reports an error while responding to the request.
NotFound - if cluster doesn't exist or if template doesn't exist.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have System.Read privilege.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.template - Name of the namespace template.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.NamespaceTemplate.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String cluster,
java.lang.String template,
AsyncCallback<NamespaceTemplatesTypes.Info> 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:
Information about the namespace template.
Operation Errors:
Error - if the system reports an error while responding to the request.
NotFound - if cluster doesn't exist or if template doesn't exist.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have System.Read privilege.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.template - Name of the namespace template.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.NamespaceTemplate.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.java.util.List<NamespaceTemplatesTypes.Summary> list(java.lang.String cluster)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.cluster with
vSphere Namespaces enabled.Error - if the system reports an error while responding to the request.NotFound - if cluster doesn't exist.Unauthenticated - if the user can not be authenticated.Unauthorized - if the user does not have System.Read privilege.java.util.List<NamespaceTemplatesTypes.Summary> list(java.lang.String cluster, 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.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.invocationConfig - Configuration for the method invocation.cluster with
vSphere Namespaces enabled.Error - if the system reports an error while responding to the request.NotFound - if cluster doesn't exist.Unauthenticated - if the user can not be authenticated.Unauthorized - if the user does not have System.Read privilege.void list(java.lang.String cluster,
AsyncCallback<java.util.List<NamespaceTemplatesTypes.Summary>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
List of summary of all namespace templates associated with cluster with
vSphere Namespaces enabled.
Operation Errors:
Error - if the system reports an error while responding to the request.
NotFound - if cluster doesn't exist.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have System.Read privilege.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String cluster,
AsyncCallback<java.util.List<NamespaceTemplatesTypes.Summary>> 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:
List of summary of all namespace templates associated with cluster with
vSphere Namespaces enabled.
Operation Errors:
Error - if the system reports an error while responding to the request.
NotFound - if cluster doesn't exist.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have System.Read privilege.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.void create(java.lang.String cluster,
NamespaceTemplatesTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.spec - Specification for setting up the namespace template.Error - if the system reports an error while responding to the request.NotFound - if cluster doesn't exist.InvalidArgument - if spec contain any errors, or if {link CreateSpec#storageSpecs} is
empty, or if {link CreateSpec#resourceSpec} is not set with {term memory_limit},
{term cpu_limit}, {term storage_request_limit}, or if {link CreateSpec#networks}
is not set with networks if the {term cluster} hosting the namespaces uses
VSPHERE_NETWORK as its network provider, or if {link CreateSpec#networks} is not
empty if the {term cluster} hosting the namespaces uses NSXT_CONTAINER_PLUGIN as
its network provider.Unsupported - if a request arrives to create a second template.Unauthenticated - if the user can not be authenticated.Unauthorized - if the user does not have Namespaces.SelfServiceManage privilege.AlreadyExists - if the namespace template with given name already exists.void create(java.lang.String cluster,
NamespaceTemplatesTypes.CreateSpec spec,
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.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.spec - Specification for setting up the namespace template.invocationConfig - Configuration for the method invocation.Error - if the system reports an error while responding to the request.NotFound - if cluster doesn't exist.InvalidArgument - if spec contain any errors, or if {link CreateSpec#storageSpecs} is
empty, or if {link CreateSpec#resourceSpec} is not set with {term memory_limit},
{term cpu_limit}, {term storage_request_limit}, or if {link CreateSpec#networks}
is not set with networks if the {term cluster} hosting the namespaces uses
VSPHERE_NETWORK as its network provider, or if {link CreateSpec#networks} is not
empty if the {term cluster} hosting the namespaces uses NSXT_CONTAINER_PLUGIN as
its network provider.Unsupported - if a request arrives to create a second template.Unauthenticated - if the user can not be authenticated.Unauthorized - if the user does not have Namespaces.SelfServiceManage privilege.AlreadyExists - if the namespace template with given name already exists.void create(java.lang.String cluster,
NamespaceTemplatesTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - if the system reports an error while responding to the request.
NotFound - if cluster doesn't exist.
InvalidArgument - if spec contain any errors, or if {link CreateSpec#storageSpecs} is
empty, or if {link CreateSpec#resourceSpec} is not set with {term memory_limit},
{term cpu_limit}, {term storage_request_limit}, or if {link CreateSpec#networks}
is not set with networks if the {term cluster} hosting the namespaces uses
VSPHERE_NETWORK as its network provider, or if {link CreateSpec#networks} is not
empty if the {term cluster} hosting the namespaces uses NSXT_CONTAINER_PLUGIN as
its network provider.
Unsupported - if a request arrives to create a second template.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have Namespaces.SelfServiceManage privilege.
AlreadyExists - if the namespace template with given name already exists.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.spec - Specification for setting up the namespace template.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void create(java.lang.String cluster,
NamespaceTemplatesTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> 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:
Error - if the system reports an error while responding to the request.
NotFound - if cluster doesn't exist.
InvalidArgument - if spec contain any errors, or if {link CreateSpec#storageSpecs} is
empty, or if {link CreateSpec#resourceSpec} is not set with {term memory_limit},
{term cpu_limit}, {term storage_request_limit}, or if {link CreateSpec#networks}
is not set with networks if the {term cluster} hosting the namespaces uses
VSPHERE_NETWORK as its network provider, or if {link CreateSpec#networks} is not
empty if the {term cluster} hosting the namespaces uses NSXT_CONTAINER_PLUGIN as
its network provider.
Unsupported - if a request arrives to create a second template.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have Namespaces.SelfServiceManage privilege.
AlreadyExists - if the namespace template with given name already exists.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.spec - Specification for setting up the namespace template.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.void update(java.lang.String cluster,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec)
null fields in spec will leave those parts of
configuration as-is. This method was added in vSphere API 7.0.2.00100.
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.template - Name of the namespace template.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.NamespaceTemplate.spec - Specification for updating the namespace template.Error - if the system reports an error while responding to the request.NotFound - if cluster doesn't exist or if template doesn't exist.InvalidArgument - if spec contain any errors.Unauthenticated - if the user can not be authenticated.Unauthorized - if the user does not have Namespaces.SelfServiceManage privilege.void update(java.lang.String cluster,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
null fields in spec will leave those parts of
configuration as-is. This method was added in vSphere API 7.0.2.00100.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.template - Name of the namespace template.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.NamespaceTemplate.spec - Specification for updating the namespace template.invocationConfig - Configuration for the method invocation.Error - if the system reports an error while responding to the request.NotFound - if cluster doesn't exist or if template doesn't exist.InvalidArgument - if spec contain any errors.Unauthenticated - if the user can not be authenticated.Unauthorized - if the user does not have Namespaces.SelfServiceManage privilege.void update(java.lang.String cluster,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
null fields in spec will leave those parts of
configuration as-is. This method was added in vSphere API 7.0.2.00100.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - if the system reports an error while responding to the request.
NotFound - if cluster doesn't exist or if template doesn't exist.
InvalidArgument - if spec contain any errors.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have Namespaces.SelfServiceManage privilege.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.template - Name of the namespace template.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.NamespaceTemplate.spec - Specification for updating the namespace template.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String cluster,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
null fields in spec will leave those parts of
configuration as-is. This method was added in vSphere API 7.0.2.00100.
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:
Error - if the system reports an error while responding to the request.
NotFound - if cluster doesn't exist or if template doesn't exist.
InvalidArgument - if spec contain any errors.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have Namespaces.SelfServiceManage privilege.
cluster - Identifier for the cluster on which vSphere Namespaces are enabled.
The parameter must be an identifier for the resource type: ClusterComputeResource.template - Name of the namespace template.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.NamespaceTemplate.spec - Specification for updating the namespace template.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.