1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getDeviceRedistributionCollector
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
scm logo
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi

    DeviceRedistributionCollector data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const settingsData = scm.getDeviceRedistributionCollector({
        id: "8c1f7d95-83bd-4ae6-877c-89e1a212ef14",
    });
    export const fetchedSettings = settingsData;
    
    import pulumi
    import pulumi_scm as scm
    
    settings_data = scm.get_device_redistribution_collector(id="8c1f7d95-83bd-4ae6-877c-89e1a212ef14")
    pulumi.export("fetchedSettings", settings_data)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		settingsData, err := scm.LookupDeviceRedistributionCollector(ctx, &scm.LookupDeviceRedistributionCollectorArgs{
    			Id: "8c1f7d95-83bd-4ae6-877c-89e1a212ef14",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("fetchedSettings", settingsData)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var settingsData = Scm.GetDeviceRedistributionCollector.Invoke(new()
        {
            Id = "8c1f7d95-83bd-4ae6-877c-89e1a212ef14",
        });
    
        return new Dictionary<string, object?>
        {
            ["fetchedSettings"] = settingsData,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetDeviceRedistributionCollectorArgs;
    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 settingsData = ScmFunctions.getDeviceRedistributionCollector(GetDeviceRedistributionCollectorArgs.builder()
                .id("8c1f7d95-83bd-4ae6-877c-89e1a212ef14")
                .build());
    
            ctx.export("fetchedSettings", settingsData);
        }
    }
    
    variables:
      settingsData:
        fn::invoke:
          function: scm:getDeviceRedistributionCollector
          arguments:
            id: 8c1f7d95-83bd-4ae6-877c-89e1a212ef14
    outputs:
      fetchedSettings: ${settingsData}
    

    Using getDeviceRedistributionCollector

    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 getDeviceRedistributionCollector(args: GetDeviceRedistributionCollectorArgs, opts?: InvokeOptions): Promise<GetDeviceRedistributionCollectorResult>
    function getDeviceRedistributionCollectorOutput(args: GetDeviceRedistributionCollectorOutputArgs, opts?: InvokeOptions): Output<GetDeviceRedistributionCollectorResult>
    def get_device_redistribution_collector(device: Optional[str] = None,
                                            folder: Optional[str] = None,
                                            id: Optional[str] = None,
                                            snippet: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetDeviceRedistributionCollectorResult
    def get_device_redistribution_collector_output(device: Optional[pulumi.Input[str]] = None,
                                            folder: Optional[pulumi.Input[str]] = None,
                                            id: Optional[pulumi.Input[str]] = None,
                                            snippet: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetDeviceRedistributionCollectorResult]
    func LookupDeviceRedistributionCollector(ctx *Context, args *LookupDeviceRedistributionCollectorArgs, opts ...InvokeOption) (*LookupDeviceRedistributionCollectorResult, error)
    func LookupDeviceRedistributionCollectorOutput(ctx *Context, args *LookupDeviceRedistributionCollectorOutputArgs, opts ...InvokeOption) LookupDeviceRedistributionCollectorResultOutput

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

    public static class GetDeviceRedistributionCollector 
    {
        public static Task<GetDeviceRedistributionCollectorResult> InvokeAsync(GetDeviceRedistributionCollectorArgs args, InvokeOptions? opts = null)
        public static Output<GetDeviceRedistributionCollectorResult> Invoke(GetDeviceRedistributionCollectorInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDeviceRedistributionCollectorResult> getDeviceRedistributionCollector(GetDeviceRedistributionCollectorArgs args, InvokeOptions options)
    public static Output<GetDeviceRedistributionCollectorResult> getDeviceRedistributionCollector(GetDeviceRedistributionCollectorArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getDeviceRedistributionCollector:getDeviceRedistributionCollector
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    UUID of the resource
    Device string
    The device in which the resource is defined
    Folder string
    Snippet string
    Id string
    UUID of the resource
    Device string
    The device in which the resource is defined
    Folder string
    Snippet string
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    snippet String
    id string
    UUID of the resource
    device string
    The device in which the resource is defined
    folder string
    snippet string
    id str
    UUID of the resource
    device str
    The device in which the resource is defined
    folder str
    snippet str
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    snippet String

    getDeviceRedistributionCollector Result

    The following output properties are available:

    Device string
    The device in which the resource is defined
    Folder string
    Id string
    UUID of the resource
    RedistributionCollector GetDeviceRedistributionCollectorRedistributionCollector
    Snippet string
    Tfid string
    Device string
    The device in which the resource is defined
    Folder string
    Id string
    UUID of the resource
    RedistributionCollector GetDeviceRedistributionCollectorRedistributionCollector
    Snippet string
    Tfid string
    device String
    The device in which the resource is defined
    folder String
    id String
    UUID of the resource
    redistributionCollector GetDeviceRedistributionCollectorRedistributionCollector
    snippet String
    tfid String
    device string
    The device in which the resource is defined
    folder string
    id string
    UUID of the resource
    redistributionCollector GetDeviceRedistributionCollectorRedistributionCollector
    snippet string
    tfid string
    device str
    The device in which the resource is defined
    folder str
    id str
    UUID of the resource
    redistribution_collector GetDeviceRedistributionCollectorRedistributionCollector
    snippet str
    tfid str
    device String
    The device in which the resource is defined
    folder String
    id String
    UUID of the resource
    redistributionCollector Property Map
    snippet String
    tfid String

    Supporting Types

    GetDeviceRedistributionCollectorRedistributionCollector

    Interface string
    User-ID collector interface
    Interface string
    User-ID collector interface
    interface_ String
    User-ID collector interface
    interface string
    User-ID collector interface
    interface str
    User-ID collector interface
    interface String
    User-ID collector interface

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate