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.VsphereDVPGNetworkCreateSpec, NetworksTypes.VsphereDVPGNetworkInfo_VAPI_SERVICE_ID, RESOURCE_TYPE| Modifier and Type | Method and Description |
|---|---|
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.
|
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.