public class NamespaceTemplatesStub extends com.vmware.vapi.internal.bindings.Stub implements NamespaceTemplates
NamespaceTemplates
API service.
WARNING: Internal class, subject to change in future versions.
NamespaceTemplatesTypes.CreateSpec, NamespaceTemplatesTypes.Info, NamespaceTemplatesTypes.InfoV2, NamespaceTemplatesTypes.Subject, NamespaceTemplatesTypes.Summary, NamespaceTemplatesTypes.SummaryV2, NamespaceTemplatesTypes.UpdateSpecapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID, RESOURCE_TYPE| Constructor and Description |
|---|
NamespaceTemplatesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
NamespaceTemplatesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| 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.
|
public NamespaceTemplatesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public NamespaceTemplatesStub(ApiProvider apiProvider, StubConfigurationBase config)
public NamespaceTemplatesTypes.Info get(java.lang.String cluster, java.lang.String template)
NamespaceTemplatesSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface NamespaceTemplatescluster - 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.public NamespaceTemplatesTypes.Info get(java.lang.String cluster, java.lang.String template, InvocationConfig invocationConfig)
NamespaceTemplatesSynchronous 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 NamespaceTemplatescluster - 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.public void get(java.lang.String cluster,
java.lang.String template,
AsyncCallback<NamespaceTemplatesTypes.Info> asyncCallback)
NamespaceTemplatesAsynchronous 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.
get in interface NamespaceTemplatescluster - 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.public void get(java.lang.String cluster,
java.lang.String template,
AsyncCallback<NamespaceTemplatesTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
NamespaceTemplatesAsynchronous 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.
get in interface NamespaceTemplatescluster - 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.public NamespaceTemplatesTypes.InfoV2 getV2(java.lang.String supervisor, java.lang.String template)
NamespaceTemplatesSynchronous method overload. Result of the invocation will be reported as a method return value.
getV2 in interface NamespaceTemplatessupervisor - 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.public NamespaceTemplatesTypes.InfoV2 getV2(java.lang.String supervisor, java.lang.String template, InvocationConfig invocationConfig)
NamespaceTemplatesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
getV2 in interface NamespaceTemplatessupervisor - 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.public void getV2(java.lang.String supervisor,
java.lang.String template,
AsyncCallback<NamespaceTemplatesTypes.InfoV2> asyncCallback)
NamespaceTemplatesAsynchronous 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.
getV2 in interface NamespaceTemplatessupervisor - 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.public void getV2(java.lang.String supervisor,
java.lang.String template,
AsyncCallback<NamespaceTemplatesTypes.InfoV2> asyncCallback,
InvocationConfig invocationConfig)
NamespaceTemplatesAsynchronous 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.
getV2 in interface NamespaceTemplatessupervisor - 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.public java.util.List<NamespaceTemplatesTypes.Summary> list(java.lang.String cluster)
NamespaceTemplatesSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface NamespaceTemplatescluster - 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.public java.util.List<NamespaceTemplatesTypes.Summary> list(java.lang.String cluster, InvocationConfig invocationConfig)
NamespaceTemplatesSynchronous 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 NamespaceTemplatescluster - 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.public void list(java.lang.String cluster,
AsyncCallback<java.util.List<NamespaceTemplatesTypes.Summary>> asyncCallback)
NamespaceTemplatesAsynchronous 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.
list in interface NamespaceTemplatescluster - 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.public void list(java.lang.String cluster,
AsyncCallback<java.util.List<NamespaceTemplatesTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
NamespaceTemplatesAsynchronous 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.
list in interface NamespaceTemplatescluster - 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.public java.util.List<NamespaceTemplatesTypes.SummaryV2> listV2(java.lang.String supervisor)
NamespaceTemplatesSynchronous method overload. Result of the invocation will be reported as a method return value.
listV2 in interface NamespaceTemplatessupervisor - Identifier for the Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor.public java.util.List<NamespaceTemplatesTypes.SummaryV2> listV2(java.lang.String supervisor, InvocationConfig invocationConfig)
NamespaceTemplatesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
listV2 in interface NamespaceTemplatessupervisor - 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.public void listV2(java.lang.String supervisor,
AsyncCallback<java.util.List<NamespaceTemplatesTypes.SummaryV2>> asyncCallback)
NamespaceTemplatesAsynchronous 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.
listV2 in interface NamespaceTemplatessupervisor - 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.public void listV2(java.lang.String supervisor,
AsyncCallback<java.util.List<NamespaceTemplatesTypes.SummaryV2>> asyncCallback,
InvocationConfig invocationConfig)
NamespaceTemplatesAsynchronous 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.
listV2 in interface NamespaceTemplatessupervisor - 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.public void create(java.lang.String cluster,
NamespaceTemplatesTypes.CreateSpec spec)
NamespaceTemplatesSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface NamespaceTemplatescluster - 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.public void create(java.lang.String cluster,
NamespaceTemplatesTypes.CreateSpec spec,
InvocationConfig invocationConfig)
NamespaceTemplatesSynchronous 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 NamespaceTemplatescluster - 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.public void create(java.lang.String cluster,
NamespaceTemplatesTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
NamespaceTemplatesAsynchronous 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 or to grant access to a user or
group from an external identity provider.
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.
create in interface NamespaceTemplatescluster - 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.public void create(java.lang.String cluster,
NamespaceTemplatesTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
NamespaceTemplatesAsynchronous 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 or to grant access to a user or
group from an external identity provider.
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.
create in interface NamespaceTemplatescluster - 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.public void createV2(java.lang.String supervisor,
NamespaceTemplatesTypes.CreateSpec spec)
NamespaceTemplatesSynchronous method overload. Result of the invocation will be reported as a method return value.
createV2 in interface NamespaceTemplatessupervisor - 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.public void createV2(java.lang.String supervisor,
NamespaceTemplatesTypes.CreateSpec spec,
InvocationConfig invocationConfig)
NamespaceTemplatesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
createV2 in interface NamespaceTemplatessupervisor - 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.public void createV2(java.lang.String supervisor,
NamespaceTemplatesTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
NamespaceTemplatesAsynchronous 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 or to grant access to a user or
group from an external identity provider.
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.
createV2 in interface NamespaceTemplatessupervisor - 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.public void createV2(java.lang.String supervisor,
NamespaceTemplatesTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
NamespaceTemplatesAsynchronous 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 or to grant access to a user or
group from an external identity provider.
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.
createV2 in interface NamespaceTemplatessupervisor - 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.public void update(java.lang.String cluster,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec)
NamespaceTemplatesnull 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.
update in interface NamespaceTemplatescluster - 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.public void update(java.lang.String cluster,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
NamespaceTemplatesnull 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.
update in interface NamespaceTemplatescluster - 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.public void update(java.lang.String cluster,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
NamespaceTemplatesnull 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.
Unsupported - if trying to grant access to a user or group from an external identity provider.
update in interface NamespaceTemplatescluster - 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.public void update(java.lang.String cluster,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
NamespaceTemplatesnull 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.
Unsupported - if trying to grant access to a user or group from an external identity provider.
update in interface NamespaceTemplatescluster - 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.public void updateV2(java.lang.String supervisor,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec)
NamespaceTemplatesnull 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.
updateV2 in interface NamespaceTemplatessupervisor - 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.public void updateV2(java.lang.String supervisor,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
NamespaceTemplatesnull 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.
updateV2 in interface NamespaceTemplatessupervisor - 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.public void updateV2(java.lang.String supervisor,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
NamespaceTemplatesnull 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.
Unsupported - if trying to grant access to a user or group from an external identity provider.
updateV2 in interface NamespaceTemplatessupervisor - 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.public void updateV2(java.lang.String supervisor,
java.lang.String template,
NamespaceTemplatesTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
NamespaceTemplatesnull 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.
Unsupported - if trying to grant access to a user or group from an external identity provider.
updateV2 in interface NamespaceTemplatessupervisor - 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.