1. Packages
  2. Ibm Provider
  3. API Docs
  4. getSccProviderTypes
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getSccProviderTypes

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Retrieve information about a provider type from a read-only data source. Then, you can reference the fields of the data source in other resources within the same configuration by using interpolation syntax.

    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 sccProviderTypesInstance = ibm.getSccProviderTypes({
        instanceId: "00000000-1111-2222-3333-444444444444",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    scc_provider_types_instance = ibm.get_scc_provider_types(instance_id="00000000-1111-2222-3333-444444444444")
    
    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.GetSccProviderTypes(ctx, &ibm.GetSccProviderTypesArgs{
    			InstanceId: "00000000-1111-2222-3333-444444444444",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var sccProviderTypesInstance = Ibm.GetSccProviderTypes.Invoke(new()
        {
            InstanceId = "00000000-1111-2222-3333-444444444444",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetSccProviderTypesArgs;
    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) {
            final var sccProviderTypesInstance = IbmFunctions.getSccProviderTypes(GetSccProviderTypesArgs.builder()
                .instanceId("00000000-1111-2222-3333-444444444444")
                .build());
    
        }
    }
    
    variables:
      sccProviderTypesInstance:
        fn::invoke:
          function: ibm:getSccProviderTypes
          arguments:
            instanceId: 00000000-1111-2222-3333-444444444444
    

    Using getSccProviderTypes

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSccProviderTypes(args: GetSccProviderTypesArgs, opts?: InvokeOptions): Promise<GetSccProviderTypesResult>
    function getSccProviderTypesOutput(args: GetSccProviderTypesOutputArgs, opts?: InvokeOptions): Output<GetSccProviderTypesResult>
    def get_scc_provider_types(id: Optional[str] = None,
                               instance_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetSccProviderTypesResult
    def get_scc_provider_types_output(id: Optional[pulumi.Input[str]] = None,
                               instance_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetSccProviderTypesResult]
    func GetSccProviderTypes(ctx *Context, args *GetSccProviderTypesArgs, opts ...InvokeOption) (*GetSccProviderTypesResult, error)
    func GetSccProviderTypesOutput(ctx *Context, args *GetSccProviderTypesOutputArgs, opts ...InvokeOption) GetSccProviderTypesResultOutput

    > Note: This function is named GetSccProviderTypes in the Go SDK.

    public static class GetSccProviderTypes 
    {
        public static Task<GetSccProviderTypesResult> InvokeAsync(GetSccProviderTypesArgs args, InvokeOptions? opts = null)
        public static Output<GetSccProviderTypesResult> Invoke(GetSccProviderTypesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSccProviderTypesResult> getSccProviderTypes(GetSccProviderTypesArgs args, InvokeOptions options)
    public static Output<GetSccProviderTypesResult> getSccProviderTypes(GetSccProviderTypesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getSccProviderTypes:getSccProviderTypes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    The ID of the SCC instance in a particular region.
    Id string
    The unique identifier of the scc_provider_type.
    InstanceId string
    The ID of the SCC instance in a particular region.
    Id string
    The unique identifier of the scc_provider_type.
    instanceId String
    The ID of the SCC instance in a particular region.
    id String
    The unique identifier of the scc_provider_type.
    instanceId string
    The ID of the SCC instance in a particular region.
    id string
    The unique identifier of the scc_provider_type.
    instance_id str
    The ID of the SCC instance in a particular region.
    id str
    The unique identifier of the scc_provider_type.
    instanceId String
    The ID of the SCC instance in a particular region.
    id String
    The unique identifier of the scc_provider_type.

    getSccProviderTypes Result

    The following output properties are available:

    Id string
    The unique identifier of the scc_provider_type.
    InstanceId string
    ProviderTypes List<GetSccProviderTypesProviderType>
    (List) The list of provider_types.
    Id string
    The unique identifier of the scc_provider_type.
    InstanceId string
    ProviderTypes []GetSccProviderTypesProviderType
    (List) The list of provider_types.
    id String
    The unique identifier of the scc_provider_type.
    instanceId String
    providerTypes List<GetSccProviderTypesProviderType>
    (List) The list of provider_types.
    id string
    The unique identifier of the scc_provider_type.
    instanceId string
    providerTypes GetSccProviderTypesProviderType[]
    (List) The list of provider_types.
    id str
    The unique identifier of the scc_provider_type.
    instance_id str
    provider_types Sequence[GetSccProviderTypesProviderType]
    (List) The list of provider_types.
    id String
    The unique identifier of the scc_provider_type.
    instanceId String
    providerTypes List<Property Map>
    (List) The list of provider_types.

    Supporting Types

    GetSccProviderTypesProviderType

    Attributes Dictionary<string, string>
    (Map) The attributes that are required when you're creating an instance of a provider type. The attributes field can have multiple keys in its value. Each of those keys has a value object that includes the type, and display name as keys. For example, {type:"", display_name:""}.
    CreatedAt string
    (String) The time when the resource was created.
    DataType string
    (String) The format of the results that a provider supports.
    Description string
    (String) The provider type description.
    Id string
    The unique identifier of the scc_provider_type.
    InstanceLimit double
    (Integer) The maximum number of instances that can be created for the provider type.
    Labels List<GetSccProviderTypesProviderTypeLabel>
    (List) The label that is associated with the provider type. Nested schema for label:
    Mode string
    (String) The mode that is used to get results from provider (PUSH or PULL).
    Name string
    (String) The name of the provider type.
    S2sEnabled bool
    (Boolean) A boolean that indicates whether the provider type is s2s-enabled.
    Type string
    (String) The type of the provider type.
    UpdatedAt string
    (String) The time when the resource was updated.
    Attributes map[string]string
    (Map) The attributes that are required when you're creating an instance of a provider type. The attributes field can have multiple keys in its value. Each of those keys has a value object that includes the type, and display name as keys. For example, {type:"", display_name:""}.
    CreatedAt string
    (String) The time when the resource was created.
    DataType string
    (String) The format of the results that a provider supports.
    Description string
    (String) The provider type description.
    Id string
    The unique identifier of the scc_provider_type.
    InstanceLimit float64
    (Integer) The maximum number of instances that can be created for the provider type.
    Labels []GetSccProviderTypesProviderTypeLabel
    (List) The label that is associated with the provider type. Nested schema for label:
    Mode string
    (String) The mode that is used to get results from provider (PUSH or PULL).
    Name string
    (String) The name of the provider type.
    S2sEnabled bool
    (Boolean) A boolean that indicates whether the provider type is s2s-enabled.
    Type string
    (String) The type of the provider type.
    UpdatedAt string
    (String) The time when the resource was updated.
    attributes Map<String,String>
    (Map) The attributes that are required when you're creating an instance of a provider type. The attributes field can have multiple keys in its value. Each of those keys has a value object that includes the type, and display name as keys. For example, {type:"", display_name:""}.
    createdAt String
    (String) The time when the resource was created.
    dataType String
    (String) The format of the results that a provider supports.
    description String
    (String) The provider type description.
    id String
    The unique identifier of the scc_provider_type.
    instanceLimit Double
    (Integer) The maximum number of instances that can be created for the provider type.
    labels List<GetSccProviderTypesProviderTypeLabel>
    (List) The label that is associated with the provider type. Nested schema for label:
    mode String
    (String) The mode that is used to get results from provider (PUSH or PULL).
    name String
    (String) The name of the provider type.
    s2sEnabled Boolean
    (Boolean) A boolean that indicates whether the provider type is s2s-enabled.
    type String
    (String) The type of the provider type.
    updatedAt String
    (String) The time when the resource was updated.
    attributes {[key: string]: string}
    (Map) The attributes that are required when you're creating an instance of a provider type. The attributes field can have multiple keys in its value. Each of those keys has a value object that includes the type, and display name as keys. For example, {type:"", display_name:""}.
    createdAt string
    (String) The time when the resource was created.
    dataType string
    (String) The format of the results that a provider supports.
    description string
    (String) The provider type description.
    id string
    The unique identifier of the scc_provider_type.
    instanceLimit number
    (Integer) The maximum number of instances that can be created for the provider type.
    labels GetSccProviderTypesProviderTypeLabel[]
    (List) The label that is associated with the provider type. Nested schema for label:
    mode string
    (String) The mode that is used to get results from provider (PUSH or PULL).
    name string
    (String) The name of the provider type.
    s2sEnabled boolean
    (Boolean) A boolean that indicates whether the provider type is s2s-enabled.
    type string
    (String) The type of the provider type.
    updatedAt string
    (String) The time when the resource was updated.
    attributes Mapping[str, str]
    (Map) The attributes that are required when you're creating an instance of a provider type. The attributes field can have multiple keys in its value. Each of those keys has a value object that includes the type, and display name as keys. For example, {type:"", display_name:""}.
    created_at str
    (String) The time when the resource was created.
    data_type str
    (String) The format of the results that a provider supports.
    description str
    (String) The provider type description.
    id str
    The unique identifier of the scc_provider_type.
    instance_limit float
    (Integer) The maximum number of instances that can be created for the provider type.
    labels Sequence[GetSccProviderTypesProviderTypeLabel]
    (List) The label that is associated with the provider type. Nested schema for label:
    mode str
    (String) The mode that is used to get results from provider (PUSH or PULL).
    name str
    (String) The name of the provider type.
    s2s_enabled bool
    (Boolean) A boolean that indicates whether the provider type is s2s-enabled.
    type str
    (String) The type of the provider type.
    updated_at str
    (String) The time when the resource was updated.
    attributes Map<String>
    (Map) The attributes that are required when you're creating an instance of a provider type. The attributes field can have multiple keys in its value. Each of those keys has a value object that includes the type, and display name as keys. For example, {type:"", display_name:""}.
    createdAt String
    (String) The time when the resource was created.
    dataType String
    (String) The format of the results that a provider supports.
    description String
    (String) The provider type description.
    id String
    The unique identifier of the scc_provider_type.
    instanceLimit Number
    (Integer) The maximum number of instances that can be created for the provider type.
    labels List<Property Map>
    (List) The label that is associated with the provider type. Nested schema for label:
    mode String
    (String) The mode that is used to get results from provider (PUSH or PULL).
    name String
    (String) The name of the provider type.
    s2sEnabled Boolean
    (Boolean) A boolean that indicates whether the provider type is s2s-enabled.
    type String
    (String) The type of the provider type.
    updatedAt String
    (String) The time when the resource was updated.

    GetSccProviderTypesProviderTypeLabel

    Text string
    (String) The text of the label.
    Tip string
    (String) The text to be shown when user hover overs the label.
    Text string
    (String) The text of the label.
    Tip string
    (String) The text to be shown when user hover overs the label.
    text String
    (String) The text of the label.
    tip String
    (String) The text to be shown when user hover overs the label.
    text string
    (String) The text of the label.
    tip string
    (String) The text to be shown when user hover overs the label.
    text str
    (String) The text of the label.
    tip str
    (String) The text to be shown when user hover overs the label.
    text String
    (String) The text of the label.
    tip String
    (String) The text to be shown when user hover overs the label.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud