1. Packages
  2. Packages
  3. Ibm Provider
  4. API Docs
  5. getSccScope
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud

    Using getSccScope

    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 getSccScope(args: GetSccScopeArgs, opts?: InvokeOptions): Promise<GetSccScopeResult>
    function getSccScopeOutput(args: GetSccScopeOutputArgs, opts?: InvokeOptions): Output<GetSccScopeResult>
    def get_scc_scope(id: Optional[str] = None,
                      instance_id: Optional[str] = None,
                      scope_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetSccScopeResult
    def get_scc_scope_output(id: pulumi.Input[Optional[str]] = None,
                      instance_id: pulumi.Input[Optional[str]] = None,
                      scope_id: pulumi.Input[Optional[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetSccScopeResult]
    func LookupSccScope(ctx *Context, args *LookupSccScopeArgs, opts ...InvokeOption) (*LookupSccScopeResult, error)
    func LookupSccScopeOutput(ctx *Context, args *LookupSccScopeOutputArgs, opts ...InvokeOption) LookupSccScopeResultOutput

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

    public static class GetSccScope 
    {
        public static Task<GetSccScopeResult> InvokeAsync(GetSccScopeArgs args, InvokeOptions? opts = null)
        public static Output<GetSccScopeResult> Invoke(GetSccScopeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSccScopeResult> getSccScope(GetSccScopeArgs args, InvokeOptions options)
    public static Output<GetSccScopeResult> getSccScope(GetSccScopeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getSccScope:getSccScope
      arguments:
        # arguments dictionary
    data "ibm_getsccscope" "name" {
        # arguments
    }

    The following arguments are supported:

    InstanceId string
    ScopeId string
    Id string
    InstanceId string
    ScopeId string
    Id string
    instance_id string
    scope_id string
    id string
    instanceId String
    scopeId String
    id String
    instanceId string
    scopeId string
    id string
    instanceId String
    scopeId String
    id String

    getSccScope Result

    The following output properties are available:

    AccountId string
    AttachmentCount double
    CreatedBy string
    CreatedOn string
    Description string
    Environment string
    Exclusions List<GetSccScopeExclusion>
    Id string
    InstanceId string
    Name string
    Properties Dictionary<string, string>
    ScopeId string
    UpdatedBy string
    UpdatedOn string
    AccountId string
    AttachmentCount float64
    CreatedBy string
    CreatedOn string
    Description string
    Environment string
    Exclusions []GetSccScopeExclusion
    Id string
    InstanceId string
    Name string
    Properties map[string]string
    ScopeId string
    UpdatedBy string
    UpdatedOn string
    account_id string
    attachment_count number
    created_by string
    created_on string
    description string
    environment string
    exclusions list(object)
    id string
    instance_id string
    name string
    properties map(string)
    scope_id string
    updated_by string
    updated_on string
    accountId String
    attachmentCount Double
    createdBy String
    createdOn String
    description String
    environment String
    exclusions List<GetSccScopeExclusion>
    id String
    instanceId String
    name String
    properties Map<String,String>
    scopeId String
    updatedBy String
    updatedOn String
    accountId string
    attachmentCount number
    createdBy string
    createdOn string
    description string
    environment string
    exclusions GetSccScopeExclusion[]
    id string
    instanceId string
    name string
    properties {[key: string]: string}
    scopeId string
    updatedBy string
    updatedOn string
    accountId String
    attachmentCount Number
    createdBy String
    createdOn String
    description String
    environment String
    exclusions List<Property Map>
    id String
    instanceId String
    name String
    properties Map<String>
    scopeId String
    updatedBy String
    updatedOn String

    Supporting Types

    GetSccScopeExclusion

    ScopeId string
    ScopeType string
    ScopeId string
    ScopeType string
    scope_id string
    scope_type string
    scopeId String
    scopeType String
    scopeId string
    scopeType string
    scopeId String
    scopeType String

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    Viewing docs for ibm 2.1.0
    published on Tuesday, May 5, 2026 by ibm-cloud
      Try Pulumi Cloud free. Your team will thank you.