Class GetTransferProjectServieAccount
Inheritance
System.Object
GetTransferProjectServieAccount
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.Gcp.Storage
Assembly: Pulumi.Gcp.dll
Syntax
public static class GetTransferProjectServieAccount
Methods
View SourceInvokeAsync(GetTransferProjectServieAccountArgs, InvokeOptions)
Use this data source to retrieve Storage Transfer service account for this project
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Gcp = Pulumi.Gcp;
class MyStack : Stack
{
public MyStack()
{
var @default = Output.Create(Gcp.Storage.GetTransferProjectServieAccount.InvokeAsync());
this.DefaultAccount = @default.Apply(@default => @default.Email);
}
[Output("defaultAccount")]
public Output<string> DefaultAccount { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetTransferProjectServieAccountResult> InvokeAsync(GetTransferProjectServieAccountArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetTransferProjectServieAccountArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetTransferProjectServieAccountResult> |