public interface Networks extends Service, NetworksTypes
Networks
interface provides lifecycle methods on vSphere Namespaces
networks associated with a vSphere cluster. This interface was added in vSphere
API 7.0.1.0.NetworksTypes.CreateSpec, NetworksTypes.Info, NetworksTypes.IPAssignmentMode, NetworksTypes.LoadBalancerSize, NetworksTypes.NsxNetworkCreateSpec, NetworksTypes.NsxNetworkInfo, NetworksTypes.NsxNetworkSetSpec, NetworksTypes.NsxNetworkUpdateSpec, NetworksTypes.SetSpec, NetworksTypes.UpdateSpec, NetworksTypes.VsphereDVPGNetworkCreateSpec, NetworksTypes.VsphereDVPGNetworkInfo, NetworksTypes.VsphereDVPGNetworkSetSpec, NetworksTypes.VsphereDVPGNetworkUpdateSpec
_VAPI_SERVICE_ID, RESOURCE_TYPE
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.String cluster,
NetworksTypes.CreateSpec spec)
Create a vSphere Namespaces network object associated with the given cluster.
|
void |
create(java.lang.String cluster,
NetworksTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Create a vSphere Namespaces network object associated with the given cluster.
|
void |
create(java.lang.String cluster,
NetworksTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Create a vSphere Namespaces network object associated with the given cluster.
|
void |
create(java.lang.String cluster,
NetworksTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Create a vSphere Namespaces network object associated with the given cluster.
|
void |
delete(java.lang.String cluster,
java.lang.String network)
Delete the vSphere Namespaces object in the cluster.
|
void |
delete(java.lang.String cluster,
java.lang.String network,
AsyncCallback<java.lang.Void> asyncCallback)
Delete the vSphere Namespaces object in the cluster.
|
void |
delete(java.lang.String cluster,
java.lang.String network,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Delete the vSphere Namespaces object in the cluster.
|
void |
delete(java.lang.String cluster,
java.lang.String network,
InvocationConfig invocationConfig)
Delete the vSphere Namespaces object in the cluster.
|
NetworksTypes.Info |
get(java.lang.String cluster,
java.lang.String network)
Return information about a specific vSphere Namespaces network.
|
void |
get(java.lang.String cluster,
java.lang.String network,
AsyncCallback<NetworksTypes.Info> asyncCallback)
Return information about a specific vSphere Namespaces network.
|
void |
get(java.lang.String cluster,
java.lang.String network,
AsyncCallback<NetworksTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Return information about a specific vSphere Namespaces network.
|
NetworksTypes.Info |
get(java.lang.String cluster,
java.lang.String network,
InvocationConfig invocationConfig)
Return information about a specific vSphere Namespaces network.
|
java.util.List<NetworksTypes.Info> |
list(java.lang.String cluster)
Return information about all vSphere Namespaces networks in the cluster.
|
void |
list(java.lang.String cluster,
AsyncCallback<java.util.List<NetworksTypes.Info>> asyncCallback)
Return information about all vSphere Namespaces networks in the cluster.
|
void |
list(java.lang.String cluster,
AsyncCallback<java.util.List<NetworksTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
Return information about all vSphere Namespaces networks in the cluster.
|
java.util.List<NetworksTypes.Info> |
list(java.lang.String cluster,
InvocationConfig invocationConfig)
Return information about all vSphere Namespaces networks in the cluster.
|
void |
set(java.lang.String cluster,
java.lang.String network,
NetworksTypes.SetSpec spec)
Set a new configuration for the vSphere Namespaces network object associated
with the given cluster.
|
void |
set(java.lang.String cluster,
java.lang.String network,
NetworksTypes.SetSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Set a new configuration for the vSphere Namespaces network object associated
with the given cluster.
|
void |
set(java.lang.String cluster,
java.lang.String network,
NetworksTypes.SetSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set a new configuration for the vSphere Namespaces network object associated
with the given cluster.
|
void |
set(java.lang.String cluster,
java.lang.String network,
NetworksTypes.SetSpec spec,
InvocationConfig invocationConfig)
Set a new configuration for the vSphere Namespaces network object associated
with the given cluster.
|
void |
update(java.lang.String cluster,
java.lang.String network,
NetworksTypes.UpdateSpec spec)
Update the configuration of the vSphere Namespaces network object associated
with the given cluster.
|
void |
update(java.lang.String cluster,
java.lang.String network,
NetworksTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Update the configuration of the vSphere Namespaces network object associated
with the given cluster.
|
void |
update(java.lang.String cluster,
java.lang.String network,
NetworksTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Update the configuration of the vSphere Namespaces network object associated
with the given cluster.
|
void |
update(java.lang.String cluster,
java.lang.String network,
NetworksTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Update the configuration of the vSphere Namespaces network object associated
with the given cluster.
|
void create(java.lang.String cluster, NetworksTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Information about the network object to be created.AlreadyExists
- if a network by the name as specified in the CreateSpec
already exists.Error
- if the system reports an error while responding to the request.InvalidArgument
- if spec
contains any errors.NotAllowedInCurrentState
- if the associated cluster is being disabled.NotFound
- if cluster
cannot be located.Unsupported
- if spec
contains NsxNetworkCreateSpec which is unsupported via create
API.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have Namespaces.Manage privilege.void create(java.lang.String cluster, NetworksTypes.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.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Information about the network object to be created.invocationConfig
- Configuration for the method invocation.AlreadyExists
- if a network by the name as specified in the CreateSpec
already exists.Error
- if the system reports an error while responding to the request.InvalidArgument
- if spec
contains any errors.NotAllowedInCurrentState
- if the associated cluster is being disabled.NotFound
- if cluster
cannot be located.Unsupported
- if spec
contains NsxNetworkCreateSpec which is unsupported via create
API.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have Namespaces.Manage privilege.void create(java.lang.String cluster, NetworksTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
AlreadyExists
- if a network by the name as specified in the CreateSpec
already exists.
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if spec
contains any errors.
NotAllowedInCurrentState
- if the associated cluster is being disabled.
NotFound
- if cluster
cannot be located.
Unsupported
- if spec
contains NsxNetworkCreateSpec which is unsupported via create
API.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have Namespaces.Manage privilege.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Information about the network object to be created.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(java.lang.String cluster, NetworksTypes.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:
AlreadyExists
- if a network by the name as specified in the CreateSpec
already exists.
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if spec
contains any errors.
NotAllowedInCurrentState
- if the associated cluster is being disabled.
NotFound
- if cluster
cannot be located.
Unsupported
- if spec
contains NsxNetworkCreateSpec which is unsupported via create
API.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have Namespaces.Manage privilege.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- Information about the network object to be created.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void set(java.lang.String cluster, java.lang.String network, NetworksTypes.SetSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.spec
- Information about the network object to be set.Error
- if the system reports an error while responding to the request.InvalidArgument
- if spec
contains any errors.NotAllowedInCurrentState
- if the associated cluster is being disabled.NotFound
- if cluster
or the network
cannot be located.ResourceInUse
- if the network is in use and the spec
contains field values that are
un-settable in such a case.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have Namespaces.Manage privilege.void set(java.lang.String cluster, java.lang.String network, NetworksTypes.SetSpec 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.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.spec
- Information about the network object to be set.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.InvalidArgument
- if spec
contains any errors.NotAllowedInCurrentState
- if the associated cluster is being disabled.NotFound
- if cluster
or the network
cannot be located.ResourceInUse
- if the network is in use and the spec
contains field values that are
un-settable in such a case.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have Namespaces.Manage privilege.void set(java.lang.String cluster, java.lang.String network, NetworksTypes.SetSpec 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.
InvalidArgument
- if spec
contains any errors.
NotAllowedInCurrentState
- if the associated cluster is being disabled.
NotFound
- if cluster
or the network
cannot be located.
ResourceInUse
- if the network is in use and the spec
contains field values that are
un-settable in such a case.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have Namespaces.Manage privilege.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.spec
- Information about the network object to be set.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set(java.lang.String cluster, java.lang.String network, NetworksTypes.SetSpec 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.
InvalidArgument
- if spec
contains any errors.
NotAllowedInCurrentState
- if the associated cluster is being disabled.
NotFound
- if cluster
or the network
cannot be located.
ResourceInUse
- if the network is in use and the spec
contains field values that are
un-settable in such a case.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have Namespaces.Manage privilege.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.spec
- Information about the network object to be set.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 network, NetworksTypes.UpdateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.spec
- Information about the network object to be updated.Error
- if the system reports an error while responding to the request.InvalidArgument
- if spec
contains any errors.NotAllowedInCurrentState
- if the associated cluster is being disabled.NotFound
- if cluster
or the network
cannot be located.ResourceInUse
- if the network is in use and the spec
contains field values that are
un-updatable in such a case.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have Namespaces.Manage privilege.void update(java.lang.String cluster, java.lang.String network, NetworksTypes.UpdateSpec 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.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.spec
- Information about the network object to be updated.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.InvalidArgument
- if spec
contains any errors.NotAllowedInCurrentState
- if the associated cluster is being disabled.NotFound
- if cluster
or the network
cannot be located.ResourceInUse
- if the network is in use and the spec
contains field values that are
un-updatable in such a case.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have Namespaces.Manage privilege.void update(java.lang.String cluster, java.lang.String network, NetworksTypes.UpdateSpec 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.
InvalidArgument
- if spec
contains any errors.
NotAllowedInCurrentState
- if the associated cluster is being disabled.
NotFound
- if cluster
or the network
cannot be located.
ResourceInUse
- if the network is in use and the spec
contains field values that are
un-updatable in such a case.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have Namespaces.Manage privilege.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.spec
- Information about the network object to be updated.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String cluster, java.lang.String network, NetworksTypes.UpdateSpec 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.
InvalidArgument
- if spec
contains any errors.
NotAllowedInCurrentState
- if the associated cluster is being disabled.
NotFound
- if cluster
or the network
cannot be located.
ResourceInUse
- if the network is in use and the spec
contains field values that are
un-updatable in such a case.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have Namespaces.Manage privilege.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.spec
- Information about the network object to be updated.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.NetworksTypes.Info get(java.lang.String cluster, java.lang.String network)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.NotFound
- if cluster or network could not be located.Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have System.Read privilege.NetworksTypes.Info get(java.lang.String cluster, java.lang.String network, 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.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.invocationConfig
- Configuration for the method invocation.NotFound
- if cluster or network could not be located.Error
- if the system reports an error while responding to the request.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 network, AsyncCallback<NetworksTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of information about all vSphere Namespaces networks in the cluster.
Operation Errors:
NotFound
- if cluster or network could not be located.
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String cluster, java.lang.String network, AsyncCallback<NetworksTypes.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:
List of information about all vSphere Namespaces networks in the cluster.
Operation Errors:
NotFound
- if cluster or network could not be located.
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<NetworksTypes.Info> 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.
The parameter must be an identifier for the resource type: ClusterComputeResource
.NotFound
- if cluster or network could not be located.Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have System.Read privilege.java.util.List<NetworksTypes.Info> 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.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.NotFound
- if cluster or network could not be located.Error
- if the system reports an error while responding to the request.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<NetworksTypes.Info>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the specified vSphere Namespaces network..
Operation Errors:
NotFound
- if cluster or network could not be located.
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
cluster
- Identifier for the cluster.
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<NetworksTypes.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 specified vSphere Namespaces network..
Operation Errors:
NotFound
- if cluster or network could not be located.
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
cluster
- Identifier for the cluster.
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 delete(java.lang.String cluster, java.lang.String network)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.Error
- if the system reports an error while responding to the request.NotFound
- if cluster or network could not be located.ResourceInUse
- if the network is associated with a Namespace.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have Namespaces.Manage privilege.void delete(java.lang.String cluster, java.lang.String network, 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.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotFound
- if cluster or network could not be located.ResourceInUse
- if the network is associated with a Namespace.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have Namespaces.Manage privilege.void delete(java.lang.String cluster, java.lang.String network, 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 or network could not be located.
ResourceInUse
- if the network is associated with a Namespace.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have Namespaces.Manage privilege.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String cluster, java.lang.String network, 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 or network could not be located.
ResourceInUse
- if the network is associated with a Namespace.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have Namespaces.Manage privilege.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.network
- Identifier for the vSphere Namespaces network.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.