Share via


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