HciExtensions.GetUpdateContentAsync Method

Definition

Gets content for an update. <item> Mocking. To mock this method, please mock GetUpdateContentAsync(AzureLocation, String, CancellationToken) instead. </item>

public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.UpdateContentResource>> GetUpdateContentAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string updateContentName, System.Threading.CancellationToken cancellationToken = default);
static member GetUpdateContentAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.UpdateContentResource>>
<Extension()>
Public Function GetUpdateContentAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, updateContentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of UpdateContentResource))

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

location
AzureLocation

The location for the resource.

updateContentName
String

The name of the UpdateContent.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource is null.

Applies to