@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
127 lines (126 loc) • 4.02 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Provides a resource to manage cloud identity group
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@volcengine/pulumi";
*
* const foo = new volcengine.cloud_identity.Group("foo", {
* description: "tf",
* displayName: "tf-test-group",
* groupName: "acc-test-group",
* joinType: "Manual",
* });
* ```
*
* ## Import
*
* CloudIdentityGroup can be imported using the id, e.g.
*
* ```sh
* $ pulumi import volcengine:cloud_identity/group:Group default resource_id
* ```
*/
export declare class Group extends pulumi.CustomResource {
/**
* Get an existing Group resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupState, opts?: pulumi.CustomResourceOptions): Group;
/**
* Returns true if the given object is an instance of Group. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Group;
/**
* The description of the cloud identity group.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* The display name of the cloud identity group.
*/
readonly displayName: pulumi.Output<string | undefined>;
/**
* The name of the cloud identity group.
*/
readonly groupName: pulumi.Output<string>;
/**
* The user join type of the cloud identity group.
*/
readonly joinType: pulumi.Output<string>;
/**
* The member user info of the cloud identity group.
*/
readonly members: pulumi.Output<outputs.cloud_identity.GroupMember[]>;
/**
* The source of the cloud identity group.
*/
readonly source: pulumi.Output<string>;
/**
* Create a Group resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: GroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Group resources.
*/
export interface GroupState {
/**
* The description of the cloud identity group.
*/
description?: pulumi.Input<string>;
/**
* The display name of the cloud identity group.
*/
displayName?: pulumi.Input<string>;
/**
* The name of the cloud identity group.
*/
groupName?: pulumi.Input<string>;
/**
* The user join type of the cloud identity group.
*/
joinType?: pulumi.Input<string>;
/**
* The member user info of the cloud identity group.
*/
members?: pulumi.Input<pulumi.Input<inputs.cloud_identity.GroupMember>[]>;
/**
* The source of the cloud identity group.
*/
source?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Group resource.
*/
export interface GroupArgs {
/**
* The description of the cloud identity group.
*/
description?: pulumi.Input<string>;
/**
* The display name of the cloud identity group.
*/
displayName?: pulumi.Input<string>;
/**
* The name of the cloud identity group.
*/
groupName: pulumi.Input<string>;
/**
* The user join type of the cloud identity group.
*/
joinType: pulumi.Input<string>;
}