Class ListPublicIpsRequest
Implements
Inherited Members
Namespace: Oci.CoreService.Requests
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class ListPublicIpsRequest : IOciRequest
  Examples
Click here to see an example of how to use ListPublicIps request.
Properties
AvailabilityDomain
Declaration
[HttpConverter(TargetEnum.Query, "availabilityDomain")]
public string AvailabilityDomain { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | The name of the availability domain.
  | 
      
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
Lifetime
Declaration
[HttpConverter(TargetEnum.Query, "lifetime")]
public ListPublicIpsRequest.LifetimeEnum? Lifetime { get; set; }
  Property Value
| Type | Description | 
|---|---|
| ListPublicIpsRequest.LifetimeEnum? | A filter to return only public IPs that match given lifetime.  | 
      
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
  Property Value
| Type | Description | 
|---|---|
| int? | For list pagination. The maximum number of results per page, or items to return in a paginated
"List" call. For important details about how pagination works, see
List Pagination.
  | 
      
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | For list pagination. The value of the   | 
      
PublicIpPoolId
Declaration
[HttpConverter(TargetEnum.Query, "publicIpPoolId")]
public string PublicIpPoolId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | A filter to return only resources that belong to the given public IP pool.  | 
      
Scope
Declaration
[Required(ErrorMessage = "Scope is required.")]
[HttpConverter(TargetEnum.Query, "scope")]
public ListPublicIpsRequest.ScopeEnum? Scope { get; set; }
  Property Value
| Type | Description | 
|---|---|
| ListPublicIpsRequest.ScopeEnum? | Whether the public IP is regional or specific to a particular availability domain.
 
  | 
      
Remarks
Required