1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. apphub
  5. Application
Google Cloud Classic v7.32.0 published on Tuesday, Jul 16, 2024 by Pulumi

gcp.apphub.Application

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.32.0 published on Tuesday, Jul 16, 2024 by Pulumi

    Application is a functional grouping of Services and Workloads that helps achieve a desired end-to-end business functionality. Services and Workloads are owned by the Application.

    Example Usage

    Application Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const example = new gcp.apphub.Application("example", {
        location: "us-east1",
        applicationId: "example-application",
        scope: {
            type: "REGIONAL",
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    example = gcp.apphub.Application("example",
        location="us-east1",
        application_id="example-application",
        scope={
            "type": "REGIONAL",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/apphub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := apphub.NewApplication(ctx, "example", &apphub.ApplicationArgs{
    			Location:      pulumi.String("us-east1"),
    			ApplicationId: pulumi.String("example-application"),
    			Scope: &apphub.ApplicationScopeArgs{
    				Type: pulumi.String("REGIONAL"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Gcp.Apphub.Application("example", new()
        {
            Location = "us-east1",
            ApplicationId = "example-application",
            Scope = new Gcp.Apphub.Inputs.ApplicationScopeArgs
            {
                Type = "REGIONAL",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.apphub.Application;
    import com.pulumi.gcp.apphub.ApplicationArgs;
    import com.pulumi.gcp.apphub.inputs.ApplicationScopeArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Application("example", ApplicationArgs.builder()
                .location("us-east1")
                .applicationId("example-application")
                .scope(ApplicationScopeArgs.builder()
                    .type("REGIONAL")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: gcp:apphub:Application
        properties:
          location: us-east1
          applicationId: example-application
          scope:
            type: REGIONAL
    

    Application Full

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const example2 = new gcp.apphub.Application("example2", {
        location: "us-east1",
        applicationId: "example-application",
        displayName: "Application Full",
        scope: {
            type: "REGIONAL",
        },
        description: "Application for testing",
        attributes: {
            environment: {
                type: "STAGING",
            },
            criticality: {
                type: "MISSION_CRITICAL",
            },
            businessOwners: [{
                displayName: "Alice",
                email: "alice@google.com",
            }],
            developerOwners: [{
                displayName: "Bob",
                email: "bob@google.com",
            }],
            operatorOwners: [{
                displayName: "Charlie",
                email: "charlie@google.com",
            }],
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    example2 = gcp.apphub.Application("example2",
        location="us-east1",
        application_id="example-application",
        display_name="Application Full",
        scope={
            "type": "REGIONAL",
        },
        description="Application for testing",
        attributes={
            "environment": {
                "type": "STAGING",
            },
            "criticality": {
                "type": "MISSION_CRITICAL",
            },
            "businessOwners": [{
                "displayName": "Alice",
                "email": "alice@google.com",
            }],
            "developerOwners": [{
                "displayName": "Bob",
                "email": "bob@google.com",
            }],
            "operatorOwners": [{
                "displayName": "Charlie",
                "email": "charlie@google.com",
            }],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/apphub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := apphub.NewApplication(ctx, "example2", &apphub.ApplicationArgs{
    			Location:      pulumi.String("us-east1"),
    			ApplicationId: pulumi.String("example-application"),
    			DisplayName:   pulumi.String("Application Full"),
    			Scope: &apphub.ApplicationScopeArgs{
    				Type: pulumi.String("REGIONAL"),
    			},
    			Description: pulumi.String("Application for testing"),
    			Attributes: &apphub.ApplicationAttributesArgs{
    				Environment: &apphub.ApplicationAttributesEnvironmentArgs{
    					Type: pulumi.String("STAGING"),
    				},
    				Criticality: &apphub.ApplicationAttributesCriticalityArgs{
    					Type: pulumi.String("MISSION_CRITICAL"),
    				},
    				BusinessOwners: apphub.ApplicationAttributesBusinessOwnerArray{
    					&apphub.ApplicationAttributesBusinessOwnerArgs{
    						DisplayName: pulumi.String("Alice"),
    						Email:       pulumi.String("alice@google.com"),
    					},
    				},
    				DeveloperOwners: apphub.ApplicationAttributesDeveloperOwnerArray{
    					&apphub.ApplicationAttributesDeveloperOwnerArgs{
    						DisplayName: pulumi.String("Bob"),
    						Email:       pulumi.String("bob@google.com"),
    					},
    				},
    				OperatorOwners: apphub.ApplicationAttributesOperatorOwnerArray{
    					&apphub.ApplicationAttributesOperatorOwnerArgs{
    						DisplayName: pulumi.String("Charlie"),
    						Email:       pulumi.String("charlie@google.com"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var example2 = new Gcp.Apphub.Application("example2", new()
        {
            Location = "us-east1",
            ApplicationId = "example-application",
            DisplayName = "Application Full",
            Scope = new Gcp.Apphub.Inputs.ApplicationScopeArgs
            {
                Type = "REGIONAL",
            },
            Description = "Application for testing",
            Attributes = new Gcp.Apphub.Inputs.ApplicationAttributesArgs
            {
                Environment = new Gcp.Apphub.Inputs.ApplicationAttributesEnvironmentArgs
                {
                    Type = "STAGING",
                },
                Criticality = new Gcp.Apphub.Inputs.ApplicationAttributesCriticalityArgs
                {
                    Type = "MISSION_CRITICAL",
                },
                BusinessOwners = new[]
                {
                    new Gcp.Apphub.Inputs.ApplicationAttributesBusinessOwnerArgs
                    {
                        DisplayName = "Alice",
                        Email = "alice@google.com",
                    },
                },
                DeveloperOwners = new[]
                {
                    new Gcp.Apphub.Inputs.ApplicationAttributesDeveloperOwnerArgs
                    {
                        DisplayName = "Bob",
                        Email = "bob@google.com",
                    },
                },
                OperatorOwners = new[]
                {
                    new Gcp.Apphub.Inputs.ApplicationAttributesOperatorOwnerArgs
                    {
                        DisplayName = "Charlie",
                        Email = "charlie@google.com",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.apphub.Application;
    import com.pulumi.gcp.apphub.ApplicationArgs;
    import com.pulumi.gcp.apphub.inputs.ApplicationScopeArgs;
    import com.pulumi.gcp.apphub.inputs.ApplicationAttributesArgs;
    import com.pulumi.gcp.apphub.inputs.ApplicationAttributesEnvironmentArgs;
    import com.pulumi.gcp.apphub.inputs.ApplicationAttributesCriticalityArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example2 = new Application("example2", ApplicationArgs.builder()
                .location("us-east1")
                .applicationId("example-application")
                .displayName("Application Full")
                .scope(ApplicationScopeArgs.builder()
                    .type("REGIONAL")
                    .build())
                .description("Application for testing")
                .attributes(ApplicationAttributesArgs.builder()
                    .environment(ApplicationAttributesEnvironmentArgs.builder()
                        .type("STAGING")
                        .build())
                    .criticality(ApplicationAttributesCriticalityArgs.builder()
                        .type("MISSION_CRITICAL")
                        .build())
                    .businessOwners(ApplicationAttributesBusinessOwnerArgs.builder()
                        .displayName("Alice")
                        .email("alice@google.com")
                        .build())
                    .developerOwners(ApplicationAttributesDeveloperOwnerArgs.builder()
                        .displayName("Bob")
                        .email("bob@google.com")
                        .build())
                    .operatorOwners(ApplicationAttributesOperatorOwnerArgs.builder()
                        .displayName("Charlie")
                        .email("charlie@google.com")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example2:
        type: gcp:apphub:Application
        properties:
          location: us-east1
          applicationId: example-application
          displayName: Application Full
          scope:
            type: REGIONAL
          description: Application for testing
          attributes:
            environment:
              type: STAGING
            criticality:
              type: MISSION_CRITICAL
            businessOwners:
              - displayName: Alice
                email: alice@google.com
            developerOwners:
              - displayName: Bob
                email: bob@google.com
            operatorOwners:
              - displayName: Charlie
                email: charlie@google.com
    

    Create Application Resource

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

    Constructor syntax

    new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def Application(resource_name: str,
                    args: ApplicationArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Application(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    application_id: Optional[str] = None,
                    location: Optional[str] = None,
                    scope: Optional[ApplicationScopeArgs] = None,
                    attributes: Optional[ApplicationAttributesArgs] = None,
                    description: Optional[str] = None,
                    display_name: Optional[str] = None,
                    project: Optional[str] = None)
    func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)
    public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
    public Application(String name, ApplicationArgs args)
    public Application(String name, ApplicationArgs args, CustomResourceOptions options)
    
    type: gcp:apphub:Application
    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 ApplicationArgs
    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 ApplicationArgs
    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 ApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplicationArgs
    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 gcpApplicationResource = new Gcp.Apphub.Application("gcpApplicationResource", new()
    {
        ApplicationId = "string",
        Location = "string",
        Scope = new Gcp.Apphub.Inputs.ApplicationScopeArgs
        {
            Type = "string",
        },
        Attributes = new Gcp.Apphub.Inputs.ApplicationAttributesArgs
        {
            BusinessOwners = new[]
            {
                new Gcp.Apphub.Inputs.ApplicationAttributesBusinessOwnerArgs
                {
                    Email = "string",
                    DisplayName = "string",
                },
            },
            Criticality = new Gcp.Apphub.Inputs.ApplicationAttributesCriticalityArgs
            {
                Type = "string",
            },
            DeveloperOwners = new[]
            {
                new Gcp.Apphub.Inputs.ApplicationAttributesDeveloperOwnerArgs
                {
                    Email = "string",
                    DisplayName = "string",
                },
            },
            Environment = new Gcp.Apphub.Inputs.ApplicationAttributesEnvironmentArgs
            {
                Type = "string",
            },
            OperatorOwners = new[]
            {
                new Gcp.Apphub.Inputs.ApplicationAttributesOperatorOwnerArgs
                {
                    Email = "string",
                    DisplayName = "string",
                },
            },
        },
        Description = "string",
        DisplayName = "string",
        Project = "string",
    });
    
    example, err := apphub.NewApplication(ctx, "gcpApplicationResource", &apphub.ApplicationArgs{
    	ApplicationId: pulumi.String("string"),
    	Location:      pulumi.String("string"),
    	Scope: &apphub.ApplicationScopeArgs{
    		Type: pulumi.String("string"),
    	},
    	Attributes: &apphub.ApplicationAttributesArgs{
    		BusinessOwners: apphub.ApplicationAttributesBusinessOwnerArray{
    			&apphub.ApplicationAttributesBusinessOwnerArgs{
    				Email:       pulumi.String("string"),
    				DisplayName: pulumi.String("string"),
    			},
    		},
    		Criticality: &apphub.ApplicationAttributesCriticalityArgs{
    			Type: pulumi.String("string"),
    		},
    		DeveloperOwners: apphub.ApplicationAttributesDeveloperOwnerArray{
    			&apphub.ApplicationAttributesDeveloperOwnerArgs{
    				Email:       pulumi.String("string"),
    				DisplayName: pulumi.String("string"),
    			},
    		},
    		Environment: &apphub.ApplicationAttributesEnvironmentArgs{
    			Type: pulumi.String("string"),
    		},
    		OperatorOwners: apphub.ApplicationAttributesOperatorOwnerArray{
    			&apphub.ApplicationAttributesOperatorOwnerArgs{
    				Email:       pulumi.String("string"),
    				DisplayName: pulumi.String("string"),
    			},
    		},
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	Project:     pulumi.String("string"),
    })
    
    var gcpApplicationResource = new Application("gcpApplicationResource", ApplicationArgs.builder()
        .applicationId("string")
        .location("string")
        .scope(ApplicationScopeArgs.builder()
            .type("string")
            .build())
        .attributes(ApplicationAttributesArgs.builder()
            .businessOwners(ApplicationAttributesBusinessOwnerArgs.builder()
                .email("string")
                .displayName("string")
                .build())
            .criticality(ApplicationAttributesCriticalityArgs.builder()
                .type("string")
                .build())
            .developerOwners(ApplicationAttributesDeveloperOwnerArgs.builder()
                .email("string")
                .displayName("string")
                .build())
            .environment(ApplicationAttributesEnvironmentArgs.builder()
                .type("string")
                .build())
            .operatorOwners(ApplicationAttributesOperatorOwnerArgs.builder()
                .email("string")
                .displayName("string")
                .build())
            .build())
        .description("string")
        .displayName("string")
        .project("string")
        .build());
    
    gcp_application_resource = gcp.apphub.Application("gcpApplicationResource",
        application_id="string",
        location="string",
        scope={
            "type": "string",
        },
        attributes={
            "businessOwners": [{
                "email": "string",
                "displayName": "string",
            }],
            "criticality": {
                "type": "string",
            },
            "developerOwners": [{
                "email": "string",
                "displayName": "string",
            }],
            "environment": {
                "type": "string",
            },
            "operatorOwners": [{
                "email": "string",
                "displayName": "string",
            }],
        },
        description="string",
        display_name="string",
        project="string")
    
    const gcpApplicationResource = new gcp.apphub.Application("gcpApplicationResource", {
        applicationId: "string",
        location: "string",
        scope: {
            type: "string",
        },
        attributes: {
            businessOwners: [{
                email: "string",
                displayName: "string",
            }],
            criticality: {
                type: "string",
            },
            developerOwners: [{
                email: "string",
                displayName: "string",
            }],
            environment: {
                type: "string",
            },
            operatorOwners: [{
                email: "string",
                displayName: "string",
            }],
        },
        description: "string",
        displayName: "string",
        project: "string",
    });
    
    type: gcp:apphub:Application
    properties:
        applicationId: string
        attributes:
            businessOwners:
                - displayName: string
                  email: string
            criticality:
                type: string
            developerOwners:
                - displayName: string
                  email: string
            environment:
                type: string
            operatorOwners:
                - displayName: string
                  email: string
        description: string
        displayName: string
        location: string
        project: string
        scope:
            type: string
    

    Application 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 Application resource accepts the following input properties:

    ApplicationId string
    Required. The Application identifier.
    Location string
    Part of parent. See documentation of projectsId.
    Scope ApplicationScope
    Scope of an application. Structure is documented below.
    Attributes ApplicationAttributes
    Consumer provided attributes.
    Description string
    Optional. User-defined description of an Application.
    DisplayName string
    Optional. User-defined name for the Application.
    Project string
    ApplicationId string
    Required. The Application identifier.
    Location string
    Part of parent. See documentation of projectsId.
    Scope ApplicationScopeArgs
    Scope of an application. Structure is documented below.
    Attributes ApplicationAttributesArgs
    Consumer provided attributes.
    Description string
    Optional. User-defined description of an Application.
    DisplayName string
    Optional. User-defined name for the Application.
    Project string
    applicationId String
    Required. The Application identifier.
    location String
    Part of parent. See documentation of projectsId.
    scope ApplicationScope
    Scope of an application. Structure is documented below.
    attributes ApplicationAttributes
    Consumer provided attributes.
    description String
    Optional. User-defined description of an Application.
    displayName String
    Optional. User-defined name for the Application.
    project String
    applicationId string
    Required. The Application identifier.
    location string
    Part of parent. See documentation of projectsId.
    scope ApplicationScope
    Scope of an application. Structure is documented below.
    attributes ApplicationAttributes
    Consumer provided attributes.
    description string
    Optional. User-defined description of an Application.
    displayName string
    Optional. User-defined name for the Application.
    project string
    application_id str
    Required. The Application identifier.
    location str
    Part of parent. See documentation of projectsId.
    scope ApplicationScopeArgs
    Scope of an application. Structure is documented below.
    attributes ApplicationAttributesArgs
    Consumer provided attributes.
    description str
    Optional. User-defined description of an Application.
    display_name str
    Optional. User-defined name for the Application.
    project str
    applicationId String
    Required. The Application identifier.
    location String
    Part of parent. See documentation of projectsId.
    scope Property Map
    Scope of an application. Structure is documented below.
    attributes Property Map
    Consumer provided attributes.
    description String
    Optional. User-defined description of an Application.
    displayName String
    Optional. User-defined name for the Application.
    project String

    Outputs

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

    CreateTime string
    Output only. Create time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The resource name of an Application. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}"
    State string
    Output only. Application state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING
    Uid string
    Output only. A universally unique identifier (in UUID4 format) for the Application.
    UpdateTime string
    Output only. Update time.
    CreateTime string
    Output only. Create time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The resource name of an Application. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}"
    State string
    Output only. Application state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING
    Uid string
    Output only. A universally unique identifier (in UUID4 format) for the Application.
    UpdateTime string
    Output only. Update time.
    createTime String
    Output only. Create time.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The resource name of an Application. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}"
    state String
    Output only. Application state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING
    uid String
    Output only. A universally unique identifier (in UUID4 format) for the Application.
    updateTime String
    Output only. Update time.
    createTime string
    Output only. Create time.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Identifier. The resource name of an Application. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}"
    state string
    Output only. Application state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING
    uid string
    Output only. A universally unique identifier (in UUID4 format) for the Application.
    updateTime string
    Output only. Update time.
    create_time str
    Output only. Create time.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Identifier. The resource name of an Application. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}"
    state str
    Output only. Application state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING
    uid str
    Output only. A universally unique identifier (in UUID4 format) for the Application.
    update_time str
    Output only. Update time.
    createTime String
    Output only. Create time.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The resource name of an Application. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}"
    state String
    Output only. Application state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING
    uid String
    Output only. A universally unique identifier (in UUID4 format) for the Application.
    updateTime String
    Output only. Update time.

    Look up Existing Application Resource

    Get an existing Application 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?: ApplicationState, opts?: CustomResourceOptions): Application
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_id: Optional[str] = None,
            attributes: Optional[ApplicationAttributesArgs] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            scope: Optional[ApplicationScopeArgs] = None,
            state: Optional[str] = None,
            uid: Optional[str] = None,
            update_time: Optional[str] = None) -> Application
    func GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)
    public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)
    public static Application get(String name, Output<String> id, ApplicationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    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:
    ApplicationId string
    Required. The Application identifier.
    Attributes ApplicationAttributes
    Consumer provided attributes.
    CreateTime string
    Output only. Create time.
    Description string
    Optional. User-defined description of an Application.
    DisplayName string
    Optional. User-defined name for the Application.
    Location string
    Part of parent. See documentation of projectsId.
    Name string
    Identifier. The resource name of an Application. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}"
    Project string
    Scope ApplicationScope
    Scope of an application. Structure is documented below.
    State string
    Output only. Application state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING
    Uid string
    Output only. A universally unique identifier (in UUID4 format) for the Application.
    UpdateTime string
    Output only. Update time.
    ApplicationId string
    Required. The Application identifier.
    Attributes ApplicationAttributesArgs
    Consumer provided attributes.
    CreateTime string
    Output only. Create time.
    Description string
    Optional. User-defined description of an Application.
    DisplayName string
    Optional. User-defined name for the Application.
    Location string
    Part of parent. See documentation of projectsId.
    Name string
    Identifier. The resource name of an Application. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}"
    Project string
    Scope ApplicationScopeArgs
    Scope of an application. Structure is documented below.
    State string
    Output only. Application state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING
    Uid string
    Output only. A universally unique identifier (in UUID4 format) for the Application.
    UpdateTime string
    Output only. Update time.
    applicationId String
    Required. The Application identifier.
    attributes ApplicationAttributes
    Consumer provided attributes.
    createTime String
    Output only. Create time.
    description String
    Optional. User-defined description of an Application.
    displayName String
    Optional. User-defined name for the Application.
    location String
    Part of parent. See documentation of projectsId.
    name String
    Identifier. The resource name of an Application. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}"
    project String
    scope ApplicationScope
    Scope of an application. Structure is documented below.
    state String
    Output only. Application state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING
    uid String
    Output only. A universally unique identifier (in UUID4 format) for the Application.
    updateTime String
    Output only. Update time.
    applicationId string
    Required. The Application identifier.
    attributes ApplicationAttributes
    Consumer provided attributes.
    createTime string
    Output only. Create time.
    description string
    Optional. User-defined description of an Application.
    displayName string
    Optional. User-defined name for the Application.
    location string
    Part of parent. See documentation of projectsId.
    name string
    Identifier. The resource name of an Application. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}"
    project string
    scope ApplicationScope
    Scope of an application. Structure is documented below.
    state string
    Output only. Application state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING
    uid string
    Output only. A universally unique identifier (in UUID4 format) for the Application.
    updateTime string
    Output only. Update time.
    application_id str
    Required. The Application identifier.
    attributes ApplicationAttributesArgs
    Consumer provided attributes.
    create_time str
    Output only. Create time.
    description str
    Optional. User-defined description of an Application.
    display_name str
    Optional. User-defined name for the Application.
    location str
    Part of parent. See documentation of projectsId.
    name str
    Identifier. The resource name of an Application. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}"
    project str
    scope ApplicationScopeArgs
    Scope of an application. Structure is documented below.
    state str
    Output only. Application state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING
    uid str
    Output only. A universally unique identifier (in UUID4 format) for the Application.
    update_time str
    Output only. Update time.
    applicationId String
    Required. The Application identifier.
    attributes Property Map
    Consumer provided attributes.
    createTime String
    Output only. Create time.
    description String
    Optional. User-defined description of an Application.
    displayName String
    Optional. User-defined name for the Application.
    location String
    Part of parent. See documentation of projectsId.
    name String
    Identifier. The resource name of an Application. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}"
    project String
    scope Property Map
    Scope of an application. Structure is documented below.
    state String
    Output only. Application state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING
    uid String
    Output only. A universally unique identifier (in UUID4 format) for the Application.
    updateTime String
    Output only. Update time.

    Supporting Types

    ApplicationAttributes, ApplicationAttributesArgs

    BusinessOwners List<ApplicationAttributesBusinessOwner>
    Optional. Business team that ensures user needs are met and value is delivered Structure is documented below.
    Criticality ApplicationAttributesCriticality
    Criticality of the Application, Service, or Workload Structure is documented below.
    DeveloperOwners List<ApplicationAttributesDeveloperOwner>
    Optional. Developer team that owns development and coding. Structure is documented below.
    Environment ApplicationAttributesEnvironment
    Environment of the Application, Service, or Workload Structure is documented below.
    OperatorOwners List<ApplicationAttributesOperatorOwner>
    Optional. Operator team that ensures runtime and operations. Structure is documented below.
    BusinessOwners []ApplicationAttributesBusinessOwner
    Optional. Business team that ensures user needs are met and value is delivered Structure is documented below.
    Criticality ApplicationAttributesCriticality
    Criticality of the Application, Service, or Workload Structure is documented below.
    DeveloperOwners []ApplicationAttributesDeveloperOwner
    Optional. Developer team that owns development and coding. Structure is documented below.
    Environment ApplicationAttributesEnvironment
    Environment of the Application, Service, or Workload Structure is documented below.
    OperatorOwners []ApplicationAttributesOperatorOwner
    Optional. Operator team that ensures runtime and operations. Structure is documented below.
    businessOwners List<ApplicationAttributesBusinessOwner>
    Optional. Business team that ensures user needs are met and value is delivered Structure is documented below.
    criticality ApplicationAttributesCriticality
    Criticality of the Application, Service, or Workload Structure is documented below.
    developerOwners List<ApplicationAttributesDeveloperOwner>
    Optional. Developer team that owns development and coding. Structure is documented below.
    environment ApplicationAttributesEnvironment
    Environment of the Application, Service, or Workload Structure is documented below.
    operatorOwners List<ApplicationAttributesOperatorOwner>
    Optional. Operator team that ensures runtime and operations. Structure is documented below.
    businessOwners ApplicationAttributesBusinessOwner[]
    Optional. Business team that ensures user needs are met and value is delivered Structure is documented below.
    criticality ApplicationAttributesCriticality
    Criticality of the Application, Service, or Workload Structure is documented below.
    developerOwners ApplicationAttributesDeveloperOwner[]
    Optional. Developer team that owns development and coding. Structure is documented below.
    environment ApplicationAttributesEnvironment
    Environment of the Application, Service, or Workload Structure is documented below.
    operatorOwners ApplicationAttributesOperatorOwner[]
    Optional. Operator team that ensures runtime and operations. Structure is documented below.
    business_owners Sequence[ApplicationAttributesBusinessOwner]
    Optional. Business team that ensures user needs are met and value is delivered Structure is documented below.
    criticality ApplicationAttributesCriticality
    Criticality of the Application, Service, or Workload Structure is documented below.
    developer_owners Sequence[ApplicationAttributesDeveloperOwner]
    Optional. Developer team that owns development and coding. Structure is documented below.
    environment ApplicationAttributesEnvironment
    Environment of the Application, Service, or Workload Structure is documented below.
    operator_owners Sequence[ApplicationAttributesOperatorOwner]
    Optional. Operator team that ensures runtime and operations. Structure is documented below.
    businessOwners List<Property Map>
    Optional. Business team that ensures user needs are met and value is delivered Structure is documented below.
    criticality Property Map
    Criticality of the Application, Service, or Workload Structure is documented below.
    developerOwners List<Property Map>
    Optional. Developer team that owns development and coding. Structure is documented below.
    environment Property Map
    Environment of the Application, Service, or Workload Structure is documented below.
    operatorOwners List<Property Map>
    Optional. Operator team that ensures runtime and operations. Structure is documented below.

    ApplicationAttributesBusinessOwner, ApplicationAttributesBusinessOwnerArgs

    Email string
    Required. Email address of the contacts.
    DisplayName string
    Optional. Contact's name.
    Email string
    Required. Email address of the contacts.
    DisplayName string
    Optional. Contact's name.
    email String
    Required. Email address of the contacts.
    displayName String
    Optional. Contact's name.
    email string
    Required. Email address of the contacts.
    displayName string
    Optional. Contact's name.
    email str
    Required. Email address of the contacts.
    display_name str
    Optional. Contact's name.
    email String
    Required. Email address of the contacts.
    displayName String
    Optional. Contact's name.

    ApplicationAttributesCriticality, ApplicationAttributesCriticalityArgs

    Type string
    Criticality type. Possible values are: MISSION_CRITICAL, HIGH, MEDIUM, LOW.
    Type string
    Criticality type. Possible values are: MISSION_CRITICAL, HIGH, MEDIUM, LOW.
    type String
    Criticality type. Possible values are: MISSION_CRITICAL, HIGH, MEDIUM, LOW.
    type string
    Criticality type. Possible values are: MISSION_CRITICAL, HIGH, MEDIUM, LOW.
    type str
    Criticality type. Possible values are: MISSION_CRITICAL, HIGH, MEDIUM, LOW.
    type String
    Criticality type. Possible values are: MISSION_CRITICAL, HIGH, MEDIUM, LOW.

    ApplicationAttributesDeveloperOwner, ApplicationAttributesDeveloperOwnerArgs

    Email string
    Required. Email address of the contacts.
    DisplayName string
    Optional. Contact's name.
    Email string
    Required. Email address of the contacts.
    DisplayName string
    Optional. Contact's name.
    email String
    Required. Email address of the contacts.
    displayName String
    Optional. Contact's name.
    email string
    Required. Email address of the contacts.
    displayName string
    Optional. Contact's name.
    email str
    Required. Email address of the contacts.
    display_name str
    Optional. Contact's name.
    email String
    Required. Email address of the contacts.
    displayName String
    Optional. Contact's name.

    ApplicationAttributesEnvironment, ApplicationAttributesEnvironmentArgs

    Type string
    Environment type. Possible values are: PRODUCTION, STAGING, TEST, DEVELOPMENT.
    Type string
    Environment type. Possible values are: PRODUCTION, STAGING, TEST, DEVELOPMENT.
    type String
    Environment type. Possible values are: PRODUCTION, STAGING, TEST, DEVELOPMENT.
    type string
    Environment type. Possible values are: PRODUCTION, STAGING, TEST, DEVELOPMENT.
    type str
    Environment type. Possible values are: PRODUCTION, STAGING, TEST, DEVELOPMENT.
    type String
    Environment type. Possible values are: PRODUCTION, STAGING, TEST, DEVELOPMENT.

    ApplicationAttributesOperatorOwner, ApplicationAttributesOperatorOwnerArgs

    Email string
    Required. Email address of the contacts.
    DisplayName string
    Optional. Contact's name.
    Email string
    Required. Email address of the contacts.
    DisplayName string
    Optional. Contact's name.
    email String
    Required. Email address of the contacts.
    displayName String
    Optional. Contact's name.
    email string
    Required. Email address of the contacts.
    displayName string
    Optional. Contact's name.
    email str
    Required. Email address of the contacts.
    display_name str
    Optional. Contact's name.
    email String
    Required. Email address of the contacts.
    displayName String
    Optional. Contact's name.

    ApplicationScope, ApplicationScopeArgs

    Type string
    Required. Scope Type. Possible values: REGIONAL Possible values are: REGIONAL.


    Type string
    Required. Scope Type. Possible values: REGIONAL Possible values are: REGIONAL.


    type String
    Required. Scope Type. Possible values: REGIONAL Possible values are: REGIONAL.


    type string
    Required. Scope Type. Possible values: REGIONAL Possible values are: REGIONAL.


    type str
    Required. Scope Type. Possible values: REGIONAL Possible values are: REGIONAL.


    type String
    Required. Scope Type. Possible values: REGIONAL Possible values are: REGIONAL.


    Import

    Application can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/applications/{{application_id}}

    • {{project}}/{{location}}/{{application_id}}

    • {{location}}/{{application_id}}

    When using the pulumi import command, Application can be imported using one of the formats above. For example:

    $ pulumi import gcp:apphub/application:Application default projects/{{project}}/locations/{{location}}/applications/{{application_id}}
    
    $ pulumi import gcp:apphub/application:Application default {{project}}/{{location}}/{{application_id}}
    
    $ pulumi import gcp:apphub/application:Application default {{location}}/{{application_id}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v7.32.0 published on Tuesday, Jul 16, 2024 by Pulumi