Show / Hide Table of Contents

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 Source

InvokeAsync(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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.