/// <summary>
 /// Gets the private link service ID for the specified managed cluster.
 /// </summary>
 /// <remarks>
 /// Gets the private link service ID the specified managed cluster.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='resourceName'>
 /// The name of the managed cluster resource.
 /// </param>
 /// <param name='parameters'>
 /// Parameters (name, groupId) supplied in order to resolve a private link
 /// service ID.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <PrivateLinkResourceInner> POSTAsync(this IResolvePrivateLinkServiceIdOperations operations, string resourceGroupName, string resourceName, PrivateLinkResourceInner parameters, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.POSTWithHttpMessagesAsync(resourceGroupName, resourceName, parameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Initializes client properties.
 /// </summary>
 protected override void Initialize()
 {
     OpenShiftManagedClusters = new OpenShiftManagedClustersOperations(this);
     ContainerServices        = new ContainerServicesOperations(this);
     Operations                       = new Operations(this);
     ManagedClusters                  = new ManagedClustersOperations(this);
     MaintenanceConfigurations        = new MaintenanceConfigurationsOperations(this);
     AgentPools                       = new AgentPoolsOperations(this);
     PrivateEndpointConnections       = new PrivateEndpointConnectionsOperations(this);
     PrivateLinkResources             = new PrivateLinkResourcesOperations(this);
     ResolvePrivateLinkServiceId      = new ResolvePrivateLinkServiceIdOperations(this);
     this.BaseUri                     = new System.Uri("https://management.azure.com");
     AcceptLanguage                   = "en-US";
     LongRunningOperationRetryTimeout = 30;
     GenerateClientRequestId          = true;
     SerializationSettings            = new JsonSerializerSettings
     {
         Formatting            = Newtonsoft.Json.Formatting.Indented,
         DateFormatHandling    = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
         DateTimeZoneHandling  = Newtonsoft.Json.DateTimeZoneHandling.Utc,
         NullValueHandling     = Newtonsoft.Json.NullValueHandling.Ignore,
         ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
         ContractResolver      = new ReadOnlyJsonContractResolver(),
         Converters            = new List <JsonConverter>
         {
             new Iso8601TimeSpanConverter()
         }
     };
     SerializationSettings.Converters.Add(new TransformationJsonConverter());
     DeserializationSettings = new JsonSerializerSettings
     {
         DateFormatHandling    = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
         DateTimeZoneHandling  = Newtonsoft.Json.DateTimeZoneHandling.Utc,
         NullValueHandling     = Newtonsoft.Json.NullValueHandling.Ignore,
         ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
         ContractResolver      = new ReadOnlyJsonContractResolver(),
         Converters            = new List <JsonConverter>
         {
             new Iso8601TimeSpanConverter()
         }
     };
     SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter <OpenShiftManagedClusterBaseIdentityProvider>("kind"));
     DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter <OpenShiftManagedClusterBaseIdentityProvider>("kind"));
     CustomInitialize();
     DeserializationSettings.Converters.Add(new TransformationJsonConverter());
     DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
 }
 /// <summary>
 /// Gets the private link service ID for the specified managed cluster.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='resourceName'>
 /// The name of the managed cluster resource.
 /// </param>
 /// <param name='parameters'>
 /// Parameters required in order to resolve a private link service ID.
 /// </param>
 public static PrivateLinkResource POST(this IResolvePrivateLinkServiceIdOperations operations, string resourceGroupName, string resourceName, PrivateLinkResource parameters)
 {
     return(operations.POSTAsync(resourceGroupName, resourceName, parameters).GetAwaiter().GetResult());
 }