datarobot.GoogleCloudCredential
Explore with Pulumi AI
Api Token Credential
Create GoogleCloudCredential Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GoogleCloudCredential(name: string, args?: GoogleCloudCredentialArgs, opts?: CustomResourceOptions);
@overload
def GoogleCloudCredential(resource_name: str,
args: Optional[GoogleCloudCredentialArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def GoogleCloudCredential(resource_name: str,
opts: Optional[ResourceOptions] = None,
gcp_key: Optional[str] = None,
gcp_key_file: Optional[str] = None,
name: Optional[str] = None)
func NewGoogleCloudCredential(ctx *Context, name string, args *GoogleCloudCredentialArgs, opts ...ResourceOption) (*GoogleCloudCredential, error)
public GoogleCloudCredential(string name, GoogleCloudCredentialArgs? args = null, CustomResourceOptions? opts = null)
public GoogleCloudCredential(String name, GoogleCloudCredentialArgs args)
public GoogleCloudCredential(String name, GoogleCloudCredentialArgs args, CustomResourceOptions options)
type: datarobot:GoogleCloudCredential
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 GoogleCloudCredentialArgs
- 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 GoogleCloudCredentialArgs
- 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 GoogleCloudCredentialArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GoogleCloudCredentialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GoogleCloudCredentialArgs
- 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 googleCloudCredentialResource = new Datarobot.GoogleCloudCredential("googleCloudCredentialResource", new()
{
GcpKey = "string",
GcpKeyFile = "string",
Name = "string",
});
example, err := datarobot.NewGoogleCloudCredential(ctx, "googleCloudCredentialResource", &datarobot.GoogleCloudCredentialArgs{
GcpKey: pulumi.String("string"),
GcpKeyFile: pulumi.String("string"),
Name: pulumi.String("string"),
})
var googleCloudCredentialResource = new GoogleCloudCredential("googleCloudCredentialResource", GoogleCloudCredentialArgs.builder()
.gcpKey("string")
.gcpKeyFile("string")
.name("string")
.build());
google_cloud_credential_resource = datarobot.GoogleCloudCredential("googleCloudCredentialResource",
gcp_key="string",
gcp_key_file="string",
name="string")
const googleCloudCredentialResource = new datarobot.GoogleCloudCredential("googleCloudCredentialResource", {
gcpKey: "string",
gcpKeyFile: "string",
name: "string",
});
type: datarobot:GoogleCloudCredential
properties:
gcpKey: string
gcpKeyFile: string
name: string
GoogleCloudCredential 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 GoogleCloudCredential resource accepts the following input properties:
- Gcp
Key string - The GCP key in JSON format.
- Gcp
Key stringFile - The file that has the GCP key. Cannot be used with
gcp_key
. - Name string
- The name of the Google Cloud Credential.
- Gcp
Key string - The GCP key in JSON format.
- Gcp
Key stringFile - The file that has the GCP key. Cannot be used with
gcp_key
. - Name string
- The name of the Google Cloud Credential.
- gcp
Key String - The GCP key in JSON format.
- gcp
Key StringFile - The file that has the GCP key. Cannot be used with
gcp_key
. - name String
- The name of the Google Cloud Credential.
- gcp
Key string - The GCP key in JSON format.
- gcp
Key stringFile - The file that has the GCP key. Cannot be used with
gcp_key
. - name string
- The name of the Google Cloud Credential.
- gcp_
key str - The GCP key in JSON format.
- gcp_
key_ strfile - The file that has the GCP key. Cannot be used with
gcp_key
. - name str
- The name of the Google Cloud Credential.
- gcp
Key String - The GCP key in JSON format.
- gcp
Key StringFile - The file that has the GCP key. Cannot be used with
gcp_key
. - name String
- The name of the Google Cloud Credential.
Outputs
All input properties are implicitly available as output properties. Additionally, the GoogleCloudCredential resource produces the following output properties:
- Gcp
Key stringFile Hash - The hash of the GCP key file contents.
- Id string
- The provider-assigned unique ID for this managed resource.
- Gcp
Key stringFile Hash - The hash of the GCP key file contents.
- Id string
- The provider-assigned unique ID for this managed resource.
- gcp
Key StringFile Hash - The hash of the GCP key file contents.
- id String
- The provider-assigned unique ID for this managed resource.
- gcp
Key stringFile Hash - The hash of the GCP key file contents.
- id string
- The provider-assigned unique ID for this managed resource.
- gcp_
key_ strfile_ hash - The hash of the GCP key file contents.
- id str
- The provider-assigned unique ID for this managed resource.
- gcp
Key StringFile Hash - The hash of the GCP key file contents.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing GoogleCloudCredential Resource
Get an existing GoogleCloudCredential 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?: GoogleCloudCredentialState, opts?: CustomResourceOptions): GoogleCloudCredential
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
gcp_key: Optional[str] = None,
gcp_key_file: Optional[str] = None,
gcp_key_file_hash: Optional[str] = None,
name: Optional[str] = None) -> GoogleCloudCredential
func GetGoogleCloudCredential(ctx *Context, name string, id IDInput, state *GoogleCloudCredentialState, opts ...ResourceOption) (*GoogleCloudCredential, error)
public static GoogleCloudCredential Get(string name, Input<string> id, GoogleCloudCredentialState? state, CustomResourceOptions? opts = null)
public static GoogleCloudCredential get(String name, Output<String> id, GoogleCloudCredentialState 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.
- Gcp
Key string - The GCP key in JSON format.
- Gcp
Key stringFile - The file that has the GCP key. Cannot be used with
gcp_key
. - Gcp
Key stringFile Hash - The hash of the GCP key file contents.
- Name string
- The name of the Google Cloud Credential.
- Gcp
Key string - The GCP key in JSON format.
- Gcp
Key stringFile - The file that has the GCP key. Cannot be used with
gcp_key
. - Gcp
Key stringFile Hash - The hash of the GCP key file contents.
- Name string
- The name of the Google Cloud Credential.
- gcp
Key String - The GCP key in JSON format.
- gcp
Key StringFile - The file that has the GCP key. Cannot be used with
gcp_key
. - gcp
Key StringFile Hash - The hash of the GCP key file contents.
- name String
- The name of the Google Cloud Credential.
- gcp
Key string - The GCP key in JSON format.
- gcp
Key stringFile - The file that has the GCP key. Cannot be used with
gcp_key
. - gcp
Key stringFile Hash - The hash of the GCP key file contents.
- name string
- The name of the Google Cloud Credential.
- gcp_
key str - The GCP key in JSON format.
- gcp_
key_ strfile - The file that has the GCP key. Cannot be used with
gcp_key
. - gcp_
key_ strfile_ hash - The hash of the GCP key file contents.
- name str
- The name of the Google Cloud Credential.
- gcp
Key String - The GCP key in JSON format.
- gcp
Key StringFile - The file that has the GCP key. Cannot be used with
gcp_key
. - gcp
Key StringFile Hash - The hash of the GCP key file contents.
- name String
- The name of the Google Cloud Credential.
Package Details
- Repository
- datarobot datarobot-community/pulumi-datarobot
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datarobot
Terraform Provider.