ibm.getSccProviderTypes
Explore with Pulumi AI
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:
- Instance
Id string - The ID of the SCC instance in a particular region.
- Id string
- The unique identifier of the scc_provider_type.
- Instance
Id string - The ID of the SCC instance in a particular region.
- Id string
- The unique identifier of the scc_provider_type.
- instance
Id String - The ID of the SCC instance in a particular region.
- id String
- The unique identifier of the scc_provider_type.
- instance
Id 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.
- instance
Id 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.
- Instance
Id string - Provider
Types List<GetScc Provider Types Provider Type> - (List) The list of provider_types.
- Id string
- The unique identifier of the scc_provider_type.
- Instance
Id string - Provider
Types []GetScc Provider Types Provider Type - (List) The list of provider_types.
- id String
- The unique identifier of the scc_provider_type.
- instance
Id String - provider
Types List<GetScc Provider Types Provider Type> - (List) The list of provider_types.
- id string
- The unique identifier of the scc_provider_type.
- instance
Id string - provider
Types GetScc Provider Types Provider Type[] - (List) The list of provider_types.
- id str
- The unique identifier of the scc_provider_type.
- instance_
id str - provider_
types Sequence[GetScc Provider Types Provider Type] - (List) The list of provider_types.
- id String
- The unique identifier of the scc_provider_type.
- instance
Id String - provider
Types 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:""}
. - 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.
- Id string
- The unique identifier of the scc_provider_type.
- Instance
Limit double - (Integer) The maximum number of instances that can be created for the provider type.
- Labels
List<Get
Scc Provider Types 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:""}
. - 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.
- Id string
- The unique identifier of the scc_provider_type.
- Instance
Limit float64 - (Integer) The maximum number of instances that can be created for the provider type.
- Labels
[]Get
Scc Provider Types 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:""}
. - 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.
- id String
- The unique identifier of the scc_provider_type.
- instance
Limit Double - (Integer) The maximum number of instances that can be created for the provider type.
- labels
List<Get
Scc Provider Types 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:""}
. - 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.
- id string
- The unique identifier of the scc_provider_type.
- instance
Limit number - (Integer) The maximum number of instances that can be created for the provider type.
- labels
Get
Scc Provider Types 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:""}
. - 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[Get
Scc Provider Types 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:""}
. - 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.
- id String
- The unique identifier of the scc_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.
GetSccProviderTypesProviderTypeLabel
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.