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

DatabaseResourceId

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

DatabaseResourceId will serve as primary key for any resource ingestion event.

interface DatabaseResourceId {
provider?:
| "PROVIDER_UNSPECIFIED"
| "GCP"
| "AWS"
| "AZURE"
| "ONPREM"
| "SELFMANAGED"
| "PROVIDER_OTHER";
providerDescription?: string;
resourceType?: string;
uniqueId?: string;
}

§Properties

§
provider?: "PROVIDER_UNSPECIFIED" | "GCP" | "AWS" | "AZURE" | "ONPREM" | "SELFMANAGED" | "PROVIDER_OTHER"
[src]

Required. Cloud provider name. Ex: GCP/AWS/Azure/OnPrem/SelfManaged

§
providerDescription?: string
[src]

Optional. Needs to be used only when the provider is PROVIDER_OTHER.

§
resourceType?: string
[src]

Required. The type of resource this ID is identifying. Ex redis.googleapis.com/Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel

§
uniqueId?: string
[src]

Required. A service-local token that distinguishes this resource from other resources within the same service.