Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.networkservices/v1beta1.EndpointPolicy
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new EndpointPolicy in a given project and location.
Create EndpointPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EndpointPolicy(name: string, args: EndpointPolicyArgs, opts?: CustomResourceOptions);
@overload
def EndpointPolicy(resource_name: str,
args: EndpointPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EndpointPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
endpoint_matcher: Optional[EndpointMatcherArgs] = None,
endpoint_policy_id: Optional[str] = None,
type: Optional[EndpointPolicyType] = None,
authorization_policy: Optional[str] = None,
client_tls_policy: Optional[str] = None,
description: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
server_tls_policy: Optional[str] = None,
traffic_port_selector: Optional[TrafficPortSelectorArgs] = None)
func NewEndpointPolicy(ctx *Context, name string, args EndpointPolicyArgs, opts ...ResourceOption) (*EndpointPolicy, error)
public EndpointPolicy(string name, EndpointPolicyArgs args, CustomResourceOptions? opts = null)
public EndpointPolicy(String name, EndpointPolicyArgs args)
public EndpointPolicy(String name, EndpointPolicyArgs args, CustomResourceOptions options)
type: google-native:networkservices/v1beta1:EndpointPolicy
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 EndpointPolicyArgs
- 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 EndpointPolicyArgs
- 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 EndpointPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EndpointPolicyArgs
- 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 google_nativeEndpointPolicyResource = new GoogleNative.NetworkServices.V1Beta1.EndpointPolicy("google-nativeEndpointPolicyResource", new()
{
EndpointMatcher = new GoogleNative.NetworkServices.V1Beta1.Inputs.EndpointMatcherArgs
{
MetadataLabelMatcher = new GoogleNative.NetworkServices.V1Beta1.Inputs.MetadataLabelMatcherArgs
{
MetadataLabelMatchCriteria = GoogleNative.NetworkServices.V1Beta1.MetadataLabelMatcherMetadataLabelMatchCriteria.MetadataLabelMatchCriteriaUnspecified,
MetadataLabels = new[]
{
new GoogleNative.NetworkServices.V1Beta1.Inputs.MetadataLabelsArgs
{
LabelName = "string",
LabelValue = "string",
},
},
},
},
EndpointPolicyId = "string",
Type = GoogleNative.NetworkServices.V1Beta1.EndpointPolicyType.EndpointPolicyTypeUnspecified,
AuthorizationPolicy = "string",
ClientTlsPolicy = "string",
Description = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
Name = "string",
Project = "string",
ServerTlsPolicy = "string",
TrafficPortSelector = new GoogleNative.NetworkServices.V1Beta1.Inputs.TrafficPortSelectorArgs
{
Ports = new[]
{
"string",
},
},
});
example, err := networkservicesv1beta1.NewEndpointPolicy(ctx, "google-nativeEndpointPolicyResource", &networkservicesv1beta1.EndpointPolicyArgs{
EndpointMatcher: &networkservices.EndpointMatcherArgs{
MetadataLabelMatcher: &networkservices.MetadataLabelMatcherArgs{
MetadataLabelMatchCriteria: networkservicesv1beta1.MetadataLabelMatcherMetadataLabelMatchCriteriaMetadataLabelMatchCriteriaUnspecified,
MetadataLabels: networkservices.MetadataLabelsArray{
&networkservices.MetadataLabelsArgs{
LabelName: pulumi.String("string"),
LabelValue: pulumi.String("string"),
},
},
},
},
EndpointPolicyId: pulumi.String("string"),
Type: networkservicesv1beta1.EndpointPolicyTypeEndpointPolicyTypeUnspecified,
AuthorizationPolicy: pulumi.String("string"),
ClientTlsPolicy: pulumi.String("string"),
Description: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
ServerTlsPolicy: pulumi.String("string"),
TrafficPortSelector: &networkservices.TrafficPortSelectorArgs{
Ports: pulumi.StringArray{
pulumi.String("string"),
},
},
})
var google_nativeEndpointPolicyResource = new EndpointPolicy("google-nativeEndpointPolicyResource", EndpointPolicyArgs.builder()
.endpointMatcher(EndpointMatcherArgs.builder()
.metadataLabelMatcher(MetadataLabelMatcherArgs.builder()
.metadataLabelMatchCriteria("METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED")
.metadataLabels(MetadataLabelsArgs.builder()
.labelName("string")
.labelValue("string")
.build())
.build())
.build())
.endpointPolicyId("string")
.type("ENDPOINT_POLICY_TYPE_UNSPECIFIED")
.authorizationPolicy("string")
.clientTlsPolicy("string")
.description("string")
.labels(Map.of("string", "string"))
.location("string")
.name("string")
.project("string")
.serverTlsPolicy("string")
.trafficPortSelector(TrafficPortSelectorArgs.builder()
.ports("string")
.build())
.build());
google_native_endpoint_policy_resource = google_native.networkservices.v1beta1.EndpointPolicy("google-nativeEndpointPolicyResource",
endpoint_matcher=google_native.networkservices.v1beta1.EndpointMatcherArgs(
metadata_label_matcher=google_native.networkservices.v1beta1.MetadataLabelMatcherArgs(
metadata_label_match_criteria=google_native.networkservices.v1beta1.MetadataLabelMatcherMetadataLabelMatchCriteria.METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED,
metadata_labels=[google_native.networkservices.v1beta1.MetadataLabelsArgs(
label_name="string",
label_value="string",
)],
),
),
endpoint_policy_id="string",
type=google_native.networkservices.v1beta1.EndpointPolicyType.ENDPOINT_POLICY_TYPE_UNSPECIFIED,
authorization_policy="string",
client_tls_policy="string",
description="string",
labels={
"string": "string",
},
location="string",
name="string",
project="string",
server_tls_policy="string",
traffic_port_selector=google_native.networkservices.v1beta1.TrafficPortSelectorArgs(
ports=["string"],
))
const google_nativeEndpointPolicyResource = new google_native.networkservices.v1beta1.EndpointPolicy("google-nativeEndpointPolicyResource", {
endpointMatcher: {
metadataLabelMatcher: {
metadataLabelMatchCriteria: google_native.networkservices.v1beta1.MetadataLabelMatcherMetadataLabelMatchCriteria.MetadataLabelMatchCriteriaUnspecified,
metadataLabels: [{
labelName: "string",
labelValue: "string",
}],
},
},
endpointPolicyId: "string",
type: google_native.networkservices.v1beta1.EndpointPolicyType.EndpointPolicyTypeUnspecified,
authorizationPolicy: "string",
clientTlsPolicy: "string",
description: "string",
labels: {
string: "string",
},
location: "string",
name: "string",
project: "string",
serverTlsPolicy: "string",
trafficPortSelector: {
ports: ["string"],
},
});
type: google-native:networkservices/v1beta1:EndpointPolicy
properties:
authorizationPolicy: string
clientTlsPolicy: string
description: string
endpointMatcher:
metadataLabelMatcher:
metadataLabelMatchCriteria: METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED
metadataLabels:
- labelName: string
labelValue: string
endpointPolicyId: string
labels:
string: string
location: string
name: string
project: string
serverTlsPolicy: string
trafficPortSelector:
ports:
- string
type: ENDPOINT_POLICY_TYPE_UNSPECIFIED
EndpointPolicy 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 EndpointPolicy resource accepts the following input properties:
- Endpoint
Matcher Pulumi.Google Native. Network Services. V1Beta1. Inputs. Endpoint Matcher - A matcher that selects endpoints to which the policies should be applied.
- Endpoint
Policy stringId - Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".
- Type
Pulumi.
Google Native. Network Services. V1Beta1. Endpoint Policy Type - The type of endpoint policy. This is primarily used to validate the configuration.
- string
- Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, authorization is disabled(no authz checks) for this endpoint.
- Client
Tls stringPolicy - Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the authentication for traffic from the proxy to the actual endpoints. More specifically, it is applied to the outgoing traffic from the proxy to the endpoint. This is typically used for sidecar model where the proxy identifies itself as endpoint to the control plane, with the connection between sidecar and endpoint requiring authentication. If this field is not set, authentication is disabled(open). Applicable only when EndpointPolicyType is SIDECAR_PROXY.
- Description string
- Optional. A free-text description of the resource. Max length 1024 characters.
- Labels Dictionary<string, string>
- Optional. Set of label tags associated with the EndpointPolicy resource.
- Location string
- Name string
- Name of the EndpointPolicy resource. It matches pattern
projects/{project}/locations/global/endpointPolicies/{endpoint_policy}
. - Project string
- Server
Tls stringPolicy - Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to determine the authentication policy to be applied to terminate the inbound traffic at the identified backends. If this field is not set, authentication is disabled(open) for this endpoint.
- Traffic
Port Pulumi.Selector Google Native. Network Services. V1Beta1. Inputs. Traffic Port Selector - Optional. Port selector for the (matched) endpoints. If no port selector is provided, the matched config is applied to all ports.
- Endpoint
Matcher EndpointMatcher Args - A matcher that selects endpoints to which the policies should be applied.
- Endpoint
Policy stringId - Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".
- Type
Endpoint
Policy Type - The type of endpoint policy. This is primarily used to validate the configuration.
- string
- Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, authorization is disabled(no authz checks) for this endpoint.
- Client
Tls stringPolicy - Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the authentication for traffic from the proxy to the actual endpoints. More specifically, it is applied to the outgoing traffic from the proxy to the endpoint. This is typically used for sidecar model where the proxy identifies itself as endpoint to the control plane, with the connection between sidecar and endpoint requiring authentication. If this field is not set, authentication is disabled(open). Applicable only when EndpointPolicyType is SIDECAR_PROXY.
- Description string
- Optional. A free-text description of the resource. Max length 1024 characters.
- Labels map[string]string
- Optional. Set of label tags associated with the EndpointPolicy resource.
- Location string
- Name string
- Name of the EndpointPolicy resource. It matches pattern
projects/{project}/locations/global/endpointPolicies/{endpoint_policy}
. - Project string
- Server
Tls stringPolicy - Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to determine the authentication policy to be applied to terminate the inbound traffic at the identified backends. If this field is not set, authentication is disabled(open) for this endpoint.
- Traffic
Port TrafficSelector Port Selector Args - Optional. Port selector for the (matched) endpoints. If no port selector is provided, the matched config is applied to all ports.
- endpoint
Matcher EndpointMatcher - A matcher that selects endpoints to which the policies should be applied.
- endpoint
Policy StringId - Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".
- type
Endpoint
Policy Type - The type of endpoint policy. This is primarily used to validate the configuration.
- String
- Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, authorization is disabled(no authz checks) for this endpoint.
- client
Tls StringPolicy - Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the authentication for traffic from the proxy to the actual endpoints. More specifically, it is applied to the outgoing traffic from the proxy to the endpoint. This is typically used for sidecar model where the proxy identifies itself as endpoint to the control plane, with the connection between sidecar and endpoint requiring authentication. If this field is not set, authentication is disabled(open). Applicable only when EndpointPolicyType is SIDECAR_PROXY.
- description String
- Optional. A free-text description of the resource. Max length 1024 characters.
- labels Map<String,String>
- Optional. Set of label tags associated with the EndpointPolicy resource.
- location String
- name String
- Name of the EndpointPolicy resource. It matches pattern
projects/{project}/locations/global/endpointPolicies/{endpoint_policy}
. - project String
- server
Tls StringPolicy - Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to determine the authentication policy to be applied to terminate the inbound traffic at the identified backends. If this field is not set, authentication is disabled(open) for this endpoint.
- traffic
Port TrafficSelector Port Selector - Optional. Port selector for the (matched) endpoints. If no port selector is provided, the matched config is applied to all ports.
- endpoint
Matcher EndpointMatcher - A matcher that selects endpoints to which the policies should be applied.
- endpoint
Policy stringId - Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".
- type
Endpoint
Policy Type - The type of endpoint policy. This is primarily used to validate the configuration.
- string
- Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, authorization is disabled(no authz checks) for this endpoint.
- client
Tls stringPolicy - Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the authentication for traffic from the proxy to the actual endpoints. More specifically, it is applied to the outgoing traffic from the proxy to the endpoint. This is typically used for sidecar model where the proxy identifies itself as endpoint to the control plane, with the connection between sidecar and endpoint requiring authentication. If this field is not set, authentication is disabled(open). Applicable only when EndpointPolicyType is SIDECAR_PROXY.
- description string
- Optional. A free-text description of the resource. Max length 1024 characters.
- labels {[key: string]: string}
- Optional. Set of label tags associated with the EndpointPolicy resource.
- location string
- name string
- Name of the EndpointPolicy resource. It matches pattern
projects/{project}/locations/global/endpointPolicies/{endpoint_policy}
. - project string
- server
Tls stringPolicy - Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to determine the authentication policy to be applied to terminate the inbound traffic at the identified backends. If this field is not set, authentication is disabled(open) for this endpoint.
- traffic
Port TrafficSelector Port Selector - Optional. Port selector for the (matched) endpoints. If no port selector is provided, the matched config is applied to all ports.
- endpoint_
matcher EndpointMatcher Args - A matcher that selects endpoints to which the policies should be applied.
- endpoint_
policy_ strid - Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".
- type
Endpoint
Policy Type - The type of endpoint policy. This is primarily used to validate the configuration.
- str
- Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, authorization is disabled(no authz checks) for this endpoint.
- client_
tls_ strpolicy - Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the authentication for traffic from the proxy to the actual endpoints. More specifically, it is applied to the outgoing traffic from the proxy to the endpoint. This is typically used for sidecar model where the proxy identifies itself as endpoint to the control plane, with the connection between sidecar and endpoint requiring authentication. If this field is not set, authentication is disabled(open). Applicable only when EndpointPolicyType is SIDECAR_PROXY.
- description str
- Optional. A free-text description of the resource. Max length 1024 characters.
- labels Mapping[str, str]
- Optional. Set of label tags associated with the EndpointPolicy resource.
- location str
- name str
- Name of the EndpointPolicy resource. It matches pattern
projects/{project}/locations/global/endpointPolicies/{endpoint_policy}
. - project str
- server_
tls_ strpolicy - Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to determine the authentication policy to be applied to terminate the inbound traffic at the identified backends. If this field is not set, authentication is disabled(open) for this endpoint.
- traffic_
port_ Trafficselector Port Selector Args - Optional. Port selector for the (matched) endpoints. If no port selector is provided, the matched config is applied to all ports.
- endpoint
Matcher Property Map - A matcher that selects endpoints to which the policies should be applied.
- endpoint
Policy StringId - Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".
- type "ENDPOINT_POLICY_TYPE_UNSPECIFIED" | "SIDECAR_PROXY" | "GRPC_SERVER"
- The type of endpoint policy. This is primarily used to validate the configuration.
- String
- Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, authorization is disabled(no authz checks) for this endpoint.
- client
Tls StringPolicy - Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the authentication for traffic from the proxy to the actual endpoints. More specifically, it is applied to the outgoing traffic from the proxy to the endpoint. This is typically used for sidecar model where the proxy identifies itself as endpoint to the control plane, with the connection between sidecar and endpoint requiring authentication. If this field is not set, authentication is disabled(open). Applicable only when EndpointPolicyType is SIDECAR_PROXY.
- description String
- Optional. A free-text description of the resource. Max length 1024 characters.
- labels Map<String>
- Optional. Set of label tags associated with the EndpointPolicy resource.
- location String
- name String
- Name of the EndpointPolicy resource. It matches pattern
projects/{project}/locations/global/endpointPolicies/{endpoint_policy}
. - project String
- server
Tls StringPolicy - Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to determine the authentication policy to be applied to terminate the inbound traffic at the identified backends. If this field is not set, authentication is disabled(open) for this endpoint.
- traffic
Port Property MapSelector - Optional. Port selector for the (matched) endpoints. If no port selector is provided, the matched config is applied to all ports.
Outputs
All input properties are implicitly available as output properties. Additionally, the EndpointPolicy resource produces the following output properties:
- Create
Time string - The timestamp when the resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - The timestamp when the resource was updated.
- Create
Time string - The timestamp when the resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - The timestamp when the resource was updated.
- create
Time String - The timestamp when the resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - The timestamp when the resource was updated.
- create
Time string - The timestamp when the resource was created.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time string - The timestamp when the resource was updated.
- create_
time str - The timestamp when the resource was created.
- id str
- The provider-assigned unique ID for this managed resource.
- update_
time str - The timestamp when the resource was updated.
- create
Time String - The timestamp when the resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - The timestamp when the resource was updated.
Supporting Types
EndpointMatcher, EndpointMatcherArgs
- Metadata
Label Pulumi.Matcher Google Native. Network Services. V1Beta1. Inputs. Metadata Label Matcher - The matcher is based on node metadata presented by xDS clients.
- Metadata
Label MetadataMatcher Label Matcher - The matcher is based on node metadata presented by xDS clients.
- metadata
Label MetadataMatcher Label Matcher - The matcher is based on node metadata presented by xDS clients.
- metadata
Label MetadataMatcher Label Matcher - The matcher is based on node metadata presented by xDS clients.
- metadata_
label_ Metadatamatcher Label Matcher - The matcher is based on node metadata presented by xDS clients.
- metadata
Label Property MapMatcher - The matcher is based on node metadata presented by xDS clients.
EndpointMatcherResponse, EndpointMatcherResponseArgs
- Metadata
Label Pulumi.Matcher Google Native. Network Services. V1Beta1. Inputs. Metadata Label Matcher Response - The matcher is based on node metadata presented by xDS clients.
- Metadata
Label MetadataMatcher Label Matcher Response - The matcher is based on node metadata presented by xDS clients.
- metadata
Label MetadataMatcher Label Matcher Response - The matcher is based on node metadata presented by xDS clients.
- metadata
Label MetadataMatcher Label Matcher Response - The matcher is based on node metadata presented by xDS clients.
- metadata_
label_ Metadatamatcher Label Matcher Response - The matcher is based on node metadata presented by xDS clients.
- metadata
Label Property MapMatcher - The matcher is based on node metadata presented by xDS clients.
EndpointPolicyType, EndpointPolicyTypeArgs
- Endpoint
Policy Type Unspecified - ENDPOINT_POLICY_TYPE_UNSPECIFIEDDefault value. Must not be used.
- Sidecar
Proxy - SIDECAR_PROXYRepresents a proxy deployed as a sidecar.
- Grpc
Server - GRPC_SERVERRepresents a proxyless gRPC backend.
- Endpoint
Policy Type Endpoint Policy Type Unspecified - ENDPOINT_POLICY_TYPE_UNSPECIFIEDDefault value. Must not be used.
- Endpoint
Policy Type Sidecar Proxy - SIDECAR_PROXYRepresents a proxy deployed as a sidecar.
- Endpoint
Policy Type Grpc Server - GRPC_SERVERRepresents a proxyless gRPC backend.
- Endpoint
Policy Type Unspecified - ENDPOINT_POLICY_TYPE_UNSPECIFIEDDefault value. Must not be used.
- Sidecar
Proxy - SIDECAR_PROXYRepresents a proxy deployed as a sidecar.
- Grpc
Server - GRPC_SERVERRepresents a proxyless gRPC backend.
- Endpoint
Policy Type Unspecified - ENDPOINT_POLICY_TYPE_UNSPECIFIEDDefault value. Must not be used.
- Sidecar
Proxy - SIDECAR_PROXYRepresents a proxy deployed as a sidecar.
- Grpc
Server - GRPC_SERVERRepresents a proxyless gRPC backend.
- ENDPOINT_POLICY_TYPE_UNSPECIFIED
- ENDPOINT_POLICY_TYPE_UNSPECIFIEDDefault value. Must not be used.
- SIDECAR_PROXY
- SIDECAR_PROXYRepresents a proxy deployed as a sidecar.
- GRPC_SERVER
- GRPC_SERVERRepresents a proxyless gRPC backend.
- "ENDPOINT_POLICY_TYPE_UNSPECIFIED"
- ENDPOINT_POLICY_TYPE_UNSPECIFIEDDefault value. Must not be used.
- "SIDECAR_PROXY"
- SIDECAR_PROXYRepresents a proxy deployed as a sidecar.
- "GRPC_SERVER"
- GRPC_SERVERRepresents a proxyless gRPC backend.
MetadataLabelMatcher, MetadataLabelMatcherArgs
- Metadata
Label Pulumi.Match Criteria Google Native. Network Services. V1Beta1. Metadata Label Matcher Metadata Label Match Criteria - Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown.
- Metadata
Labels List<Pulumi.Google Native. Network Services. V1Beta1. Inputs. Metadata Labels> - The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify a wildcard match (i.e this matches any client).
- Metadata
Label MetadataMatch Criteria Label Matcher Metadata Label Match Criteria - Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown.
- Metadata
Labels []MetadataLabels - The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify a wildcard match (i.e this matches any client).
- metadata
Label MetadataMatch Criteria Label Matcher Metadata Label Match Criteria - Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown.
- metadata
Labels List<MetadataLabels> - The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify a wildcard match (i.e this matches any client).
- metadata
Label MetadataMatch Criteria Label Matcher Metadata Label Match Criteria - Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown.
- metadata
Labels MetadataLabels[] - The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify a wildcard match (i.e this matches any client).
- metadata_
label_ Metadatamatch_ criteria Label Matcher Metadata Label Match Criteria - Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown.
- metadata_
labels Sequence[MetadataLabels] - The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify a wildcard match (i.e this matches any client).
- metadata
Label "METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED" | "MATCH_ANY" | "MATCH_ALL"Match Criteria - Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown.
- metadata
Labels List<Property Map> - The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify a wildcard match (i.e this matches any client).
MetadataLabelMatcherMetadataLabelMatchCriteria, MetadataLabelMatcherMetadataLabelMatchCriteriaArgs
- Metadata
Label Match Criteria Unspecified - METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIEDDefault value. Should not be used.
- Match
Any - MATCH_ANYAt least one of the Labels specified in the matcher should match the metadata presented by xDS client.
- Match
All - MATCH_ALLThe metadata presented by the xDS client should contain all of the labels specified here.
- Metadata
Label Matcher Metadata Label Match Criteria Metadata Label Match Criteria Unspecified - METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIEDDefault value. Should not be used.
- Metadata
Label Matcher Metadata Label Match Criteria Match Any - MATCH_ANYAt least one of the Labels specified in the matcher should match the metadata presented by xDS client.
- Metadata
Label Matcher Metadata Label Match Criteria Match All - MATCH_ALLThe metadata presented by the xDS client should contain all of the labels specified here.
- Metadata
Label Match Criteria Unspecified - METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIEDDefault value. Should not be used.
- Match
Any - MATCH_ANYAt least one of the Labels specified in the matcher should match the metadata presented by xDS client.
- Match
All - MATCH_ALLThe metadata presented by the xDS client should contain all of the labels specified here.
- Metadata
Label Match Criteria Unspecified - METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIEDDefault value. Should not be used.
- Match
Any - MATCH_ANYAt least one of the Labels specified in the matcher should match the metadata presented by xDS client.
- Match
All - MATCH_ALLThe metadata presented by the xDS client should contain all of the labels specified here.
- METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED
- METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIEDDefault value. Should not be used.
- MATCH_ANY
- MATCH_ANYAt least one of the Labels specified in the matcher should match the metadata presented by xDS client.
- MATCH_ALL
- MATCH_ALLThe metadata presented by the xDS client should contain all of the labels specified here.
- "METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED"
- METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIEDDefault value. Should not be used.
- "MATCH_ANY"
- MATCH_ANYAt least one of the Labels specified in the matcher should match the metadata presented by xDS client.
- "MATCH_ALL"
- MATCH_ALLThe metadata presented by the xDS client should contain all of the labels specified here.
MetadataLabelMatcherResponse, MetadataLabelMatcherResponseArgs
- Metadata
Label stringMatch Criteria - Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown.
- Metadata
Labels List<Pulumi.Google Native. Network Services. V1Beta1. Inputs. Metadata Labels Response> - The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify a wildcard match (i.e this matches any client).
- Metadata
Label stringMatch Criteria - Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown.
- Metadata
Labels []MetadataLabels Response - The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify a wildcard match (i.e this matches any client).
- metadata
Label StringMatch Criteria - Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown.
- metadata
Labels List<MetadataLabels Response> - The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify a wildcard match (i.e this matches any client).
- metadata
Label stringMatch Criteria - Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown.
- metadata
Labels MetadataLabels Response[] - The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify a wildcard match (i.e this matches any client).
- metadata_
label_ strmatch_ criteria - Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown.
- metadata_
labels Sequence[MetadataLabels Response] - The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify a wildcard match (i.e this matches any client).
- metadata
Label StringMatch Criteria - Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown.
- metadata
Labels List<Property Map> - The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list can have at most 64 entries. The list can be empty if the match criteria is MATCH_ANY, to specify a wildcard match (i.e this matches any client).
MetadataLabels, MetadataLabelsArgs
- Label
Name string - Label name presented as key in xDS Node Metadata.
- Label
Value string - Label value presented as value corresponding to the above key, in xDS Node Metadata.
- Label
Name string - Label name presented as key in xDS Node Metadata.
- Label
Value string - Label value presented as value corresponding to the above key, in xDS Node Metadata.
- label
Name String - Label name presented as key in xDS Node Metadata.
- label
Value String - Label value presented as value corresponding to the above key, in xDS Node Metadata.
- label
Name string - Label name presented as key in xDS Node Metadata.
- label
Value string - Label value presented as value corresponding to the above key, in xDS Node Metadata.
- label_
name str - Label name presented as key in xDS Node Metadata.
- label_
value str - Label value presented as value corresponding to the above key, in xDS Node Metadata.
- label
Name String - Label name presented as key in xDS Node Metadata.
- label
Value String - Label value presented as value corresponding to the above key, in xDS Node Metadata.
MetadataLabelsResponse, MetadataLabelsResponseArgs
- Label
Name string - Label name presented as key in xDS Node Metadata.
- Label
Value string - Label value presented as value corresponding to the above key, in xDS Node Metadata.
- Label
Name string - Label name presented as key in xDS Node Metadata.
- Label
Value string - Label value presented as value corresponding to the above key, in xDS Node Metadata.
- label
Name String - Label name presented as key in xDS Node Metadata.
- label
Value String - Label value presented as value corresponding to the above key, in xDS Node Metadata.
- label
Name string - Label name presented as key in xDS Node Metadata.
- label
Value string - Label value presented as value corresponding to the above key, in xDS Node Metadata.
- label_
name str - Label name presented as key in xDS Node Metadata.
- label_
value str - Label value presented as value corresponding to the above key, in xDS Node Metadata.
- label
Name String - Label name presented as key in xDS Node Metadata.
- label
Value String - Label value presented as value corresponding to the above key, in xDS Node Metadata.
TrafficPortSelector, TrafficPortSelectorArgs
- Ports List<string>
- Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected.
- Ports []string
- Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected.
- ports List<String>
- Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected.
- ports string[]
- Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected.
- ports Sequence[str]
- Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected.
- ports List<String>
- Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected.
TrafficPortSelectorResponse, TrafficPortSelectorResponseArgs
- Ports List<string>
- Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected.
- Ports []string
- Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected.
- ports List<String>
- Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected.
- ports string[]
- Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected.
- ports Sequence[str]
- Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected.
- ports List<String>
- Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected.
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.