This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance. Auto-naming is currently not supported for this resource.
Create SfdcInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SfdcInstance(name: string, args: SfdcInstanceArgs, opts?: CustomResourceOptions);@overload
def SfdcInstance(resource_name: str,
args: SfdcInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SfdcInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
product_id: Optional[str] = None,
auth_config_id: Optional[Sequence[str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
service_authority: Optional[str] = None,
sfdc_org_id: Optional[str] = None)func NewSfdcInstance(ctx *Context, name string, args SfdcInstanceArgs, opts ...ResourceOption) (*SfdcInstance, error)public SfdcInstance(string name, SfdcInstanceArgs args, CustomResourceOptions? opts = null)
public SfdcInstance(String name, SfdcInstanceArgs args)
public SfdcInstance(String name, SfdcInstanceArgs args, CustomResourceOptions options)
type: google-native:integrations/v1alpha:SfdcInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_integrations_v1alpha_sfdc_instance" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SfdcInstanceArgs
- 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 SfdcInstanceArgs
- 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 SfdcInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SfdcInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SfdcInstanceArgs
- 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 sfdcInstanceResource = new GoogleNative.Integrations.V1Alpha.SfdcInstance("sfdcInstanceResource", new()
{
ProductId = "string",
AuthConfigId = new[]
{
"string",
},
Description = "string",
DisplayName = "string",
Location = "string",
Name = "string",
Project = "string",
ServiceAuthority = "string",
SfdcOrgId = "string",
});
example, err := integrations.NewSfdcInstance(ctx, "sfdcInstanceResource", &integrations.SfdcInstanceArgs{
ProductId: pulumi.String("string"),
AuthConfigId: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
ServiceAuthority: pulumi.String("string"),
SfdcOrgId: pulumi.String("string"),
})
resource "google-native_integrations_v1alpha_sfdc_instance" "sfdcInstanceResource" {
lifecycle {
create_before_destroy = true
}
product_id = "string"
auth_config_id = ["string"]
description = "string"
display_name = "string"
location = "string"
name = "string"
project = "string"
service_authority = "string"
sfdc_org_id = "string"
}
var sfdcInstanceResource = new SfdcInstance("sfdcInstanceResource", SfdcInstanceArgs.builder()
.productId("string")
.authConfigId("string")
.description("string")
.displayName("string")
.location("string")
.name("string")
.project("string")
.serviceAuthority("string")
.sfdcOrgId("string")
.build());
sfdc_instance_resource = google_native.integrations.v1alpha.SfdcInstance("sfdcInstanceResource",
product_id="string",
auth_config_id=["string"],
description="string",
display_name="string",
location="string",
name="string",
project="string",
service_authority="string",
sfdc_org_id="string")
const sfdcInstanceResource = new google_native.integrations.v1alpha.SfdcInstance("sfdcInstanceResource", {
productId: "string",
authConfigId: ["string"],
description: "string",
displayName: "string",
location: "string",
name: "string",
project: "string",
serviceAuthority: "string",
sfdcOrgId: "string",
});
type: google-native:integrations/v1alpha:SfdcInstance
properties:
authConfigId:
- string
description: string
displayName: string
location: string
name: string
productId: string
project: string
serviceAuthority: string
sfdcOrgId: string
SfdcInstance 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 SfdcInstance resource accepts the following input properties:
- Product
Id string - Auth
Config List<string>Id - A list of AuthConfigs that can be tried to open the channel to SFDC
- Description string
- A description of the sfdc instance.
- Display
Name string - User selected unique name/alias to easily reference an instance.
- Location string
- Name string
- Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.
- Project string
- string
- URL used for API calls after authentication (the login authority is configured within the referenced AuthConfig).
- Sfdc
Org stringId - The SFDC Org Id. This is defined in salesforce.
- Product
Id string - Auth
Config []stringId - A list of AuthConfigs that can be tried to open the channel to SFDC
- Description string
- A description of the sfdc instance.
- Display
Name string - User selected unique name/alias to easily reference an instance.
- Location string
- Name string
- Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.
- Project string
- string
- URL used for API calls after authentication (the login authority is configured within the referenced AuthConfig).
- Sfdc
Org stringId - The SFDC Org Id. This is defined in salesforce.
- product_
id string - auth_
config_ list(string)id - A list of AuthConfigs that can be tried to open the channel to SFDC
- description string
- A description of the sfdc instance.
- display_
name string - User selected unique name/alias to easily reference an instance.
- location string
- name string
- Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.
- project string
- string
- URL used for API calls after authentication (the login authority is configured within the referenced AuthConfig).
- sfdc_
org_ stringid - The SFDC Org Id. This is defined in salesforce.
- product
Id String - auth
Config List<String>Id - A list of AuthConfigs that can be tried to open the channel to SFDC
- description String
- A description of the sfdc instance.
- display
Name String - User selected unique name/alias to easily reference an instance.
- location String
- name String
- Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.
- project String
- String
- URL used for API calls after authentication (the login authority is configured within the referenced AuthConfig).
- sfdc
Org StringId - The SFDC Org Id. This is defined in salesforce.
- product
Id string - auth
Config string[]Id - A list of AuthConfigs that can be tried to open the channel to SFDC
- description string
- A description of the sfdc instance.
- display
Name string - User selected unique name/alias to easily reference an instance.
- location string
- name string
- Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.
- project string
- string
- URL used for API calls after authentication (the login authority is configured within the referenced AuthConfig).
- sfdc
Org stringId - The SFDC Org Id. This is defined in salesforce.
- product_
id str - auth_
config_ Sequence[str]id - A list of AuthConfigs that can be tried to open the channel to SFDC
- description str
- A description of the sfdc instance.
- display_
name str - User selected unique name/alias to easily reference an instance.
- location str
- name str
- Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.
- project str
- str
- URL used for API calls after authentication (the login authority is configured within the referenced AuthConfig).
- sfdc_
org_ strid - The SFDC Org Id. This is defined in salesforce.
- product
Id String - auth
Config List<String>Id - A list of AuthConfigs that can be tried to open the channel to SFDC
- description String
- A description of the sfdc instance.
- display
Name String - User selected unique name/alias to easily reference an instance.
- location String
- name String
- Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.
- project String
- String
- URL used for API calls after authentication (the login authority is configured within the referenced AuthConfig).
- sfdc
Org StringId - The SFDC Org Id. This is defined in salesforce.
Outputs
All input properties are implicitly available as output properties. Additionally, the SfdcInstance resource produces the following output properties:
- Create
Time string - Time when the instance is created
- Delete
Time string - Time when the instance was deleted. Empty if not deleted.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Time when the instance was last updated
- Create
Time string - Time when the instance is created
- Delete
Time string - Time when the instance was deleted. Empty if not deleted.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Time when the instance was last updated
- create_
time string - Time when the instance is created
- delete_
time string - Time when the instance was deleted. Empty if not deleted.
- id string
- The provider-assigned unique ID for this managed resource.
- update_
time string - Time when the instance was last updated
- create
Time String - Time when the instance is created
- delete
Time String - Time when the instance was deleted. Empty if not deleted.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Time when the instance was last updated
- create
Time string - Time when the instance is created
- delete
Time string - Time when the instance was deleted. Empty if not deleted.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time string - Time when the instance was last updated
- create_
time str - Time when the instance is created
- delete_
time str - Time when the instance was deleted. Empty if not deleted.
- id str
- The provider-assigned unique ID for this managed resource.
- update_
time str - Time when the instance was last updated
- create
Time String - Time when the instance is created
- delete
Time String - Time when the instance was deleted. Empty if not deleted.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Time when the instance was last updated
Look up Existing SfdcInstance Resource
Get an existing SfdcInstance 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>, opts?: CustomResourceOptions): SfdcInstance@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> SfdcInstancefunc GetSfdcInstance(ctx *Context, name string, id IDInput, state *SfdcInstanceState, opts ...ResourceOption) (*SfdcInstance, error)public static SfdcInstance Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static SfdcInstance get(String name, Output<String> id, CustomResourceOptions options)resources: existingSfdcInstance: type: google-native:integrations/v1alpha:SfdcInstance get: id: ${id}import {
to = google-native_integrations_v1alpha_sfdc_instance.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state SfdcInstanceState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi