import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Recovery Service Subnet resource in Oracle Cloud Infrastructure Recovery service. * * Gets information about a specified recovery service subnet. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRecoveryServiceSubnet = oci.recoverymod.getRecoveryServiceSubnet({ * recoveryServiceSubnetId: testRecoveryServiceSubnetOciRecoveryRecoveryServiceSubnet.id, * }); * ``` */ export declare function getRecoveryServiceSubnet(args: GetRecoveryServiceSubnetArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRecoveryServiceSubnet. */ export interface GetRecoveryServiceSubnetArgs { /** * The recovery service subnet OCID. */ recoveryServiceSubnetId: string; } /** * A collection of values returned by getRecoveryServiceSubnet. */ export interface GetRecoveryServiceSubnetResult { /** * The compartment OCID. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) */ readonly definedTags: { [key: string]: string; }; /** * A user-provided name for the recovery service subnet. */ readonly displayName: string; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * The recovery service subnet OCID. */ readonly id: string; /** * Detailed description about the current lifecycle state of the recovery service subnet. For example, it can be used to provide actionable information for a resource in a Failed state */ readonly lifecycleDetails: string; /** * A list of network security group (NSG) OCIDs that are associated with the Recovery Service subnet. You can specify a maximum of 5 unique OCIDs, which implies that you can associate a maximum of 5 NSGs to each Recovery Service subnet. Specify an empty array if you want to remove all the associated NSGs from a Recovery Service subnet. See [Network Security Groups](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/NetworkSecurityGroup/) for more information. */ readonly nsgIds: string[]; readonly recoveryServiceSubnetId: string; /** * The current state of the recovery service subnet. */ readonly state: string; /** * Deprecated. One of the subnets associated with the Recovery Service subnet. * * @deprecated The 'subnet_id' field has been deprecated. Please use 'subnets' instead. */ readonly subnetId: string; /** * A list of OCIDs of all the subnets associated with the Recovery Service subnet. */ readonly subnets: string[]; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) */ readonly systemTags: { [key: string]: string; }; /** * An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'. */ readonly timeCreated: string; /** * An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'. */ readonly timeUpdated: string; /** * VCN Identifier. */ readonly vcnId: string; } /** * This data source provides details about a specific Recovery Service Subnet resource in Oracle Cloud Infrastructure Recovery service. * * Gets information about a specified recovery service subnet. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRecoveryServiceSubnet = oci.recoverymod.getRecoveryServiceSubnet({ * recoveryServiceSubnetId: testRecoveryServiceSubnetOciRecoveryRecoveryServiceSubnet.id, * }); * ``` */ export declare function getRecoveryServiceSubnetOutput(args: GetRecoveryServiceSubnetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRecoveryServiceSubnet. */ export interface GetRecoveryServiceSubnetOutputArgs { /** * The recovery service subnet OCID. */ recoveryServiceSubnetId: pulumi.Input; } //# sourceMappingURL=getRecoveryServiceSubnet.d.ts.map