Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.networkconnectivity/v1.ServiceConnectionPolicy
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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=google_native.networkconnectivity.v1.PscConfigArgs(
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
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
- Psc
Config Pulumi.Google Native. Network Connectivity. V1. Inputs. Psc Config - Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
- Request
Id 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).
- Service
Class 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.
- Service
Connection stringPolicy Id - 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
- Psc
Config PscConfig Args - Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
- Request
Id 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).
- Service
Class 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.
- Service
Connection stringPolicy Id - 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
- psc
Config PscConfig - Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
- request
Id 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).
- service
Class 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.
- service
Connection StringPolicy Id - 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
- psc
Config PscConfig - Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
- request
Id 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).
- service
Class 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.
- service
Connection stringPolicy Id - 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 PscConfig Args - 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_ strpolicy_ id - 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
- psc
Config Property Map - Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
- request
Id 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).
- service
Class 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.
- service
Connection StringPolicy Id - 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:
- Create
Time 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.
- Psc
Connections List<Pulumi.Google Native. Network Connectivity. V1. Outputs. Psc Connection Response> - [Output only] Information about each Private Service Connect connection.
- Update
Time string - Time when the ServiceConnectionMap was updated.
- Create
Time 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.
- Psc
Connections []PscConnection Response - [Output only] Information about each Private Service Connect connection.
- Update
Time string - Time when the ServiceConnectionMap was updated.
- create
Time 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.
- psc
Connections List<PscConnection Response> - [Output only] Information about each Private Service Connect connection.
- update
Time String - Time when the ServiceConnectionMap was updated.
- create
Time 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.
- psc
Connections PscConnection Response[] - [Output only] Information about each Private Service Connect connection.
- update
Time 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[PscConnection Response] - [Output only] Information about each Private Service Connect connection.
- update_
time str - Time when the ServiceConnectionMap was updated.
- create
Time 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.
- psc
Connections List<Property Map> - [Output only] Information about each Private Service Connect connection.
- update
Time 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<Immutable
Dictionary<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
- Consumer
Address string - The resource reference of the consumer address.
- Consumer
Forwarding stringRule - The resource reference of the PSC Forwarding Rule within the consumer VPC.
- Consumer
Target stringProject - The project where the PSC connection is created.
- Error
Pulumi.
Google Native. Network Connectivity. V1. Inputs. Google Rpc Status Response - The most recent error during operating this connection.
- Error
Info Pulumi.Google Native. Network Connectivity. V1. Inputs. Google Rpc Error Info Response - The error info for the latest error during operating this connection.
- Error
Type string - The error type indicates whether the error is consumer facing, producer facing or system internal.
- Gce
Operation string - The last Compute Engine operation to setup PSC connection.
- Psc
Connection stringId - The PSC connection id of the PSC forwarding rule.
- State string
- State of the PSC Connection
- Consumer
Address string - The resource reference of the consumer address.
- Consumer
Forwarding stringRule - The resource reference of the PSC Forwarding Rule within the consumer VPC.
- Consumer
Target stringProject - The project where the PSC connection is created.
- Error
Google
Rpc Status Response - The most recent error during operating this connection.
- Error
Info GoogleRpc Error Info Response - The error info for the latest error during operating this connection.
- Error
Type string - The error type indicates whether the error is consumer facing, producer facing or system internal.
- Gce
Operation string - The last Compute Engine operation to setup PSC connection.
- Psc
Connection stringId - The PSC connection id of the PSC forwarding rule.
- State string
- State of the PSC Connection
- consumer
Address String - The resource reference of the consumer address.
- consumer
Forwarding StringRule - The resource reference of the PSC Forwarding Rule within the consumer VPC.
- consumer
Target StringProject - The project where the PSC connection is created.
- error
Google
Rpc Status Response - The most recent error during operating this connection.
- error
Info GoogleRpc Error Info Response - The error info for the latest error during operating this connection.
- error
Type String - The error type indicates whether the error is consumer facing, producer facing or system internal.
- gce
Operation String - The last Compute Engine operation to setup PSC connection.
- psc
Connection StringId - The PSC connection id of the PSC forwarding rule.
- state String
- State of the PSC Connection
- consumer
Address string - The resource reference of the consumer address.
- consumer
Forwarding stringRule - The resource reference of the PSC Forwarding Rule within the consumer VPC.
- consumer
Target stringProject - The project where the PSC connection is created.
- error
Google
Rpc Status Response - The most recent error during operating this connection.
- error
Info GoogleRpc Error Info Response - The error info for the latest error during operating this connection.
- error
Type string - The error type indicates whether the error is consumer facing, producer facing or system internal.
- gce
Operation string - The last Compute Engine operation to setup PSC connection.
- psc
Connection stringId - 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_ strrule - The resource reference of the PSC Forwarding Rule within the consumer VPC.
- consumer_
target_ strproject - The project where the PSC connection is created.
- error
Google
Rpc Status Response - The most recent error during operating this connection.
- error_
info GoogleRpc Error Info Response - 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_ strid - The PSC connection id of the PSC forwarding rule.
- state str
- State of the PSC Connection
- consumer
Address String - The resource reference of the consumer address.
- consumer
Forwarding StringRule - The resource reference of the PSC Forwarding Rule within the consumer VPC.
- consumer
Target StringProject - The project where the PSC connection is created.
- error Property Map
- The most recent error during operating this connection.
- error
Info Property Map - The error info for the latest error during operating this connection.
- error
Type String - The error type indicates whether the error is consumer facing, producer facing or system internal.
- gce
Operation String - The last Compute Engine operation to setup PSC connection.
- psc
Connection StringId - 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 Cloud Native is in preview. Google Cloud Classic is fully supported.