GetDefaultServiceAccount
Use this data source to retrieve default service account for this project
Using GetDefaultServiceAccount
function getDefaultServiceAccount(args: GetDefaultServiceAccountArgs, opts?: InvokeOptions): Promise<GetDefaultServiceAccountResult>function get_default_service_account(project=None, opts=None)func GetDefaultServiceAccount(ctx *Context, args *GetDefaultServiceAccountArgs, opts ...InvokeOption) (*GetDefaultServiceAccountResult, error)public static class GetDefaultServiceAccount {
public static Task<GetDefaultServiceAccountResult> InvokeAsync(GetDefaultServiceAccountArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetDefaultServiceAccount Result
The following output properties are available:
- Display
Name string The display name for the service account.
- Email string
Email address of the default service account used by VMs running in this project
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The fully-qualified name of the service account.
- Project string
- Unique
Id string The unique id of the service account.
- Display
Name string The display name for the service account.
- Email string
Email address of the default service account used by VMs running in this project
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The fully-qualified name of the service account.
- Project string
- Unique
Id string The unique id of the service account.
- display
Name string The display name for the service account.
- email string
Email address of the default service account used by VMs running in this project
- id string
The provider-assigned unique ID for this managed resource.
- name string
The fully-qualified name of the service account.
- project string
- unique
Id string The unique id of the service account.
- display_
name str The display name for the service account.
- email str
Email address of the default service account used by VMs running in this project
- id str
The provider-assigned unique ID for this managed resource.
- name str
The fully-qualified name of the service account.
- project str
- unique_
id str The unique id of the service account.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.