MongoDBAtlasOrganizationResource.GetMongoDBAtlasProjectAsync Method

Definition

Get a Project.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MongoDBAtlas.MongoDBAtlasProjectResource>> GetMongoDBAtlasProjectAsync(string projectName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMongoDBAtlasProjectAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MongoDBAtlas.MongoDBAtlasProjectResource>>
override this.GetMongoDBAtlasProjectAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MongoDBAtlas.MongoDBAtlasProjectResource>>
Public Overridable Function GetMongoDBAtlasProjectAsync (projectName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MongoDBAtlasProjectResource))

Parameters

projectName
String

Name of the MongoDB Atlas Project resource.

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