import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Address Rule resource in Oracle Cloud Infrastructure Osp Gateway service. * * Get the address rule for the compartment based on the country code * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAddressRule = oci.ospgateway.getAddressRule({ * compartmentId: compartmentId, * countryCode: addressRuleCountryCode, * ospHomeRegion: addressRuleOspHomeRegion, * }); * ``` */ export declare function getAddressRule(args: GetAddressRuleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAddressRule. */ export interface GetAddressRuleArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * Country code for the address rule in ISO-3166-1 2-letter format. */ countryCode: string; /** * The home region's public name of the logged in user. */ ospHomeRegion: string; } /** * A collection of values returned by getAddressRule. */ export interface GetAddressRuleResult { /** * Address type rule information */ readonly addresses: outputs.OspGateway.GetAddressRuleAddress[]; readonly compartmentId: string; /** * Contact type rule information */ readonly contacts: outputs.OspGateway.GetAddressRuleContact[]; /** * Country code for the address rule in ISO-3166-1 2-letter format */ readonly countryCode: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ospHomeRegion: string; /** * Tax type rule information */ readonly taxes: outputs.OspGateway.GetAddressRuleTax[]; } /** * This data source provides details about a specific Address Rule resource in Oracle Cloud Infrastructure Osp Gateway service. * * Get the address rule for the compartment based on the country code * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAddressRule = oci.ospgateway.getAddressRule({ * compartmentId: compartmentId, * countryCode: addressRuleCountryCode, * ospHomeRegion: addressRuleOspHomeRegion, * }); * ``` */ export declare function getAddressRuleOutput(args: GetAddressRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAddressRule. */ export interface GetAddressRuleOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * Country code for the address rule in ISO-3166-1 2-letter format. */ countryCode: pulumi.Input; /** * The home region's public name of the logged in user. */ ospHomeRegion: pulumi.Input; } //# sourceMappingURL=getAddressRule.d.ts.map