Sdílet prostřednictvím


WorkloadsExtensions.SapAvailabilityZoneDetailsAsync Method

Definition

Get the recommended SAP Availability Zone Pair Details for your region.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getAvailabilityZoneDetails
  • Operation Id: SAPAvailabilityZoneDetails
  • Default Api Version: 2023-04-01
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Workloads.Models.SapAvailabilityZoneDetailsResult>> SapAvailabilityZoneDetailsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.Workloads.Models.SapAvailabilityZoneDetailsContent content = default, System.Threading.CancellationToken cancellationToken = default);
static member SapAvailabilityZoneDetailsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.Workloads.Models.SapAvailabilityZoneDetailsContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Workloads.Models.SapAvailabilityZoneDetailsResult>>
<Extension()>
Public Function SapAvailabilityZoneDetailsAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional content As SapAvailabilityZoneDetailsContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SapAvailabilityZoneDetailsResult))

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

location
AzureLocation

The name of Azure region.

content
SapAvailabilityZoneDetailsContent

SAP Availability Zone Details Request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource is null.

Applies to