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

CloudLocation

import type { CloudLocation } from "https://googleapis.deno.dev/v1/cloudlocationfinder:v1alpha.ts";

Represents resource cloud locations.

interface CloudLocation {
carbonFreeEnergyPercentage?: number;
cloudLocationType?:
| "CLOUD_LOCATION_TYPE_UNSPECIFIED"
| "CLOUD_LOCATION_TYPE_REGION"
| "CLOUD_LOCATION_TYPE_ZONE"
| "CLOUD_LOCATION_TYPE_REGION_EXTENSION";
cloudProvider?:
| "CLOUD_PROVIDER_UNSPECIFIED"
| "CLOUD_PROVIDER_GCP"
| "CLOUD_PROVIDER_AWS"
| "CLOUD_PROVIDER_AZURE"
| "CLOUD_PROVIDER_OCI";
readonly containingCloudLocation?: string;
displayName?: string;
name?: string;
territoryCode?: string;
}

§Properties

§
carbonFreeEnergyPercentage?: number
[src]

Optional. The carbon free energy percentage of the cloud location. This represents the average percentage of time customers' application will be running on carbon-free energy. See https://cloud.google.com/sustainability/region-carbon for more details. There is a difference between default value 0 and unset value. 0 means the carbon free energy percentage is 0%, while unset value means the carbon footprint data is not available.

§
cloudLocationType?: "CLOUD_LOCATION_TYPE_UNSPECIFIED" | "CLOUD_LOCATION_TYPE_REGION" | "CLOUD_LOCATION_TYPE_ZONE" | "CLOUD_LOCATION_TYPE_REGION_EXTENSION"
[src]

Optional. The type of the cloud location.

§
cloudProvider?: "CLOUD_PROVIDER_UNSPECIFIED" | "CLOUD_PROVIDER_GCP" | "CLOUD_PROVIDER_AWS" | "CLOUD_PROVIDER_AZURE" | "CLOUD_PROVIDER_OCI"
[src]

Optional. The provider of the cloud location. Values can be Google Cloud or third-party providers, including AWS, Azure, or Oracle Cloud Infrastructure.

§
readonly containingCloudLocation?: string
[src]

Output only. The containing cloud location in the strict nesting hierarchy. For example, the containing cloud location of a zone is a region.

§
displayName?: string
[src]

Optional. The human-readable name of the cloud location. Example: us-east-2, us-east1.

§
name?: string
[src]

Identifier. Name of the cloud location. Unique name of the cloud location including project and location using the form: projects/{project_id}/locations/{location}/cloudLocations/{cloud_location}

§
territoryCode?: string
[src]

Optional. The two-letter ISO 3166-1 alpha-2 code of the cloud location. Examples: US, JP, KR.