/// <summary> /// Complete minimal setup before using the device. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='parameters'> /// The minimal properties to configure a device. /// </param> /// <param name='resourceGroupName'> /// The resource group name /// </param> /// <param name='managerName'> /// The manager name /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task ConfigureAsync(this IDevicesOperations operations, ConfigureDeviceRequestInner parameters, string resourceGroupName, string managerName, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.ConfigureWithHttpMessagesAsync(parameters, resourceGroupName, managerName, null, cancellationToken).ConfigureAwait(false)).Dispose(); }