google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.jobs/v4.Tenant

Creates a new tenant entity.

Create Tenant Resource

new Tenant(name: string, args: TenantArgs, opts?: CustomResourceOptions);
@overload
def Tenant(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           external_id: Optional[str] = None,
           name: Optional[str] = None,
           project: Optional[str] = None)
@overload
def Tenant(resource_name: str,
           args: TenantArgs,
           opts: Optional[ResourceOptions] = None)
func NewTenant(ctx *Context, name string, args TenantArgs, opts ...ResourceOption) (*Tenant, error)
public Tenant(string name, TenantArgs args, CustomResourceOptions? opts = null)
public Tenant(String name, TenantArgs args)
public Tenant(String name, TenantArgs args, CustomResourceOptions options)
type: google-native:jobs/v4:Tenant
properties: # The arguments to resource properties.
options: # 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.
resource_name str
The unique name of the resource.
args TenantArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control 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.
name String
The unique name of the resource.
args TenantArgs
The arguments to resource properties.
options 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 Architecture and Concepts docs.

Inputs

The Tenant resource accepts the following input properties:

ExternalId string

Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255.

Name string

Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

Project string
ExternalId string

Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255.

Name string

Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

Project string
externalId String

Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255.

name String

Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

project String
externalId string

Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255.

name string

Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

project string
external_id str

Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255.

name str

Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

project str
externalId String

Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255.

name String

Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

project String

Outputs

All input properties are implicitly available as output properties. Additionally, the Tenant resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0