cdktf-crd
Version:
76 lines (75 loc) • 4.91 kB
TypeScript
import { Manifest, type ManifestConfig } from "@cdktf/provider-kubernetes/lib/manifest";
import { Construct } from "constructs";
export declare class ResourcemanagerCnrmCloudGoogleComFolderV1beta1 extends Manifest {
constructor(scope: Construct, id: string, config: ResourcemanagerCnrmCloudGoogleComFolderV1beta1Config);
}
export interface ResourcemanagerCnrmCloudGoogleComFolderV1beta1Config extends ManifestConfig {
manifest: {
apiVersion: "resourcemanager.cnrm.cloud.google.com/v1beta1";
kind: "Folder";
metadata: {
annotations?: {
[key: string]: string;
};
labels?: {
[key: string]: string;
};
name: string;
namespace?: string;
};
spec: {
/** @description The folder's display name. A folder's display name must be unique amongst its siblings, e.g. no two folders with the same parent can share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be no longer than 30 characters. */
displayName: string;
/** @description The folder that this resource belongs to. Changing this forces the
* resource to be migrated to the newly specified folder. Only one of
* folderRef or organizationRef may be specified. */
folderRef?: {
/** @description Allowed value: The `folderId` field of a `Folder` resource. */
external?: string;
/** @description Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */
name?: string;
/** @description Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ */
namespace?: string;
} & (unknown | unknown);
/** @description The organization that this resource belongs to. Changing this
* forces the resource to be migrated to the newly specified
* organization. Only one of folderRef or organizationRef may be
* specified. */
organizationRef?: {
/** @description Allowed value: The `name` field of an `Organization` resource. */
external?: string;
/** @description Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */
name?: string;
/** @description Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ */
namespace?: string;
} & (unknown | unknown);
/** @description Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */
resourceID?: string;
} & (unknown | unknown | unknown);
status?: {
/** @description Conditions represent the latest available observation of the resource's current state. */
conditions?: {
/** @description Last time the condition transitioned from one status to another. */
lastTransitionTime?: string;
/** @description Human-readable message indicating details about last transition. */
message?: string;
/** @description Unique, one-word, CamelCase reason for the condition's last transition. */
reason?: string;
/** @description Status is the status of the condition. Can be True, False, Unknown. */
status?: string;
/** @description Type is the type of the condition. */
type?: string;
}[];
/** @description Timestamp when the Folder was created. Assigned by the server. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */
createTime?: string;
/** @description The folder id from the name "folders/{folder_id}". */
folderId?: string;
/** @description The lifecycle state of the folder such as ACTIVE or DELETE_REQUESTED. */
lifecycleState?: string;
/** @description The resource name of the Folder. Its format is folders/{folder_id}. */
name?: string;
/** @description ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
observedGeneration?: number;
};
};
}