public interface Network extends Service, NetworkTypes
Network interface provides methods to retrieve information about
vCenter Server networks.NetworkTypes.Info| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,NetworkTypes.Info> |
find(java.util.List<java.lang.String> networks)
Returns network information for the specified vCenter Server networks.
|
void |
find(java.util.List<java.lang.String> networks,
AsyncCallback<java.util.Map<java.lang.String,NetworkTypes.Info>> asyncCallback)
Returns network information for the specified vCenter Server networks.
|
void |
find(java.util.List<java.lang.String> networks,
AsyncCallback<java.util.Map<java.lang.String,NetworkTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
Returns network information for the specified vCenter Server networks.
|
java.util.Map<java.lang.String,NetworkTypes.Info> |
find(java.util.List<java.lang.String> networks,
InvocationConfig invocationConfig)
Returns network information for the specified vCenter Server networks.
|
java.util.Map<java.lang.String,NetworkTypes.Info> find(java.util.List<java.lang.String> networks)
Map is the network identifier and the
value in the Map is the network information.
Synchronous method overload. Result of the invocation will be reported as a method return value.
networks - Identifiers of the vCenter Server networks for which information will be
returned.
The parameter must contain identifiers for the resource type: Network.Map is the network identifier and the value in
the Map is the network information.
The key in the return value Map will be an identifier for the
resource type: Network.NotFound - if no datastore can be found for one or more of the vCenter Server network
identifiers in networksUnauthorized - if you do not have all of the privileges described as follows: System.Read. Network
referenced by the parameter networks requires System.Read.
java.util.Map<java.lang.String,NetworkTypes.Info> find(java.util.List<java.lang.String> networks, InvocationConfig invocationConfig)
Map is the network identifier and the
value in the Map is the network information.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
networks - Identifiers of the vCenter Server networks for which information will be
returned.
The parameter must contain identifiers for the resource type: Network.invocationConfig - Configuration for the method invocation.Map is the network identifier and the value in
the Map is the network information.
The key in the return value Map will be an identifier for the
resource type: Network.NotFound - if no datastore can be found for one or more of the vCenter Server network
identifiers in networksUnauthorized - if you do not have all of the privileges described as follows: System.Read. Network
referenced by the parameter networks requires System.Read.
void find(java.util.List<java.lang.String> networks,
AsyncCallback<java.util.Map<java.lang.String,NetworkTypes.Info>> asyncCallback)
Map is the network identifier and the
value in the Map is the network information.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
Network information for the specified vCenter Server networks. The key in the
return value Map is the network identifier and the value in
the Map is the network information.
The key in the return value Map will be an identifier for the
resource type: Network.
Operation Errors:
NotFound - if no datastore can be found for one or more of the vCenter Server network
identifiers in networks
Unauthorized - if you do not have all of the privileges described as follows:
System.Read. Network
referenced by the parameter networks requires System.Read.
networks - Identifiers of the vCenter Server networks for which information will be
returned.
The parameter must contain identifiers for the resource type: Network.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void find(java.util.List<java.lang.String> networks,
AsyncCallback<java.util.Map<java.lang.String,NetworkTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
Map is the network identifier and the
value in the Map is the network information.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
Network information for the specified vCenter Server networks. The key in the
return value Map is the network identifier and the value in
the Map is the network information.
The key in the return value Map will be an identifier for the
resource type: Network.
Operation Errors:
NotFound - if no datastore can be found for one or more of the vCenter Server network
identifiers in networks
Unauthorized - if you do not have all of the privileges described as follows:
System.Read. Network
referenced by the parameter networks requires System.Read.
networks - Identifiers of the vCenter Server networks for which information will be
returned.
The parameter must contain identifiers for the resource type: Network.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.