HciExtensions.GetPlatformUpdateAsync Method

Definition

Get a platform update. <item> Mocking. To mock this method, please mock GetPlatformUpdateAsync(AzureLocation, String, CancellationToken) instead. </item>

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

location
AzureLocation

The location for the resource.

platformUpdateName
String

The name of the PlatformUpdate.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource is null.

Applies to