gcp.dataproc.GdcApplicationEnvironment
Explore with Pulumi AI
An ApplicationEnvironment contains shared configuration that may be referenced by multiple SparkApplications.
To get more information about ApplicationEnvironment, see:
- API documentation
- How-to Guides
Example Usage
Dataprocgdc Applicationenvironment Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const application_environment = new gcp.dataproc.GdcApplicationEnvironment("application-environment", {
applicationEnvironmentId: "dp-tf-e2e-application-environment-basic",
serviceinstance: "do-not-delete-dataproc-gdc-instance",
project: "my-project",
location: "us-west2",
namespace: "default",
});
import pulumi
import pulumi_gcp as gcp
application_environment = gcp.dataproc.GdcApplicationEnvironment("application-environment",
application_environment_id="dp-tf-e2e-application-environment-basic",
serviceinstance="do-not-delete-dataproc-gdc-instance",
project="my-project",
location="us-west2",
namespace="default")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataproc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dataproc.NewGdcApplicationEnvironment(ctx, "application-environment", &dataproc.GdcApplicationEnvironmentArgs{
ApplicationEnvironmentId: pulumi.String("dp-tf-e2e-application-environment-basic"),
Serviceinstance: pulumi.String("do-not-delete-dataproc-gdc-instance"),
Project: pulumi.String("my-project"),
Location: pulumi.String("us-west2"),
Namespace: pulumi.String("default"),
})
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 application_environment = new Gcp.Dataproc.GdcApplicationEnvironment("application-environment", new()
{
ApplicationEnvironmentId = "dp-tf-e2e-application-environment-basic",
Serviceinstance = "do-not-delete-dataproc-gdc-instance",
Project = "my-project",
Location = "us-west2",
Namespace = "default",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataproc.GdcApplicationEnvironment;
import com.pulumi.gcp.dataproc.GdcApplicationEnvironmentArgs;
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 application_environment = new GdcApplicationEnvironment("application-environment", GdcApplicationEnvironmentArgs.builder()
.applicationEnvironmentId("dp-tf-e2e-application-environment-basic")
.serviceinstance("do-not-delete-dataproc-gdc-instance")
.project("my-project")
.location("us-west2")
.namespace("default")
.build());
}
}
resources:
application-environment:
type: gcp:dataproc:GdcApplicationEnvironment
properties:
applicationEnvironmentId: dp-tf-e2e-application-environment-basic
serviceinstance: do-not-delete-dataproc-gdc-instance
project: my-project
location: us-west2
namespace: default
Dataprocgdc Applicationenvironment
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const application_environment = new gcp.dataproc.GdcApplicationEnvironment("application-environment", {
applicationEnvironmentId: "dp-tf-e2e-application-environment",
serviceinstance: "do-not-delete-dataproc-gdc-instance",
project: "my-project",
location: "us-west2",
namespace: "default",
displayName: "An application environment",
labels: {
"test-label": "label-value",
},
annotations: {
an_annotation: "annotation_value",
},
sparkApplicationEnvironmentConfig: {
defaultProperties: {
"spark.executor.memory": "4g",
},
defaultVersion: "1.2",
},
});
import pulumi
import pulumi_gcp as gcp
application_environment = gcp.dataproc.GdcApplicationEnvironment("application-environment",
application_environment_id="dp-tf-e2e-application-environment",
serviceinstance="do-not-delete-dataproc-gdc-instance",
project="my-project",
location="us-west2",
namespace="default",
display_name="An application environment",
labels={
"test-label": "label-value",
},
annotations={
"an_annotation": "annotation_value",
},
spark_application_environment_config={
"default_properties": {
"spark.executor.memory": "4g",
},
"default_version": "1.2",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataproc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dataproc.NewGdcApplicationEnvironment(ctx, "application-environment", &dataproc.GdcApplicationEnvironmentArgs{
ApplicationEnvironmentId: pulumi.String("dp-tf-e2e-application-environment"),
Serviceinstance: pulumi.String("do-not-delete-dataproc-gdc-instance"),
Project: pulumi.String("my-project"),
Location: pulumi.String("us-west2"),
Namespace: pulumi.String("default"),
DisplayName: pulumi.String("An application environment"),
Labels: pulumi.StringMap{
"test-label": pulumi.String("label-value"),
},
Annotations: pulumi.StringMap{
"an_annotation": pulumi.String("annotation_value"),
},
SparkApplicationEnvironmentConfig: &dataproc.GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs{
DefaultProperties: pulumi.StringMap{
"spark.executor.memory": pulumi.String("4g"),
},
DefaultVersion: pulumi.String("1.2"),
},
})
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 application_environment = new Gcp.Dataproc.GdcApplicationEnvironment("application-environment", new()
{
ApplicationEnvironmentId = "dp-tf-e2e-application-environment",
Serviceinstance = "do-not-delete-dataproc-gdc-instance",
Project = "my-project",
Location = "us-west2",
Namespace = "default",
DisplayName = "An application environment",
Labels =
{
{ "test-label", "label-value" },
},
Annotations =
{
{ "an_annotation", "annotation_value" },
},
SparkApplicationEnvironmentConfig = new Gcp.Dataproc.Inputs.GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs
{
DefaultProperties =
{
{ "spark.executor.memory", "4g" },
},
DefaultVersion = "1.2",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataproc.GdcApplicationEnvironment;
import com.pulumi.gcp.dataproc.GdcApplicationEnvironmentArgs;
import com.pulumi.gcp.dataproc.inputs.GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs;
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 application_environment = new GdcApplicationEnvironment("application-environment", GdcApplicationEnvironmentArgs.builder()
.applicationEnvironmentId("dp-tf-e2e-application-environment")
.serviceinstance("do-not-delete-dataproc-gdc-instance")
.project("my-project")
.location("us-west2")
.namespace("default")
.displayName("An application environment")
.labels(Map.of("test-label", "label-value"))
.annotations(Map.of("an_annotation", "annotation_value"))
.sparkApplicationEnvironmentConfig(GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs.builder()
.defaultProperties(Map.of("spark.executor.memory", "4g"))
.defaultVersion("1.2")
.build())
.build());
}
}
resources:
application-environment:
type: gcp:dataproc:GdcApplicationEnvironment
properties:
applicationEnvironmentId: dp-tf-e2e-application-environment
serviceinstance: do-not-delete-dataproc-gdc-instance
project: my-project
location: us-west2
namespace: default
displayName: An application environment
labels:
test-label: label-value
annotations:
an_annotation: annotation_value
sparkApplicationEnvironmentConfig:
defaultProperties:
spark.executor.memory: 4g
defaultVersion: '1.2'
Create GdcApplicationEnvironment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GdcApplicationEnvironment(name: string, args: GdcApplicationEnvironmentArgs, opts?: CustomResourceOptions);
@overload
def GdcApplicationEnvironment(resource_name: str,
args: GdcApplicationEnvironmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GdcApplicationEnvironment(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[str] = None,
serviceinstance: Optional[str] = None,
annotations: Optional[Mapping[str, str]] = None,
application_environment_id: Optional[str] = None,
display_name: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
namespace: Optional[str] = None,
project: Optional[str] = None,
spark_application_environment_config: Optional[GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs] = None)
func NewGdcApplicationEnvironment(ctx *Context, name string, args GdcApplicationEnvironmentArgs, opts ...ResourceOption) (*GdcApplicationEnvironment, error)
public GdcApplicationEnvironment(string name, GdcApplicationEnvironmentArgs args, CustomResourceOptions? opts = null)
public GdcApplicationEnvironment(String name, GdcApplicationEnvironmentArgs args)
public GdcApplicationEnvironment(String name, GdcApplicationEnvironmentArgs args, CustomResourceOptions options)
type: gcp:dataproc:GdcApplicationEnvironment
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 GdcApplicationEnvironmentArgs
- 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 GdcApplicationEnvironmentArgs
- 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 GdcApplicationEnvironmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GdcApplicationEnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GdcApplicationEnvironmentArgs
- 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 gdcApplicationEnvironmentResource = new Gcp.Dataproc.GdcApplicationEnvironment("gdcApplicationEnvironmentResource", new()
{
Location = "string",
Serviceinstance = "string",
Annotations =
{
{ "string", "string" },
},
ApplicationEnvironmentId = "string",
DisplayName = "string",
Labels =
{
{ "string", "string" },
},
Namespace = "string",
Project = "string",
SparkApplicationEnvironmentConfig = new Gcp.Dataproc.Inputs.GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs
{
DefaultProperties =
{
{ "string", "string" },
},
DefaultVersion = "string",
},
});
example, err := dataproc.NewGdcApplicationEnvironment(ctx, "gdcApplicationEnvironmentResource", &dataproc.GdcApplicationEnvironmentArgs{
Location: pulumi.String("string"),
Serviceinstance: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
ApplicationEnvironmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Namespace: pulumi.String("string"),
Project: pulumi.String("string"),
SparkApplicationEnvironmentConfig: &dataproc.GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs{
DefaultProperties: pulumi.StringMap{
"string": pulumi.String("string"),
},
DefaultVersion: pulumi.String("string"),
},
})
var gdcApplicationEnvironmentResource = new GdcApplicationEnvironment("gdcApplicationEnvironmentResource", GdcApplicationEnvironmentArgs.builder()
.location("string")
.serviceinstance("string")
.annotations(Map.of("string", "string"))
.applicationEnvironmentId("string")
.displayName("string")
.labels(Map.of("string", "string"))
.namespace("string")
.project("string")
.sparkApplicationEnvironmentConfig(GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs.builder()
.defaultProperties(Map.of("string", "string"))
.defaultVersion("string")
.build())
.build());
gdc_application_environment_resource = gcp.dataproc.GdcApplicationEnvironment("gdcApplicationEnvironmentResource",
location="string",
serviceinstance="string",
annotations={
"string": "string",
},
application_environment_id="string",
display_name="string",
labels={
"string": "string",
},
namespace="string",
project="string",
spark_application_environment_config={
"default_properties": {
"string": "string",
},
"default_version": "string",
})
const gdcApplicationEnvironmentResource = new gcp.dataproc.GdcApplicationEnvironment("gdcApplicationEnvironmentResource", {
location: "string",
serviceinstance: "string",
annotations: {
string: "string",
},
applicationEnvironmentId: "string",
displayName: "string",
labels: {
string: "string",
},
namespace: "string",
project: "string",
sparkApplicationEnvironmentConfig: {
defaultProperties: {
string: "string",
},
defaultVersion: "string",
},
});
type: gcp:dataproc:GdcApplicationEnvironment
properties:
annotations:
string: string
applicationEnvironmentId: string
displayName: string
labels:
string: string
location: string
namespace: string
project: string
serviceinstance: string
sparkApplicationEnvironmentConfig:
defaultProperties:
string: string
defaultVersion: string
GdcApplicationEnvironment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GdcApplicationEnvironment resource accepts the following input properties:
- Location string
- The location of the application environment
- Serviceinstance string
- The id of the service instance to which this application environment belongs.
- Annotations Dictionary<string, string>
- The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - Application
Environment stringId - The id of the application environment
- Display
Name string - User-provided human-readable name to be used in user interfaces.
- Labels Dictionary<string, string>
- The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - Namespace string
- The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Spark
Application GdcEnvironment Config Application Environment Spark Application Environment Config - Represents the SparkApplicationEnvironmentConfig. Structure is documented below.
- Location string
- The location of the application environment
- Serviceinstance string
- The id of the service instance to which this application environment belongs.
- Annotations map[string]string
- The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - Application
Environment stringId - The id of the application environment
- Display
Name string - User-provided human-readable name to be used in user interfaces.
- Labels map[string]string
- The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - Namespace string
- The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Spark
Application GdcEnvironment Config Application Environment Spark Application Environment Config Args - Represents the SparkApplicationEnvironmentConfig. Structure is documented below.
- location String
- The location of the application environment
- serviceinstance String
- The id of the service instance to which this application environment belongs.
- annotations Map<String,String>
- The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - application
Environment StringId - The id of the application environment
- display
Name String - User-provided human-readable name to be used in user interfaces.
- labels Map<String,String>
- The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - namespace String
- The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- spark
Application GdcEnvironment Config Application Environment Spark Application Environment Config - Represents the SparkApplicationEnvironmentConfig. Structure is documented below.
- location string
- The location of the application environment
- serviceinstance string
- The id of the service instance to which this application environment belongs.
- annotations {[key: string]: string}
- The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - application
Environment stringId - The id of the application environment
- display
Name string - User-provided human-readable name to be used in user interfaces.
- labels {[key: string]: string}
- The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - namespace string
- The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- spark
Application GdcEnvironment Config Application Environment Spark Application Environment Config - Represents the SparkApplicationEnvironmentConfig. Structure is documented below.
- location str
- The location of the application environment
- serviceinstance str
- The id of the service instance to which this application environment belongs.
- annotations Mapping[str, str]
- The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - application_
environment_ strid - The id of the application environment
- display_
name str - User-provided human-readable name to be used in user interfaces.
- labels Mapping[str, str]
- The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - namespace str
- The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- spark_
application_ Gdcenvironment_ config Application Environment Spark Application Environment Config Args - Represents the SparkApplicationEnvironmentConfig. Structure is documented below.
- location String
- The location of the application environment
- serviceinstance String
- The id of the service instance to which this application environment belongs.
- annotations Map<String>
- The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - application
Environment StringId - The id of the application environment
- display
Name String - User-provided human-readable name to be used in user interfaces.
- labels Map<String>
- The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - namespace String
- The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- spark
Application Property MapEnvironment Config - Represents the SparkApplicationEnvironmentConfig. Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the GdcApplicationEnvironment resource produces the following output properties:
- Create
Time string - The timestamp when the resource was created.
- Effective
Annotations Dictionary<string, string> - Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Uid string
- System generated unique identifier for this application environment, formatted as UUID4.
- Update
Time string - The timestamp when the resource was most recently updated.
- Create
Time string - The timestamp when the resource was created.
- Effective
Annotations map[string]string - Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Uid string
- System generated unique identifier for this application environment, formatted as UUID4.
- Update
Time string - The timestamp when the resource was most recently updated.
- create
Time String - The timestamp when the resource was created.
- effective
Annotations Map<String,String> - effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- uid String
- System generated unique identifier for this application environment, formatted as UUID4.
- update
Time String - The timestamp when the resource was most recently updated.
- create
Time string - The timestamp when the resource was created.
- effective
Annotations {[key: string]: string} - effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- uid string
- System generated unique identifier for this application environment, formatted as UUID4.
- update
Time string - The timestamp when the resource was most recently updated.
- create_
time str - The timestamp when the resource was created.
- effective_
annotations Mapping[str, str] - effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- uid str
- System generated unique identifier for this application environment, formatted as UUID4.
- update_
time str - The timestamp when the resource was most recently updated.
- create
Time String - The timestamp when the resource was created.
- effective
Annotations Map<String> - effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- uid String
- System generated unique identifier for this application environment, formatted as UUID4.
- update
Time String - The timestamp when the resource was most recently updated.
Look up Existing GdcApplicationEnvironment Resource
Get an existing GdcApplicationEnvironment 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?: GdcApplicationEnvironmentState, opts?: CustomResourceOptions): GdcApplicationEnvironment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
annotations: Optional[Mapping[str, str]] = None,
application_environment_id: Optional[str] = None,
create_time: Optional[str] = None,
display_name: Optional[str] = None,
effective_annotations: Optional[Mapping[str, str]] = None,
effective_labels: Optional[Mapping[str, str]] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
namespace: Optional[str] = None,
project: Optional[str] = None,
pulumi_labels: Optional[Mapping[str, str]] = None,
serviceinstance: Optional[str] = None,
spark_application_environment_config: Optional[GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs] = None,
uid: Optional[str] = None,
update_time: Optional[str] = None) -> GdcApplicationEnvironment
func GetGdcApplicationEnvironment(ctx *Context, name string, id IDInput, state *GdcApplicationEnvironmentState, opts ...ResourceOption) (*GdcApplicationEnvironment, error)
public static GdcApplicationEnvironment Get(string name, Input<string> id, GdcApplicationEnvironmentState? state, CustomResourceOptions? opts = null)
public static GdcApplicationEnvironment get(String name, Output<String> id, GdcApplicationEnvironmentState 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.
- Annotations Dictionary<string, string>
- The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - Application
Environment stringId - The id of the application environment
- Create
Time string - The timestamp when the resource was created.
- Display
Name string - User-provided human-readable name to be used in user interfaces.
- Effective
Annotations Dictionary<string, string> - Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Labels Dictionary<string, string>
- The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - Location string
- The location of the application environment
- Name string
- Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
- Namespace string
- The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Serviceinstance string
- The id of the service instance to which this application environment belongs.
- Spark
Application GdcEnvironment Config Application Environment Spark Application Environment Config - Represents the SparkApplicationEnvironmentConfig. Structure is documented below.
- Uid string
- System generated unique identifier for this application environment, formatted as UUID4.
- Update
Time string - The timestamp when the resource was most recently updated.
- Annotations map[string]string
- The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - Application
Environment stringId - The id of the application environment
- Create
Time string - The timestamp when the resource was created.
- Display
Name string - User-provided human-readable name to be used in user interfaces.
- Effective
Annotations map[string]string - Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Labels map[string]string
- The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - Location string
- The location of the application environment
- Name string
- Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
- Namespace string
- The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Serviceinstance string
- The id of the service instance to which this application environment belongs.
- Spark
Application GdcEnvironment Config Application Environment Spark Application Environment Config Args - Represents the SparkApplicationEnvironmentConfig. Structure is documented below.
- Uid string
- System generated unique identifier for this application environment, formatted as UUID4.
- Update
Time string - The timestamp when the resource was most recently updated.
- annotations Map<String,String>
- The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - application
Environment StringId - The id of the application environment
- create
Time String - The timestamp when the resource was created.
- display
Name String - User-provided human-readable name to be used in user interfaces.
- effective
Annotations Map<String,String> - effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- labels Map<String,String>
- The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - location String
- The location of the application environment
- name String
- Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
- namespace String
- The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- serviceinstance String
- The id of the service instance to which this application environment belongs.
- spark
Application GdcEnvironment Config Application Environment Spark Application Environment Config - Represents the SparkApplicationEnvironmentConfig. Structure is documented below.
- uid String
- System generated unique identifier for this application environment, formatted as UUID4.
- update
Time String - The timestamp when the resource was most recently updated.
- annotations {[key: string]: string}
- The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - application
Environment stringId - The id of the application environment
- create
Time string - The timestamp when the resource was created.
- display
Name string - User-provided human-readable name to be used in user interfaces.
- effective
Annotations {[key: string]: string} - effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- labels {[key: string]: string}
- The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - location string
- The location of the application environment
- name string
- Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
- namespace string
- The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- serviceinstance string
- The id of the service instance to which this application environment belongs.
- spark
Application GdcEnvironment Config Application Environment Spark Application Environment Config - Represents the SparkApplicationEnvironmentConfig. Structure is documented below.
- uid string
- System generated unique identifier for this application environment, formatted as UUID4.
- update
Time string - The timestamp when the resource was most recently updated.
- annotations Mapping[str, str]
- The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - application_
environment_ strid - The id of the application environment
- create_
time str - The timestamp when the resource was created.
- display_
name str - User-provided human-readable name to be used in user interfaces.
- effective_
annotations Mapping[str, str] - effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- labels Mapping[str, str]
- The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - location str
- The location of the application environment
- name str
- Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
- namespace str
- The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- serviceinstance str
- The id of the service instance to which this application environment belongs.
- spark_
application_ Gdcenvironment_ config Application Environment Spark Application Environment Config Args - Represents the SparkApplicationEnvironmentConfig. Structure is documented below.
- uid str
- System generated unique identifier for this application environment, formatted as UUID4.
- update_
time str - The timestamp when the resource was most recently updated.
- annotations Map<String>
- The annotations to associate with this application environment. Annotations may be used to store client information, but are not used by the server.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - application
Environment StringId - The id of the application environment
- create
Time String - The timestamp when the resource was created.
- display
Name String - User-provided human-readable name to be used in user interfaces.
- effective
Annotations Map<String> - effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- labels Map<String>
- The labels to associate with this application environment. Labels may be used for filtering and billing tracking.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - location String
- The location of the application environment
- name String
- Identifier. The name of the application environment. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/applicationEnvironments/{application_environment_id}
- namespace String
- The name of the namespace in which to create this ApplicationEnvironment. This namespace must already exist in the cluster
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- serviceinstance String
- The id of the service instance to which this application environment belongs.
- spark
Application Property MapEnvironment Config - Represents the SparkApplicationEnvironmentConfig. Structure is documented below.
- uid String
- System generated unique identifier for this application environment, formatted as UUID4.
- update
Time String - The timestamp when the resource was most recently updated.
Supporting Types
GdcApplicationEnvironmentSparkApplicationEnvironmentConfig, GdcApplicationEnvironmentSparkApplicationEnvironmentConfigArgs
- Default
Properties Dictionary<string, string> - A map of default Spark properties to apply to workloads in this application environment. These defaults may be overridden by per-application properties.
- Default
Version string - The default Dataproc version to use for applications submitted to this application environment
- Default
Properties map[string]string - A map of default Spark properties to apply to workloads in this application environment. These defaults may be overridden by per-application properties.
- Default
Version string - The default Dataproc version to use for applications submitted to this application environment
- default
Properties Map<String,String> - A map of default Spark properties to apply to workloads in this application environment. These defaults may be overridden by per-application properties.
- default
Version String - The default Dataproc version to use for applications submitted to this application environment
- default
Properties {[key: string]: string} - A map of default Spark properties to apply to workloads in this application environment. These defaults may be overridden by per-application properties.
- default
Version string - The default Dataproc version to use for applications submitted to this application environment
- default_
properties Mapping[str, str] - A map of default Spark properties to apply to workloads in this application environment. These defaults may be overridden by per-application properties.
- default_
version str - The default Dataproc version to use for applications submitted to this application environment
- default
Properties Map<String> - A map of default Spark properties to apply to workloads in this application environment. These defaults may be overridden by per-application properties.
- default
Version String - The default Dataproc version to use for applications submitted to this application environment
Import
ApplicationEnvironment can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/serviceInstances/{{serviceinstance}}/applicationEnvironments/{{application_environment_id}}
{{project}}/{{location}}/{{serviceinstance}}/{{application_environment_id}}
{{location}}/{{serviceinstance}}/{{application_environment_id}}
When using the pulumi import
command, ApplicationEnvironment can be imported using one of the formats above. For example:
$ pulumi import gcp:dataproc/gdcApplicationEnvironment:GdcApplicationEnvironment default projects/{{project}}/locations/{{location}}/serviceInstances/{{serviceinstance}}/applicationEnvironments/{{application_environment_id}}
$ pulumi import gcp:dataproc/gdcApplicationEnvironment:GdcApplicationEnvironment default {{project}}/{{location}}/{{serviceinstance}}/{{application_environment_id}}
$ pulumi import gcp:dataproc/gdcApplicationEnvironment:GdcApplicationEnvironment default {{location}}/{{serviceinstance}}/{{application_environment_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.