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

ibm.getSccProviderTypeCollection

Explore with Pulumi AI

Retrieve information about a provider type collection 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 sccProviderTypeCollection = ibm.getSccProviderTypeCollection({});
Copy
import pulumi
import pulumi_ibm as ibm

scc_provider_type_collection = ibm.get_scc_provider_type_collection()
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.GetSccProviderTypeCollection(ctx, &ibm.GetSccProviderTypeCollectionArgs{}, nil)
		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 sccProviderTypeCollection = Ibm.GetSccProviderTypeCollection.Invoke();

});
Copy
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.GetSccProviderTypeCollectionArgs;
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 sccProviderTypeCollection = IbmFunctions.getSccProviderTypeCollection();

    }
}
Copy
variables:
  sccProviderTypeCollection:
    fn::invoke:
      function: ibm:getSccProviderTypeCollection
      arguments: {}
Copy

Using getSccProviderTypeCollection

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 getSccProviderTypeCollection(args: GetSccProviderTypeCollectionArgs, opts?: InvokeOptions): Promise<GetSccProviderTypeCollectionResult>
function getSccProviderTypeCollectionOutput(args: GetSccProviderTypeCollectionOutputArgs, opts?: InvokeOptions): Output<GetSccProviderTypeCollectionResult>
Copy
def get_scc_provider_type_collection(id: Optional[str] = None,
                                     instance_id: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetSccProviderTypeCollectionResult
def get_scc_provider_type_collection_output(id: Optional[pulumi.Input[str]] = None,
                                     instance_id: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetSccProviderTypeCollectionResult]
Copy
func GetSccProviderTypeCollection(ctx *Context, args *GetSccProviderTypeCollectionArgs, opts ...InvokeOption) (*GetSccProviderTypeCollectionResult, error)
func GetSccProviderTypeCollectionOutput(ctx *Context, args *GetSccProviderTypeCollectionOutputArgs, opts ...InvokeOption) GetSccProviderTypeCollectionResultOutput
Copy

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

public static class GetSccProviderTypeCollection 
{
    public static Task<GetSccProviderTypeCollectionResult> InvokeAsync(GetSccProviderTypeCollectionArgs args, InvokeOptions? opts = null)
    public static Output<GetSccProviderTypeCollectionResult> Invoke(GetSccProviderTypeCollectionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSccProviderTypeCollectionResult> getSccProviderTypeCollection(GetSccProviderTypeCollectionArgs args, InvokeOptions options)
public static Output<GetSccProviderTypeCollectionResult> getSccProviderTypeCollection(GetSccProviderTypeCollectionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getSccProviderTypeCollection:getSccProviderTypeCollection
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

InstanceId This property is required. string
Id string
(String) The unique identifier of the provider type.
InstanceId This property is required. string
Id string
(String) The unique identifier of the provider type.
instanceId This property is required. String
id String
(String) The unique identifier of the provider type.
instanceId This property is required. string
id string
(String) The unique identifier of the provider type.
instance_id This property is required. str
id str
(String) The unique identifier of the provider type.
instanceId This property is required. String
id String
(String) The unique identifier of the provider type.

getSccProviderTypeCollection Result

The following output properties are available:

Id string
(String) The unique identifier of the provider type.
InstanceId string
ProviderTypes List<GetSccProviderTypeCollectionProviderType>
(List) The array of provder type.

  • Constraints: The minimum length is 0 items. Nested schema for provider_types:
Id string
(String) The unique identifier of the provider type.
InstanceId string
ProviderTypes []GetSccProviderTypeCollectionProviderType
(List) The array of provder type.

  • Constraints: The minimum length is 0 items. Nested schema for provider_types:
id String
(String) The unique identifier of the provider type.
instanceId String
providerTypes List<GetSccProviderTypeCollectionProviderType>
(List) The array of provder type.

  • Constraints: The minimum length is 0 items. Nested schema for provider_types:
id string
(String) The unique identifier of the provider type.
instanceId string
providerTypes GetSccProviderTypeCollectionProviderType[]
(List) The array of provder type.

  • Constraints: The minimum length is 0 items. Nested schema for provider_types:
id str
(String) The unique identifier of the provider type.
instance_id str
provider_types Sequence[GetSccProviderTypeCollectionProviderType]
(List) The array of provder type.

  • Constraints: The minimum length is 0 items. Nested schema for provider_types:
id String
(String) The unique identifier of the provider type.
instanceId String
providerTypes List<Property Map>
(List) The array of provder type.

  • Constraints: The minimum length is 0 items. Nested schema for provider_types:

Supporting Types

GetSccProviderTypeCollectionProviderType

Attributes This property is required. 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:""}. NOTE; If the provider type is s2s-enabled, which means that if the s2s_enabled field is set to true, then a CRN field of type text is required in the attributes value object.
CreatedAt This property is required. string
(String) The time when the resource was created.
DataType This property is required. string
(String) The format of the results that a provider supports.
Description This property is required. string
(String) The provider type description.
Icon This property is required. string
(String) The icon of a provider in .svg format that is encoded as a base64 string.
Id This property is required. string
(String) The unique identifier of the provider type.
InstanceLimit This property is required. double
(Integer) The maximum number of instances that can be created for the provider type.
Labels This property is required. List<GetSccProviderTypeCollectionProviderTypeLabel>
(List) The label that is associated with the provider type. Nested schema for label:
Mode This property is required. string
(String) The mode that is used to get results from provider (PUSH or PULL).
Name This property is required. string
(String) The name of the provider type.
S2sEnabled This property is required. bool
(Boolean) A boolean that indicates whether the provider type is s2s-enabled.
Type This property is required. string
(String) The type of the provider type.
UpdatedAt This property is required. string
(String) The time when the resource was updated.
Attributes This property is required. 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:""}. NOTE; If the provider type is s2s-enabled, which means that if the s2s_enabled field is set to true, then a CRN field of type text is required in the attributes value object.
CreatedAt This property is required. string
(String) The time when the resource was created.
DataType This property is required. string
(String) The format of the results that a provider supports.
Description This property is required. string
(String) The provider type description.
Icon This property is required. string
(String) The icon of a provider in .svg format that is encoded as a base64 string.
Id This property is required. string
(String) The unique identifier of the provider type.
InstanceLimit This property is required. float64
(Integer) The maximum number of instances that can be created for the provider type.
Labels This property is required. []GetSccProviderTypeCollectionProviderTypeLabel
(List) The label that is associated with the provider type. Nested schema for label:
Mode This property is required. string
(String) The mode that is used to get results from provider (PUSH or PULL).
Name This property is required. string
(String) The name of the provider type.
S2sEnabled This property is required. bool
(Boolean) A boolean that indicates whether the provider type is s2s-enabled.
Type This property is required. string
(String) The type of the provider type.
UpdatedAt This property is required. string
(String) The time when the resource was updated.
attributes This property is required. 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:""}. NOTE; If the provider type is s2s-enabled, which means that if the s2s_enabled field is set to true, then a CRN field of type text is required in the attributes value object.
createdAt This property is required. String
(String) The time when the resource was created.
dataType This property is required. String
(String) The format of the results that a provider supports.
description This property is required. String
(String) The provider type description.
icon This property is required. String
(String) The icon of a provider in .svg format that is encoded as a base64 string.
id This property is required. String
(String) The unique identifier of the provider type.
instanceLimit This property is required. Double
(Integer) The maximum number of instances that can be created for the provider type.
labels This property is required. List<GetSccProviderTypeCollectionProviderTypeLabel>
(List) The label that is associated with the provider type. Nested schema for label:
mode This property is required. String
(String) The mode that is used to get results from provider (PUSH or PULL).
name This property is required. String
(String) The name of the provider type.
s2sEnabled This property is required. Boolean
(Boolean) A boolean that indicates whether the provider type is s2s-enabled.
type This property is required. String
(String) The type of the provider type.
updatedAt This property is required. String
(String) The time when the resource was updated.
attributes This property is required. {[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:""}. NOTE; If the provider type is s2s-enabled, which means that if the s2s_enabled field is set to true, then a CRN field of type text is required in the attributes value object.
createdAt This property is required. string
(String) The time when the resource was created.
dataType This property is required. string
(String) The format of the results that a provider supports.
description This property is required. string
(String) The provider type description.
icon This property is required. string
(String) The icon of a provider in .svg format that is encoded as a base64 string.
id This property is required. string
(String) The unique identifier of the provider type.
instanceLimit This property is required. number
(Integer) The maximum number of instances that can be created for the provider type.
labels This property is required. GetSccProviderTypeCollectionProviderTypeLabel[]
(List) The label that is associated with the provider type. Nested schema for label:
mode This property is required. string
(String) The mode that is used to get results from provider (PUSH or PULL).
name This property is required. string
(String) The name of the provider type.
s2sEnabled This property is required. boolean
(Boolean) A boolean that indicates whether the provider type is s2s-enabled.
type This property is required. string
(String) The type of the provider type.
updatedAt This property is required. string
(String) The time when the resource was updated.
attributes This property is required. 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:""}. NOTE; If the provider type is s2s-enabled, which means that if the s2s_enabled field is set to true, then a CRN field of type text is required in the attributes value object.
created_at This property is required. str
(String) The time when the resource was created.
data_type This property is required. str
(String) The format of the results that a provider supports.
description This property is required. str
(String) The provider type description.
icon This property is required. str
(String) The icon of a provider in .svg format that is encoded as a base64 string.
id This property is required. str
(String) The unique identifier of the provider type.
instance_limit This property is required. float
(Integer) The maximum number of instances that can be created for the provider type.
labels This property is required. Sequence[GetSccProviderTypeCollectionProviderTypeLabel]
(List) The label that is associated with the provider type. Nested schema for label:
mode This property is required. str
(String) The mode that is used to get results from provider (PUSH or PULL).
name This property is required. str
(String) The name of the provider type.
s2s_enabled This property is required. bool
(Boolean) A boolean that indicates whether the provider type is s2s-enabled.
type This property is required. str
(String) The type of the provider type.
updated_at This property is required. str
(String) The time when the resource was updated.
attributes This property is required. 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:""}. NOTE; If the provider type is s2s-enabled, which means that if the s2s_enabled field is set to true, then a CRN field of type text is required in the attributes value object.
createdAt This property is required. String
(String) The time when the resource was created.
dataType This property is required. String
(String) The format of the results that a provider supports.
description This property is required. String
(String) The provider type description.
icon This property is required. String
(String) The icon of a provider in .svg format that is encoded as a base64 string.
id This property is required. String
(String) The unique identifier of the provider type.
instanceLimit This property is required. Number
(Integer) The maximum number of instances that can be created for the provider type.
labels This property is required. List<Property Map>
(List) The label that is associated with the provider type. Nested schema for label:
mode This property is required. String
(String) The mode that is used to get results from provider (PUSH or PULL).
name This property is required. String
(String) The name of the provider type.
s2sEnabled This property is required. Boolean
(Boolean) A boolean that indicates whether the provider type is s2s-enabled.
type This property is required. String
(String) The type of the provider type.
updatedAt This property is required. String
(String) The time when the resource was updated.

GetSccProviderTypeCollectionProviderTypeLabel

Text This property is required. string
(String) The text of the label.
Tip This property is required. string
(String) The text to be shown when user hover overs the label.
Text This property is required. string
(String) The text of the label.
Tip This property is required. string
(String) The text to be shown when user hover overs the label.
text This property is required. String
(String) The text of the label.
tip This property is required. String
(String) The text to be shown when user hover overs the label.
text This property is required. string
(String) The text of the label.
tip This property is required. string
(String) The text to be shown when user hover overs the label.
text This property is required. str
(String) The text of the label.
tip This property is required. str
(String) The text to be shown when user hover overs the label.
text This property is required. String
(String) The text of the label.
tip This property is required. 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.