Share via


FlexibleServersExtensions.ExecuteGetPrivateDnsZoneSuffixAsync Method

Definition

Get private DNS zone suffix in the cloud

  • Request Path: /providers/Microsoft.DBforPostgreSQL/getPrivateDnsZoneSuffix
  • Operation Id: GetPrivateDnsZoneSuffix_Execute
  • Default Api Version: 2023-03-01-preview
public static System.Threading.Tasks.Task<Azure.Response<string>> 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<string>>
<Extension()>
Public Function ExecuteGetPrivateDnsZoneSuffixAsync (tenantResource As TenantResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of String))

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