Class GetResourceAvailabilityRequest
Implements
Inherited Members
Namespace: Oci.LimitsService.Requests
Assembly: OCI.DotNetSDK.Limits.dll
Syntax
public class GetResourceAvailabilityRequest : IOciRequest
Examples
Click here to see an example of how to use GetResourceAvailability request.
Properties
AvailabilityDomain
Declaration
[HttpConverter(TargetEnum.Query, "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type | Description |
---|---|
string | 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. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment for which data is being fetched. |
Remarks
Required
LimitName
Declaration
[Required(ErrorMessage = "LimitName is required.")]
[HttpConverter(TargetEnum.Path, "limitName")]
public string LimitName { get; set; }
Property Value
Type | Description |
---|---|
string | The limit name for which to fetch the data. |
Remarks
Required
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
ServiceName
Declaration
[Required(ErrorMessage = "ServiceName is required.")]
[HttpConverter(TargetEnum.Path, "serviceName")]
public string ServiceName { get; set; }
Property Value
Type | Description |
---|---|
string | The service name of the target quota. |
Remarks
Required
SubscriptionId
Declaration
[HttpConverter(TargetEnum.Query, "subscriptionId")]
public string SubscriptionId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the subscription assigned to tenant |