Create SccProviderTypeInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SccProviderTypeInstance(name: string, args: SccProviderTypeInstanceArgs, opts?: CustomResourceOptions);@overload
def SccProviderTypeInstance(resource_name: str,
args: SccProviderTypeInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SccProviderTypeInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
provider_type_id: Optional[str] = None,
attributes: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
scc_provider_type_instance_id: Optional[str] = None)func NewSccProviderTypeInstance(ctx *Context, name string, args SccProviderTypeInstanceArgs, opts ...ResourceOption) (*SccProviderTypeInstance, error)public SccProviderTypeInstance(string name, SccProviderTypeInstanceArgs args, CustomResourceOptions? opts = null)
public SccProviderTypeInstance(String name, SccProviderTypeInstanceArgs args)
public SccProviderTypeInstance(String name, SccProviderTypeInstanceArgs args, CustomResourceOptions options)
type: ibm:SccProviderTypeInstance
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 SccProviderTypeInstanceArgs
- 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 SccProviderTypeInstanceArgs
- 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 SccProviderTypeInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SccProviderTypeInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SccProviderTypeInstanceArgs
- 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 sccProviderTypeInstanceResource = new Ibm.SccProviderTypeInstance("sccProviderTypeInstanceResource", new()
{
InstanceId = "string",
ProviderTypeId = "string",
Attributes =
{
{ "string", "string" },
},
Name = "string",
SccProviderTypeInstanceId = "string",
});
example, err := ibm.NewSccProviderTypeInstance(ctx, "sccProviderTypeInstanceResource", &ibm.SccProviderTypeInstanceArgs{
InstanceId: pulumi.String("string"),
ProviderTypeId: pulumi.String("string"),
Attributes: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
SccProviderTypeInstanceId: pulumi.String("string"),
})
var sccProviderTypeInstanceResource = new SccProviderTypeInstance("sccProviderTypeInstanceResource", SccProviderTypeInstanceArgs.builder()
.instanceId("string")
.providerTypeId("string")
.attributes(Map.of("string", "string"))
.name("string")
.sccProviderTypeInstanceId("string")
.build());
scc_provider_type_instance_resource = ibm.SccProviderTypeInstance("sccProviderTypeInstanceResource",
instance_id="string",
provider_type_id="string",
attributes={
"string": "string",
},
name="string",
scc_provider_type_instance_id="string")
const sccProviderTypeInstanceResource = new ibm.SccProviderTypeInstance("sccProviderTypeInstanceResource", {
instanceId: "string",
providerTypeId: "string",
attributes: {
string: "string",
},
name: "string",
sccProviderTypeInstanceId: "string",
});
type: ibm:SccProviderTypeInstance
properties:
attributes:
string: string
instanceId: string
name: string
providerTypeId: string
sccProviderTypeInstanceId: string
SccProviderTypeInstance 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 SccProviderTypeInstance resource accepts the following input properties:
- Instance
Id string - The ID of the Security and Compliance Center instance.
- Provider
Type stringId - The provider type ID.
- Attributes Dictionary<string, string>
- Name string
- The name of the provider type instance.
- Scc
Provider stringType Instance Id
- Instance
Id string - The ID of the Security and Compliance Center instance.
- Provider
Type stringId - The provider type ID.
- Attributes map[string]string
- Name string
- The name of the provider type instance.
- Scc
Provider stringType Instance Id
- instance
Id String - The ID of the Security and Compliance Center instance.
- provider
Type StringId - The provider type ID.
- attributes Map<String,String>
- name String
- The name of the provider type instance.
- scc
Provider StringType Instance Id
- instance
Id string - The ID of the Security and Compliance Center instance.
- provider
Type stringId - The provider type ID.
- attributes {[key: string]: string}
- name string
- The name of the provider type instance.
- scc
Provider stringType Instance Id
- instance_
id str - The ID of the Security and Compliance Center instance.
- provider_
type_ strid - The provider type ID.
- attributes Mapping[str, str]
- name str
- The name of the provider type instance.
- scc_
provider_ strtype_ instance_ id
- instance
Id String - The ID of the Security and Compliance Center instance.
- provider
Type StringId - The provider type ID.
- attributes Map<String>
- name String
- The name of the provider type instance.
- scc
Provider StringType Instance Id
Outputs
All input properties are implicitly available as output properties. Additionally, the SccProviderTypeInstance resource produces the following output properties:
- Created
At string - Time at which resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provider
Type stringInstance Id - The unique identifier of the provider type instance.
- Type string
- The type of the provider type.
- Updated
At string - Time at which resource was updated.
- Created
At string - Time at which resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provider
Type stringInstance Id - The unique identifier of the provider type instance.
- Type string
- The type of the provider type.
- Updated
At string - Time at which resource was updated.
- created
At String - Time at which resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- provider
Type StringInstance Id - The unique identifier of the provider type instance.
- type String
- The type of the provider type.
- updated
At String - Time at which resource was updated.
- created
At string - Time at which resource was created.
- id string
- The provider-assigned unique ID for this managed resource.
- provider
Type stringInstance Id - The unique identifier of the provider type instance.
- type string
- The type of the provider type.
- updated
At string - Time at which resource was updated.
- created_
at str - Time at which resource was created.
- id str
- The provider-assigned unique ID for this managed resource.
- provider_
type_ strinstance_ id - The unique identifier of the provider type instance.
- type str
- The type of the provider type.
- updated_
at str - Time at which resource was updated.
- created
At String - Time at which resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- provider
Type StringInstance Id - The unique identifier of the provider type instance.
- type String
- The type of the provider type.
- updated
At String - Time at which resource was updated.
Look up Existing SccProviderTypeInstance Resource
Get an existing SccProviderTypeInstance 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?: SccProviderTypeInstanceState, opts?: CustomResourceOptions): SccProviderTypeInstance@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
attributes: Optional[Mapping[str, str]] = None,
created_at: Optional[str] = None,
instance_id: Optional[str] = None,
name: Optional[str] = None,
provider_type_id: Optional[str] = None,
provider_type_instance_id: Optional[str] = None,
scc_provider_type_instance_id: Optional[str] = None,
type: Optional[str] = None,
updated_at: Optional[str] = None) -> SccProviderTypeInstancefunc GetSccProviderTypeInstance(ctx *Context, name string, id IDInput, state *SccProviderTypeInstanceState, opts ...ResourceOption) (*SccProviderTypeInstance, error)public static SccProviderTypeInstance Get(string name, Input<string> id, SccProviderTypeInstanceState? state, CustomResourceOptions? opts = null)public static SccProviderTypeInstance get(String name, Output<String> id, SccProviderTypeInstanceState state, CustomResourceOptions options)resources: _: type: ibm:SccProviderTypeInstance get: id: ${id}- 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.
- Attributes Dictionary<string, string>
- Created
At string - Time at which resource was created.
- Instance
Id string - The ID of the Security and Compliance Center instance.
- Name string
- The name of the provider type instance.
- Provider
Type stringId - The provider type ID.
- Provider
Type stringInstance Id - The unique identifier of the provider type instance.
- Scc
Provider stringType Instance Id - Type string
- The type of the provider type.
- Updated
At string - Time at which resource was updated.
- Attributes map[string]string
- Created
At string - Time at which resource was created.
- Instance
Id string - The ID of the Security and Compliance Center instance.
- Name string
- The name of the provider type instance.
- Provider
Type stringId - The provider type ID.
- Provider
Type stringInstance Id - The unique identifier of the provider type instance.
- Scc
Provider stringType Instance Id - Type string
- The type of the provider type.
- Updated
At string - Time at which resource was updated.
- attributes Map<String,String>
- created
At String - Time at which resource was created.
- instance
Id String - The ID of the Security and Compliance Center instance.
- name String
- The name of the provider type instance.
- provider
Type StringId - The provider type ID.
- provider
Type StringInstance Id - The unique identifier of the provider type instance.
- scc
Provider StringType Instance Id - type String
- The type of the provider type.
- updated
At String - Time at which resource was updated.
- attributes {[key: string]: string}
- created
At string - Time at which resource was created.
- instance
Id string - The ID of the Security and Compliance Center instance.
- name string
- The name of the provider type instance.
- provider
Type stringId - The provider type ID.
- provider
Type stringInstance Id - The unique identifier of the provider type instance.
- scc
Provider stringType Instance Id - type string
- The type of the provider type.
- updated
At string - Time at which resource was updated.
- attributes Mapping[str, str]
- created_
at str - Time at which resource was created.
- instance_
id str - The ID of the Security and Compliance Center instance.
- name str
- The name of the provider type instance.
- provider_
type_ strid - The provider type ID.
- provider_
type_ strinstance_ id - The unique identifier of the provider type instance.
- scc_
provider_ strtype_ instance_ id - type str
- The type of the provider type.
- updated_
at str - Time at which resource was updated.
- attributes Map<String>
- created
At String - Time at which resource was created.
- instance
Id String - The ID of the Security and Compliance Center instance.
- name String
- The name of the provider type instance.
- provider
Type StringId - The provider type ID.
- provider
Type StringInstance Id - The unique identifier of the provider type instance.
- scc
Provider StringType Instance Id - type String
- The type of the provider type.
- updated
At String - Time at which resource was updated.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
