1. Packages
  2. Ibm Provider
  3. API Docs
  4. SccProviderTypeInstance
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.SccProviderTypeInstance

Explore with Pulumi AI

Create, update, and delete provider type instances with this resource.

NOTE: Security Compliance Center is a regional service. Please specify the IBM Cloud Provider attribute region to target another region. Else, exporting the environmental variable IBMCLOUD_SCC_API_ENDPOINT will also override which region is being targeted for all ibm providers(ex. export IBMCLOUD_SCC_API_ENDPOINT=https://eu-es.compliance.cloud.ibm.com).

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";

const sccProviderTypeInstanceInstance = new ibm.SccProviderTypeInstance("sccProviderTypeInstanceInstance", {
    instanceId: "00000000-1111-2222-3333-444444444444",
    attributes: {
        wp_crn: "crn:v1:staging:public:sysdig-secure:eu-gb:a/14q5SEnVIbwxzvP4AWPCjr2dJg5BAvPb:d1461d1ae-df1eee12fa81812e0-12-aa259::",
    },
    providerTypeId: "provider_type_id",
});
Copy
import pulumi
import pulumi_ibm as ibm

scc_provider_type_instance_instance = ibm.SccProviderTypeInstance("sccProviderTypeInstanceInstance",
    instance_id="00000000-1111-2222-3333-444444444444",
    attributes={
        "wp_crn": "crn:v1:staging:public:sysdig-secure:eu-gb:a/14q5SEnVIbwxzvP4AWPCjr2dJg5BAvPb:d1461d1ae-df1eee12fa81812e0-12-aa259::",
    },
    provider_type_id="provider_type_id")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ibm.NewSccProviderTypeInstance(ctx, "sccProviderTypeInstanceInstance", &ibm.SccProviderTypeInstanceArgs{
			InstanceId: pulumi.String("00000000-1111-2222-3333-444444444444"),
			Attributes: pulumi.StringMap{
				"wp_crn": pulumi.String("crn:v1:staging:public:sysdig-secure:eu-gb:a/14q5SEnVIbwxzvP4AWPCjr2dJg5BAvPb:d1461d1ae-df1eee12fa81812e0-12-aa259::"),
			},
			ProviderTypeId: pulumi.String("provider_type_id"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var sccProviderTypeInstanceInstance = new Ibm.SccProviderTypeInstance("sccProviderTypeInstanceInstance", new()
    {
        InstanceId = "00000000-1111-2222-3333-444444444444",
        Attributes = 
        {
            { "wp_crn", "crn:v1:staging:public:sysdig-secure:eu-gb:a/14q5SEnVIbwxzvP4AWPCjr2dJg5BAvPb:d1461d1ae-df1eee12fa81812e0-12-aa259::" },
        },
        ProviderTypeId = "provider_type_id",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.SccProviderTypeInstance;
import com.pulumi.ibm.SccProviderTypeInstanceArgs;
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 sccProviderTypeInstanceInstance = new SccProviderTypeInstance("sccProviderTypeInstanceInstance", SccProviderTypeInstanceArgs.builder()
            .instanceId("00000000-1111-2222-3333-444444444444")
            .attributes(Map.of("wp_crn", "crn:v1:staging:public:sysdig-secure:eu-gb:a/14q5SEnVIbwxzvP4AWPCjr2dJg5BAvPb:d1461d1ae-df1eee12fa81812e0-12-aa259::"))
            .providerTypeId("provider_type_id")
            .build());

    }
}
Copy
resources:
  sccProviderTypeInstanceInstance:
    type: ibm:SccProviderTypeInstance
    properties:
      instanceId: 00000000-1111-2222-3333-444444444444
      attributes:
        wp_crn: 'crn:v1:staging:public:sysdig-secure:eu-gb:a/14q5SEnVIbwxzvP4AWPCjr2dJg5BAvPb:d1461d1ae-df1eee12fa81812e0-12-aa259::'
      providerTypeId: provider_type_id
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. SccProviderTypeInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. SccProviderTypeInstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SccProviderTypeInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
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"),
})
Copy
var sccProviderTypeInstanceResource = new SccProviderTypeInstance("sccProviderTypeInstanceResource", SccProviderTypeInstanceArgs.builder()
    .instanceId("string")
    .providerTypeId("string")
    .attributes(Map.of("string", "string"))
    .name("string")
    .sccProviderTypeInstanceId("string")
    .build());
Copy
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")
Copy
const sccProviderTypeInstanceResource = new ibm.SccProviderTypeInstance("sccProviderTypeInstanceResource", {
    instanceId: "string",
    providerTypeId: "string",
    attributes: {
        string: "string",
    },
    name: "string",
    sccProviderTypeInstanceId: "string",
});
Copy
type: ibm:SccProviderTypeInstance
properties:
    attributes:
        string: string
    instanceId: string
    name: string
    providerTypeId: string
    sccProviderTypeInstanceId: string
Copy

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:

InstanceId This property is required. string
The ID of the SCC instance in a particular region.
ProviderTypeId This property is required. string
The unique identifier of the provider type instance.
Attributes Dictionary<string, string>
The attributes for connecting to the provider type instance.
Name string
The name for the provider_type instance
SccProviderTypeInstanceId string
The unique identifier of the scc_provider_type_instance.
InstanceId This property is required. string
The ID of the SCC instance in a particular region.
ProviderTypeId This property is required. string
The unique identifier of the provider type instance.
Attributes map[string]string
The attributes for connecting to the provider type instance.
Name string
The name for the provider_type instance
SccProviderTypeInstanceId string
The unique identifier of the scc_provider_type_instance.
instanceId This property is required. String
The ID of the SCC instance in a particular region.
providerTypeId This property is required. String
The unique identifier of the provider type instance.
attributes Map<String,String>
The attributes for connecting to the provider type instance.
name String
The name for the provider_type instance
sccProviderTypeInstanceId String
The unique identifier of the scc_provider_type_instance.
instanceId This property is required. string
The ID of the SCC instance in a particular region.
providerTypeId This property is required. string
The unique identifier of the provider type instance.
attributes {[key: string]: string}
The attributes for connecting to the provider type instance.
name string
The name for the provider_type instance
sccProviderTypeInstanceId string
The unique identifier of the scc_provider_type_instance.
instance_id This property is required. str
The ID of the SCC instance in a particular region.
provider_type_id This property is required. str
The unique identifier of the provider type instance.
attributes Mapping[str, str]
The attributes for connecting to the provider type instance.
name str
The name for the provider_type instance
scc_provider_type_instance_id str
The unique identifier of the scc_provider_type_instance.
instanceId This property is required. String
The ID of the SCC instance in a particular region.
providerTypeId This property is required. String
The unique identifier of the provider type instance.
attributes Map<String>
The attributes for connecting to the provider type instance.
name String
The name for the provider_type instance
sccProviderTypeInstanceId String
The unique identifier of the scc_provider_type_instance.

Outputs

All input properties are implicitly available as output properties. Additionally, the SccProviderTypeInstance resource produces the following output properties:

CreatedAt string
(String) The time when resource was created.
Id string
The provider-assigned unique ID for this managed resource.
ProviderTypeInstanceId string
(String) The ID that is associated with the created provider_type_instance
Type string
(String) The type of the provider type.
UpdatedAt string
(String) The time when resource was updated.
CreatedAt string
(String) The time when resource was created.
Id string
The provider-assigned unique ID for this managed resource.
ProviderTypeInstanceId string
(String) The ID that is associated with the created provider_type_instance
Type string
(String) The type of the provider type.
UpdatedAt string
(String) The time when resource was updated.
createdAt String
(String) The time when resource was created.
id String
The provider-assigned unique ID for this managed resource.
providerTypeInstanceId String
(String) The ID that is associated with the created provider_type_instance
type String
(String) The type of the provider type.
updatedAt String
(String) The time when resource was updated.
createdAt string
(String) The time when resource was created.
id string
The provider-assigned unique ID for this managed resource.
providerTypeInstanceId string
(String) The ID that is associated with the created provider_type_instance
type string
(String) The type of the provider type.
updatedAt string
(String) The time when resource was updated.
created_at str
(String) The time when resource was created.
id str
The provider-assigned unique ID for this managed resource.
provider_type_instance_id str
(String) The ID that is associated with the created provider_type_instance
type str
(String) The type of the provider type.
updated_at str
(String) The time when resource was updated.
createdAt String
(String) The time when resource was created.
id String
The provider-assigned unique ID for this managed resource.
providerTypeInstanceId String
(String) The ID that is associated with the created provider_type_instance
type String
(String) The type of the provider type.
updatedAt String
(String) The time when 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) -> SccProviderTypeInstance
func 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
Attributes Dictionary<string, string>
The attributes for connecting to the provider type instance.
CreatedAt string
(String) The time when resource was created.
InstanceId string
The ID of the SCC instance in a particular region.
Name string
The name for the provider_type instance
ProviderTypeId string
The unique identifier of the provider type instance.
ProviderTypeInstanceId string
(String) The ID that is associated with the created provider_type_instance
SccProviderTypeInstanceId string
The unique identifier of the scc_provider_type_instance.
Type string
(String) The type of the provider type.
UpdatedAt string
(String) The time when resource was updated.
Attributes map[string]string
The attributes for connecting to the provider type instance.
CreatedAt string
(String) The time when resource was created.
InstanceId string
The ID of the SCC instance in a particular region.
Name string
The name for the provider_type instance
ProviderTypeId string
The unique identifier of the provider type instance.
ProviderTypeInstanceId string
(String) The ID that is associated with the created provider_type_instance
SccProviderTypeInstanceId string
The unique identifier of the scc_provider_type_instance.
Type string
(String) The type of the provider type.
UpdatedAt string
(String) The time when resource was updated.
attributes Map<String,String>
The attributes for connecting to the provider type instance.
createdAt String
(String) The time when resource was created.
instanceId String
The ID of the SCC instance in a particular region.
name String
The name for the provider_type instance
providerTypeId String
The unique identifier of the provider type instance.
providerTypeInstanceId String
(String) The ID that is associated with the created provider_type_instance
sccProviderTypeInstanceId String
The unique identifier of the scc_provider_type_instance.
type String
(String) The type of the provider type.
updatedAt String
(String) The time when resource was updated.
attributes {[key: string]: string}
The attributes for connecting to the provider type instance.
createdAt string
(String) The time when resource was created.
instanceId string
The ID of the SCC instance in a particular region.
name string
The name for the provider_type instance
providerTypeId string
The unique identifier of the provider type instance.
providerTypeInstanceId string
(String) The ID that is associated with the created provider_type_instance
sccProviderTypeInstanceId string
The unique identifier of the scc_provider_type_instance.
type string
(String) The type of the provider type.
updatedAt string
(String) The time when resource was updated.
attributes Mapping[str, str]
The attributes for connecting to the provider type instance.
created_at str
(String) The time when resource was created.
instance_id str
The ID of the SCC instance in a particular region.
name str
The name for the provider_type instance
provider_type_id str
The unique identifier of the provider type instance.
provider_type_instance_id str
(String) The ID that is associated with the created provider_type_instance
scc_provider_type_instance_id str
The unique identifier of the scc_provider_type_instance.
type str
(String) The type of the provider type.
updated_at str
(String) The time when resource was updated.
attributes Map<String>
The attributes for connecting to the provider type instance.
createdAt String
(String) The time when resource was created.
instanceId String
The ID of the SCC instance in a particular region.
name String
The name for the provider_type instance
providerTypeId String
The unique identifier of the provider type instance.
providerTypeInstanceId String
(String) The ID that is associated with the created provider_type_instance
sccProviderTypeInstanceId String
The unique identifier of the scc_provider_type_instance.
type String
(String) The type of the provider type.
updatedAt String
(String) The time when resource was updated.

Import

You can import the ibm_scc_provider_type_instance resource by using id.

The id property can be formed from instance_id, provider_type_id, and provider_type_instance_id in the following format:

bash

<instance_id>/<provider_type_id>/<provider_type_instance_id>

  • instance_id: A string. The instance ID.

  • provider_type_id: A string. The provider type ID.

  • provider_type_instance_id: A string. The provider type instance ID.

Syntax

bash

$ pulumi import ibm:index/sccProviderTypeInstance:SccProviderTypeInstance scc_provider_type_instance <instance_id>/<provider_type_id>/<provider_type_instance_id>
Copy

Example

bash

$ pulumi import ibm:index/sccProviderTypeInstance:SccProviderTypeInstance scc_provider_type_instance 00000000-1111-2222-3333-444444444444/00000000-1111-2222-3333-444444444444/f3517159-889e-4781-819a-89d89b747c85
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.