/// <summary> /// Deletes Network Mapping. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.SiteRecovery.INetworkMappingOperations. /// </param> /// <param name='fabricName'> /// Required. Fabric Name. /// </param> /// <param name='primaryNetworkName'> /// Required. Primary Network Name. /// </param> /// <param name='networkMappingName'> /// Required. Network Mapping Name. /// </param> /// <param name='customRequestHeaders'> /// Optional. Request header parameters. /// </param> /// <returns> /// A standard service response for long running operations. /// </returns> public static Task <LongRunningOperationResponse> DeleteAsync(this INetworkMappingOperations operations, string fabricName, string primaryNetworkName, string networkMappingName, CustomRequestHeaders customRequestHeaders) { return(operations.DeleteAsync(fabricName, primaryNetworkName, networkMappingName, customRequestHeaders, CancellationToken.None)); }
/// <summary> /// Delete network mapping. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.WindowsAzure.Management.SiteRecovery.INetworkMappingOperations. /// </param> /// <param name='parameters'> /// Required. Delete network mapping input. /// </param> /// <param name='customRequestHeaders'> /// Optional. Request header parameters. /// </param> /// <returns> /// The response model for the Job details object. /// </returns> public static Task <JobResponse> DeleteAsync(this INetworkMappingOperations operations, NetworkUnMappingInput parameters, CustomRequestHeaders customRequestHeaders) { return(operations.DeleteAsync(parameters, customRequestHeaders, CancellationToken.None)); }