/// <summary> /// Delete a addon in a private cloud /// </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='privateCloudName'> /// Name of the private cloud /// </param> /// <param name='addonName'> /// Name of the addon for the private cloud /// </param> public static void Delete(this IAddonsOperations operations, string resourceGroupName, string privateCloudName, string addonName) { operations.DeleteAsync(resourceGroupName, privateCloudName, addonName).GetAwaiter().GetResult(); }
/// <summary> /// Deletes the addon on the device. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='deviceName'> /// The device name. /// </param> /// <param name='roleName'> /// The role name. /// </param> /// <param name='addonName'> /// The addon name. /// </param> /// <param name='resourceGroupName'> /// The resource group name. /// </param> public static void Delete(this IAddonsOperations operations, string deviceName, string roleName, string addonName, string resourceGroupName) { operations.DeleteAsync(deviceName, roleName, addonName, resourceGroupName).GetAwaiter().GetResult(); }