import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Steering Policy Attachments in Oracle Cloud Infrastructure DNS service. * * Lists the steering policy attachments in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSteeringPolicyAttachments = oci.dns.getSteeringPolicyAttachments({ * compartmentId: compartmentId, * displayName: steeringPolicyAttachmentDisplayName, * domain: steeringPolicyAttachmentDomain, * domainContains: steeringPolicyAttachmentDomainContains, * id: steeringPolicyAttachmentId, * state: steeringPolicyAttachmentState, * steeringPolicyId: testSteeringPolicy.id, * timeCreatedGreaterThanOrEqualTo: steeringPolicyAttachmentTimeCreatedGreaterThanOrEqualTo, * timeCreatedLessThan: steeringPolicyAttachmentTimeCreatedLessThan, * zoneId: testZone.id, * }); * ``` */ export declare function getSteeringPolicyAttachments(args: GetSteeringPolicyAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSteeringPolicyAttachments. */ export interface GetSteeringPolicyAttachmentsArgs { /** * The OCID of the compartment the resource belongs to. */ compartmentId: string; /** * The displayName of a resource. */ displayName?: string; /** * Search by domain. Will match any record whose domain (case-insensitive) equals the provided value. */ domain?: string; /** * Search by domain. Will match any record whose domain (case-insensitive) contains the provided value. */ domainContains?: string; filters?: inputs.Dns.GetSteeringPolicyAttachmentsFilter[]; /** * The OCID of a resource. */ id?: string; /** * The state of a resource. */ state?: string; /** * Search by steering policy OCID. Will match any resource whose steering policy ID matches the provided value. */ steeringPolicyId?: string; /** * An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created on or after the indicated time. */ timeCreatedGreaterThanOrEqualTo?: string; /** * An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created before the indicated time. */ timeCreatedLessThan?: string; /** * Search by zone OCID. Will match any resource whose zone ID matches the provided value. */ zoneId?: string; } /** * A collection of values returned by getSteeringPolicyAttachments. */ export interface GetSteeringPolicyAttachmentsResult { /** * The OCID of the compartment containing the steering policy attachment. */ readonly compartmentId: string; /** * A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information. */ readonly displayName?: string; readonly domain?: string; readonly domainContains?: string; readonly filters?: outputs.Dns.GetSteeringPolicyAttachmentsFilter[]; /** * The OCID of the resource. */ readonly id?: string; /** * The current state of the resource. */ readonly state?: string; /** * The list of steering_policy_attachments. */ readonly steeringPolicyAttachments: outputs.Dns.GetSteeringPolicyAttachmentsSteeringPolicyAttachment[]; /** * The OCID of the attached steering policy. */ readonly steeringPolicyId?: string; readonly timeCreatedGreaterThanOrEqualTo?: string; readonly timeCreatedLessThan?: string; /** * The OCID of the attached zone. Must be a public zone. */ readonly zoneId?: string; } /** * This data source provides the list of Steering Policy Attachments in Oracle Cloud Infrastructure DNS service. * * Lists the steering policy attachments in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSteeringPolicyAttachments = oci.dns.getSteeringPolicyAttachments({ * compartmentId: compartmentId, * displayName: steeringPolicyAttachmentDisplayName, * domain: steeringPolicyAttachmentDomain, * domainContains: steeringPolicyAttachmentDomainContains, * id: steeringPolicyAttachmentId, * state: steeringPolicyAttachmentState, * steeringPolicyId: testSteeringPolicy.id, * timeCreatedGreaterThanOrEqualTo: steeringPolicyAttachmentTimeCreatedGreaterThanOrEqualTo, * timeCreatedLessThan: steeringPolicyAttachmentTimeCreatedLessThan, * zoneId: testZone.id, * }); * ``` */ export declare function getSteeringPolicyAttachmentsOutput(args: GetSteeringPolicyAttachmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSteeringPolicyAttachments. */ export interface GetSteeringPolicyAttachmentsOutputArgs { /** * The OCID of the compartment the resource belongs to. */ compartmentId: pulumi.Input; /** * The displayName of a resource. */ displayName?: pulumi.Input; /** * Search by domain. Will match any record whose domain (case-insensitive) equals the provided value. */ domain?: pulumi.Input; /** * Search by domain. Will match any record whose domain (case-insensitive) contains the provided value. */ domainContains?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The OCID of a resource. */ id?: pulumi.Input; /** * The state of a resource. */ state?: pulumi.Input; /** * Search by steering policy OCID. Will match any resource whose steering policy ID matches the provided value. */ steeringPolicyId?: pulumi.Input; /** * An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created on or after the indicated time. */ timeCreatedGreaterThanOrEqualTo?: pulumi.Input; /** * An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created before the indicated time. */ timeCreatedLessThan?: pulumi.Input; /** * Search by zone OCID. Will match any resource whose zone ID matches the provided value. */ zoneId?: pulumi.Input; } //# sourceMappingURL=getSteeringPolicyAttachments.d.ts.map