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

ibm.getSccInstanceSettings

Explore with Pulumi AI

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

    Provides a read-only data source to retrieve information about scc_instance_settings. You can then 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 sccInstanceSettingsInstance = ibm.getSccInstanceSettings({
        instanceId: "00000000-1111-2222-3333-444444444444",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    scc_instance_settings_instance = ibm.get_scc_instance_settings(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.LookupSccInstanceSettings(ctx, &ibm.LookupSccInstanceSettingsArgs{
    			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 sccInstanceSettingsInstance = Ibm.GetSccInstanceSettings.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.GetSccInstanceSettingsArgs;
    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 sccInstanceSettingsInstance = IbmFunctions.getSccInstanceSettings(GetSccInstanceSettingsArgs.builder()
                .instanceId("00000000-1111-2222-3333-444444444444")
                .build());
    
        }
    }
    
    variables:
      sccInstanceSettingsInstance:
        fn::invoke:
          function: ibm:getSccInstanceSettings
          arguments:
            instanceId: 00000000-1111-2222-3333-444444444444
    

    Using getSccInstanceSettings

    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 getSccInstanceSettings(args: GetSccInstanceSettingsArgs, opts?: InvokeOptions): Promise<GetSccInstanceSettingsResult>
    function getSccInstanceSettingsOutput(args: GetSccInstanceSettingsOutputArgs, opts?: InvokeOptions): Output<GetSccInstanceSettingsResult>
    def get_scc_instance_settings(id: Optional[str] = None,
                                  instance_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetSccInstanceSettingsResult
    def get_scc_instance_settings_output(id: Optional[pulumi.Input[str]] = None,
                                  instance_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetSccInstanceSettingsResult]
    func LookupSccInstanceSettings(ctx *Context, args *LookupSccInstanceSettingsArgs, opts ...InvokeOption) (*LookupSccInstanceSettingsResult, error)
    func LookupSccInstanceSettingsOutput(ctx *Context, args *LookupSccInstanceSettingsOutputArgs, opts ...InvokeOption) LookupSccInstanceSettingsResultOutput

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

    public static class GetSccInstanceSettings 
    {
        public static Task<GetSccInstanceSettingsResult> InvokeAsync(GetSccInstanceSettingsArgs args, InvokeOptions? opts = null)
        public static Output<GetSccInstanceSettingsResult> Invoke(GetSccInstanceSettingsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSccInstanceSettingsResult> getSccInstanceSettings(GetSccInstanceSettingsArgs args, InvokeOptions options)
    public static Output<GetSccInstanceSettingsResult> getSccInstanceSettings(GetSccInstanceSettingsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getSccInstanceSettings:getSccInstanceSettings
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    Id string
    InstanceId string
    Id string
    instanceId String
    id String
    instanceId string
    id string
    instanceId String
    id String

    getSccInstanceSettings Result

    The following output properties are available:

    EventNotifications List<GetSccInstanceSettingsEventNotification>
    (List) The Event Notifications settings. Nested schema for event_notifications:
    Id string
    InstanceId string
    ObjectStorages List<GetSccInstanceSettingsObjectStorage>
    (List) The Cloud Object Storage settings. Nested schema for object_storage:
    EventNotifications []GetSccInstanceSettingsEventNotification
    (List) The Event Notifications settings. Nested schema for event_notifications:
    Id string
    InstanceId string
    ObjectStorages []GetSccInstanceSettingsObjectStorage
    (List) The Cloud Object Storage settings. Nested schema for object_storage:
    eventNotifications List<GetSccInstanceSettingsEventNotification>
    (List) The Event Notifications settings. Nested schema for event_notifications:
    id String
    instanceId String
    objectStorages List<GetSccInstanceSettingsObjectStorage>
    (List) The Cloud Object Storage settings. Nested schema for object_storage:
    eventNotifications GetSccInstanceSettingsEventNotification[]
    (List) The Event Notifications settings. Nested schema for event_notifications:
    id string
    instanceId string
    objectStorages GetSccInstanceSettingsObjectStorage[]
    (List) The Cloud Object Storage settings. Nested schema for object_storage:
    event_notifications Sequence[GetSccInstanceSettingsEventNotification]
    (List) The Event Notifications settings. Nested schema for event_notifications:
    id str
    instance_id str
    object_storages Sequence[GetSccInstanceSettingsObjectStorage]
    (List) The Cloud Object Storage settings. Nested schema for object_storage:
    eventNotifications List<Property Map>
    (List) The Event Notifications settings. Nested schema for event_notifications:
    id String
    instanceId String
    objectStorages List<Property Map>
    (List) The Cloud Object Storage settings. Nested schema for object_storage:

    Supporting Types

    GetSccInstanceSettingsEventNotification

    InstanceCrn string
    (String) The connected Cloud Object Storage instance CRN.
    SourceId string
    (String) The connected Security and Compliance Center instance CRN.
    UpdatedOn string
    (String) The date when the bucket connection was updated.
    InstanceCrn string
    (String) The connected Cloud Object Storage instance CRN.
    SourceId string
    (String) The connected Security and Compliance Center instance CRN.
    UpdatedOn string
    (String) The date when the bucket connection was updated.
    instanceCrn String
    (String) The connected Cloud Object Storage instance CRN.
    sourceId String
    (String) The connected Security and Compliance Center instance CRN.
    updatedOn String
    (String) The date when the bucket connection was updated.
    instanceCrn string
    (String) The connected Cloud Object Storage instance CRN.
    sourceId string
    (String) The connected Security and Compliance Center instance CRN.
    updatedOn string
    (String) The date when the bucket connection was updated.
    instance_crn str
    (String) The connected Cloud Object Storage instance CRN.
    source_id str
    (String) The connected Security and Compliance Center instance CRN.
    updated_on str
    (String) The date when the bucket connection was updated.
    instanceCrn String
    (String) The connected Cloud Object Storage instance CRN.
    sourceId String
    (String) The connected Security and Compliance Center instance CRN.
    updatedOn String
    (String) The date when the bucket connection was updated.

    GetSccInstanceSettingsObjectStorage

    Bucket string
    (String) The connected Cloud Object Storage bucket name.
    BucketEndpoint string
    (String) The connected Cloud Object Storage bucket endpoint.
    BucketLocation string
    (String) The connected Cloud Object Storage bucket location.
    InstanceCrn string
    (String) The connected Cloud Object Storage instance CRN.
    UpdatedOn string
    (String) The date when the bucket connection was updated.
    Bucket string
    (String) The connected Cloud Object Storage bucket name.
    BucketEndpoint string
    (String) The connected Cloud Object Storage bucket endpoint.
    BucketLocation string
    (String) The connected Cloud Object Storage bucket location.
    InstanceCrn string
    (String) The connected Cloud Object Storage instance CRN.
    UpdatedOn string
    (String) The date when the bucket connection was updated.
    bucket String
    (String) The connected Cloud Object Storage bucket name.
    bucketEndpoint String
    (String) The connected Cloud Object Storage bucket endpoint.
    bucketLocation String
    (String) The connected Cloud Object Storage bucket location.
    instanceCrn String
    (String) The connected Cloud Object Storage instance CRN.
    updatedOn String
    (String) The date when the bucket connection was updated.
    bucket string
    (String) The connected Cloud Object Storage bucket name.
    bucketEndpoint string
    (String) The connected Cloud Object Storage bucket endpoint.
    bucketLocation string
    (String) The connected Cloud Object Storage bucket location.
    instanceCrn string
    (String) The connected Cloud Object Storage instance CRN.
    updatedOn string
    (String) The date when the bucket connection was updated.
    bucket str
    (String) The connected Cloud Object Storage bucket name.
    bucket_endpoint str
    (String) The connected Cloud Object Storage bucket endpoint.
    bucket_location str
    (String) The connected Cloud Object Storage bucket location.
    instance_crn str
    (String) The connected Cloud Object Storage instance CRN.
    updated_on str
    (String) The date when the bucket connection was updated.
    bucket String
    (String) The connected Cloud Object Storage bucket name.
    bucketEndpoint String
    (String) The connected Cloud Object Storage bucket endpoint.
    bucketLocation String
    (String) The connected Cloud Object Storage bucket location.
    instanceCrn String
    (String) The connected Cloud Object Storage instance CRN.
    updatedOn String
    (String) The date when the bucket connection was updated.

    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