@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
214 lines • 9.45 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Google Cloud Armor network edge security service resource.
*
* > **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
* See Provider Versions for more details on beta resources.
*
* To get more information about NetworkEdgeSecurityService, see:
*
* * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/networkEdgeSecurityServices)
* * How-to Guides
* * [Official Documentation](https://cloud.google.com/armor/docs/advanced-network-ddos)
*
* ## Example Usage
*
* ### Compute Network Edge Security Service Basic
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const _default = new gcp.compute.NetworkEdgeSecurityService("default", {
* name: "my-edge-security-service",
* region: "us-east1",
* description: "My basic resource",
* });
* ```
*
* ## Import
*
* NetworkEdgeSecurityService can be imported using any of these accepted formats:
*
* * `projects/{{project}}/regions/{{region}}/networkEdgeSecurityServices/{{name}}`
* * `{{project}}/{{region}}/{{name}}`
* * `{{region}}/{{name}}`
* * `{{name}}`
*
* When using the `pulumi import` command, NetworkEdgeSecurityService can be imported using one of the formats above. For example:
*
* ```sh
* $ pulumi import gcp:compute/networkEdgeSecurityService:NetworkEdgeSecurityService default projects/{{project}}/regions/{{region}}/networkEdgeSecurityServices/{{name}}
* $ pulumi import gcp:compute/networkEdgeSecurityService:NetworkEdgeSecurityService default {{project}}/{{region}}/{{name}}
* $ pulumi import gcp:compute/networkEdgeSecurityService:NetworkEdgeSecurityService default {{region}}/{{name}}
* $ pulumi import gcp:compute/networkEdgeSecurityService:NetworkEdgeSecurityService default {{name}}
* ```
*/
export declare class NetworkEdgeSecurityService extends pulumi.CustomResource {
/**
* Get an existing NetworkEdgeSecurityService resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkEdgeSecurityServiceState, opts?: pulumi.CustomResourceOptions): NetworkEdgeSecurityService;
/**
* Returns true if the given object is an instance of NetworkEdgeSecurityService. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is NetworkEdgeSecurityService;
/**
* Creation timestamp in RFC3339 text format.
*/
readonly creationTimestamp: pulumi.Output<string>;
/**
* Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
* When a 'terraform destroy' or 'pulumi up' would delete the resource,
* the command will fail if this field is set to "PREVENT" in Terraform state.
* When set to "ABANDON", the command will remove the resource from Terraform
* management without updating or deleting the resource in the API.
* When set to "DELETE", deleting the resource is allowed.
*/
readonly deletionPolicy: pulumi.Output<string>;
/**
* Free-text description of the resource.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService.
* An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet.
*/
readonly fingerprint: pulumi.Output<string>;
/**
* Name of the resource. Provided by the client when the resource is created.
*/
readonly name: pulumi.Output<string>;
/**
* The ID of the project in which the resource belongs.
* If it is not provided, the provider project is used.
*/
readonly project: pulumi.Output<string>;
/**
* The region of the gateway security policy.
*/
readonly region: pulumi.Output<string | undefined>;
/**
* The resource URL for the network edge security service associated with this network edge security service.
*/
readonly securityPolicy: pulumi.Output<string | undefined>;
/**
* Server-defined URL for the resource.
*/
readonly selfLink: pulumi.Output<string>;
/**
* Server-defined URL for this resource with the resource id.
*/
readonly selfLinkWithServiceId: pulumi.Output<string>;
/**
* The unique identifier for the resource. This identifier is defined by the server.
*/
readonly serviceId: pulumi.Output<string>;
/**
* Create a NetworkEdgeSecurityService resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: NetworkEdgeSecurityServiceArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering NetworkEdgeSecurityService resources.
*/
export interface NetworkEdgeSecurityServiceState {
/**
* Creation timestamp in RFC3339 text format.
*/
creationTimestamp?: pulumi.Input<string | undefined>;
/**
* Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
* When a 'terraform destroy' or 'pulumi up' would delete the resource,
* the command will fail if this field is set to "PREVENT" in Terraform state.
* When set to "ABANDON", the command will remove the resource from Terraform
* management without updating or deleting the resource in the API.
* When set to "DELETE", deleting the resource is allowed.
*/
deletionPolicy?: pulumi.Input<string | undefined>;
/**
* Free-text description of the resource.
*/
description?: pulumi.Input<string | undefined>;
/**
* Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService.
* An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet.
*/
fingerprint?: pulumi.Input<string | undefined>;
/**
* Name of the resource. Provided by the client when the resource is created.
*/
name?: pulumi.Input<string | undefined>;
/**
* The ID of the project in which the resource belongs.
* If it is not provided, the provider project is used.
*/
project?: pulumi.Input<string | undefined>;
/**
* The region of the gateway security policy.
*/
region?: pulumi.Input<string | undefined>;
/**
* The resource URL for the network edge security service associated with this network edge security service.
*/
securityPolicy?: pulumi.Input<string | undefined>;
/**
* Server-defined URL for the resource.
*/
selfLink?: pulumi.Input<string | undefined>;
/**
* Server-defined URL for this resource with the resource id.
*/
selfLinkWithServiceId?: pulumi.Input<string | undefined>;
/**
* The unique identifier for the resource. This identifier is defined by the server.
*/
serviceId?: pulumi.Input<string | undefined>;
}
/**
* The set of arguments for constructing a NetworkEdgeSecurityService resource.
*/
export interface NetworkEdgeSecurityServiceArgs {
/**
* Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
* When a 'terraform destroy' or 'pulumi up' would delete the resource,
* the command will fail if this field is set to "PREVENT" in Terraform state.
* When set to "ABANDON", the command will remove the resource from Terraform
* management without updating or deleting the resource in the API.
* When set to "DELETE", deleting the resource is allowed.
*/
deletionPolicy?: pulumi.Input<string | undefined>;
/**
* Free-text description of the resource.
*/
description?: pulumi.Input<string | undefined>;
/**
* Name of the resource. Provided by the client when the resource is created.
*/
name?: pulumi.Input<string | undefined>;
/**
* The ID of the project in which the resource belongs.
* If it is not provided, the provider project is used.
*/
project?: pulumi.Input<string | undefined>;
/**
* The region of the gateway security policy.
*/
region?: pulumi.Input<string | undefined>;
/**
* The resource URL for the network edge security service associated with this network edge security service.
*/
securityPolicy?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=networkEdgeSecurityService.d.ts.map