public class NetworksStub extends com.vmware.vapi.internal.bindings.Stub implements Networks
Networks
API service.
WARNING: Internal class, subject to change in future versions.
NetworksTypes.CreateSpec, NetworksTypes.Info, NetworksTypes.VsphereDVPGNetworkCreateSpec, NetworksTypes.VsphereDVPGNetworkInfoapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID, RESOURCE_TYPE| Constructor and Description |
|---|
NetworksStub(ApiProvider apiProvider,
StubConfigurationBase config) |
NetworksStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| 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.
|
public NetworksStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public NetworksStub(ApiProvider apiProvider, StubConfigurationBase config)
public NetworksTypes.Info get(java.lang.String cluster, java.lang.String network)
NetworksSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface Networkscluster - 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.public NetworksTypes.Info get(java.lang.String cluster, java.lang.String network, InvocationConfig invocationConfig)
NetworksSynchronous 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 Networkscluster - 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.public void get(java.lang.String cluster,
java.lang.String network,
AsyncCallback<NetworksTypes.Info> asyncCallback)
NetworksAsynchronous 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.
get in interface Networkscluster - 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.public void get(java.lang.String cluster,
java.lang.String network,
AsyncCallback<NetworksTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
NetworksAsynchronous 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.
get in interface Networkscluster - 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.public java.util.List<NetworksTypes.Info> list(java.lang.String cluster)
NetworksSynchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<NetworksTypes.Info> list(java.lang.String cluster, InvocationConfig invocationConfig)
NetworksSynchronous 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 Networkscluster - Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.invocationConfig - Configuration for the method invocation.public void list(java.lang.String cluster,
AsyncCallback<java.util.List<NetworksTypes.Info>> asyncCallback)
NetworksAsynchronous 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.
public void list(java.lang.String cluster,
AsyncCallback<java.util.List<NetworksTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
NetworksAsynchronous 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.
list in interface Networkscluster - 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.