/// <summary> /// Delete a data factory linkedService instance. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.DataFactories.ILinkedServiceOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The resource group name of the data factory. /// </param> /// <param name='dataFactoryName'> /// Required. A unique data factory instance name. /// </param> /// <param name='linkedServiceName'> /// Required. A unique data factory linkedService name. /// </param> /// <returns> /// A standard service response for long running operations. /// </returns> public static Task <LongRunningOperationResponse> DeleteAsync( this ILinkedServiceOperations operations, string resourceGroupName, string dataFactoryName, string linkedServiceName) { return(operations.DeleteAsync(resourceGroupName, dataFactoryName, linkedServiceName, CancellationToken.None)); }
/// <summary> /// Deletes a linked service instance. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.OperationalInsights.ILinkedServiceOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The resource group name of the linked service. /// </param> /// <param name='workspaceName'> /// Required. The name of the workspace that contains the linked /// service. /// </param> /// <param name='linkedServiceName'> /// Required. Name of the linked service. /// </param> /// <returns> /// A standard service response including an HTTP status code and /// request ID. /// </returns> public static Task <AzureOperationResponse> DeleteAsync(this ILinkedServiceOperations operations, string resourceGroupName, string workspaceName, string linkedServiceName) { return(operations.DeleteAsync(resourceGroupName, workspaceName, linkedServiceName, CancellationToken.None)); }