import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a network endpoint group in the specified project using the parameters that are included in the request. */ export declare class GlobalNetworkEndpointGroup extends pulumi.CustomResource { /** * Get an existing GlobalNetworkEndpointGroup 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): GlobalNetworkEndpointGroup; /** * Returns true if the given object is an instance of GlobalNetworkEndpointGroup. 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 GlobalNetworkEndpointGroup; /** * Metadata defined as annotations on the network endpoint group. */ readonly annotations: pulumi.Output<{ [key: string]: string; }>; /** * Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. */ readonly appEngine: pulumi.Output; /** * Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. */ readonly cloudFunction: pulumi.Output; /** * Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. */ readonly cloudRun: pulumi.Output; /** * [Output Only] Creation timestamp in RFC3339 text format. */ readonly creationTimestamp: pulumi.Output; /** * The default port used if the port number is not specified in the network endpoint. */ readonly defaultPort: pulumi.Output; /** * An optional description of this resource. Provide this property when you create the resource. */ readonly description: pulumi.Output; /** * [Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group. */ readonly kind: pulumi.Output; /** * This field is only valid when the network endpoint group is used for load balancing. [Deprecated] This field is deprecated. */ readonly loadBalancer: pulumi.Output; /** * Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */ readonly name: pulumi.Output; /** * The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified. */ readonly network: pulumi.Output; /** * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, or SERVERLESS. */ readonly networkEndpointType: pulumi.Output; /** * The target service url used to set up private service connection to a Google API. An example value is: "asia-northeast3-cloudkms.googleapis.com" */ readonly pscTargetService: pulumi.Output; /** * [Output Only] The URL of the region where the network endpoint group is located. */ readonly region: pulumi.Output; /** * [Output Only] Server-defined URL for the resource. */ readonly selfLink: pulumi.Output; /** * [Output Only] Server-defined URL for this resource with the resource id. */ readonly selfLinkWithId: pulumi.Output; /** * Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine cloudFunction or serverlessDeployment may be set. */ readonly serverlessDeployment: pulumi.Output; /** * [Output only] Number of network endpoints in the network endpoint group. */ readonly size: pulumi.Output; /** * Optional URL of the subnetwork to which all network endpoints in the NEG belong. */ readonly subnetwork: pulumi.Output; /** * Specify the type of this network endpoint group. Only LOAD_BALANCING is valid for now. */ readonly type: pulumi.Output; /** * [Output Only] The URL of the zone where the network endpoint group is located. */ readonly zone: pulumi.Output; /** * Create a GlobalNetworkEndpointGroup 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: GlobalNetworkEndpointGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a GlobalNetworkEndpointGroup resource. */ export interface GlobalNetworkEndpointGroupArgs { /** * Metadata defined as annotations on the network endpoint group. */ readonly annotations?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. */ readonly appEngine?: pulumi.Input; /** * Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. */ readonly cloudFunction?: pulumi.Input; /** * Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. */ readonly cloudRun?: pulumi.Input; /** * [Output Only] Creation timestamp in RFC3339 text format. */ readonly creationTimestamp?: pulumi.Input; /** * The default port used if the port number is not specified in the network endpoint. */ readonly defaultPort?: pulumi.Input; /** * An optional description of this resource. Provide this property when you create the resource. */ readonly description?: pulumi.Input; /** * [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ readonly id?: pulumi.Input; /** * [Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group. */ readonly kind?: pulumi.Input; /** * This field is only valid when the network endpoint group is used for load balancing. [Deprecated] This field is deprecated. */ readonly loadBalancer?: pulumi.Input; /** * Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */ readonly name?: pulumi.Input; /** * The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified. */ readonly network?: pulumi.Input; readonly networkEndpointGroup: pulumi.Input; /** * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, or SERVERLESS. */ readonly networkEndpointType?: pulumi.Input; readonly project: pulumi.Input; /** * The target service url used to set up private service connection to a Google API. An example value is: "asia-northeast3-cloudkms.googleapis.com" */ readonly pscTargetService?: pulumi.Input; /** * [Output Only] The URL of the region where the network endpoint group is located. */ readonly region?: pulumi.Input; /** * [Output Only] Server-defined URL for the resource. */ readonly selfLink?: pulumi.Input; /** * [Output Only] Server-defined URL for this resource with the resource id. */ readonly selfLinkWithId?: pulumi.Input; /** * Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine cloudFunction or serverlessDeployment may be set. */ readonly serverlessDeployment?: pulumi.Input; /** * [Output only] Number of network endpoints in the network endpoint group. */ readonly size?: pulumi.Input; /** * Optional URL of the subnetwork to which all network endpoints in the NEG belong. */ readonly subnetwork?: pulumi.Input; /** * Specify the type of this network endpoint group. Only LOAD_BALANCING is valid for now. */ readonly type?: pulumi.Input; /** * [Output Only] The URL of the zone where the network endpoint group is located. */ readonly zone?: pulumi.Input; }