This product is not supported for your selected Datadog site. ().

gcp_networkservices_endpoint_policy

ancestors

Type: UNORDERED_LIST_STRING

authorization_policy

Type: STRING
Provider name: authorizationPolicy
Description: 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_policy

Type: STRING
Provider name: clientTlsPolicy
Description: 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.

create_time

Type: TIMESTAMP
Provider name: createTime
Description: Output only. The timestamp when the resource was created.

description

Type: STRING
Provider name: description
Description: Optional. A free-text description of the resource. Max length 1024 characters.

endpoint_matcher

Type: STRUCT
Provider name: endpointMatcher
Description: Required. A matcher that selects endpoints to which the policies should be applied.

  • metadata_label_matcher
    Type: STRUCT
    Provider name: metadataLabelMatcher
    Description: The matcher is based on node metadata presented by xDS clients.
    • metadata_label_match_criteria
      Type: STRING
      Provider name: metadataLabelMatchCriteria
      Description: 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), pick up the one with older creation time.
      Possible values:
      • METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED - Default value. Should not be used.
      • 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.
    • metadata_labels
      Type: UNORDERED_LIST_STRUCT
      Provider name: metadataLabels
      Description: 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).
      • label_name
        Type: STRING
        Provider name: labelName
        Description: Required. Label name presented as key in xDS Node Metadata.
      • label_value
        Type: STRING
        Provider name: labelValue
        Description: Required. Label value presented as value corresponding to the above key, in xDS Node Metadata.

labels

Type: UNORDERED_LIST_STRING

name

Type: STRING
Provider name: name
Description: Identifier. Name of the EndpointPolicy resource. It matches pattern projects/{project}/locations/global/endpointPolicies/{endpoint_policy}.

organization_id

Type: STRING

parent

Type: STRING

project_id

Type: STRING

project_number

Type: STRING

resource_name

Type: STRING

server_tls_policy

Type: STRING
Provider name: serverTlsPolicy
Description: 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.

tags

Type: UNORDERED_LIST_STRING

traffic_port_selector

Type: STRUCT
Provider name: trafficPortSelector
Description: Optional. Port selector for the (matched) endpoints. If no port selector is provided, the matched config is applied to all ports.

  • ports
    Type: UNORDERED_LIST_STRING
    Provider name: ports
    Description: 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.

type

Type: STRING
Provider name: type
Description: Required. The type of endpoint policy. This is primarily used to validate the configuration.
Possible values:

  • ENDPOINT_POLICY_TYPE_UNSPECIFIED - Default value. Must not be used.
  • SIDECAR_PROXY - Represents a proxy deployed as a sidecar.
  • GRPC_SERVER - Represents a proxyless gRPC backend.

update_time

Type: TIMESTAMP
Provider name: updateTime
Description: Output only. The timestamp when the resource was updated.