ibm.SccScope
Explore with Pulumi AI
Create, update, and delete scc_scopes with this resource.
Example Usage
To create a scope targeting an account
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const sccAccountScope = new ibm.SccScope("sccAccountScope", {
description: "This scope allows a profile attachment to target an IBM account",
environment: "ibm-cloud",
instanceId: "b36c26e9-477a-43a1-9c50-19aff8e5d760",
properties: {
scope_id: "8e042beeccee40748674442960b9eb34",
scope_type: "account",
},
});
import pulumi
import pulumi_ibm as ibm
scc_account_scope = ibm.SccScope("sccAccountScope",
description="This scope allows a profile attachment to target an IBM account",
environment="ibm-cloud",
instance_id="b36c26e9-477a-43a1-9c50-19aff8e5d760",
properties={
"scope_id": "8e042beeccee40748674442960b9eb34",
"scope_type": "account",
})
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.NewSccScope(ctx, "sccAccountScope", &ibm.SccScopeArgs{
Description: pulumi.String("This scope allows a profile attachment to target an IBM account"),
Environment: pulumi.String("ibm-cloud"),
InstanceId: pulumi.String("b36c26e9-477a-43a1-9c50-19aff8e5d760"),
Properties: pulumi.StringMap{
"scope_id": pulumi.String("8e042beeccee40748674442960b9eb34"),
"scope_type": pulumi.String("account"),
},
})
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 sccAccountScope = new Ibm.SccScope("sccAccountScope", new()
{
Description = "This scope allows a profile attachment to target an IBM account",
Environment = "ibm-cloud",
InstanceId = "b36c26e9-477a-43a1-9c50-19aff8e5d760",
Properties =
{
{ "scope_id", "8e042beeccee40748674442960b9eb34" },
{ "scope_type", "account" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.SccScope;
import com.pulumi.ibm.SccScopeArgs;
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) {
var sccAccountScope = new SccScope("sccAccountScope", SccScopeArgs.builder()
.description("This scope allows a profile attachment to target an IBM account")
.environment("ibm-cloud")
.instanceId("b36c26e9-477a-43a1-9c50-19aff8e5d760")
.properties(Map.ofEntries(
Map.entry("scope_id", "8e042beeccee40748674442960b9eb34"),
Map.entry("scope_type", "account")
))
.build());
}
}
resources:
sccAccountScope:
type: ibm:SccScope
properties:
description: This scope allows a profile attachment to target an IBM account
environment: ibm-cloud
instanceId: b36c26e9-477a-43a1-9c50-19aff8e5d760
properties:
scope_id: 8e042beeccee40748674442960b9eb34
scope_type: account
To create a scope targeting an enterprise
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const sccEnterpriseScope = new ibm.SccScope("sccEnterpriseScope", {
description: "This scope allows a profile attachment to target an IBM enterprise",
environment: "ibm-cloud",
instanceId: "b36c26e9-477a-43a1-9c50-19aff8e5d760",
properties: {
scope_id: "6a204bd89f3c8348afd5c77c717a097a",
scope_type: "enterprise",
},
});
import pulumi
import pulumi_ibm as ibm
scc_enterprise_scope = ibm.SccScope("sccEnterpriseScope",
description="This scope allows a profile attachment to target an IBM enterprise",
environment="ibm-cloud",
instance_id="b36c26e9-477a-43a1-9c50-19aff8e5d760",
properties={
"scope_id": "6a204bd89f3c8348afd5c77c717a097a",
"scope_type": "enterprise",
})
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.NewSccScope(ctx, "sccEnterpriseScope", &ibm.SccScopeArgs{
Description: pulumi.String("This scope allows a profile attachment to target an IBM enterprise"),
Environment: pulumi.String("ibm-cloud"),
InstanceId: pulumi.String("b36c26e9-477a-43a1-9c50-19aff8e5d760"),
Properties: pulumi.StringMap{
"scope_id": pulumi.String("6a204bd89f3c8348afd5c77c717a097a"),
"scope_type": pulumi.String("enterprise"),
},
})
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 sccEnterpriseScope = new Ibm.SccScope("sccEnterpriseScope", new()
{
Description = "This scope allows a profile attachment to target an IBM enterprise",
Environment = "ibm-cloud",
InstanceId = "b36c26e9-477a-43a1-9c50-19aff8e5d760",
Properties =
{
{ "scope_id", "6a204bd89f3c8348afd5c77c717a097a" },
{ "scope_type", "enterprise" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.SccScope;
import com.pulumi.ibm.SccScopeArgs;
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) {
var sccEnterpriseScope = new SccScope("sccEnterpriseScope", SccScopeArgs.builder()
.description("This scope allows a profile attachment to target an IBM enterprise")
.environment("ibm-cloud")
.instanceId("b36c26e9-477a-43a1-9c50-19aff8e5d760")
.properties(Map.ofEntries(
Map.entry("scope_id", "6a204bd89f3c8348afd5c77c717a097a"),
Map.entry("scope_type", "enterprise")
))
.build());
}
}
resources:
sccEnterpriseScope:
type: ibm:SccScope
properties:
description: This scope allows a profile attachment to target an IBM enterprise
environment: ibm-cloud
instanceId: b36c26e9-477a-43a1-9c50-19aff8e5d760
properties:
scope_id: 6a204bd89f3c8348afd5c77c717a097a
scope_type: enterprise
To create a scope targeting an account with an exclusion of a resource group
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const sccAccountScope = new ibm.SccScope("sccAccountScope", {
description: "This scope allows a profile attachment to target an IBM account",
environment: "ibm-cloud",
exclusions: [{
scopeId: "ff6ce35b305abe1f768e3317628c0ba3",
scopeType: "account.resource_group",
}],
instanceId: "b36c26e9-477a-43a1-9c50-19aff8e5d760",
properties: {
scope_id: "8e042beeccee40748674442960b9eb34",
scope_type: "account",
},
});
import pulumi
import pulumi_ibm as ibm
scc_account_scope = ibm.SccScope("sccAccountScope",
description="This scope allows a profile attachment to target an IBM account",
environment="ibm-cloud",
exclusions=[{
"scope_id": "ff6ce35b305abe1f768e3317628c0ba3",
"scope_type": "account.resource_group",
}],
instance_id="b36c26e9-477a-43a1-9c50-19aff8e5d760",
properties={
"scope_id": "8e042beeccee40748674442960b9eb34",
"scope_type": "account",
})
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.NewSccScope(ctx, "sccAccountScope", &ibm.SccScopeArgs{
Description: pulumi.String("This scope allows a profile attachment to target an IBM account"),
Environment: pulumi.String("ibm-cloud"),
Exclusions: ibm.SccScopeExclusionArray{
&ibm.SccScopeExclusionArgs{
ScopeId: pulumi.String("ff6ce35b305abe1f768e3317628c0ba3"),
ScopeType: pulumi.String("account.resource_group"),
},
},
InstanceId: pulumi.String("b36c26e9-477a-43a1-9c50-19aff8e5d760"),
Properties: pulumi.StringMap{
"scope_id": pulumi.String("8e042beeccee40748674442960b9eb34"),
"scope_type": pulumi.String("account"),
},
})
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 sccAccountScope = new Ibm.SccScope("sccAccountScope", new()
{
Description = "This scope allows a profile attachment to target an IBM account",
Environment = "ibm-cloud",
Exclusions = new[]
{
new Ibm.Inputs.SccScopeExclusionArgs
{
ScopeId = "ff6ce35b305abe1f768e3317628c0ba3",
ScopeType = "account.resource_group",
},
},
InstanceId = "b36c26e9-477a-43a1-9c50-19aff8e5d760",
Properties =
{
{ "scope_id", "8e042beeccee40748674442960b9eb34" },
{ "scope_type", "account" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.SccScope;
import com.pulumi.ibm.SccScopeArgs;
import com.pulumi.ibm.inputs.SccScopeExclusionArgs;
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) {
var sccAccountScope = new SccScope("sccAccountScope", SccScopeArgs.builder()
.description("This scope allows a profile attachment to target an IBM account")
.environment("ibm-cloud")
.exclusions(SccScopeExclusionArgs.builder()
.scopeId("ff6ce35b305abe1f768e3317628c0ba3")
.scopeType("account.resource_group")
.build())
.instanceId("b36c26e9-477a-43a1-9c50-19aff8e5d760")
.properties(Map.ofEntries(
Map.entry("scope_id", "8e042beeccee40748674442960b9eb34"),
Map.entry("scope_type", "account")
))
.build());
}
}
resources:
sccAccountScope:
type: ibm:SccScope
properties:
description: This scope allows a profile attachment to target an IBM account
environment: ibm-cloud
exclusions:
- scopeId: ff6ce35b305abe1f768e3317628c0ba3
scopeType: account.resource_group
instanceId: b36c26e9-477a-43a1-9c50-19aff8e5d760
properties:
scope_id: 8e042beeccee40748674442960b9eb34
scope_type: account
Create SccScope Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SccScope(name: string, args: SccScopeArgs, opts?: CustomResourceOptions);
@overload
def SccScope(resource_name: str,
args: SccScopeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SccScope(resource_name: str,
opts: Optional[ResourceOptions] = None,
environment: Optional[str] = None,
instance_id: Optional[str] = None,
properties: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
exclusions: Optional[Sequence[SccScopeExclusionArgs]] = None,
name: Optional[str] = None,
scc_scope_id: Optional[str] = None)
func NewSccScope(ctx *Context, name string, args SccScopeArgs, opts ...ResourceOption) (*SccScope, error)
public SccScope(string name, SccScopeArgs args, CustomResourceOptions? opts = null)
public SccScope(String name, SccScopeArgs args)
public SccScope(String name, SccScopeArgs args, CustomResourceOptions options)
type: ibm:SccScope
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SccScopeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SccScopeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SccScopeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SccScopeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SccScopeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var sccScopeResource = new Ibm.SccScope("sccScopeResource", new()
{
Environment = "string",
InstanceId = "string",
Properties =
{
{ "string", "string" },
},
Description = "string",
Exclusions = new[]
{
new Ibm.Inputs.SccScopeExclusionArgs
{
ScopeId = "string",
ScopeType = "string",
},
},
Name = "string",
SccScopeId = "string",
});
example, err := ibm.NewSccScope(ctx, "sccScopeResource", &ibm.SccScopeArgs{
Environment: pulumi.String("string"),
InstanceId: pulumi.String("string"),
Properties: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
Exclusions: ibm.SccScopeExclusionArray{
&ibm.SccScopeExclusionArgs{
ScopeId: pulumi.String("string"),
ScopeType: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
SccScopeId: pulumi.String("string"),
})
var sccScopeResource = new SccScope("sccScopeResource", SccScopeArgs.builder()
.environment("string")
.instanceId("string")
.properties(Map.of("string", "string"))
.description("string")
.exclusions(SccScopeExclusionArgs.builder()
.scopeId("string")
.scopeType("string")
.build())
.name("string")
.sccScopeId("string")
.build());
scc_scope_resource = ibm.SccScope("sccScopeResource",
environment="string",
instance_id="string",
properties={
"string": "string",
},
description="string",
exclusions=[{
"scope_id": "string",
"scope_type": "string",
}],
name="string",
scc_scope_id="string")
const sccScopeResource = new ibm.SccScope("sccScopeResource", {
environment: "string",
instanceId: "string",
properties: {
string: "string",
},
description: "string",
exclusions: [{
scopeId: "string",
scopeType: "string",
}],
name: "string",
sccScopeId: "string",
});
type: ibm:SccScope
properties:
description: string
environment: string
exclusions:
- scopeId: string
scopeType: string
instanceId: string
name: string
properties:
string: string
sccScopeId: string
SccScope Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SccScope resource accepts the following input properties:
- Environment string
- The scope environment. This value details what cloud provider the scope targets.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
. - Acceptable values are:
ibm-cloud
- Constraints: The maximum length is
- Instance
Id string - The ID of the Security and Compliance Center instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$/
.
- Constraints: The maximum length is
- Properties Dictionary<string, string>
The properties of the scope to target.
Keys accepted in properties:
- Description string
- The scope description.
- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- Exclusions
List<Scc
Scope Exclusion> A list of scopes/targets to exclude from a scope.
Nested schema for exclusions:
- Name string
- The scope name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- Scc
Scope stringId - The unique identifier of the scc_scope.
- Environment string
- The scope environment. This value details what cloud provider the scope targets.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
. - Acceptable values are:
ibm-cloud
- Constraints: The maximum length is
- Instance
Id string - The ID of the Security and Compliance Center instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$/
.
- Constraints: The maximum length is
- Properties map[string]string
The properties of the scope to target.
Keys accepted in properties:
- Description string
- The scope description.
- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- Exclusions
[]Scc
Scope Exclusion Args A list of scopes/targets to exclude from a scope.
Nested schema for exclusions:
- Name string
- The scope name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- Scc
Scope stringId - The unique identifier of the scc_scope.
- environment String
- The scope environment. This value details what cloud provider the scope targets.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
. - Acceptable values are:
ibm-cloud
- Constraints: The maximum length is
- instance
Id String - The ID of the Security and Compliance Center instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$/
.
- Constraints: The maximum length is
- properties Map<String,String>
The properties of the scope to target.
Keys accepted in properties:
- description String
- The scope description.
- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- exclusions
List<Scc
Scope Exclusion> A list of scopes/targets to exclude from a scope.
Nested schema for exclusions:
- name String
- The scope name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- scc
Scope StringId - The unique identifier of the scc_scope.
- environment string
- The scope environment. This value details what cloud provider the scope targets.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
. - Acceptable values are:
ibm-cloud
- Constraints: The maximum length is
- instance
Id string - The ID of the Security and Compliance Center instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$/
.
- Constraints: The maximum length is
- properties {[key: string]: string}
The properties of the scope to target.
Keys accepted in properties:
- description string
- The scope description.
- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- exclusions
Scc
Scope Exclusion[] A list of scopes/targets to exclude from a scope.
Nested schema for exclusions:
- name string
- The scope name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- scc
Scope stringId - The unique identifier of the scc_scope.
- environment str
- The scope environment. This value details what cloud provider the scope targets.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
. - Acceptable values are:
ibm-cloud
- Constraints: The maximum length is
- instance_
id str - The ID of the Security and Compliance Center instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$/
.
- Constraints: The maximum length is
- properties Mapping[str, str]
The properties of the scope to target.
Keys accepted in properties:
- description str
- The scope description.
- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- exclusions
Sequence[Scc
Scope Exclusion Args] A list of scopes/targets to exclude from a scope.
Nested schema for exclusions:
- name str
- The scope name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- scc_
scope_ strid - The unique identifier of the scc_scope.
- environment String
- The scope environment. This value details what cloud provider the scope targets.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
. - Acceptable values are:
ibm-cloud
- Constraints: The maximum length is
- instance
Id String - The ID of the Security and Compliance Center instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$/
.
- Constraints: The maximum length is
- properties Map<String>
The properties of the scope to target.
Keys accepted in properties:
- description String
- The scope description.
- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- exclusions List<Property Map>
A list of scopes/targets to exclude from a scope.
Nested schema for exclusions:
- name String
- The scope name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- scc
Scope StringId - The unique identifier of the scc_scope.
Outputs
All input properties are implicitly available as output properties. Additionally, the SccScope resource produces the following output properties:
- Account
Id string - (String) The ID of the account associated with the scope.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-zA-Z0-9_\\-.]*$/
.
- Constraints: The maximum length is
- Attachment
Count double - (Float) The number of attachments tied to the scope.
- Created
By string - (String) The identifier of the account or service ID who created the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- Created
On string - (String) The date when the scope was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Scope
Id string - (String) The ID of the scope.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Updated
By string - (String) The ID of the user or service ID who updated the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- Updated
On string - (String) The date when the scope was updated.
- Account
Id string - (String) The ID of the account associated with the scope.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-zA-Z0-9_\\-.]*$/
.
- Constraints: The maximum length is
- Attachment
Count float64 - (Float) The number of attachments tied to the scope.
- Created
By string - (String) The identifier of the account or service ID who created the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- Created
On string - (String) The date when the scope was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Scope
Id string - (String) The ID of the scope.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Updated
By string - (String) The ID of the user or service ID who updated the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- Updated
On string - (String) The date when the scope was updated.
- account
Id String - (String) The ID of the account associated with the scope.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-zA-Z0-9_\\-.]*$/
.
- Constraints: The maximum length is
- attachment
Count Double - (Float) The number of attachments tied to the scope.
- created
By String - (String) The identifier of the account or service ID who created the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- created
On String - (String) The date when the scope was created.
- id String
- The provider-assigned unique ID for this managed resource.
- scope
Id String - (String) The ID of the scope.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- updated
By String - (String) The ID of the user or service ID who updated the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- updated
On String - (String) The date when the scope was updated.
- account
Id string - (String) The ID of the account associated with the scope.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-zA-Z0-9_\\-.]*$/
.
- Constraints: The maximum length is
- attachment
Count number - (Float) The number of attachments tied to the scope.
- created
By string - (String) The identifier of the account or service ID who created the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- created
On string - (String) The date when the scope was created.
- id string
- The provider-assigned unique ID for this managed resource.
- scope
Id string - (String) The ID of the scope.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- updated
By string - (String) The ID of the user or service ID who updated the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- updated
On string - (String) The date when the scope was updated.
- account_
id str - (String) The ID of the account associated with the scope.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-zA-Z0-9_\\-.]*$/
.
- Constraints: The maximum length is
- attachment_
count float - (Float) The number of attachments tied to the scope.
- created_
by str - (String) The identifier of the account or service ID who created the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- created_
on str - (String) The date when the scope was created.
- id str
- The provider-assigned unique ID for this managed resource.
- scope_
id str - (String) The ID of the scope.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- updated_
by str - (String) The ID of the user or service ID who updated the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- updated_
on str - (String) The date when the scope was updated.
- account
Id String - (String) The ID of the account associated with the scope.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-zA-Z0-9_\\-.]*$/
.
- Constraints: The maximum length is
- attachment
Count Number - (Float) The number of attachments tied to the scope.
- created
By String - (String) The identifier of the account or service ID who created the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- created
On String - (String) The date when the scope was created.
- id String
- The provider-assigned unique ID for this managed resource.
- scope
Id String - (String) The ID of the scope.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- updated
By String - (String) The ID of the user or service ID who updated the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- updated
On String - (String) The date when the scope was updated.
Look up Existing SccScope Resource
Get an existing SccScope resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SccScopeState, opts?: CustomResourceOptions): SccScope
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
attachment_count: Optional[float] = None,
created_by: Optional[str] = None,
created_on: Optional[str] = None,
description: Optional[str] = None,
environment: Optional[str] = None,
exclusions: Optional[Sequence[SccScopeExclusionArgs]] = None,
instance_id: Optional[str] = None,
name: Optional[str] = None,
properties: Optional[Mapping[str, str]] = None,
scc_scope_id: Optional[str] = None,
scope_id: Optional[str] = None,
updated_by: Optional[str] = None,
updated_on: Optional[str] = None) -> SccScope
func GetSccScope(ctx *Context, name string, id IDInput, state *SccScopeState, opts ...ResourceOption) (*SccScope, error)
public static SccScope Get(string name, Input<string> id, SccScopeState? state, CustomResourceOptions? opts = null)
public static SccScope get(String name, Output<String> id, SccScopeState state, CustomResourceOptions options)
resources: _: type: ibm:SccScope get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - (String) The ID of the account associated with the scope.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-zA-Z0-9_\\-.]*$/
.
- Constraints: The maximum length is
- Attachment
Count double - (Float) The number of attachments tied to the scope.
- Created
By string - (String) The identifier of the account or service ID who created the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- Created
On string - (String) The date when the scope was created.
- Description string
- The scope description.
- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- Environment string
- The scope environment. This value details what cloud provider the scope targets.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
. - Acceptable values are:
ibm-cloud
- Constraints: The maximum length is
- Exclusions
List<Scc
Scope Exclusion> A list of scopes/targets to exclude from a scope.
Nested schema for exclusions:
- Instance
Id string - The ID of the Security and Compliance Center instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$/
.
- Constraints: The maximum length is
- Name string
- The scope name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- Properties Dictionary<string, string>
The properties of the scope to target.
Keys accepted in properties:
- Scc
Scope stringId - The unique identifier of the scc_scope.
- Scope
Id string - (String) The ID of the scope.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Updated
By string - (String) The ID of the user or service ID who updated the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- Updated
On string - (String) The date when the scope was updated.
- Account
Id string - (String) The ID of the account associated with the scope.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-zA-Z0-9_\\-.]*$/
.
- Constraints: The maximum length is
- Attachment
Count float64 - (Float) The number of attachments tied to the scope.
- Created
By string - (String) The identifier of the account or service ID who created the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- Created
On string - (String) The date when the scope was created.
- Description string
- The scope description.
- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- Environment string
- The scope environment. This value details what cloud provider the scope targets.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
. - Acceptable values are:
ibm-cloud
- Constraints: The maximum length is
- Exclusions
[]Scc
Scope Exclusion Args A list of scopes/targets to exclude from a scope.
Nested schema for exclusions:
- Instance
Id string - The ID of the Security and Compliance Center instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$/
.
- Constraints: The maximum length is
- Name string
- The scope name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- Properties map[string]string
The properties of the scope to target.
Keys accepted in properties:
- Scc
Scope stringId - The unique identifier of the scc_scope.
- Scope
Id string - (String) The ID of the scope.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Updated
By string - (String) The ID of the user or service ID who updated the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- Updated
On string - (String) The date when the scope was updated.
- account
Id String - (String) The ID of the account associated with the scope.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-zA-Z0-9_\\-.]*$/
.
- Constraints: The maximum length is
- attachment
Count Double - (Float) The number of attachments tied to the scope.
- created
By String - (String) The identifier of the account or service ID who created the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- created
On String - (String) The date when the scope was created.
- description String
- The scope description.
- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- environment String
- The scope environment. This value details what cloud provider the scope targets.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
. - Acceptable values are:
ibm-cloud
- Constraints: The maximum length is
- exclusions
List<Scc
Scope Exclusion> A list of scopes/targets to exclude from a scope.
Nested schema for exclusions:
- instance
Id String - The ID of the Security and Compliance Center instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$/
.
- Constraints: The maximum length is
- name String
- The scope name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- properties Map<String,String>
The properties of the scope to target.
Keys accepted in properties:
- scc
Scope StringId - The unique identifier of the scc_scope.
- scope
Id String - (String) The ID of the scope.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- updated
By String - (String) The ID of the user or service ID who updated the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- updated
On String - (String) The date when the scope was updated.
- account
Id string - (String) The ID of the account associated with the scope.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-zA-Z0-9_\\-.]*$/
.
- Constraints: The maximum length is
- attachment
Count number - (Float) The number of attachments tied to the scope.
- created
By string - (String) The identifier of the account or service ID who created the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- created
On string - (String) The date when the scope was created.
- description string
- The scope description.
- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- environment string
- The scope environment. This value details what cloud provider the scope targets.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
. - Acceptable values are:
ibm-cloud
- Constraints: The maximum length is
- exclusions
Scc
Scope Exclusion[] A list of scopes/targets to exclude from a scope.
Nested schema for exclusions:
- instance
Id string - The ID of the Security and Compliance Center instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$/
.
- Constraints: The maximum length is
- name string
- The scope name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- properties {[key: string]: string}
The properties of the scope to target.
Keys accepted in properties:
- scc
Scope stringId - The unique identifier of the scc_scope.
- scope
Id string - (String) The ID of the scope.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- updated
By string - (String) The ID of the user or service ID who updated the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- updated
On string - (String) The date when the scope was updated.
- account_
id str - (String) The ID of the account associated with the scope.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-zA-Z0-9_\\-.]*$/
.
- Constraints: The maximum length is
- attachment_
count float - (Float) The number of attachments tied to the scope.
- created_
by str - (String) The identifier of the account or service ID who created the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- created_
on str - (String) The date when the scope was created.
- description str
- The scope description.
- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- environment str
- The scope environment. This value details what cloud provider the scope targets.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
. - Acceptable values are:
ibm-cloud
- Constraints: The maximum length is
- exclusions
Sequence[Scc
Scope Exclusion Args] A list of scopes/targets to exclude from a scope.
Nested schema for exclusions:
- instance_
id str - The ID of the Security and Compliance Center instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$/
.
- Constraints: The maximum length is
- name str
- The scope name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- properties Mapping[str, str]
The properties of the scope to target.
Keys accepted in properties:
- scc_
scope_ strid - The unique identifier of the scc_scope.
- scope_
id str - (String) The ID of the scope.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- updated_
by str - (String) The ID of the user or service ID who updated the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- updated_
on str - (String) The date when the scope was updated.
- account
Id String - (String) The ID of the account associated with the scope.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-zA-Z0-9_\\-.]*$/
.
- Constraints: The maximum length is
- attachment
Count Number - (Float) The number of attachments tied to the scope.
- created
By String - (String) The identifier of the account or service ID who created the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- created
On String - (String) The date when the scope was created.
- description String
- The scope description.
- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- environment String
- The scope environment. This value details what cloud provider the scope targets.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
. - Acceptable values are:
ibm-cloud
- Constraints: The maximum length is
- exclusions List<Property Map>
A list of scopes/targets to exclude from a scope.
Nested schema for exclusions:
- instance
Id String - The ID of the Security and Compliance Center instance.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$/
.
- Constraints: The maximum length is
- name String
- The scope name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9_,'\\s\\-\\.]*$/
.
- Constraints: The maximum length is
- properties Map<String>
The properties of the scope to target.
Keys accepted in properties:
- scc
Scope StringId - The unique identifier of the scc_scope.
- scope
Id String - (String) The ID of the scope.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- updated
By String - (String) The ID of the user or service ID who updated the scope.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9-\\.:,_\\s]*$/
.
- Constraints: The maximum length is
- updated
On String - (String) The date when the scope was updated.
Supporting Types
SccScopeExclusion, SccScopeExclusionArgs
- scope_
id str - The ID of the target defined in
scope_type
. - scope_
type str - The type of target to exclude from the scope
- Constraints: Acceptable values are
account
,account.resource_group
, orenterprise.account_group
.
- Constraints: Acceptable values are
Import
You can import the ibm_scc_scope
resource by using id
.
The id
property can be formed from instance_id
, and scope_id
in the following format:
<instance_id>/<scope_id>
instance_id
: A string in the formatacd7032c-15a3-484f-bf5b-67d41534d940
. The ID of the Security and Compliance Center instance.scope_id
: A string. The ID of the scope being targeted.
Syntax
$ pulumi import ibm:index/sccScope:SccScope scc_scope <instance_id>/<scope_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.