HciExtensions.GetPlatformUpdate Method

Definition

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

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