/// <summary> /// Delete the specified private endpoint connection /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='privateEndpointConnectionName'> /// The name of the private endpoint connection /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the resource. You can obtain /// this value from the Azure Resource Manager API or the portal. /// </param> /// <param name='resourceName'> /// The name of the resource. /// </param> public static void BeginDelete(this ISignalRPrivateEndpointConnectionsOperations operations, string privateEndpointConnectionName, string resourceGroupName, string resourceName) { operations.BeginDeleteAsync(privateEndpointConnectionName, resourceGroupName, resourceName).GetAwaiter().GetResult(); }
/// <summary> /// Delete the specified private endpoint connection /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='privateEndpointConnectionName'> /// The name of the private endpoint connection /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the resource. You can obtain /// this value from the Azure Resource Manager API or the portal. /// </param> /// <param name='resourceName'> /// The name of the resource. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task BeginDeleteAsync(this ISignalRPrivateEndpointConnectionsOperations operations, string privateEndpointConnectionName, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.BeginDeleteWithHttpMessagesAsync(privateEndpointConnectionName, resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false)).Dispose(); }
/// <summary> /// Update the state of specified private endpoint connection /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='privateEndpointConnectionName'> /// The name of the private endpoint connection /// </param> /// <param name='parameters'> /// The resource of private endpoint and its properties /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the resource. You can obtain /// this value from the Azure Resource Manager API or the portal. /// </param> /// <param name='resourceName'> /// The name of the resource. /// </param> public static PrivateEndpointConnection Update(this ISignalRPrivateEndpointConnectionsOperations operations, string privateEndpointConnectionName, PrivateEndpointConnection parameters, string resourceGroupName, string resourceName) { return(operations.UpdateAsync(privateEndpointConnectionName, parameters, resourceGroupName, resourceName).GetAwaiter().GetResult()); }