Class GetAddressRuleRequest
Implements
Inherited Members
Namespace: Oci.OspgatewayService.Requests
Assembly: OCI.DotNetSDK.Ospgateway.dll
Syntax
public class GetAddressRuleRequest : IOciRequest
  Examples
Click here to see an example of how to use GetAddressRule request.
Properties
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.  | 
      
Remarks
Required
CountryCode
Declaration
[Required(ErrorMessage = "CountryCode is required.")]
[HttpConverter(TargetEnum.Path, "countryCode")]
public string CountryCode { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | Country code for the address rule in ISO-3166-1 2-letter format.  | 
      
Remarks
Required
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.  | 
      
OspHomeRegion
Declaration
[Required(ErrorMessage = "OspHomeRegion is required.")]
[HttpConverter(TargetEnum.Query, "ospHomeRegion")]
public string OspHomeRegion { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | The home region's public name of the logged in user.  | 
      
Remarks
Required