public interface NamespaceTemplates extends Service, NamespaceTemplatesTypes
NamespaceTemplates
interface provides methods to create and update
namespace templates on a cluster. The namespace templates are used if the NamespaceSelfService
is enabled on a Supervisor. This interface was added in
vSphere API 7.0.2.00100.NamespaceTemplatesTypes.CreateSpec, NamespaceTemplatesTypes.Info, NamespaceTemplatesTypes.InfoV2, NamespaceTemplatesTypes.Subject, NamespaceTemplatesTypes.Summary, NamespaceTemplatesTypes.SummaryV2, 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 in this vCenter Server.
|
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 in this vCenter Server.
|
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 in this vCenter Server.
|
void |
create(java.lang.String cluster,
NamespaceTemplatesTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Creates a namespace template on a cluster on which vSphere Namespaces are
enabled in this vCenter Server.
|
void |
createV2(java.lang.String supervisor,
NamespaceTemplatesTypes.CreateSpec spec)
Creates a namespace template on a Supervisor.
|
void |
createV2(java.lang.String supervisor,
NamespaceTemplatesTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Creates a namespace template on a Supervisor.
|
void |
createV2(java.lang.String supervisor,
NamespaceTemplatesTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Creates a namespace template on a Supervisor.
|
void |
createV2(java.lang.String supervisor,
NamespaceTemplatesTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Creates a namespace template on a Supervisor.
|
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.
|
NamespaceTemplatesTypes.InfoV2 |
getV2(java.lang.String supervisor,
java.lang.String template)
Get the information about a namespace template on a Supervisor.
|
void |
getV2(java.lang.String supervisor,
java.lang.String template,
AsyncCallback<NamespaceTemplatesTypes.InfoV2> asyncCallback)
Get the information about a namespace template on a Supervisor.
|
void |
getV2(java.lang.String supervisor,
java.lang.String template,
AsyncCallback<NamespaceTemplatesTypes.InfoV2> asyncCallback,
InvocationConfig invocationConfig)
Get the information about a namespace template on a Supervisor.
|
NamespaceTemplatesTypes.InfoV2 |
getV2(java.lang.String supervisor,
java.lang.String template,
InvocationConfig invocationConfig)
Get the information about a namespace template on a Supervisor.
|
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 in this vCenter Server.
|
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 in this vCenter Server.
|
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 in this vCenter Server.
|
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 in this vCenter Server.
|
java.util.List<NamespaceTemplatesTypes.SummaryV2> |
listV2(java.lang.String supervisor)
Returns information about all the namespace templates associated with a
Supervisor.
|
void |
listV2(java.lang.String supervisor,
AsyncCallback<java.util.List<NamespaceTemplatesTypes.SummaryV2>> asyncCallback)
Returns information about all the namespace templates associated with a
Supervisor.
|
void |
listV2(java.lang.String supervisor,
AsyncCallback<java.util.List<NamespaceTemplatesTypes.SummaryV2>> asyncCallback,
InvocationConfig invocationConfig)
Returns information about all the namespace templates associated with a
Supervisor.
|
java.util.List<NamespaceTemplatesTypes.SummaryV2> |
listV2(java.lang.String supervisor,
InvocationConfig invocationConfig)
Returns information about all the namespace templates associated with a
Supervisor.
|
void |
update(java.lang.String cluster,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec)
Updates a namespace template associated with cluster on which vSphere Namespaces
are enabled in this vCenter Server.
|
void |
update(java.lang.String cluster,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Updates a namespace template associated with cluster on which vSphere Namespaces
are enabled in this vCenter Server.
|
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 cluster on which vSphere Namespaces
are enabled in this vCenter Server.
|
void |
update(java.lang.String cluster,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Updates a namespace template associated with cluster on which vSphere Namespaces
are enabled in this vCenter Server.
|
void |
updateV2(java.lang.String supervisor,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec)
Updates a namespace template associated with a Supervisor.
|
void |
updateV2(java.lang.String supervisor,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Updates a namespace template associated with a Supervisor.
|
void |
updateV2(java.lang.String supervisor,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Updates a namespace template associated with a Supervisor.
|
void |
updateV2(java.lang.String supervisor,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Updates a namespace template associated with a Supervisor.
|
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.NamespaceTemplatesTypes.InfoV2 getV2(java.lang.String supervisor, java.lang.String template)
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.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 the Supervisor 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.InfoV2 getV2(java.lang.String supervisor, 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.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.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 the Supervisor 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 getV2(java.lang.String supervisor, java.lang.String template, AsyncCallback<NamespaceTemplatesTypes.InfoV2> 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 the Supervisor 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.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.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 getV2(java.lang.String supervisor, java.lang.String template, AsyncCallback<NamespaceTemplatesTypes.InfoV2> 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 the Supervisor 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.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.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.java.util.List<NamespaceTemplatesTypes.SummaryV2> listV2(java.lang.String supervisor)
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.Error
- if the system reports an error while responding to the request.NotFound
- if the Supervisor 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.SummaryV2> listV2(java.lang.String supervisor, 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.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotFound
- if the Supervisor doesn't exist.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have System.Read privilege.void listV2(java.lang.String supervisor, AsyncCallback<java.util.List<NamespaceTemplatesTypes.SummaryV2>> 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 the Supervisor.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the Supervisor doesn't exist.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void listV2(java.lang.String supervisor, AsyncCallback<java.util.List<NamespaceTemplatesTypes.SummaryV2>> 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 the Supervisor.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the Supervisor doesn't exist.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.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 createV2(java.lang.String supervisor, NamespaceTemplatesTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.spec
- Specification for setting up the namespace template.Error
- if the system reports an error while responding to the request.NotFound
- if the Supervisor 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 Supervisor hosting the namespaces uses
VSPHERE_NETWORK as its network provider, or if {link CreateSpec#networks} is not
empty if the Supervisor 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 createV2(java.lang.String supervisor, 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.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.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 the Supervisor 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 Supervisor hosting the namespaces uses
VSPHERE_NETWORK as its network provider, or if {link CreateSpec#networks} is not
empty if the Supervisor 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 createV2(java.lang.String supervisor, 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 the Supervisor 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 Supervisor hosting the namespaces uses
VSPHERE_NETWORK as its network provider, or if {link CreateSpec#networks} is not
empty if the Supervisor 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.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.spec
- Specification for setting up the namespace template.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void createV2(java.lang.String supervisor, 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 the Supervisor 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 Supervisor hosting the namespaces uses
VSPHERE_NETWORK as its network provider, or if {link CreateSpec#networks} is not
empty if the Supervisor 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.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.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. A Supervisor can be running on one or multiple vSphere
Zones, and each vSphere Zone is associated with one or more vSphere Clusters. If
a Supervisor running on the specified vSphere Cluster is running on additional
vSphere Clusters, this operation will apply to Supervisor components running on
the other vSphere Clusters in addition to the specified vSphere Cluster. To call
this API on a Supervisor with multiple vSphere Clusters, use
com.vmware.vcenter.namespace_management.supervisors.Topology#get to get the
vSphere Clusters associated with the given Supervisor. Any cluster from the list
returned can be used as the input of this API. 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 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. A Supervisor can be running on one or multiple vSphere
Zones, and each vSphere Zone is associated with one or more vSphere Clusters. If
a Supervisor running on the specified vSphere Cluster is running on additional
vSphere Clusters, this operation will apply to Supervisor components running on
the other vSphere Clusters in addition to the specified vSphere Cluster. To call
this API on a Supervisor with multiple vSphere Clusters, use
com.vmware.vcenter.namespace_management.supervisors.Topology#get to get the
vSphere Clusters associated with the given Supervisor. Any cluster from the list
returned can be used as the input of this API. 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 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. A Supervisor can be running on one or multiple vSphere
Zones, and each vSphere Zone is associated with one or more vSphere Clusters. If
a Supervisor running on the specified vSphere Cluster is running on additional
vSphere Clusters, this operation will apply to Supervisor components running on
the other vSphere Clusters in addition to the specified vSphere Cluster. To call
this API on a Supervisor with multiple vSphere Clusters, use
com.vmware.vcenter.namespace_management.supervisors.Topology#get to get the
vSphere Clusters associated with the given Supervisor. Any cluster from the list
returned can be used as the input of this API. 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 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. A Supervisor can be running on one or multiple vSphere
Zones, and each vSphere Zone is associated with one or more vSphere Clusters. If
a Supervisor running on the specified vSphere Cluster is running on additional
vSphere Clusters, this operation will apply to Supervisor components running on
the other vSphere Clusters in addition to the specified vSphere Cluster. To call
this API on a Supervisor with multiple vSphere Clusters, use
com.vmware.vcenter.namespace_management.supervisors.Topology#get to get the
vSphere Clusters associated with the given Supervisor. Any cluster from the list
returned can be used as the input of this API. 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 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.void updateV2(java.lang.String supervisor, 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
8.0.0.1.
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.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 the Supervisor 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 updateV2(java.lang.String supervisor, 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
8.0.0.1.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.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 the Supervisor 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 updateV2(java.lang.String supervisor, 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
8.0.0.1.
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 the Supervisor 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.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.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 updateV2(java.lang.String supervisor, 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
8.0.0.1.
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 the Supervisor 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.
supervisor
- Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.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.