Class GetResourceAvailabilityRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181025")
    public class GetResourceAvailabilityRequest
    extends BmcRequest<Void>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/limits/GetResourceAvailabilityExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetResourceAvailabilityRequest.

    • Constructor Detail

      • GetResourceAvailabilityRequest

        public GetResourceAvailabilityRequest()
    • Method Detail

      • getServiceName

        public String getServiceName()
        The service name of the target quota.
      • getLimitName

        public String getLimitName()
        The limit name for which to fetch the data.
      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment for which data is being fetched.
      • getAvailabilityDomain

        public String getAvailabilityDomain()
        This field is mandatory if the scopeType of the target resource limit is AD.

        Otherwise, this field should be omitted. If the above requirements are not met, the API returns a 400 - InvalidParameter response.

      • getOpcRequestId

        public String getOpcRequestId()
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

      • getSubscriptionId

        public String getSubscriptionId()
        The OCID of the subscription assigned to tenant
      • equals

        public boolean equals​(Object o)
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
        Overrides:
        equals in class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>