Share via


FlexibleServersExtensions.ExecuteGetPrivateDnsZoneSuffixAsync Method

Definition

Get private DNS zone suffix in the cloud.

  • Request Path: /providers/Microsoft.DBforMySQL/getPrivateDnsZoneSuffix
  • Operation Id: GetPrivateDnsZoneSuffix_Execute
  • Default Api Version: 2023-12-30
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerPrivateDnsZoneSuffixResponse>> ExecuteGetPrivateDnsZoneSuffixAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, System.Threading.CancellationToken cancellationToken = default);
static member ExecuteGetPrivateDnsZoneSuffixAsync : Azure.ResourceManager.Resources.TenantResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerPrivateDnsZoneSuffixResponse>>
<Extension()>
Public Function ExecuteGetPrivateDnsZoneSuffixAsync (tenantResource As TenantResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MySqlFlexibleServerPrivateDnsZoneSuffixResponse))

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tenantResource is null.

Applies to