Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
AddressGroup data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// Look up the address group by its ID.
const scmAddressGroupDs = scm.getAddressGroup({
id: "99802bce-76c6-42c9-801e-e2e4529bb335",
});
export const addressGroupOutputs = {
groupId: scmAddressGroupDs.then(scmAddressGroupDs => scmAddressGroupDs.id),
folder: scmAddressGroupDs.then(scmAddressGroupDs => scmAddressGroupDs.folder),
name: scmAddressGroupDs.then(scmAddressGroupDs => scmAddressGroupDs.name),
description: scmAddressGroupDs.then(scmAddressGroupDs => scmAddressGroupDs.description),
static: scmAddressGroupDs.then(scmAddressGroupDs => scmAddressGroupDs.statics),
};
import pulumi
import pulumi_scm as scm
# Look up the address group by its ID.
scm_address_group_ds = scm.get_address_group(id="99802bce-76c6-42c9-801e-e2e4529bb335")
pulumi.export("addressGroupOutputs", {
"groupId": scm_address_group_ds.id,
"folder": scm_address_group_ds.folder,
"name": scm_address_group_ds.name,
"description": scm_address_group_ds.description,
"static": scm_address_group_ds.statics,
})
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 {
// Look up the address group by its ID.
scmAddressGroupDs, err := scm.LookupAddressGroup(ctx, &scm.LookupAddressGroupArgs{
Id: "99802bce-76c6-42c9-801e-e2e4529bb335",
}, nil)
if err != nil {
return err
}
ctx.Export("addressGroupOutputs", pulumi.Map{
"groupId": scmAddressGroupDs.Id,
"folder": scmAddressGroupDs.Folder,
"name": scmAddressGroupDs.Name,
"description": scmAddressGroupDs.Description,
"static": scmAddressGroupDs.Statics,
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// Look up the address group by its ID.
var scmAddressGroupDs = Scm.GetAddressGroup.Invoke(new()
{
Id = "99802bce-76c6-42c9-801e-e2e4529bb335",
});
return new Dictionary<string, object?>
{
["addressGroupOutputs"] =
{
{ "groupId", scmAddressGroupDs.Apply(getAddressGroupResult => getAddressGroupResult.Id) },
{ "folder", scmAddressGroupDs.Apply(getAddressGroupResult => getAddressGroupResult.Folder) },
{ "name", scmAddressGroupDs.Apply(getAddressGroupResult => getAddressGroupResult.Name) },
{ "description", scmAddressGroupDs.Apply(getAddressGroupResult => getAddressGroupResult.Description) },
{ "static", scmAddressGroupDs.Apply(getAddressGroupResult => getAddressGroupResult.Statics) },
},
};
});
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.GetAddressGroupArgs;
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) {
// Look up the address group by its ID.
final var scmAddressGroupDs = ScmFunctions.getAddressGroup(GetAddressGroupArgs.builder()
.id("99802bce-76c6-42c9-801e-e2e4529bb335")
.build());
ctx.export("addressGroupOutputs", Map.ofEntries(
Map.entry("groupId", scmAddressGroupDs.id()),
Map.entry("folder", scmAddressGroupDs.folder()),
Map.entry("name", scmAddressGroupDs.name()),
Map.entry("description", scmAddressGroupDs.description()),
Map.entry("static", scmAddressGroupDs.statics())
));
}
}
variables:
# Look up the address group by its ID.
scmAddressGroupDs:
fn::invoke:
function: scm:getAddressGroup
arguments:
id: 99802bce-76c6-42c9-801e-e2e4529bb335
outputs:
# Output the static members of the address group.
addressGroupOutputs:
groupId: ${scmAddressGroupDs.id}
folder: ${scmAddressGroupDs.folder}
name: ${scmAddressGroupDs.name}
description: ${scmAddressGroupDs.description}
static: ${scmAddressGroupDs.statics}
Using getAddressGroup
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 getAddressGroup(args: GetAddressGroupArgs, opts?: InvokeOptions): Promise<GetAddressGroupResult>
function getAddressGroupOutput(args: GetAddressGroupOutputArgs, opts?: InvokeOptions): Output<GetAddressGroupResult>def get_address_group(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAddressGroupResult
def get_address_group_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAddressGroupResult]func LookupAddressGroup(ctx *Context, args *LookupAddressGroupArgs, opts ...InvokeOption) (*LookupAddressGroupResult, error)
func LookupAddressGroupOutput(ctx *Context, args *LookupAddressGroupOutputArgs, opts ...InvokeOption) LookupAddressGroupResultOutput> Note: This function is named LookupAddressGroup in the Go SDK.
public static class GetAddressGroup
{
public static Task<GetAddressGroupResult> InvokeAsync(GetAddressGroupArgs args, InvokeOptions? opts = null)
public static Output<GetAddressGroupResult> Invoke(GetAddressGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAddressGroupResult> getAddressGroup(GetAddressGroupArgs args, InvokeOptions options)
public static Output<GetAddressGroupResult> getAddressGroup(GetAddressGroupArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getAddressGroup:getAddressGroup
arguments:
# arguments dictionaryThe following arguments are supported:
getAddressGroup Result
The following output properties are available:
- Description string
- Description
- Device string
- The device in which the resource is defined
- Dynamic
Get
Address Group Dynamic - Dynamic
- Folder string
- The folder in which the resource is defined
- Id string
- The UUID of the address group
- Name string
- The name of the address group
- Snippet string
- The snippet in which the resource is defined
- Statics List<string>
- Static
- List<string>
- Tags for address group object
- Tfid string
- Description string
- Description
- Device string
- The device in which the resource is defined
- Dynamic
Get
Address Group Dynamic - Dynamic
- Folder string
- The folder in which the resource is defined
- Id string
- The UUID of the address group
- Name string
- The name of the address group
- Snippet string
- The snippet in which the resource is defined
- Statics []string
- Static
- []string
- Tags for address group object
- Tfid string
- description String
- Description
- device String
- The device in which the resource is defined
- dynamic
Get
Address Group Dynamic - Dynamic
- folder String
- The folder in which the resource is defined
- id String
- The UUID of the address group
- name String
- The name of the address group
- snippet String
- The snippet in which the resource is defined
- statics List<String>
- Static
- List<String>
- Tags for address group object
- tfid String
- description string
- Description
- device string
- The device in which the resource is defined
- dynamic
Get
Address Group Dynamic - Dynamic
- folder string
- The folder in which the resource is defined
- id string
- The UUID of the address group
- name string
- The name of the address group
- snippet string
- The snippet in which the resource is defined
- statics string[]
- Static
- string[]
- Tags for address group object
- tfid string
- description str
- Description
- device str
- The device in which the resource is defined
- dynamic
Get
Address Group Dynamic - Dynamic
- folder str
- The folder in which the resource is defined
- id str
- The UUID of the address group
- name str
- The name of the address group
- snippet str
- The snippet in which the resource is defined
- statics Sequence[str]
- Static
- Sequence[str]
- Tags for address group object
- tfid str
- description String
- Description
- device String
- The device in which the resource is defined
- dynamic Property Map
- Dynamic
- folder String
- The folder in which the resource is defined
- id String
- The UUID of the address group
- name String
- The name of the address group
- snippet String
- The snippet in which the resource is defined
- statics List<String>
- Static
- List<String>
- Tags for address group object
- tfid String
Supporting Types
GetAddressGroupDynamic
- Filter string
- Tag based filter defining group membership
- Filter string
- Tag based filter defining group membership
- filter String
- Tag based filter defining group membership
- filter string
- Tag based filter defining group membership
- filter str
- Tag based filter defining group membership
- filter String
- Tag based filter defining group membership
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
