public interface NamespaceResourceOptions extends Service, NamespaceResourceOptionsTypes
NamespaceResourceOptions interface provides methods to get the
objects used to create and modify resource quotas on a namespace.NamespaceResourceOptionsTypes.Info_VAPI_SERVICE_ID| 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}.
|
NamespaceResourceOptionsTypes.Info get(java.lang.String cluster)
Synchronous method overload. Result of the invocation will be reported as a method return value.
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.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.NamespaceResourceOptionsTypes.Info get(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 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.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.void get(java.lang.String cluster,
AsyncCallback<NamespaceResourceOptionsTypes.Info> asyncCallback)
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.
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.void get(java.lang.String cluster,
AsyncCallback<NamespaceResourceOptionsTypes.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 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.
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.