import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets details of a single ServiceConnectionPolicy. */ export declare function getServiceConnectionPolicy(args: GetServiceConnectionPolicyArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetServiceConnectionPolicyArgs { location: string; project?: string; serviceConnectionPolicyId: string; } export interface GetServiceConnectionPolicyResult { /** * Time when the ServiceConnectionMap was created. */ readonly createTime: string; /** * A description of this resource. */ readonly description: string; /** * 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: string; /** * The type of underlying resources used to create the connection. */ readonly infrastructure: string; /** * User-defined labels. */ readonly labels: { [key: string]: string; }; /** * 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: string; /** * The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}. */ readonly network: string; /** * Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. */ readonly pscConfig: outputs.networkconnectivity.v1.PscConfigResponse; /** * [Output only] Information about each Private Service Connect connection. */ readonly pscConnections: outputs.networkconnectivity.v1.PscConnectionResponse[]; /** * 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: string; /** * Time when the ServiceConnectionMap was updated. */ readonly updateTime: string; } /** * Gets details of a single ServiceConnectionPolicy. */ export declare function getServiceConnectionPolicyOutput(args: GetServiceConnectionPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetServiceConnectionPolicyOutputArgs { location: pulumi.Input; project?: pulumi.Input; serviceConnectionPolicyId: pulumi.Input; }