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({});
import pulumi
import pulumi_ibm as ibm
scc_provider_type_collection = ibm.get_scc_provider_type_collection()
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var sccProviderTypeCollection = Ibm.GetSccProviderTypeCollection.Invoke();
});
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();
}
}
variables:
sccProviderTypeCollection:
fn::invoke:
function: ibm:getSccProviderTypeCollection
arguments: {}
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>
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]
func GetSccProviderTypeCollection(ctx *Context, args *GetSccProviderTypeCollectionArgs, opts ...InvokeOption) (*GetSccProviderTypeCollectionResult, error)
func GetSccProviderTypeCollectionOutput(ctx *Context, args *GetSccProviderTypeCollectionOutputArgs, opts ...InvokeOption) GetSccProviderTypeCollectionResultOutput
> 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)
}
public static CompletableFuture<GetSccProviderTypeCollectionResult> getSccProviderTypeCollection(GetSccProviderTypeCollectionArgs args, InvokeOptions options)
public static Output<GetSccProviderTypeCollectionResult> getSccProviderTypeCollection(GetSccProviderTypeCollectionArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getSccProviderTypeCollection:getSccProviderTypeCollection
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - Id string
- (String) The unique identifier of the provider type.
- Instance
Id string - Id string
- (String) The unique identifier of the provider type.
- instance
Id String - id String
- (String) The unique identifier of the provider type.
- instance
Id string - id string
- (String) The unique identifier of the provider type.
- instance_
id str - id str
- (String) The unique identifier of the provider type.
- instance
Id 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.
- Instance
Id string - Provider
Types List<GetScc Provider Type Collection Provider Type> - (List) The array of provder type.
- Constraints: The minimum length is
0
items. Nested schema for provider_types:
- Constraints: The minimum length is
- Id string
- (String) The unique identifier of the provider type.
- Instance
Id string - Provider
Types []GetScc Provider Type Collection Provider Type - (List) The array of provder type.
- Constraints: The minimum length is
0
items. Nested schema for provider_types:
- Constraints: The minimum length is
- id String
- (String) The unique identifier of the provider type.
- instance
Id String - provider
Types List<GetScc Provider Type Collection Provider Type> - (List) The array of provder type.
- Constraints: The minimum length is
0
items. Nested schema for provider_types:
- Constraints: The minimum length is
- id string
- (String) The unique identifier of the provider type.
- instance
Id string - provider
Types GetScc Provider Type Collection Provider Type[] - (List) The array of provder type.
- Constraints: The minimum length is
0
items. Nested schema for provider_types:
- Constraints: The minimum length is
- id str
- (String) The unique identifier of the provider type.
- instance_
id str - provider_
types Sequence[GetScc Provider Type Collection Provider Type] - (List) The array of provder type.
- Constraints: The minimum length is
0
items. Nested schema for provider_types:
- Constraints: The minimum length is
- id String
- (String) The unique identifier of the provider type.
- instance
Id String - provider
Types List<Property Map> - (List) The array of provder type.
- Constraints: The minimum length is
0
items. Nested schema for provider_types:
- Constraints: The minimum length is
Supporting Types
GetSccProviderTypeCollectionProviderType
- 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:""}
. NOTE; If the provider type is s2s-enabled, which means that if thes2s_enabled
field is set totrue
, then a CRN field of type text is required in the attributes value object. - Created
At string - (String) The time when the resource was created.
- Data
Type string - (String) The format of the results that a provider supports.
- Description string
- (String) The provider type description.
- Icon string
- (String) The icon of a provider in .svg format that is encoded as a base64 string.
- Id string
- (String) The unique identifier of the provider type.
- Instance
Limit double - (Integer) The maximum number of instances that can be created for the provider type.
- Labels
List<Get
Scc Provider Type Collection Provider Type Label> - (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
orPULL
). - Name string
- (String) The name of the provider type.
- S2s
Enabled bool - (Boolean) A boolean that indicates whether the provider type is s2s-enabled.
- Type string
- (String) The type of the provider type.
- Updated
At 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:""}
. NOTE; If the provider type is s2s-enabled, which means that if thes2s_enabled
field is set totrue
, then a CRN field of type text is required in the attributes value object. - Created
At string - (String) The time when the resource was created.
- Data
Type string - (String) The format of the results that a provider supports.
- Description string
- (String) The provider type description.
- Icon string
- (String) The icon of a provider in .svg format that is encoded as a base64 string.
- Id string
- (String) The unique identifier of the provider type.
- Instance
Limit float64 - (Integer) The maximum number of instances that can be created for the provider type.
- Labels
[]Get
Scc Provider Type Collection Provider Type Label - (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
orPULL
). - Name string
- (String) The name of the provider type.
- S2s
Enabled bool - (Boolean) A boolean that indicates whether the provider type is s2s-enabled.
- Type string
- (String) The type of the provider type.
- Updated
At 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:""}
. NOTE; If the provider type is s2s-enabled, which means that if thes2s_enabled
field is set totrue
, then a CRN field of type text is required in the attributes value object. - created
At String - (String) The time when the resource was created.
- data
Type String - (String) The format of the results that a provider supports.
- description String
- (String) The provider type description.
- icon String
- (String) The icon of a provider in .svg format that is encoded as a base64 string.
- id String
- (String) The unique identifier of the provider type.
- instance
Limit Double - (Integer) The maximum number of instances that can be created for the provider type.
- labels
List<Get
Scc Provider Type Collection Provider Type Label> - (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
orPULL
). - name String
- (String) The name of the provider type.
- s2s
Enabled Boolean - (Boolean) A boolean that indicates whether the provider type is s2s-enabled.
- type String
- (String) The type of the provider type.
- updated
At 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:""}
. NOTE; If the provider type is s2s-enabled, which means that if thes2s_enabled
field is set totrue
, then a CRN field of type text is required in the attributes value object. - created
At string - (String) The time when the resource was created.
- data
Type string - (String) The format of the results that a provider supports.
- description string
- (String) The provider type description.
- icon string
- (String) The icon of a provider in .svg format that is encoded as a base64 string.
- id string
- (String) The unique identifier of the provider type.
- instance
Limit number - (Integer) The maximum number of instances that can be created for the provider type.
- labels
Get
Scc Provider Type Collection Provider Type Label[] - (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
orPULL
). - name string
- (String) The name of the provider type.
- s2s
Enabled boolean - (Boolean) A boolean that indicates whether the provider type is s2s-enabled.
- type string
- (String) The type of the provider type.
- updated
At 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:""}
. NOTE; If the provider type is s2s-enabled, which means that if thes2s_enabled
field is set totrue
, then a CRN field of type text is required in the attributes value object. - 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.
- icon str
- (String) The icon of a provider in .svg format that is encoded as a base64 string.
- id str
- (String) The unique identifier of the provider type.
- instance_
limit float - (Integer) The maximum number of instances that can be created for the provider type.
- labels
Sequence[Get
Scc Provider Type Collection Provider Type Label] - (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
orPULL
). - 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:""}
. NOTE; If the provider type is s2s-enabled, which means that if thes2s_enabled
field is set totrue
, then a CRN field of type text is required in the attributes value object. - created
At String - (String) The time when the resource was created.
- data
Type String - (String) The format of the results that a provider supports.
- description String
- (String) The provider type description.
- icon String
- (String) The icon of a provider in .svg format that is encoded as a base64 string.
- id String
- (String) The unique identifier of the provider type.
- instance
Limit 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
orPULL
). - name String
- (String) The name of the provider type.
- s2s
Enabled Boolean - (Boolean) A boolean that indicates whether the provider type is s2s-enabled.
- type String
- (String) The type of the provider type.
- updated
At String - (String) The time when the resource was updated.
GetSccProviderTypeCollectionProviderTypeLabel
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.