import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new ServiceConnectionPolicy in a given project and location. */ export declare class ServiceConnectionPolicy extends pulumi.CustomResource { /** * Get an existing ServiceConnectionPolicy 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): ServiceConnectionPolicy; /** * Returns true if the given object is an instance of ServiceConnectionPolicy. 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 ServiceConnectionPolicy; /** * Time when the ServiceConnectionMap was created. */ readonly createTime: pulumi.Output; /** * A description of this resource. */ readonly description: pulumi.Output; /** * Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */ readonly etag: pulumi.Output; /** * The type of underlying resources used to create the connection. */ readonly infrastructure: pulumi.Output; /** * User-defined labels. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names */ readonly name: pulumi.Output; /** * The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}. */ readonly network: pulumi.Output; readonly project: pulumi.Output; /** * Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. */ readonly pscConfig: pulumi.Output; /** * [Output only] Information about each Private Service Connect connection. */ readonly pscConnections: pulumi.Output; /** * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ readonly requestId: pulumi.Output; /** * The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx. */ readonly serviceClass: pulumi.Output; /** * Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. */ readonly serviceConnectionPolicyId: pulumi.Output; /** * Time when the ServiceConnectionMap was updated. */ readonly updateTime: pulumi.Output; /** * Create a ServiceConnectionPolicy 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?: ServiceConnectionPolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ServiceConnectionPolicy resource. */ export interface ServiceConnectionPolicyArgs { /** * A description of this resource. */ description?: pulumi.Input; /** * Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */ etag?: pulumi.Input; /** * User-defined labels. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names */ name?: pulumi.Input; /** * The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}. */ network?: pulumi.Input; project?: pulumi.Input; /** * Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. */ pscConfig?: pulumi.Input; /** * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: pulumi.Input; /** * The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx. */ serviceClass?: pulumi.Input; /** * Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. */ serviceConnectionPolicyId?: pulumi.Input; }