ServiceFabricClusterResource.GetUpgradableVersionsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If a target is not provided, it will get the minimum and maximum versions available from the current cluster version. If a target is given, it will provide the required path to get from the current cluster version to the target version.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/listUpgradableVersions
- Operation Id: Clusters_ListUpgradableVersions
- Default Api Version: 2023-11-01-preview
- Resource: ServiceFabricClusterResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabric.Models.UpgradableVersionPathResult>> GetUpgradableVersionsAsync (Azure.ResourceManager.ServiceFabric.Models.UpgradableVersionsDescription versionsDescription = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUpgradableVersionsAsync : Azure.ResourceManager.ServiceFabric.Models.UpgradableVersionsDescription * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabric.Models.UpgradableVersionPathResult>>
override this.GetUpgradableVersionsAsync : Azure.ResourceManager.ServiceFabric.Models.UpgradableVersionsDescription * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabric.Models.UpgradableVersionPathResult>>
Public Overridable Function GetUpgradableVersionsAsync (Optional versionsDescription As UpgradableVersionsDescription = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of UpgradableVersionPathResult))
Parameters
- versionsDescription
- UpgradableVersionsDescription
The upgrade path description with target version.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.