Show / Hide Table of Contents

Class EndpointTemplateForOptionsUtils

Utilities for endpoint template options handling, especially for dualStack. Mirrors EndpointTemplateForOptionsUtils from Java SDK.

Inheritance
object
EndpointTemplateForOptionsUtils
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.Common.Utils
Assembly: OCI.DotNetSDK.Common.dll
Syntax
public static class EndpointTemplateForOptionsUtils

Fields

DUAL_STACK_OPTION

Declaration
public const string DUAL_STACK_OPTION = "dualStack"
Field Value
Type Description
string

Methods

IsDualStackEnabledForClientDefault(Service)

Determines if dualStack is enabled by default for the client/service. Checks the OCI_DUAL_STACK_ENDPOINT_ENABLED environment variable first, then service default.

Declaration
public static bool IsDualStackEnabledForClientDefault(Service service)
Parameters
Type Name Description
Service service
Returns
Type Description
bool
In this article
Back to top