共用方式為


ResourceConnectorApplianceResource.GetUpgradeGraphAsync Method

Definition

Gets the upgrade graph of an Appliance with a specified resource group and name and specific release train.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}/upgradeGraphs/{upgradeGraph}
  • Operation Id: Appliances_GetUpgradeGraph
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceConnector.Models.ApplianceUpgradeGraph>> GetUpgradeGraphAsync (string upgradeGraph, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUpgradeGraphAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceConnector.Models.ApplianceUpgradeGraph>>
override this.GetUpgradeGraphAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceConnector.Models.ApplianceUpgradeGraph>>
Public Overridable Function GetUpgradeGraphAsync (upgradeGraph As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApplianceUpgradeGraph))

Parameters

upgradeGraph
String

Upgrade graph version, ex - stable.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

upgradeGraph is an empty string, and was expected to be non-empty.

upgradeGraph is null.

Applies to