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

ibm.getConfigAggregatorResourceCollectionStatus

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 config_aggregator_resource_collection_status. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const configAggregatorResourceCollectionStatus = ibm.getConfigAggregatorResourceCollectionStatus({
        instanceId: _var.instance_id,
        region: _var.region,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    config_aggregator_resource_collection_status = ibm.get_config_aggregator_resource_collection_status(instance_id=var["instance_id"],
        region=var["region"])
    
    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.GetConfigAggregatorResourceCollectionStatus(ctx, &ibm.GetConfigAggregatorResourceCollectionStatusArgs{
    			InstanceId: _var.Instance_id,
    			Region:     pulumi.StringRef(_var.Region),
    		}, 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 configAggregatorResourceCollectionStatus = Ibm.GetConfigAggregatorResourceCollectionStatus.Invoke(new()
        {
            InstanceId = @var.Instance_id,
            Region = @var.Region,
        });
    
    });
    
    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.GetConfigAggregatorResourceCollectionStatusArgs;
    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 configAggregatorResourceCollectionStatus = IbmFunctions.getConfigAggregatorResourceCollectionStatus(GetConfigAggregatorResourceCollectionStatusArgs.builder()
                .instanceId(var_.instance_id())
                .region(var_.region())
                .build());
    
        }
    }
    
    variables:
      configAggregatorResourceCollectionStatus:
        fn::invoke:
          function: ibm:getConfigAggregatorResourceCollectionStatus
          arguments:
            instanceId: ${var.instance_id}
            region: ${var.region}
    

    Using getConfigAggregatorResourceCollectionStatus

    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 getConfigAggregatorResourceCollectionStatus(args: GetConfigAggregatorResourceCollectionStatusArgs, opts?: InvokeOptions): Promise<GetConfigAggregatorResourceCollectionStatusResult>
    function getConfigAggregatorResourceCollectionStatusOutput(args: GetConfigAggregatorResourceCollectionStatusOutputArgs, opts?: InvokeOptions): Output<GetConfigAggregatorResourceCollectionStatusResult>
    def get_config_aggregator_resource_collection_status(id: Optional[str] = None,
                                                         instance_id: Optional[str] = None,
                                                         region: Optional[str] = None,
                                                         opts: Optional[InvokeOptions] = None) -> GetConfigAggregatorResourceCollectionStatusResult
    def get_config_aggregator_resource_collection_status_output(id: Optional[pulumi.Input[str]] = None,
                                                         instance_id: Optional[pulumi.Input[str]] = None,
                                                         region: Optional[pulumi.Input[str]] = None,
                                                         opts: Optional[InvokeOptions] = None) -> Output[GetConfigAggregatorResourceCollectionStatusResult]
    func GetConfigAggregatorResourceCollectionStatus(ctx *Context, args *GetConfigAggregatorResourceCollectionStatusArgs, opts ...InvokeOption) (*GetConfigAggregatorResourceCollectionStatusResult, error)
    func GetConfigAggregatorResourceCollectionStatusOutput(ctx *Context, args *GetConfigAggregatorResourceCollectionStatusOutputArgs, opts ...InvokeOption) GetConfigAggregatorResourceCollectionStatusResultOutput

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

    public static class GetConfigAggregatorResourceCollectionStatus 
    {
        public static Task<GetConfigAggregatorResourceCollectionStatusResult> InvokeAsync(GetConfigAggregatorResourceCollectionStatusArgs args, InvokeOptions? opts = null)
        public static Output<GetConfigAggregatorResourceCollectionStatusResult> Invoke(GetConfigAggregatorResourceCollectionStatusInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConfigAggregatorResourceCollectionStatusResult> getConfigAggregatorResourceCollectionStatus(GetConfigAggregatorResourceCollectionStatusArgs args, InvokeOptions options)
    public static Output<GetConfigAggregatorResourceCollectionStatusResult> getConfigAggregatorResourceCollectionStatus(GetConfigAggregatorResourceCollectionStatusArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getConfigAggregatorResourceCollectionStatus:getConfigAggregatorResourceCollectionStatus
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    (Required, Forces new resource, String) The GUID of the Configuration Aggregator instance.
    Id string
    The unique identifier of the config_aggregator_resource_collection_status.
    Region string
    (Optional, Forces new resource, String) The region of the Configuration Aggregator instance. If not provided defaults to the region defined in the IBM provider configuration.
    InstanceId string
    (Required, Forces new resource, String) The GUID of the Configuration Aggregator instance.
    Id string
    The unique identifier of the config_aggregator_resource_collection_status.
    Region string
    (Optional, Forces new resource, String) The region of the Configuration Aggregator instance. If not provided defaults to the region defined in the IBM provider configuration.
    instanceId String
    (Required, Forces new resource, String) The GUID of the Configuration Aggregator instance.
    id String
    The unique identifier of the config_aggregator_resource_collection_status.
    region String
    (Optional, Forces new resource, String) The region of the Configuration Aggregator instance. If not provided defaults to the region defined in the IBM provider configuration.
    instanceId string
    (Required, Forces new resource, String) The GUID of the Configuration Aggregator instance.
    id string
    The unique identifier of the config_aggregator_resource_collection_status.
    region string
    (Optional, Forces new resource, String) The region of the Configuration Aggregator instance. If not provided defaults to the region defined in the IBM provider configuration.
    instance_id str
    (Required, Forces new resource, String) The GUID of the Configuration Aggregator instance.
    id str
    The unique identifier of the config_aggregator_resource_collection_status.
    region str
    (Optional, Forces new resource, String) The region of the Configuration Aggregator instance. If not provided defaults to the region defined in the IBM provider configuration.
    instanceId String
    (Required, Forces new resource, String) The GUID of the Configuration Aggregator instance.
    id String
    The unique identifier of the config_aggregator_resource_collection_status.
    region String
    (Optional, Forces new resource, String) The region of the Configuration Aggregator instance. If not provided defaults to the region defined in the IBM provider configuration.

    getConfigAggregatorResourceCollectionStatus Result

    The following output properties are available:

    Id string
    The unique identifier of the config_aggregator_resource_collection_status.
    InstanceId string
    (Required, Forces new resource, String) The GUID of the Configuration Aggregator instance.
    LastConfigRefreshTime string
    (String) The timestamp at which the configuration was last refreshed.
    Region string
    (Optional, Forces new resource, String) The region of the Configuration Aggregator instance. If not provided defaults to the region defined in the IBM provider configuration.
    Status string
    (String) Status of the resource collection.

    • Constraints: Allowable values are: initiated, inprogress, complete.
    Id string
    The unique identifier of the config_aggregator_resource_collection_status.
    InstanceId string
    (Required, Forces new resource, String) The GUID of the Configuration Aggregator instance.
    LastConfigRefreshTime string
    (String) The timestamp at which the configuration was last refreshed.
    Region string
    (Optional, Forces new resource, String) The region of the Configuration Aggregator instance. If not provided defaults to the region defined in the IBM provider configuration.
    Status string
    (String) Status of the resource collection.

    • Constraints: Allowable values are: initiated, inprogress, complete.
    id String
    The unique identifier of the config_aggregator_resource_collection_status.
    instanceId String
    (Required, Forces new resource, String) The GUID of the Configuration Aggregator instance.
    lastConfigRefreshTime String
    (String) The timestamp at which the configuration was last refreshed.
    region String
    (Optional, Forces new resource, String) The region of the Configuration Aggregator instance. If not provided defaults to the region defined in the IBM provider configuration.
    status String
    (String) Status of the resource collection.

    • Constraints: Allowable values are: initiated, inprogress, complete.
    id string
    The unique identifier of the config_aggregator_resource_collection_status.
    instanceId string
    (Required, Forces new resource, String) The GUID of the Configuration Aggregator instance.
    lastConfigRefreshTime string
    (String) The timestamp at which the configuration was last refreshed.
    region string
    (Optional, Forces new resource, String) The region of the Configuration Aggregator instance. If not provided defaults to the region defined in the IBM provider configuration.
    status string
    (String) Status of the resource collection.

    • Constraints: Allowable values are: initiated, inprogress, complete.
    id str
    The unique identifier of the config_aggregator_resource_collection_status.
    instance_id str
    (Required, Forces new resource, String) The GUID of the Configuration Aggregator instance.
    last_config_refresh_time str
    (String) The timestamp at which the configuration was last refreshed.
    region str
    (Optional, Forces new resource, String) The region of the Configuration Aggregator instance. If not provided defaults to the region defined in the IBM provider configuration.
    status str
    (String) Status of the resource collection.

    • Constraints: Allowable values are: initiated, inprogress, complete.
    id String
    The unique identifier of the config_aggregator_resource_collection_status.
    instanceId String
    (Required, Forces new resource, String) The GUID of the Configuration Aggregator instance.
    lastConfigRefreshTime String
    (String) The timestamp at which the configuration was last refreshed.
    region String
    (Optional, Forces new resource, String) The region of the Configuration Aggregator instance. If not provided defaults to the region defined in the IBM provider configuration.
    status String
    (String) Status of the resource collection.

    • Constraints: Allowable values are: initiated, inprogress, complete.

    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