public sealed class Endpoint : IMessage<Endpoint>, IEquatable<Endpoint>, IDeepCloneable<Endpoint>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Management v1 API class Endpoint.
Source or destination of the Connectivity Test.
Namespace
Google.Cloud.NetworkManagement.V1Assembly
Google.Cloud.NetworkManagement.V1.dll
Constructors
Endpoint()
public Endpoint()
Endpoint(Endpoint)
public Endpoint(Endpoint other)
Parameter | |
---|---|
Name | Description |
other |
Endpoint |
Properties
AppEngineVersion
public Endpoint.Types.AppEngineVersionEndpoint AppEngineVersion { get; set; }
An App Engine service version. Applicable only to source endpoint.
Property Value | |
---|---|
Type | Description |
EndpointTypesAppEngineVersionEndpoint |
CloudFunction
public Endpoint.Types.CloudFunctionEndpoint CloudFunction { get; set; }
A Cloud Function. Applicable only to source endpoint.
Property Value | |
---|---|
Type | Description |
EndpointTypesCloudFunctionEndpoint |
CloudRunRevision
public Endpoint.Types.CloudRunRevisionEndpoint CloudRunRevision { get; set; }
Property Value | |
---|---|
Type | Description |
EndpointTypesCloudRunRevisionEndpoint |
CloudSqlInstance
public string CloudSqlInstance { get; set; }
A Cloud SQL instance URI.
Property Value | |
---|---|
Type | Description |
string |
ForwardingRule
public string ForwardingRule { get; set; }
A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Applicable only to destination endpoint. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}
Property Value | |
---|---|
Type | Description |
string |
ForwardingRuleTarget
public Endpoint.Types.ForwardingRuleTarget ForwardingRuleTarget { get; set; }
Output only. Specifies the type of the target of the forwarding rule.
Property Value | |
---|---|
Type | Description |
EndpointTypesForwardingRuleTarget |
Fqdn
public string Fqdn { get; set; }
DNS endpoint of Google Kubernetes Engine cluster control plane. Requires gke_master_cluster to be set, can't be used simultaneoulsly with ip_address or network. Applicable only to destination endpoint.
Property Value | |
---|---|
Type | Description |
string |
GkeMasterCluster
public string GkeMasterCluster { get; set; }
A cluster URI for Google Kubernetes Engine cluster control plane.
Property Value | |
---|---|
Type | Description |
string |
HasForwardingRuleTarget
public bool HasForwardingRuleTarget { get; }
Gets whether the "forwarding_rule_target" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasLoadBalancerId
public bool HasLoadBalancerId { get; }
Gets whether the "load_balancer_id" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasLoadBalancerType
public bool HasLoadBalancerType { get; }
Gets whether the "load_balancer_type" field is set
Property Value | |
---|---|
Type | Description |
bool |
Instance
public string Instance { get; set; }
A Compute Engine instance URI.
Property Value | |
---|---|
Type | Description |
string |
IpAddress
public string IpAddress { get; set; }
The IP address of the endpoint, which can be an external or internal IP.
Property Value | |
---|---|
Type | Description |
string |
LoadBalancerId
public string LoadBalancerId { get; set; }
Output only. ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers.
Property Value | |
---|---|
Type | Description |
string |
LoadBalancerType
public LoadBalancerType LoadBalancerType { get; set; }
Output only. Type of the load balancer the forwarding rule points to.
Property Value | |
---|---|
Type | Description |
LoadBalancerType |
Network
public string Network { get; set; }
A VPC network URI.
Property Value | |
---|---|
Type | Description |
string |
NetworkType
public Endpoint.Types.NetworkType NetworkType { get; set; }
Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.
Property Value | |
---|---|
Type | Description |
EndpointTypesNetworkType |
Port
public int Port { get; set; }
The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
Property Value | |
---|---|
Type | Description |
int |
ProjectId
public string ProjectId { get; set; }
Project ID where the endpoint is located. The project ID can be derived from the URI if you provide a endpoint or network URI. The following are two cases where you may need to provide the project ID:
- Only the IP address is specified, and the IP address is within a Google Cloud project.
- When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project.
Property Value | |
---|---|
Type | Description |
string |
RedisCluster
public string RedisCluster { get; set; }
A Redis Cluster URI. Applicable only to destination endpoint.
Property Value | |
---|---|
Type | Description |
string |
RedisInstance
public string RedisInstance { get; set; }
A Redis Instance URI. Applicable only to destination endpoint.
Property Value | |
---|---|
Type | Description |
string |