Class RegionEndpointV3
[Obsolete("This class is obsoleted because as of version 3.7.100 endpoint is resolved using a newer system that uses request level parameters to resolve the endpoint.")]
public class RegionEndpointV3 : IRegionEndpoint
- Inheritance
-
RegionEndpointV3
- Implements
- Inherited Members
Constructors
RegionEndpointV3(string, string, JsonData, JsonData)
public RegionEndpointV3(string regionName, string displayName, JsonData partition, JsonData services)
Parameters
Properties
DisplayName
public string DisplayName { get; }
Property Value
PartitionDnsSuffix
public string PartitionDnsSuffix { get; }
Property Value
PartitionName
public string PartitionName { get; }
Property Value
RegionName
public string RegionName { get; }
Property Value
Methods
GetEndpointForService(string, GetEndpointForServiceOptions)
Retrieves the endpoint for the given service in the current region
public RegionEndpoint.Endpoint GetEndpointForService(string serviceName, GetEndpointForServiceOptions options)
Parameters
serviceName
stringName of the service in endpoints.json
options
GetEndpointForServiceOptionsSpecify additional requirements on the RegionEndpoint.Endpoint to be returned.
Returns
- RegionEndpoint.Endpoint
Matching endpoint from endpoints.json, or a computed endpoint if possible
GetEndpointForService(string, bool)
Retrieves the endpoint for the given service in the current region
[Obsolete("Use GetEndpointForService(string serviceName, GetEndpointForServiceOptions options) instead", false)]
public RegionEndpoint.Endpoint GetEndpointForService(string serviceName, bool dualStack)
Parameters
serviceName
stringName of the service in endpoints.json
dualStack
boolWhether to retrieve the dual-stack variant
Returns
- RegionEndpoint.Endpoint
Matching endpoint from endpoints.json, or a computed endpoint if possible
GetEndpointForService(string, HashSet<string>)
Retrieves the endpoint for the given service in the current region
public RegionEndpoint.Endpoint GetEndpointForService(string serviceName, HashSet<string> variants)
Parameters
serviceName
stringName of the service in endpoints.json
variants
HashSet<string>Set of tags describing an endpoint variant
Returns
- RegionEndpoint.Endpoint
Matching endpoint from endpoints.json, or a computed endpoint if possible