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 Key Versions in Oracle Cloud Infrastructure Kms service. * * Lists all [KeyVersion](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/KeyVersion/) resources for the specified * master encryption key. * * As a management operation, this call is subject to a Key Management limit that applies to the total number * of requests across all management read operations. Key Management might throttle this call to reject an * otherwise valid request when the total rate of management read operations exceeds 10 requests per second * for a given tenancy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testKeyVersions = oci.kms.getKeyVersions({ * keyId: testKey.id, * managementEndpoint: keyVersionManagementEndpoint, * }); * ``` */ export declare function getKeyVersions(args: GetKeyVersionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getKeyVersions. */ export interface GetKeyVersionsArgs { filters?: inputs.Kms.GetKeyVersionsFilter[]; /** * The OCID of the key. */ keyId: string; /** * The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. */ managementEndpoint: string; } /** * A collection of values returned by getKeyVersions. */ export interface GetKeyVersionsResult { readonly filters?: outputs.Kms.GetKeyVersionsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The OCID of the master encryption key associated with this key version. */ readonly keyId: string; /** * The list of key_versions. */ readonly keyVersions: outputs.Kms.GetKeyVersionsKeyVersion[]; readonly managementEndpoint: string; } /** * This data source provides the list of Key Versions in Oracle Cloud Infrastructure Kms service. * * Lists all [KeyVersion](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/KeyVersion/) resources for the specified * master encryption key. * * As a management operation, this call is subject to a Key Management limit that applies to the total number * of requests across all management read operations. Key Management might throttle this call to reject an * otherwise valid request when the total rate of management read operations exceeds 10 requests per second * for a given tenancy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testKeyVersions = oci.kms.getKeyVersions({ * keyId: testKey.id, * managementEndpoint: keyVersionManagementEndpoint, * }); * ``` */ export declare function getKeyVersionsOutput(args: GetKeyVersionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getKeyVersions. */ export interface GetKeyVersionsOutputArgs { filters?: pulumi.Input[] | undefined>; /** * The OCID of the key. */ keyId: pulumi.Input; /** * The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. */ managementEndpoint: pulumi.Input; } //# sourceMappingURL=getKeyVersions.d.ts.map