PostgreSqlFlexibleServerCollection.GetAsync(String, CancellationToken) Method
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.
Gets information about a server.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}
- Operation Id: Servers_Get
- Default Api Version: 2024-08-01
- Resource: PostgreSqlFlexibleServerResource
C#
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerResource>> GetAsync(string serverName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerResource>>
Public Overridable Function GetAsync (serverName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PostgreSqlFlexibleServerResource))
- serverName
- String
The name of the server.
- cancellationToken
- CancellationToken
The cancellation token to use.
serverName
is an empty string, and was expected to be non-empty.
serverName
is null.
Produk | Versi |
---|---|
Azure SDK for .NET | Latest, Preview |
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.
Azure SDK for .NET maklum balas
Azure SDK for .NET ialah projek sumber terbuka. Pilih pautan untuk memberikan maklum balas: