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

Region

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

Represents a Region resource. A region is a geographical area where a resource is located. For more information, read Regions and Zones.

interface Region {
creationTimestamp?: string;
deprecated?: DeprecationStatus;
description?: string;
id?: bigint;
kind?: string;
name?: string;
quotas?: Quota[];
quotaStatusWarning?: {
code?:
| "CLEANUP_FAILED"
| "DEPRECATED_RESOURCE_USED"
| "DEPRECATED_TYPE_USED"
| "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
| "EXPERIMENTAL_TYPE_USED"
| "EXTERNAL_API_WARNING"
| "FIELD_VALUE_OVERRIDEN"
| "INJECTED_KERNELS_DEPRECATED"
| "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB"
| "LARGE_DEPLOYMENT_WARNING"
| "LIST_OVERHEAD_QUOTA_EXCEED"
| "MISSING_TYPE_DEPENDENCY"
| "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
| "NEXT_HOP_CANNOT_IP_FORWARD"
| "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"
| "NEXT_HOP_INSTANCE_NOT_FOUND"
| "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
| "NEXT_HOP_NOT_RUNNING"
| "NOT_CRITICAL_ERROR"
| "NO_RESULTS_ON_PAGE"
| "PARTIAL_SUCCESS"
| "REQUIRED_TOS_AGREEMENT"
| "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"
| "RESOURCE_NOT_DELETED"
| "SCHEMA_VALIDATION_IGNORED"
| "SINGLE_INSTANCE_PROPERTY_TEMPLATE"
| "UNDECLARED_PROPERTIES"
| "UNREACHABLE";
data?: {
key?: string;
value?: string;
}
[]
;
message?: string;
}
;
selfLink?: string;
status?: "DOWN" | "UP";
supportsPzs?: boolean;
zones?: string[];
}

§Properties

§
creationTimestamp?: string
[src]

[Output Only] Creation timestamp in RFC3339 text format.

§

[Output Only] The deprecation status associated with this region.

§
description?: string
[src]

[Output Only] Textual description of the resource.

§
id?: bigint
[src]

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

§
kind?: string
[src]

[Output Only] Type of the resource. Always compute#region for regions.

§
name?: string
[src]

[Output Only] Name of the resource.

§
quotas?: Quota[]
[src]

[Output Only] Quotas assigned to this region.

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

[Output Only] Warning of fetching the quotas field for this region. This field is populated only if fetching of the quotas field fails.

§
status?: "DOWN" | "UP"
[src]

[Output Only] Status of the region, either UP or DOWN.

§
supportsPzs?: boolean
[src]

[Output Only] Reserved for future use.

§
zones?: string[]
[src]

[Output Only] A list of zones available in this region, in the form of resource URLs.