Bagikan melalui


ServiceFabricManagedApplicationTypeResource.GetServiceFabricManagedApplicationTypeVersionAsync Method

Definition

Get a Service Fabric managed application type version resource created or in the process of being created in the Service Fabric managed application type name resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}
  • Operation Id: ApplicationTypeVersions_Get
  • Default Api Version: 2023-12-01-preview
  • Resource: ServiceFabricManagedApplicationTypeVersionResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationTypeVersionResource>> GetServiceFabricManagedApplicationTypeVersionAsync (string version, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServiceFabricManagedApplicationTypeVersionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationTypeVersionResource>>
override this.GetServiceFabricManagedApplicationTypeVersionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationTypeVersionResource>>
Public Overridable Function GetServiceFabricManagedApplicationTypeVersionAsync (version As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceFabricManagedApplicationTypeVersionResource))

Parameters

version
String

The application type version.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

version is null.

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

Applies to