Class GetProject
Inheritance
System.Object
GetProject
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.DatabaseMigration
Assembly: Pulumi.Azure.dll
Syntax
public static class GetProject
Methods
View SourceInvokeAsync(GetProjectArgs, InvokeOptions)
Use this data source to access information about an existing Database Migration Project.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.DatabaseMigration.GetProject.InvokeAsync(new Azure.DatabaseMigration.GetProjectArgs
{
Name = "example-dbms-project",
ResourceGroupName = "example-rg",
ServiceName = "example-dbms",
}));
this.Name = example.Apply(example => example.Name);
}
[Output("name")]
public Output<string> Name { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetProjectResult> InvokeAsync(GetProjectArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetProjectArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetProjectResult> |