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

SapDiscoveryResource

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

Message describing a resource.

interface SapDiscoveryResource {
relatedResources?: string[];
resourceKind?:
| "RESOURCE_KIND_UNSPECIFIED"
| "RESOURCE_KIND_INSTANCE"
| "RESOURCE_KIND_DISK"
| "RESOURCE_KIND_ADDRESS"
| "RESOURCE_KIND_FILESTORE"
| "RESOURCE_KIND_HEALTH_CHECK"
| "RESOURCE_KIND_FORWARDING_RULE"
| "RESOURCE_KIND_BACKEND_SERVICE"
| "RESOURCE_KIND_SUBNETWORK"
| "RESOURCE_KIND_NETWORK"
| "RESOURCE_KIND_PUBLIC_ADDRESS"
| "RESOURCE_KIND_INSTANCE_GROUP";
resourceType?:
| "RESOURCE_TYPE_UNSPECIFIED"
| "RESOURCE_TYPE_COMPUTE"
| "RESOURCE_TYPE_STORAGE"
| "RESOURCE_TYPE_NETWORK";
resourceUri?: string;
updateTime?: Date;
}

§Properties

§

Optional. A set of properties only applying to instance type resources.

§
relatedResources?: string[]
[src]

Optional. A list of resource URIs related to this resource.

§
resourceKind?: "RESOURCE_KIND_UNSPECIFIED" | "RESOURCE_KIND_INSTANCE" | "RESOURCE_KIND_DISK" | "RESOURCE_KIND_ADDRESS" | "RESOURCE_KIND_FILESTORE" | "RESOURCE_KIND_HEALTH_CHECK" | "RESOURCE_KIND_FORWARDING_RULE" | "RESOURCE_KIND_BACKEND_SERVICE" | "RESOURCE_KIND_SUBNETWORK" | "RESOURCE_KIND_NETWORK" | "RESOURCE_KIND_PUBLIC_ADDRESS" | "RESOURCE_KIND_INSTANCE_GROUP"
[src]

Required. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.

§
resourceType?: "RESOURCE_TYPE_UNSPECIFIED" | "RESOURCE_TYPE_COMPUTE" | "RESOURCE_TYPE_STORAGE" | "RESOURCE_TYPE_NETWORK"
[src]

Required. The type of this resource.

§
resourceUri?: string
[src]

Required. URI of the resource, includes project, location, and name.

§
updateTime?: Date
[src]

Required. Unix timestamp of when this resource last had its discovery data updated.