ibm.getSccInstanceSettings
Explore with Pulumi AI
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:
- Instance
Id string - Id string
- Instance
Id string - Id string
- instance
Id String - id String
- instance
Id string - id string
- instance_
id str - id str
- instance
Id String - id String
getSccInstanceSettings Result
The following output properties are available:
- Event
Notifications List<GetScc Instance Settings Event Notification> - (List) The Event Notifications settings. Nested schema for event_notifications:
- Id string
- Instance
Id string - Object
Storages List<GetScc Instance Settings Object Storage> - (List) The Cloud Object Storage settings. Nested schema for object_storage:
- Event
Notifications []GetScc Instance Settings Event Notification - (List) The Event Notifications settings. Nested schema for event_notifications:
- Id string
- Instance
Id string - Object
Storages []GetScc Instance Settings Object Storage - (List) The Cloud Object Storage settings. Nested schema for object_storage:
- event
Notifications List<GetScc Instance Settings Event Notification> - (List) The Event Notifications settings. Nested schema for event_notifications:
- id String
- instance
Id String - object
Storages List<GetScc Instance Settings Object Storage> - (List) The Cloud Object Storage settings. Nested schema for object_storage:
- event
Notifications GetScc Instance Settings Event Notification[] - (List) The Event Notifications settings. Nested schema for event_notifications:
- id string
- instance
Id string - object
Storages GetScc Instance Settings Object Storage[] - (List) The Cloud Object Storage settings. Nested schema for object_storage:
- event_
notifications Sequence[GetScc Instance Settings Event Notification] - (List) The Event Notifications settings. Nested schema for event_notifications:
- id str
- instance_
id str - object_
storages Sequence[GetScc Instance Settings Object Storage] - (List) The Cloud Object Storage settings. Nested schema for object_storage:
- event
Notifications List<Property Map> - (List) The Event Notifications settings. Nested schema for event_notifications:
- id String
- instance
Id String - object
Storages List<Property Map> - (List) The Cloud Object Storage settings. Nested schema for object_storage:
Supporting Types
GetSccInstanceSettingsEventNotification
- Instance
Crn string - (String) The connected Cloud Object Storage instance CRN.
- Source
Id string - (String) The connected Security and Compliance Center instance CRN.
- Updated
On string - (String) The date when the bucket connection was updated.
- Instance
Crn string - (String) The connected Cloud Object Storage instance CRN.
- Source
Id string - (String) The connected Security and Compliance Center instance CRN.
- Updated
On string - (String) The date when the bucket connection was updated.
- instance
Crn String - (String) The connected Cloud Object Storage instance CRN.
- source
Id String - (String) The connected Security and Compliance Center instance CRN.
- updated
On String - (String) The date when the bucket connection was updated.
- instance
Crn string - (String) The connected Cloud Object Storage instance CRN.
- source
Id string - (String) The connected Security and Compliance Center instance CRN.
- updated
On 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.
- instance
Crn String - (String) The connected Cloud Object Storage instance CRN.
- source
Id String - (String) The connected Security and Compliance Center instance CRN.
- updated
On String - (String) The date when the bucket connection was updated.
GetSccInstanceSettingsObjectStorage
- Bucket string
- (String) The connected Cloud Object Storage bucket name.
- Bucket
Endpoint string - (String) The connected Cloud Object Storage bucket endpoint.
- Bucket
Location string - (String) The connected Cloud Object Storage bucket location.
- Instance
Crn string - (String) The connected Cloud Object Storage instance CRN.
- Updated
On string - (String) The date when the bucket connection was updated.
- Bucket string
- (String) The connected Cloud Object Storage bucket name.
- Bucket
Endpoint string - (String) The connected Cloud Object Storage bucket endpoint.
- Bucket
Location string - (String) The connected Cloud Object Storage bucket location.
- Instance
Crn string - (String) The connected Cloud Object Storage instance CRN.
- Updated
On string - (String) The date when the bucket connection was updated.
- bucket String
- (String) The connected Cloud Object Storage bucket name.
- bucket
Endpoint String - (String) The connected Cloud Object Storage bucket endpoint.
- bucket
Location String - (String) The connected Cloud Object Storage bucket location.
- instance
Crn String - (String) The connected Cloud Object Storage instance CRN.
- updated
On String - (String) The date when the bucket connection was updated.
- bucket string
- (String) The connected Cloud Object Storage bucket name.
- bucket
Endpoint string - (String) The connected Cloud Object Storage bucket endpoint.
- bucket
Location string - (String) The connected Cloud Object Storage bucket location.
- instance
Crn string - (String) The connected Cloud Object Storage instance CRN.
- updated
On 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.
- bucket
Endpoint String - (String) The connected Cloud Object Storage bucket endpoint.
- bucket
Location String - (String) The connected Cloud Object Storage bucket location.
- instance
Crn String - (String) The connected Cloud Object Storage instance CRN.
- updated
On 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.