HciExtensions.GetUpdateContent Method

Definition

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

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