@datadog/datadog-api-client
Version:
OpenAPI client for Datadog APIs
115 lines (114 loc) • 3.98 kB
TypeScript
/**
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2020-Present Datadog, Inc.
*/
import { GCPMonitoredResourceConfig } from "./GCPMonitoredResourceConfig";
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
/**
* Your Google Cloud Platform Account.
*/
export declare class GCPAccount {
/**
* Should be `https://www.googleapis.com/oauth2/v1/certs`.
*/
"authProviderX509CertUrl"?: string;
/**
* Should be `https://accounts.google.com/o/oauth2/auth`.
*/
"authUri"?: string;
/**
* Silence monitors for expected GCE instance shutdowns.
*/
"automute"?: boolean;
/**
* Your email found in your JSON service account key.
*/
"clientEmail"?: string;
/**
* Your ID found in your JSON service account key.
*/
"clientId"?: string;
/**
* Should be `https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL`
* where `$CLIENT_EMAIL` is the email found in your JSON service account key.
*/
"clientX509CertUrl"?: string;
/**
* List of filters to limit the Cloud Run revisions that are pulled into Datadog by using tags.
* Only Cloud Run revision resources that apply to specified filters are imported into Datadog.
* **Note:** This field is deprecated. Instead, use `monitored_resource_configs` with `type=cloud_run_revision`
*/
"cloudRunRevisionFilters"?: Array<string>;
/**
* An array of errors.
*/
"errors"?: Array<string>;
/**
* A comma-separated list of filters to limit the VM instances that are pulled into Datadog by using tags.
* Only VM instance resources that apply to specified filters are imported into Datadog.
* **Note:** This field is deprecated. Instead, use `monitored_resource_configs` with `type=gce_instance`
*/
"hostFilters"?: string;
/**
* When enabled, Datadog will activate the Cloud Security Monitoring product for this service account. Note: This requires resource_collection_enabled to be set to true.
*/
"isCspmEnabled"?: boolean;
/**
* When enabled, Datadog scans for all resource change data in your Google Cloud environment.
*/
"isResourceChangeCollectionEnabled"?: boolean;
/**
* When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account.
*/
"isSecurityCommandCenterEnabled"?: boolean;
/**
* Configurations for GCP monitored resources.
*/
"monitoredResourceConfigs"?: Array<GCPMonitoredResourceConfig>;
/**
* Your private key name found in your JSON service account key.
*/
"privateKey"?: string;
/**
* Your private key ID found in your JSON service account key.
*/
"privateKeyId"?: string;
/**
* Your Google Cloud project ID found in your JSON service account key.
*/
"projectId"?: string;
/**
* When enabled, Datadog scans for all resources in your GCP environment.
*/
"resourceCollectionEnabled"?: boolean;
/**
* Should be `https://accounts.google.com/o/oauth2/token`.
*/
"tokenUri"?: string;
/**
* The value for service_account found in your JSON service account key.
*/
"type"?: string;
/**
* A container for additional, undeclared properties.
* This is a holder for any undeclared properties as specified with
* the 'additionalProperties' keyword in the OAS document.
*/
"additionalProperties"?: {
[key: string]: any;
};
/**
* @ignore
*/
"_unparsed"?: boolean;
/**
* @ignore
*/
static readonly attributeTypeMap: AttributeTypeMap;
/**
* @ignore
*/
static getAttributeTypeMap(): AttributeTypeMap;
constructor();
}