import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Cluster Credential Rotation Status resource in Oracle Cloud Infrastructure Container Engine service. * * Get cluster credential rotation status. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testClusterCredentialRotationStatus = oci.containerengine.getClusterCredentialRotationStatus({ * clusterId: testCluster.id, * }); * ``` */ export declare function getClusterCredentialRotationStatus(args: GetClusterCredentialRotationStatusArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getClusterCredentialRotationStatus. */ export interface GetClusterCredentialRotationStatusArgs { /** * The OCID of the cluster. */ clusterId: string; } /** * A collection of values returned by getClusterCredentialRotationStatus. */ export interface GetClusterCredentialRotationStatusResult { readonly clusterId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Credential rotation status of a kubernetes cluster IN_PROGRESS: Issuing new credentials to kubernetes cluster control plane and worker nodes or retiring old credentials from kubernetes cluster control plane and worker nodes. WAITING: Waiting for customer to invoke the complete rotation action or the automcatic complete rotation action. COMPLETED: New credentials are functional on kuberentes cluster. */ readonly status: string; /** * Details of a kuberenetes cluster credential rotation status: ISSUING_NEW_CREDENTIALS: Credential rotation is in progress. Starting to issue new credentials to kubernetes cluster control plane and worker nodes. NEW_CREDENTIALS_ISSUED: New credentials are added. At this stage cluster has both old and new credentials and is awaiting old credentials retirement. RETIRING_OLD_CREDENTIALS: Retirement of old credentials is in progress. Starting to remove old credentials from kubernetes cluster control plane and worker nodes. COMPLETED: Credential rotation is complete. Old credentials are retired. */ readonly statusDetails: string; /** * The time by which retirement of old credentials should start. */ readonly timeAutoCompletionScheduled: string; } /** * This data source provides details about a specific Cluster Credential Rotation Status resource in Oracle Cloud Infrastructure Container Engine service. * * Get cluster credential rotation status. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testClusterCredentialRotationStatus = oci.containerengine.getClusterCredentialRotationStatus({ * clusterId: testCluster.id, * }); * ``` */ export declare function getClusterCredentialRotationStatusOutput(args: GetClusterCredentialRotationStatusOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getClusterCredentialRotationStatus. */ export interface GetClusterCredentialRotationStatusOutputArgs { /** * The OCID of the cluster. */ clusterId: pulumi.Input; } //# sourceMappingURL=getClusterCredentialRotationStatus.d.ts.map