1. Packages
  2. Google Cloud Native
  3. API Docs
  4. jobs
  5. jobs/v4
  6. Tenant

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.jobs/v4.Tenant

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new tenant entity.

    Create Tenant Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Tenant(name: string, args: TenantArgs, opts?: CustomResourceOptions);
    @overload
    def Tenant(resource_name: str,
               args: TenantArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Tenant(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               external_id: Optional[str] = None,
               name: Optional[str] = None,
               project: Optional[str] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var google_nativeTenantResource = new GoogleNative.Jobs.V4.Tenant("google-nativeTenantResource", new()
    {
        ExternalId = "string",
        Name = "string",
        Project = "string",
    });
    
    example, err := jobsv4.NewTenant(ctx, "google-nativeTenantResource", &jobsv4.TenantArgs{
    ExternalId: pulumi.String("string"),
    Name: pulumi.String("string"),
    Project: pulumi.String("string"),
    })
    
    var google_nativeTenantResource = new Tenant("google-nativeTenantResource", TenantArgs.builder()
        .externalId("string")
        .name("string")
        .project("string")
        .build());
    
    google_native_tenant_resource = google_native.jobs.v4.Tenant("google-nativeTenantResource",
        external_id="string",
        name="string",
        project="string")
    
    const google_nativeTenantResource = new google_native.jobs.v4.Tenant("google-nativeTenantResource", {
        externalId: "string",
        name: "string",
        project: "string",
    });
    
    type: google-native:jobs/v4:Tenant
    properties:
        externalId: string
        name: string
        project: string
    

    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
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi