/// <summary> /// Removes Microsoft Ids from the specified authorization /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.WindowsAzure.Management.ExpressRoute.IDedicatedCircuitLinkAuthorizationMicrosoftIdOperations. /// </param> /// <param name='serviceKey'> /// Required. The service key representing the circuit. /// </param> /// <param name='authId'> /// Required. The GUID representing the authorization /// </param> /// <param name='parameters'> /// Required. Parameters supplied to remove existing Microsoft Ids /// </param> /// <returns> /// A standard service response including an HTTP status code and /// request ID. /// </returns> public static Task<AzureOperationResponse> RemoveAsync(this IDedicatedCircuitLinkAuthorizationMicrosoftIdOperations operations, string serviceKey, string authId, DedicatedCircuitLinkAuthorizationMicrosoftIdRemoveParameters parameters) { return operations.RemoveAsync(serviceKey, authId, parameters, CancellationToken.None); }
/// <summary> /// Removes Microsoft Ids from the specified authorization /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.WindowsAzure.Management.ExpressRoute.IDedicatedCircuitLinkAuthorizationMicrosoftIdOperations. /// </param> /// <param name='serviceKey'> /// Required. The service key representing the circuit. /// </param> /// <param name='authId'> /// Required. The GUID representing the authorization /// </param> /// <param name='parameters'> /// Required. Parameters supplied to remove existing Microsoft Ids /// </param> /// <returns> /// A standard service response including an HTTP status code and /// request ID. /// </returns> public static AzureOperationResponse Remove(this IDedicatedCircuitLinkAuthorizationMicrosoftIdOperations operations, string serviceKey, string authId, DedicatedCircuitLinkAuthorizationMicrosoftIdRemoveParameters parameters) { return Task.Factory.StartNew((object s) => { return ((IDedicatedCircuitLinkAuthorizationMicrosoftIdOperations)s).RemoveAsync(serviceKey, authId, parameters); } , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult(); }