Tenant
Tenant configuration in a multi-tenant project.
You must enable the Google Identity Platform in the marketplace prior to using this resource.
You must enable multi-tenancy via the Cloud Console prior to creating tenants.
Create a Tenant Resource
new Tenant(name: string, args: TenantArgs, opts?: CustomResourceOptions);def Tenant(resource_name, opts=None, allow_password_signup=None, disable_auth=None, display_name=None, enable_email_link_signin=None, project=None, __props__=None);func NewTenant(ctx *Context, name string, args TenantArgs, opts ...ResourceOption) (*Tenant, error)public Tenant(string name, TenantArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args TenantArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TenantArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TenantArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Tenant Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Tenant resource accepts the following input properties:
- Display
Name string Human friendly display name of the tenant.
- Allow
Password boolSignup Whether to allow email/password user authentication.
- Disable
Auth bool Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users.
- Enable
Email boolLink Signin Whether to enable email link user authentication.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Display
Name string Human friendly display name of the tenant.
- Allow
Password boolSignup Whether to allow email/password user authentication.
- Disable
Auth bool Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users.
- Enable
Email boolLink Signin Whether to enable email link user authentication.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- display
Name string Human friendly display name of the tenant.
- allow
Password booleanSignup Whether to allow email/password user authentication.
- disable
Auth boolean Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users.
- enable
Email booleanLink Signin Whether to enable email link user authentication.
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- display_
name str Human friendly display name of the tenant.
- allow_
password_ boolsignup Whether to allow email/password user authentication.
- disable_
auth bool Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users.
- enable_
email_ boollink_ signin Whether to enable email link user authentication.
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the Tenant resource produces the following output properties:
Look up an Existing Tenant Resource
Get an existing Tenant resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TenantState, opts?: CustomResourceOptions): Tenantstatic get(resource_name, id, opts=None, allow_password_signup=None, disable_auth=None, display_name=None, enable_email_link_signin=None, name=None, project=None, __props__=None);func GetTenant(ctx *Context, name string, id IDInput, state *TenantState, opts ...ResourceOption) (*Tenant, error)public static Tenant Get(string name, Input<string> id, TenantState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Allow
Password boolSignup Whether to allow email/password user authentication.
- Disable
Auth bool Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users.
- Display
Name string Human friendly display name of the tenant.
- Enable
Email boolLink Signin Whether to enable email link user authentication.
- Name string
The name of the tenant that is generated by the server
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Allow
Password boolSignup Whether to allow email/password user authentication.
- Disable
Auth bool Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users.
- Display
Name string Human friendly display name of the tenant.
- Enable
Email boolLink Signin Whether to enable email link user authentication.
- Name string
The name of the tenant that is generated by the server
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- allow
Password booleanSignup Whether to allow email/password user authentication.
- disable
Auth boolean Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users.
- display
Name string Human friendly display name of the tenant.
- enable
Email booleanLink Signin Whether to enable email link user authentication.
- name string
The name of the tenant that is generated by the server
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- allow_
password_ boolsignup Whether to allow email/password user authentication.
- disable_
auth bool Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users.
- display_
name str Human friendly display name of the tenant.
- enable_
email_ boollink_ signin Whether to enable email link user authentication.
- name str
The name of the tenant that is generated by the server
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.