1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networkconnectivity
  5. networkconnectivity/v1
  6. ServiceConnectionPolicy

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.networkconnectivity/v1.ServiceConnectionPolicy

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new ServiceConnectionPolicy in a given project and location.

    Create ServiceConnectionPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ServiceConnectionPolicy(name: string, args?: ServiceConnectionPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceConnectionPolicy(resource_name: str,
                                args: Optional[ServiceConnectionPolicyArgs] = None,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceConnectionPolicy(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                description: Optional[str] = None,
                                etag: Optional[str] = None,
                                labels: Optional[Mapping[str, str]] = None,
                                location: Optional[str] = None,
                                name: Optional[str] = None,
                                network: Optional[str] = None,
                                project: Optional[str] = None,
                                psc_config: Optional[PscConfigArgs] = None,
                                request_id: Optional[str] = None,
                                service_class: Optional[str] = None,
                                service_connection_policy_id: Optional[str] = None)
    func NewServiceConnectionPolicy(ctx *Context, name string, args *ServiceConnectionPolicyArgs, opts ...ResourceOption) (*ServiceConnectionPolicy, error)
    public ServiceConnectionPolicy(string name, ServiceConnectionPolicyArgs? args = null, CustomResourceOptions? opts = null)
    public ServiceConnectionPolicy(String name, ServiceConnectionPolicyArgs args)
    public ServiceConnectionPolicy(String name, ServiceConnectionPolicyArgs args, CustomResourceOptions options)
    
    type: google-native:networkconnectivity/v1:ServiceConnectionPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ServiceConnectionPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ServiceConnectionPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServiceConnectionPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceConnectionPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceConnectionPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var serviceConnectionPolicyResource = new GoogleNative.NetworkConnectivity.V1.ServiceConnectionPolicy("serviceConnectionPolicyResource", new()
    {
        Description = "string",
        Etag = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Location = "string",
        Name = "string",
        Network = "string",
        Project = "string",
        PscConfig = new GoogleNative.NetworkConnectivity.V1.Inputs.PscConfigArgs
        {
            Limit = "string",
            Subnetworks = new[]
            {
                "string",
            },
        },
        RequestId = "string",
        ServiceClass = "string",
        ServiceConnectionPolicyId = "string",
    });
    
    example, err := networkconnectivity.NewServiceConnectionPolicy(ctx, "serviceConnectionPolicyResource", &networkconnectivity.ServiceConnectionPolicyArgs{
    	Description: pulumi.String("string"),
    	Etag:        pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Location: pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	Network:  pulumi.String("string"),
    	Project:  pulumi.String("string"),
    	PscConfig: &networkconnectivity.PscConfigArgs{
    		Limit: pulumi.String("string"),
    		Subnetworks: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	RequestId:                 pulumi.String("string"),
    	ServiceClass:              pulumi.String("string"),
    	ServiceConnectionPolicyId: pulumi.String("string"),
    })
    
    var serviceConnectionPolicyResource = new ServiceConnectionPolicy("serviceConnectionPolicyResource", ServiceConnectionPolicyArgs.builder()
        .description("string")
        .etag("string")
        .labels(Map.of("string", "string"))
        .location("string")
        .name("string")
        .network("string")
        .project("string")
        .pscConfig(PscConfigArgs.builder()
            .limit("string")
            .subnetworks("string")
            .build())
        .requestId("string")
        .serviceClass("string")
        .serviceConnectionPolicyId("string")
        .build());
    
    service_connection_policy_resource = google_native.networkconnectivity.v1.ServiceConnectionPolicy("serviceConnectionPolicyResource",
        description="string",
        etag="string",
        labels={
            "string": "string",
        },
        location="string",
        name="string",
        network="string",
        project="string",
        psc_config={
            "limit": "string",
            "subnetworks": ["string"],
        },
        request_id="string",
        service_class="string",
        service_connection_policy_id="string")
    
    const serviceConnectionPolicyResource = new google_native.networkconnectivity.v1.ServiceConnectionPolicy("serviceConnectionPolicyResource", {
        description: "string",
        etag: "string",
        labels: {
            string: "string",
        },
        location: "string",
        name: "string",
        network: "string",
        project: "string",
        pscConfig: {
            limit: "string",
            subnetworks: ["string"],
        },
        requestId: "string",
        serviceClass: "string",
        serviceConnectionPolicyId: "string",
    });
    
    type: google-native:networkconnectivity/v1:ServiceConnectionPolicy
    properties:
        description: string
        etag: string
        labels:
            string: string
        location: string
        name: string
        network: string
        project: string
        pscConfig:
            limit: string
            subnetworks:
                - string
        requestId: string
        serviceClass: string
        serviceConnectionPolicyId: string
    

    ServiceConnectionPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ServiceConnectionPolicy resource accepts the following input properties:

    Description string
    A description of this resource.
    Etag 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.
    Labels Dictionary<string, string>
    User-defined labels.
    Location string
    Name 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
    Network string
    The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
    Project string
    PscConfig Pulumi.GoogleNative.NetworkConnectivity.V1.Inputs.PscConfig
    Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
    RequestId string
    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).
    ServiceClass string
    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.
    ServiceConnectionPolicyId string
    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.
    Description string
    A description of this resource.
    Etag 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.
    Labels map[string]string
    User-defined labels.
    Location string
    Name 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
    Network string
    The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
    Project string
    PscConfig PscConfigArgs
    Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
    RequestId string
    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).
    ServiceClass string
    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.
    ServiceConnectionPolicyId string
    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.
    description String
    A description of this resource.
    etag 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.
    labels Map<String,String>
    User-defined labels.
    location String
    name 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
    network String
    The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
    project String
    pscConfig PscConfig
    Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
    requestId String
    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).
    serviceClass String
    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.
    serviceConnectionPolicyId String
    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.
    description string
    A description of this resource.
    etag 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.
    labels {[key: string]: string}
    User-defined labels.
    location string
    name 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
    network string
    The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
    project string
    pscConfig PscConfig
    Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
    requestId string
    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).
    serviceClass string
    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.
    serviceConnectionPolicyId string
    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.
    description str
    A description of this resource.
    etag str
    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.
    labels Mapping[str, str]
    User-defined labels.
    location str
    name str
    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
    network str
    The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
    project str
    psc_config PscConfigArgs
    Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
    request_id str
    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).
    service_class str
    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.
    service_connection_policy_id str
    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.
    description String
    A description of this resource.
    etag 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.
    labels Map<String>
    User-defined labels.
    location String
    name 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
    network String
    The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
    project String
    pscConfig Property Map
    Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
    requestId String
    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).
    serviceClass String
    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.
    serviceConnectionPolicyId String
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServiceConnectionPolicy resource produces the following output properties:

    CreateTime string
    Time when the ServiceConnectionMap was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Infrastructure string
    The type of underlying resources used to create the connection.
    PscConnections List<Pulumi.GoogleNative.NetworkConnectivity.V1.Outputs.PscConnectionResponse>
    [Output only] Information about each Private Service Connect connection.
    UpdateTime string
    Time when the ServiceConnectionMap was updated.
    CreateTime string
    Time when the ServiceConnectionMap was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Infrastructure string
    The type of underlying resources used to create the connection.
    PscConnections []PscConnectionResponse
    [Output only] Information about each Private Service Connect connection.
    UpdateTime string
    Time when the ServiceConnectionMap was updated.
    createTime String
    Time when the ServiceConnectionMap was created.
    id String
    The provider-assigned unique ID for this managed resource.
    infrastructure String
    The type of underlying resources used to create the connection.
    pscConnections List<PscConnectionResponse>
    [Output only] Information about each Private Service Connect connection.
    updateTime String
    Time when the ServiceConnectionMap was updated.
    createTime string
    Time when the ServiceConnectionMap was created.
    id string
    The provider-assigned unique ID for this managed resource.
    infrastructure string
    The type of underlying resources used to create the connection.
    pscConnections PscConnectionResponse[]
    [Output only] Information about each Private Service Connect connection.
    updateTime string
    Time when the ServiceConnectionMap was updated.
    create_time str
    Time when the ServiceConnectionMap was created.
    id str
    The provider-assigned unique ID for this managed resource.
    infrastructure str
    The type of underlying resources used to create the connection.
    psc_connections Sequence[PscConnectionResponse]
    [Output only] Information about each Private Service Connect connection.
    update_time str
    Time when the ServiceConnectionMap was updated.
    createTime String
    Time when the ServiceConnectionMap was created.
    id String
    The provider-assigned unique ID for this managed resource.
    infrastructure String
    The type of underlying resources used to create the connection.
    pscConnections List<Property Map>
    [Output only] Information about each Private Service Connect connection.
    updateTime String
    Time when the ServiceConnectionMap was updated.

    Supporting Types

    GoogleRpcErrorInfoResponse, GoogleRpcErrorInfoResponseArgs

    Domain string
    The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
    Metadata Dictionary<string, string>
    Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
    Reason string
    The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of A-Z+[A-Z0-9], which represents UPPER_SNAKE_CASE.
    Domain string
    The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
    Metadata map[string]string
    Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
    Reason string
    The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of A-Z+[A-Z0-9], which represents UPPER_SNAKE_CASE.
    domain String
    The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
    metadata Map<String,String>
    Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
    reason String
    The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of A-Z+[A-Z0-9], which represents UPPER_SNAKE_CASE.
    domain string
    The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
    metadata {[key: string]: string}
    Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
    reason string
    The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of A-Z+[A-Z0-9], which represents UPPER_SNAKE_CASE.
    domain str
    The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
    metadata Mapping[str, str]
    Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
    reason str
    The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of A-Z+[A-Z0-9], which represents UPPER_SNAKE_CASE.
    domain String
    The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
    metadata Map<String>
    Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
    reason String
    The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of A-Z+[A-Z0-9], which represents UPPER_SNAKE_CASE.

    GoogleRpcStatusResponse, GoogleRpcStatusResponseArgs

    Code int
    The status code, which should be an enum value of google.rpc.Code.
    Details List<ImmutableDictionary<string, string>>
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    Message string
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    Code int
    The status code, which should be an enum value of google.rpc.Code.
    Details []map[string]string
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    Message string
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code Integer
    The status code, which should be an enum value of google.rpc.Code.
    details List<Map<String,String>>
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message String
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code number
    The status code, which should be an enum value of google.rpc.Code.
    details {[key: string]: string}[]
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message string
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code int
    The status code, which should be an enum value of google.rpc.Code.
    details Sequence[Mapping[str, str]]
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message str
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code Number
    The status code, which should be an enum value of google.rpc.Code.
    details List<Map<String>>
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message String
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

    PscConfig, PscConfigArgs

    Limit string
    Optional. Max number of PSC connections for this policy.
    Subnetworks List<string>
    The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
    Limit string
    Optional. Max number of PSC connections for this policy.
    Subnetworks []string
    The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
    limit String
    Optional. Max number of PSC connections for this policy.
    subnetworks List<String>
    The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
    limit string
    Optional. Max number of PSC connections for this policy.
    subnetworks string[]
    The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
    limit str
    Optional. Max number of PSC connections for this policy.
    subnetworks Sequence[str]
    The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
    limit String
    Optional. Max number of PSC connections for this policy.
    subnetworks List<String>
    The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.

    PscConfigResponse, PscConfigResponseArgs

    Limit string
    Optional. Max number of PSC connections for this policy.
    Subnetworks List<string>
    The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
    Limit string
    Optional. Max number of PSC connections for this policy.
    Subnetworks []string
    The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
    limit String
    Optional. Max number of PSC connections for this policy.
    subnetworks List<String>
    The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
    limit string
    Optional. Max number of PSC connections for this policy.
    subnetworks string[]
    The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
    limit str
    Optional. Max number of PSC connections for this policy.
    subnetworks Sequence[str]
    The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
    limit String
    Optional. Max number of PSC connections for this policy.
    subnetworks List<String>
    The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.

    PscConnectionResponse, PscConnectionResponseArgs

    ConsumerAddress string
    The resource reference of the consumer address.
    ConsumerForwardingRule string
    The resource reference of the PSC Forwarding Rule within the consumer VPC.
    ConsumerTargetProject string
    The project where the PSC connection is created.
    Error Pulumi.GoogleNative.NetworkConnectivity.V1.Inputs.GoogleRpcStatusResponse
    The most recent error during operating this connection.
    ErrorInfo Pulumi.GoogleNative.NetworkConnectivity.V1.Inputs.GoogleRpcErrorInfoResponse
    The error info for the latest error during operating this connection.
    ErrorType string
    The error type indicates whether the error is consumer facing, producer facing or system internal.
    GceOperation string
    The last Compute Engine operation to setup PSC connection.
    PscConnectionId string
    The PSC connection id of the PSC forwarding rule.
    State string
    State of the PSC Connection
    ConsumerAddress string
    The resource reference of the consumer address.
    ConsumerForwardingRule string
    The resource reference of the PSC Forwarding Rule within the consumer VPC.
    ConsumerTargetProject string
    The project where the PSC connection is created.
    Error GoogleRpcStatusResponse
    The most recent error during operating this connection.
    ErrorInfo GoogleRpcErrorInfoResponse
    The error info for the latest error during operating this connection.
    ErrorType string
    The error type indicates whether the error is consumer facing, producer facing or system internal.
    GceOperation string
    The last Compute Engine operation to setup PSC connection.
    PscConnectionId string
    The PSC connection id of the PSC forwarding rule.
    State string
    State of the PSC Connection
    consumerAddress String
    The resource reference of the consumer address.
    consumerForwardingRule String
    The resource reference of the PSC Forwarding Rule within the consumer VPC.
    consumerTargetProject String
    The project where the PSC connection is created.
    error GoogleRpcStatusResponse
    The most recent error during operating this connection.
    errorInfo GoogleRpcErrorInfoResponse
    The error info for the latest error during operating this connection.
    errorType String
    The error type indicates whether the error is consumer facing, producer facing or system internal.
    gceOperation String
    The last Compute Engine operation to setup PSC connection.
    pscConnectionId String
    The PSC connection id of the PSC forwarding rule.
    state String
    State of the PSC Connection
    consumerAddress string
    The resource reference of the consumer address.
    consumerForwardingRule string
    The resource reference of the PSC Forwarding Rule within the consumer VPC.
    consumerTargetProject string
    The project where the PSC connection is created.
    error GoogleRpcStatusResponse
    The most recent error during operating this connection.
    errorInfo GoogleRpcErrorInfoResponse
    The error info for the latest error during operating this connection.
    errorType string
    The error type indicates whether the error is consumer facing, producer facing or system internal.
    gceOperation string
    The last Compute Engine operation to setup PSC connection.
    pscConnectionId string
    The PSC connection id of the PSC forwarding rule.
    state string
    State of the PSC Connection
    consumer_address str
    The resource reference of the consumer address.
    consumer_forwarding_rule str
    The resource reference of the PSC Forwarding Rule within the consumer VPC.
    consumer_target_project str
    The project where the PSC connection is created.
    error GoogleRpcStatusResponse
    The most recent error during operating this connection.
    error_info GoogleRpcErrorInfoResponse
    The error info for the latest error during operating this connection.
    error_type str
    The error type indicates whether the error is consumer facing, producer facing or system internal.
    gce_operation str
    The last Compute Engine operation to setup PSC connection.
    psc_connection_id str
    The PSC connection id of the PSC forwarding rule.
    state str
    State of the PSC Connection
    consumerAddress String
    The resource reference of the consumer address.
    consumerForwardingRule String
    The resource reference of the PSC Forwarding Rule within the consumer VPC.
    consumerTargetProject String
    The project where the PSC connection is created.
    error Property Map
    The most recent error during operating this connection.
    errorInfo Property Map
    The error info for the latest error during operating this connection.
    errorType String
    The error type indicates whether the error is consumer facing, producer facing or system internal.
    gceOperation String
    The last Compute Engine operation to setup PSC connection.
    pscConnectionId String
    The PSC connection id of the PSC forwarding rule.
    state String
    State of the PSC Connection

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi