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

Resource

import type { Resource } from "https://googleapis.deno.dev/v1/deploymentmanager:v2.ts";
interface Resource {
accessControl?: ResourceAccessControl;
finalProperties?: string;
id?: bigint;
insertTime?: string;
manifest?: string;
name?: string;
properties?: string;
type?: string;
update?: ResourceUpdate;
updateTime?: string;
url?: string;
warnings?: {
code?:
| "DEPRECATED_RESOURCE_USED"
| "NO_RESULTS_ON_PAGE"
| "UNREACHABLE"
| "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
| "NEXT_HOP_INSTANCE_NOT_FOUND"
| "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
| "NEXT_HOP_CANNOT_IP_FORWARD"
| "NEXT_HOP_NOT_RUNNING"
| "INJECTED_KERNELS_DEPRECATED"
| "REQUIRED_TOS_AGREEMENT"
| "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
| "RESOURCE_NOT_DELETED"
| "SINGLE_INSTANCE_PROPERTY_TEMPLATE"
| "NOT_CRITICAL_ERROR"
| "CLEANUP_FAILED"
| "FIELD_VALUE_OVERRIDEN"
| "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"
| "MISSING_TYPE_DEPENDENCY"
| "EXTERNAL_API_WARNING"
| "SCHEMA_VALIDATION_IGNORED"
| "UNDECLARED_PROPERTIES"
| "EXPERIMENTAL_TYPE_USED"
| "DEPRECATED_TYPE_USED"
| "PARTIAL_SUCCESS"
| "LARGE_DEPLOYMENT_WARNING"
| "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"
| "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB"
| "LIST_OVERHEAD_QUOTA_EXCEED";
data?: {
key?: string;
value?: string;
}
[]
;
message?: string;
}
[]
;
}

§Properties

§

The Access Control Policy set on this resource.

§
finalProperties?: string
[src]

Output only. The evaluated properties of the resource with references expanded. Returned as serialized YAML.

§
id?: bigint
[src]
§
insertTime?: string
[src]

Output only. Creation timestamp in RFC3339 text format.

§
manifest?: string
[src]

Output only. URL of the manifest representing the current configuration of this resource.

§
name?: string
[src]

Output only. The name of the resource as it appears in the YAML config.

§
properties?: string
[src]

Output only. The current properties of the resource before any references have been filled in. Returned as serialized YAML.

§
type?: string
[src]

Output only. The type of the resource, for example compute.v1.instance, or cloudfunctions.v1beta1.function.

§

Output only. If Deployment Manager is currently updating or previewing an update to this resource, the updated configuration appears here.

§
updateTime?: string
[src]

Output only. Update timestamp in RFC3339 text format.

§
url?: string
[src]

Output only. The URL of the actual resource.

§
warnings?: {
code?:
| "DEPRECATED_RESOURCE_USED"
| "NO_RESULTS_ON_PAGE"
| "UNREACHABLE"
| "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
| "NEXT_HOP_INSTANCE_NOT_FOUND"
| "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
| "NEXT_HOP_CANNOT_IP_FORWARD"
| "NEXT_HOP_NOT_RUNNING"
| "INJECTED_KERNELS_DEPRECATED"
| "REQUIRED_TOS_AGREEMENT"
| "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
| "RESOURCE_NOT_DELETED"
| "SINGLE_INSTANCE_PROPERTY_TEMPLATE"
| "NOT_CRITICAL_ERROR"
| "CLEANUP_FAILED"
| "FIELD_VALUE_OVERRIDEN"
| "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"
| "MISSING_TYPE_DEPENDENCY"
| "EXTERNAL_API_WARNING"
| "SCHEMA_VALIDATION_IGNORED"
| "UNDECLARED_PROPERTIES"
| "EXPERIMENTAL_TYPE_USED"
| "DEPRECATED_TYPE_USED"
| "PARTIAL_SUCCESS"
| "LARGE_DEPLOYMENT_WARNING"
| "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"
| "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB"
| "LIST_OVERHEAD_QUOTA_EXCEED";
data?: {
key?: string;
value?: string;
}
[]
;
message?: string;
}
[]
[src]

Output only. If warning messages are generated during processing of this resource, this field will be populated.