@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
147 lines (146 loc) • 5.18 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* DynamicUserGroup data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* // Look up the dynamic user group by its ID.
* const scmDynamicUserGroupDs = scm.getDynamicUserGroup({
* id: "c8ac5c18-023b-4be5-bc39-65e585cff9c7",
* });
* export const dynamicUserGroupDetails = {
* id: scmDynamicUserGroupDs.then(scmDynamicUserGroupDs => scmDynamicUserGroupDs.id),
* name: scmDynamicUserGroupDs.then(scmDynamicUserGroupDs => scmDynamicUserGroupDs.name),
* folder: scmDynamicUserGroupDs.then(scmDynamicUserGroupDs => scmDynamicUserGroupDs.folder),
* description: scmDynamicUserGroupDs.then(scmDynamicUserGroupDs => scmDynamicUserGroupDs.description),
* filter: scmDynamicUserGroupDs.then(scmDynamicUserGroupDs => scmDynamicUserGroupDs.filter),
* tags: scmDynamicUserGroupDs.then(scmDynamicUserGroupDs => scmDynamicUserGroupDs.tags),
* };
* ```
*/
export declare function getDynamicUserGroup(args: GetDynamicUserGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetDynamicUserGroupResult>;
/**
* A collection of arguments for invoking getDynamicUserGroup.
*/
export interface GetDynamicUserGroupArgs {
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
device?: string;
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
folder?: string;
/**
* The UUID of the dynamic user group
*/
id: string;
/**
* The name of the dynamic address group
*/
name?: string;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
snippet?: string;
}
/**
* A collection of values returned by getDynamicUserGroup.
*/
export interface GetDynamicUserGroupResult {
/**
* The description of the dynamic address group
*/
readonly description: string;
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly device: string;
/**
* The tag-based filter for the dynamic user group
*/
readonly filter: string;
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly folder: string;
/**
* The UUID of the dynamic user group
*/
readonly id: string;
/**
* The name of the dynamic address group
*/
readonly name: string;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly snippet: string;
/**
* Tags associated with the dynamic user group
*/
readonly tags: string[];
readonly tfid: string;
}
/**
* DynamicUserGroup data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* // Look up the dynamic user group by its ID.
* const scmDynamicUserGroupDs = scm.getDynamicUserGroup({
* id: "c8ac5c18-023b-4be5-bc39-65e585cff9c7",
* });
* export const dynamicUserGroupDetails = {
* id: scmDynamicUserGroupDs.then(scmDynamicUserGroupDs => scmDynamicUserGroupDs.id),
* name: scmDynamicUserGroupDs.then(scmDynamicUserGroupDs => scmDynamicUserGroupDs.name),
* folder: scmDynamicUserGroupDs.then(scmDynamicUserGroupDs => scmDynamicUserGroupDs.folder),
* description: scmDynamicUserGroupDs.then(scmDynamicUserGroupDs => scmDynamicUserGroupDs.description),
* filter: scmDynamicUserGroupDs.then(scmDynamicUserGroupDs => scmDynamicUserGroupDs.filter),
* tags: scmDynamicUserGroupDs.then(scmDynamicUserGroupDs => scmDynamicUserGroupDs.tags),
* };
* ```
*/
export declare function getDynamicUserGroupOutput(args: GetDynamicUserGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDynamicUserGroupResult>;
/**
* A collection of arguments for invoking getDynamicUserGroup.
*/
export interface GetDynamicUserGroupOutputArgs {
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
device?: pulumi.Input<string>;
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
folder?: pulumi.Input<string>;
/**
* The UUID of the dynamic user group
*/
id: pulumi.Input<string>;
/**
* The name of the dynamic address group
*/
name?: pulumi.Input<string>;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
snippet?: pulumi.Input<string>;
}