MongoDBAtlasOrganizationResource.GetMongoDBAtlasProject Method

Definition

Get a Project.

public virtual Azure.Response<Azure.ResourceManager.MongoDBAtlas.MongoDBAtlasProjectResource> GetMongoDBAtlasProject(string projectName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMongoDBAtlasProject : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MongoDBAtlas.MongoDBAtlasProjectResource>
override this.GetMongoDBAtlasProject : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MongoDBAtlas.MongoDBAtlasProjectResource>
Public Overridable Function GetMongoDBAtlasProject (projectName As String, Optional cancellationToken As CancellationToken = Nothing) As 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