gcp.dataproc.GdcServiceInstance
Explore with Pulumi AI
A service instance is an instance of the Dataproc operator running on a GDC cluster.
To get more information about ServiceInstance, see:
- API documentation
- How-to Guides
Example Usage
Dataprocgdc Serviceinstance
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const service_instance = new gcp.dataproc.GdcServiceInstance("service-instance", {
serviceInstanceId: "tf-e2e-service-instance",
project: "my-project",
location: "us-west2",
gdceCluster: {
gdceCluster: "projects/gdce-cluster-monitoring/locations/us-west2/clusters/gdce-prism-prober-ord106",
},
displayName: "A service instance",
labels: {
"test-label": "label-value",
},
serviceAccount: "dataprocgdc-cep-workflows@gdce-cluster-monitoring.iam.gserviceaccount.com",
});
import pulumi
import pulumi_gcp as gcp
service_instance = gcp.dataproc.GdcServiceInstance("service-instance",
service_instance_id="tf-e2e-service-instance",
project="my-project",
location="us-west2",
gdce_cluster={
"gdce_cluster": "projects/gdce-cluster-monitoring/locations/us-west2/clusters/gdce-prism-prober-ord106",
},
display_name="A service instance",
labels={
"test-label": "label-value",
},
service_account="dataprocgdc-cep-workflows@gdce-cluster-monitoring.iam.gserviceaccount.com")
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.NewGdcServiceInstance(ctx, "service-instance", &dataproc.GdcServiceInstanceArgs{
ServiceInstanceId: pulumi.String("tf-e2e-service-instance"),
Project: pulumi.String("my-project"),
Location: pulumi.String("us-west2"),
GdceCluster: &dataproc.GdcServiceInstanceGdceClusterArgs{
GdceCluster: pulumi.String("projects/gdce-cluster-monitoring/locations/us-west2/clusters/gdce-prism-prober-ord106"),
},
DisplayName: pulumi.String("A service instance"),
Labels: pulumi.StringMap{
"test-label": pulumi.String("label-value"),
},
ServiceAccount: pulumi.String("dataprocgdc-cep-workflows@gdce-cluster-monitoring.iam.gserviceaccount.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 service_instance = new Gcp.Dataproc.GdcServiceInstance("service-instance", new()
{
ServiceInstanceId = "tf-e2e-service-instance",
Project = "my-project",
Location = "us-west2",
GdceCluster = new Gcp.Dataproc.Inputs.GdcServiceInstanceGdceClusterArgs
{
GdceCluster = "projects/gdce-cluster-monitoring/locations/us-west2/clusters/gdce-prism-prober-ord106",
},
DisplayName = "A service instance",
Labels =
{
{ "test-label", "label-value" },
},
ServiceAccount = "dataprocgdc-cep-workflows@gdce-cluster-monitoring.iam.gserviceaccount.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataproc.GdcServiceInstance;
import com.pulumi.gcp.dataproc.GdcServiceInstanceArgs;
import com.pulumi.gcp.dataproc.inputs.GdcServiceInstanceGdceClusterArgs;
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 service_instance = new GdcServiceInstance("service-instance", GdcServiceInstanceArgs.builder()
.serviceInstanceId("tf-e2e-service-instance")
.project("my-project")
.location("us-west2")
.gdceCluster(GdcServiceInstanceGdceClusterArgs.builder()
.gdceCluster("projects/gdce-cluster-monitoring/locations/us-west2/clusters/gdce-prism-prober-ord106")
.build())
.displayName("A service instance")
.labels(Map.of("test-label", "label-value"))
.serviceAccount("dataprocgdc-cep-workflows@gdce-cluster-monitoring.iam.gserviceaccount.com")
.build());
}
}
resources:
service-instance:
type: gcp:dataproc:GdcServiceInstance
properties:
serviceInstanceId: tf-e2e-service-instance
project: my-project
location: us-west2
gdceCluster:
gdceCluster: projects/gdce-cluster-monitoring/locations/us-west2/clusters/gdce-prism-prober-ord106
displayName: A service instance
labels:
test-label: label-value
serviceAccount: dataprocgdc-cep-workflows@gdce-cluster-monitoring.iam.gserviceaccount.com
Create GdcServiceInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GdcServiceInstance(name: string, args: GdcServiceInstanceArgs, opts?: CustomResourceOptions);
@overload
def GdcServiceInstance(resource_name: str,
args: GdcServiceInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GdcServiceInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[str] = None,
service_instance_id: Optional[str] = None,
display_name: Optional[str] = None,
gdce_cluster: Optional[GdcServiceInstanceGdceClusterArgs] = None,
labels: Optional[Mapping[str, str]] = None,
project: Optional[str] = None,
service_account: Optional[str] = None,
spark_service_instance_config: Optional[GdcServiceInstanceSparkServiceInstanceConfigArgs] = None)
func NewGdcServiceInstance(ctx *Context, name string, args GdcServiceInstanceArgs, opts ...ResourceOption) (*GdcServiceInstance, error)
public GdcServiceInstance(string name, GdcServiceInstanceArgs args, CustomResourceOptions? opts = null)
public GdcServiceInstance(String name, GdcServiceInstanceArgs args)
public GdcServiceInstance(String name, GdcServiceInstanceArgs args, CustomResourceOptions options)
type: gcp:dataproc:GdcServiceInstance
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 GdcServiceInstanceArgs
- 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 GdcServiceInstanceArgs
- 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 GdcServiceInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GdcServiceInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GdcServiceInstanceArgs
- 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 gdcServiceInstanceResource = new Gcp.Dataproc.GdcServiceInstance("gdcServiceInstanceResource", new()
{
Location = "string",
ServiceInstanceId = "string",
DisplayName = "string",
GdceCluster = new Gcp.Dataproc.Inputs.GdcServiceInstanceGdceClusterArgs
{
GdceCluster = "string",
},
Labels =
{
{ "string", "string" },
},
Project = "string",
ServiceAccount = "string",
SparkServiceInstanceConfig = null,
});
example, err := dataproc.NewGdcServiceInstance(ctx, "gdcServiceInstanceResource", &dataproc.GdcServiceInstanceArgs{
Location: pulumi.String("string"),
ServiceInstanceId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
GdceCluster: &dataproc.GdcServiceInstanceGdceClusterArgs{
GdceCluster: pulumi.String("string"),
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Project: pulumi.String("string"),
ServiceAccount: pulumi.String("string"),
SparkServiceInstanceConfig: &dataproc.GdcServiceInstanceSparkServiceInstanceConfigArgs{},
})
var gdcServiceInstanceResource = new GdcServiceInstance("gdcServiceInstanceResource", GdcServiceInstanceArgs.builder()
.location("string")
.serviceInstanceId("string")
.displayName("string")
.gdceCluster(GdcServiceInstanceGdceClusterArgs.builder()
.gdceCluster("string")
.build())
.labels(Map.of("string", "string"))
.project("string")
.serviceAccount("string")
.sparkServiceInstanceConfig()
.build());
gdc_service_instance_resource = gcp.dataproc.GdcServiceInstance("gdcServiceInstanceResource",
location="string",
service_instance_id="string",
display_name="string",
gdce_cluster={
"gdce_cluster": "string",
},
labels={
"string": "string",
},
project="string",
service_account="string",
spark_service_instance_config={})
const gdcServiceInstanceResource = new gcp.dataproc.GdcServiceInstance("gdcServiceInstanceResource", {
location: "string",
serviceInstanceId: "string",
displayName: "string",
gdceCluster: {
gdceCluster: "string",
},
labels: {
string: "string",
},
project: "string",
serviceAccount: "string",
sparkServiceInstanceConfig: {},
});
type: gcp:dataproc:GdcServiceInstance
properties:
displayName: string
gdceCluster:
gdceCluster: string
labels:
string: string
location: string
project: string
serviceAccount: string
serviceInstanceId: string
sparkServiceInstanceConfig: {}
GdcServiceInstance 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 GdcServiceInstance resource accepts the following input properties:
- Location string
- Location of the resource.
- Service
Instance stringId - Id of the service instance.
- Display
Name string - User-provided human-readable name to be used in user interfaces.
- Gdce
Cluster GdcService Instance Gdce Cluster - Gdce cluster information. Structure is documented below.
- Labels Dictionary<string, string>
- The labels to associate with this service instance. 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. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Service
Account string - Requested service account to associate with ServiceInstance.
- Spark
Service GdcInstance Config Service Instance Spark Service Instance Config - Spark-specific service instance configuration.
- Location string
- Location of the resource.
- Service
Instance stringId - Id of the service instance.
- Display
Name string - User-provided human-readable name to be used in user interfaces.
- Gdce
Cluster GdcService Instance Gdce Cluster Args - Gdce cluster information. Structure is documented below.
- Labels map[string]string
- The labels to associate with this service instance. 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. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Service
Account string - Requested service account to associate with ServiceInstance.
- Spark
Service GdcInstance Config Service Instance Spark Service Instance Config Args - Spark-specific service instance configuration.
- location String
- Location of the resource.
- service
Instance StringId - Id of the service instance.
- display
Name String - User-provided human-readable name to be used in user interfaces.
- gdce
Cluster GdcService Instance Gdce Cluster - Gdce cluster information. Structure is documented below.
- labels Map<String,String>
- The labels to associate with this service instance. 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. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- service
Account String - Requested service account to associate with ServiceInstance.
- spark
Service GdcInstance Config Service Instance Spark Service Instance Config - Spark-specific service instance configuration.
- location string
- Location of the resource.
- service
Instance stringId - Id of the service instance.
- display
Name string - User-provided human-readable name to be used in user interfaces.
- gdce
Cluster GdcService Instance Gdce Cluster - Gdce cluster information. Structure is documented below.
- labels {[key: string]: string}
- The labels to associate with this service instance. 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. - project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- service
Account string - Requested service account to associate with ServiceInstance.
- spark
Service GdcInstance Config Service Instance Spark Service Instance Config - Spark-specific service instance configuration.
- location str
- Location of the resource.
- service_
instance_ strid - Id of the service instance.
- display_
name str - User-provided human-readable name to be used in user interfaces.
- gdce_
cluster GdcService Instance Gdce Cluster Args - Gdce cluster information. Structure is documented below.
- labels Mapping[str, str]
- The labels to associate with this service instance. 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. - project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- service_
account str - Requested service account to associate with ServiceInstance.
- spark_
service_ Gdcinstance_ config Service Instance Spark Service Instance Config Args - Spark-specific service instance configuration.
- location String
- Location of the resource.
- service
Instance StringId - Id of the service instance.
- display
Name String - User-provided human-readable name to be used in user interfaces.
- gdce
Cluster Property Map - Gdce cluster information. Structure is documented below.
- labels Map<String>
- The labels to associate with this service instance. 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. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- service
Account String - Requested service account to associate with ServiceInstance.
- spark
Service Property MapInstance Config - Spark-specific service instance configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the GdcServiceInstance resource produces the following output properties:
- Create
Time string - The timestamp when the resource was created.
- 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.
- Effective
Service stringAccount - Effective service account associated with ServiceInstance. This will be the service_account if specified. Otherwise, it will be an automatically created per-resource P4SA that also automatically has Fleet Workload. Identity bindings applied.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The name of the service instance.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Reconciling bool
- Whether the service instance is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
- Requested
State string - The intended state to which the service instance is reconciling. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- State string
- The current state. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- State
Message string - A message explaining the current state.
- Uid string
- System generated unique identifier for this service instance, 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
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.
- Effective
Service stringAccount - Effective service account associated with ServiceInstance. This will be the service_account if specified. Otherwise, it will be an automatically created per-resource P4SA that also automatically has Fleet Workload. Identity bindings applied.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The name of the service instance.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Reconciling bool
- Whether the service instance is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
- Requested
State string - The intended state to which the service instance is reconciling. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- State string
- The current state. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- State
Message string - A message explaining the current state.
- Uid string
- System generated unique identifier for this service instance, 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
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.
- effective
Service StringAccount - Effective service account associated with ServiceInstance. This will be the service_account if specified. Otherwise, it will be an automatically created per-resource P4SA that also automatically has Fleet Workload. Identity bindings applied.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The name of the service instance.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling Boolean
- Whether the service instance is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
- requested
State String - The intended state to which the service instance is reconciling. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- state String
- The current state. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- state
Message String - A message explaining the current state.
- uid String
- System generated unique identifier for this service instance, 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
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.
- effective
Service stringAccount - Effective service account associated with ServiceInstance. This will be the service_account if specified. Otherwise, it will be an automatically created per-resource P4SA that also automatically has Fleet Workload. Identity bindings applied.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Identifier. The name of the service instance.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling boolean
- Whether the service instance is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
- requested
State string - The intended state to which the service instance is reconciling. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- state string
- The current state. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- state
Message string - A message explaining the current state.
- uid string
- System generated unique identifier for this service instance, 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_
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.
- effective_
service_ straccount - Effective service account associated with ServiceInstance. This will be the service_account if specified. Otherwise, it will be an automatically created per-resource P4SA that also automatically has Fleet Workload. Identity bindings applied.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Identifier. The name of the service instance.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling bool
- Whether the service instance is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
- requested_
state str - The intended state to which the service instance is reconciling. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- state str
- The current state. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- state_
message str - A message explaining the current state.
- uid str
- System generated unique identifier for this service instance, 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
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.
- effective
Service StringAccount - Effective service account associated with ServiceInstance. This will be the service_account if specified. Otherwise, it will be an automatically created per-resource P4SA that also automatically has Fleet Workload. Identity bindings applied.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The name of the service instance.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling Boolean
- Whether the service instance is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
- requested
State String - The intended state to which the service instance is reconciling. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- state String
- The current state. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- state
Message String - A message explaining the current state.
- uid String
- System generated unique identifier for this service instance, formatted as UUID4.
- update
Time String - The timestamp when the resource was most recently updated.
Look up Existing GdcServiceInstance Resource
Get an existing GdcServiceInstance 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?: GdcServiceInstanceState, opts?: CustomResourceOptions): GdcServiceInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
display_name: Optional[str] = None,
effective_labels: Optional[Mapping[str, str]] = None,
effective_service_account: Optional[str] = None,
gdce_cluster: Optional[GdcServiceInstanceGdceClusterArgs] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
pulumi_labels: Optional[Mapping[str, str]] = None,
reconciling: Optional[bool] = None,
requested_state: Optional[str] = None,
service_account: Optional[str] = None,
service_instance_id: Optional[str] = None,
spark_service_instance_config: Optional[GdcServiceInstanceSparkServiceInstanceConfigArgs] = None,
state: Optional[str] = None,
state_message: Optional[str] = None,
uid: Optional[str] = None,
update_time: Optional[str] = None) -> GdcServiceInstance
func GetGdcServiceInstance(ctx *Context, name string, id IDInput, state *GdcServiceInstanceState, opts ...ResourceOption) (*GdcServiceInstance, error)
public static GdcServiceInstance Get(string name, Input<string> id, GdcServiceInstanceState? state, CustomResourceOptions? opts = null)
public static GdcServiceInstance get(String name, Output<String> id, GdcServiceInstanceState 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.
- 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
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.
- Effective
Service stringAccount - Effective service account associated with ServiceInstance. This will be the service_account if specified. Otherwise, it will be an automatically created per-resource P4SA that also automatically has Fleet Workload. Identity bindings applied.
- Gdce
Cluster GdcService Instance Gdce Cluster - Gdce cluster information. Structure is documented below.
- Labels Dictionary<string, string>
- The labels to associate with this service instance. 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
- Location of the resource.
- Name string
- Identifier. The name of the service instance.
- 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.
- Reconciling bool
- Whether the service instance is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
- Requested
State string - The intended state to which the service instance is reconciling. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- Service
Account string - Requested service account to associate with ServiceInstance.
- Service
Instance stringId - Id of the service instance.
- Spark
Service GdcInstance Config Service Instance Spark Service Instance Config - Spark-specific service instance configuration.
- State string
- The current state. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- State
Message string - A message explaining the current state.
- Uid string
- System generated unique identifier for this service instance, 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.
- Display
Name string - User-provided human-readable name to be used in user interfaces.
- 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.
- Effective
Service stringAccount - Effective service account associated with ServiceInstance. This will be the service_account if specified. Otherwise, it will be an automatically created per-resource P4SA that also automatically has Fleet Workload. Identity bindings applied.
- Gdce
Cluster GdcService Instance Gdce Cluster Args - Gdce cluster information. Structure is documented below.
- Labels map[string]string
- The labels to associate with this service instance. 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
- Location of the resource.
- Name string
- Identifier. The name of the service instance.
- 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.
- Reconciling bool
- Whether the service instance is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
- Requested
State string - The intended state to which the service instance is reconciling. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- Service
Account string - Requested service account to associate with ServiceInstance.
- Service
Instance stringId - Id of the service instance.
- Spark
Service GdcInstance Config Service Instance Spark Service Instance Config Args - Spark-specific service instance configuration.
- State string
- The current state. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- State
Message string - A message explaining the current state.
- Uid string
- System generated unique identifier for this service instance, 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.
- display
Name String - User-provided human-readable name to be used in user interfaces.
- 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.
- effective
Service StringAccount - Effective service account associated with ServiceInstance. This will be the service_account if specified. Otherwise, it will be an automatically created per-resource P4SA that also automatically has Fleet Workload. Identity bindings applied.
- gdce
Cluster GdcService Instance Gdce Cluster - Gdce cluster information. Structure is documented below.
- labels Map<String,String>
- The labels to associate with this service instance. 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
- Location of the resource.
- name String
- Identifier. The name of the service instance.
- 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.
- reconciling Boolean
- Whether the service instance is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
- requested
State String - The intended state to which the service instance is reconciling. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- service
Account String - Requested service account to associate with ServiceInstance.
- service
Instance StringId - Id of the service instance.
- spark
Service GdcInstance Config Service Instance Spark Service Instance Config - Spark-specific service instance configuration.
- state String
- The current state. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- state
Message String - A message explaining the current state.
- uid String
- System generated unique identifier for this service instance, 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.
- display
Name string - User-provided human-readable name to be used in user interfaces.
- 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.
- effective
Service stringAccount - Effective service account associated with ServiceInstance. This will be the service_account if specified. Otherwise, it will be an automatically created per-resource P4SA that also automatically has Fleet Workload. Identity bindings applied.
- gdce
Cluster GdcService Instance Gdce Cluster - Gdce cluster information. Structure is documented below.
- labels {[key: string]: string}
- The labels to associate with this service instance. 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
- Location of the resource.
- name string
- Identifier. The name of the service instance.
- 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.
- reconciling boolean
- Whether the service instance is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
- requested
State string - The intended state to which the service instance is reconciling. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- service
Account string - Requested service account to associate with ServiceInstance.
- service
Instance stringId - Id of the service instance.
- spark
Service GdcInstance Config Service Instance Spark Service Instance Config - Spark-specific service instance configuration.
- state string
- The current state. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- state
Message string - A message explaining the current state.
- uid string
- System generated unique identifier for this service instance, 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.
- display_
name str - User-provided human-readable name to be used in user interfaces.
- 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.
- effective_
service_ straccount - Effective service account associated with ServiceInstance. This will be the service_account if specified. Otherwise, it will be an automatically created per-resource P4SA that also automatically has Fleet Workload. Identity bindings applied.
- gdce_
cluster GdcService Instance Gdce Cluster Args - Gdce cluster information. Structure is documented below.
- labels Mapping[str, str]
- The labels to associate with this service instance. 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
- Location of the resource.
- name str
- Identifier. The name of the service instance.
- 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.
- reconciling bool
- Whether the service instance is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
- requested_
state str - The intended state to which the service instance is reconciling. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- service_
account str - Requested service account to associate with ServiceInstance.
- service_
instance_ strid - Id of the service instance.
- spark_
service_ Gdcinstance_ config Service Instance Spark Service Instance Config Args - Spark-specific service instance configuration.
- state str
- The current state. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- state_
message str - A message explaining the current state.
- uid str
- System generated unique identifier for this service instance, 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.
- display
Name String - User-provided human-readable name to be used in user interfaces.
- 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.
- effective
Service StringAccount - Effective service account associated with ServiceInstance. This will be the service_account if specified. Otherwise, it will be an automatically created per-resource P4SA that also automatically has Fleet Workload. Identity bindings applied.
- gdce
Cluster Property Map - Gdce cluster information. Structure is documented below.
- labels Map<String>
- The labels to associate with this service instance. 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
- Location of the resource.
- name String
- Identifier. The name of the service instance.
- 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.
- reconciling Boolean
- Whether the service instance is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
- requested
State String - The intended state to which the service instance is reconciling. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- service
Account String - Requested service account to associate with ServiceInstance.
- service
Instance StringId - Id of the service instance.
- spark
Service Property MapInstance Config - Spark-specific service instance configuration.
- state String
- The current state. Possible values:
CREATING
ACTIVE
DISCONNECTED
DELETING
STOPPING
STOPPED
STARTING
UPDATING
FAILED
- state
Message String - A message explaining the current state.
- uid String
- System generated unique identifier for this service instance, formatted as UUID4.
- update
Time String - The timestamp when the resource was most recently updated.
Supporting Types
GdcServiceInstanceGdceCluster, GdcServiceInstanceGdceClusterArgs
- Gdce
Cluster string - Gdce cluster resource id.
- Gdce
Cluster string - Gdce cluster resource id.
- gdce
Cluster String - Gdce cluster resource id.
- gdce
Cluster string - Gdce cluster resource id.
- gdce_
cluster str - Gdce cluster resource id.
- gdce
Cluster String - Gdce cluster resource id.
Import
ServiceInstance can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/serviceInstances/{{service_instance_id}}
{{project}}/{{location}}/{{service_instance_id}}
{{location}}/{{service_instance_id}}
When using the pulumi import
command, ServiceInstance can be imported using one of the formats above. For example:
$ pulumi import gcp:dataproc/gdcServiceInstance:GdcServiceInstance default projects/{{project}}/locations/{{location}}/serviceInstances/{{service_instance_id}}
$ pulumi import gcp:dataproc/gdcServiceInstance:GdcServiceInstance default {{project}}/{{location}}/{{service_instance_id}}
$ pulumi import gcp:dataproc/gdcServiceInstance:GdcServiceInstance default {{location}}/{{service_instance_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.