/// <summary> /// Get an addon by name 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 Addon Get(this IAddonsOperations operations, string resourceGroupName, string privateCloudName, string addonName) { return(operations.GetAsync(resourceGroupName, privateCloudName, addonName).GetAwaiter().GetResult()); }
/// <summary> /// Gets a specific addon by name. /// </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 Addon Get(this IAddonsOperations operations, string deviceName, string roleName, string addonName, string resourceGroupName) { return(operations.GetAsync(deviceName, roleName, addonName, resourceGroupName).GetAwaiter().GetResult()); }