你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NeonOrganizationResource.GetNeonProjectAsync Method

Definition

Get a Project

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}
  • Operation Id: Project_Get
  • Default Api Version: 2025-03-01
  • Resource: NeonProjectResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NeonPostgres.NeonProjectResource>> GetNeonProjectAsync(string projectName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNeonProjectAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NeonPostgres.NeonProjectResource>>
override this.GetNeonProjectAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NeonPostgres.NeonProjectResource>>
Public Overridable Function GetNeonProjectAsync (projectName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NeonProjectResource))

Parameters

projectName
String

The name of the Project.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

projectName is null.

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

Applies to