/// <summary> /// Delete a Log Analytics gateway. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='gatewayId'> /// The Log Analytics gateway Id. /// </param> public static void Delete(this IGatewaysOperations operations, string resourceGroupName, string workspaceName, string gatewayId) { operations.DeleteAsync(resourceGroupName, workspaceName, gatewayId).GetAwaiter().GetResult(); }
/// <summary> /// Disable the default Spring Cloud Gateway. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </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='serviceName'> /// The name of the Service resource. /// </param> /// <param name='gatewayName'> /// The name of Spring Cloud Gateway. /// </param> public static void Delete(this IGatewaysOperations operations, string resourceGroupName, string serviceName, string gatewayName) { operations.DeleteAsync(resourceGroupName, serviceName, gatewayName).GetAwaiter().GetResult(); }