Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PostureDeployment

import type { PostureDeployment } from "https://googleapis.deno.dev/v1/securityposture:v1.ts";

Details for a Posture deployment on an organization, folder, or project. You can deploy at most one posture to each organization, folder, or project. The parent resource for a posture deployment is always the organization, even if the deployment applies to a folder or project.

interface PostureDeployment {
annotations?: {
[key: string]: string;
}
;
readonly categories?:
| "CATEGORY_UNSPECIFIED"
| "AI"
| "AWS"
| "GCP"
| "AZURE"[];
readonly createTime?: Date;
description?: string;
readonly desiredPostureId?: string;
readonly desiredPostureRevisionId?: string;
etag?: string;
readonly failureMessage?: string;
name?: string;
postureId?: string;
postureRevisionId?: string;
readonly reconciling?: boolean;
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "DELETING"
| "UPDATING"
| "ACTIVE"
| "CREATE_FAILED"
| "UPDATE_FAILED"
| "DELETE_FAILED";
targetResource?: string;
readonly updateTime?: Date;
}

§Properties

§
annotations?: {
[key: string]: string;
}
[src]

Optional. The user-specified annotations for the posture deployment. For details about the values you can use in an annotation, see AIP-148: Standard fields.

§
readonly categories?: "CATEGORY_UNSPECIFIED" | "AI" | "AWS" | "GCP" | "AZURE"[]
[src]

Output only. The categories that the posture deployment belongs to, as determined by the Security Posture API.

§
readonly createTime?: Date
[src]

Output only. The time at which the posture deployment was created.

§
description?: string
[src]

Optional. A description of the posture deployment.

§
readonly desiredPostureId?: string
[src]

Output only. The posture ID that was specified for the deployment. Present only if the posture deployment is in a failed state.

§
readonly desiredPostureRevisionId?: string
[src]

Output only. The revision ID of the posture that was specified for the deployment. Present only if the deployment is in a failed state.

§
etag?: string
[src]

Optional. An opaque identifier for the current version of the posture deployment. To prevent concurrent updates from overwriting each other, always provide the etag when you update a posture deployment. You can also provide the etag when you delete a posture deployment, to help ensure that you're deleting the intended posture deployment.

§
readonly failureMessage?: string
[src]

Output only. A description of why the posture deployment failed. Present only if the deployment is in a failed state.

§
name?: string
[src]

Required. Identifier. The name of the posture deployment, in the format organizations/{organization}/locations/global/postureDeployments/{deployment_id}.

§
postureId?: string
[src]

Required. The posture used in the deployment, in the format organizations/{organization}/locations/global/postures/{posture_id}.

§
postureRevisionId?: string
[src]

Required. The revision ID of the posture used in the deployment.

§
readonly reconciling?: boolean
[src]

Output only. Whether the posture deployment is in the process of being updated.

§
readonly state?: "STATE_UNSPECIFIED" | "CREATING" | "DELETING" | "UPDATING" | "ACTIVE" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED"
[src]

Output only. The state of the posture deployment.

§
targetResource?: string
[src]

Required. The organization, folder, or project where the posture is deployed. Uses one of the following formats: * organizations/{organization_number} * folders/{folder_number} * projects/{project_number}

§
readonly updateTime?: Date
[src]

Output only. The time at which the posture deployment was last updated.