public class NamespaceResourceOptionsStub extends com.vmware.vapi.internal.bindings.Stub implements NamespaceResourceOptions
NamespaceResourceOptions
API service.
WARNING: Internal class, subject to change in future versions.
NamespaceResourceOptionsTypes.Info
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
NamespaceResourceOptionsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
NamespaceResourceOptionsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
NamespaceResourceOptionsTypes.Info |
get(java.lang.String cluster)
Get the information about the objects used to set and update resource quota keys
for version of Kubernetes running on {#link cluster}.
|
void |
get(java.lang.String cluster,
AsyncCallback<NamespaceResourceOptionsTypes.Info> asyncCallback)
Get the information about the objects used to set and update resource quota keys
for version of Kubernetes running on {#link cluster}.
|
void |
get(java.lang.String cluster,
AsyncCallback<NamespaceResourceOptionsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Get the information about the objects used to set and update resource quota keys
for version of Kubernetes running on {#link cluster}.
|
NamespaceResourceOptionsTypes.Info |
get(java.lang.String cluster,
InvocationConfig invocationConfig)
Get the information about the objects used to set and update resource quota keys
for version of Kubernetes running on {#link cluster}.
|
public NamespaceResourceOptionsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public NamespaceResourceOptionsStub(ApiProvider apiProvider, StubConfigurationBase config)
public NamespaceResourceOptionsTypes.Info get(java.lang.String cluster)
NamespaceResourceOptions
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface NamespaceResourceOptions
cluster
- Identifier for the cluster hosting the namespace on which the resource quota
needs to be set.
The parameter must be an identifier for the resource type: ClusterComputeResource
.public NamespaceResourceOptionsTypes.Info get(java.lang.String cluster, InvocationConfig invocationConfig)
NamespaceResourceOptions
Synchronous 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 NamespaceResourceOptions
cluster
- Identifier for the cluster hosting the namespace on which the resource quota
needs to be set.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String cluster, AsyncCallback<NamespaceResourceOptionsTypes.Info> asyncCallback)
NamespaceResourceOptions
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the structures representing the resource spec.
Operation Errors:
NotFound
- if cluster could not be located.
Unsupported
- if the specified cluster is not enabled for Namespaces.
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 NamespaceResourceOptions
cluster
- Identifier for the cluster hosting the namespace on which the resource quota
needs to be set.
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 get(java.lang.String cluster, AsyncCallback<NamespaceResourceOptionsTypes.Info> asyncCallback, InvocationConfig invocationConfig)
NamespaceResourceOptions
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 structures representing the resource spec.
Operation Errors:
NotFound
- if cluster could not be located.
Unsupported
- if the specified cluster is not enabled for Namespaces.
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 NamespaceResourceOptions
cluster
- Identifier for the cluster hosting the namespace on which the resource quota
needs to be set.
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.