opentelekomcloud.IdentityGroupV3
Explore with Pulumi AI
Up-to-date reference of API arguments for IAM group you can get at documentation portal
Manages a User Group resource within OpenTelekomCloud IAM service.
Note: You must have admin privileges in your OpenTelekomCloud cloud to use this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const group1 = new opentelekomcloud.IdentityGroupV3("group1", {description: "This is a test group"});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
group1 = opentelekomcloud.IdentityGroupV3("group1", description="This is a test group")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.NewIdentityGroupV3(ctx, "group1", &opentelekomcloud.IdentityGroupV3Args{
Description: pulumi.String("This is a test group"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var group1 = new Opentelekomcloud.IdentityGroupV3("group1", new()
{
Description = "This is a test group",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.IdentityGroupV3;
import com.pulumi.opentelekomcloud.IdentityGroupV3Args;
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) {
var group1 = new IdentityGroupV3("group1", IdentityGroupV3Args.builder()
.description("This is a test group")
.build());
}
}
resources:
group1:
type: opentelekomcloud:IdentityGroupV3
properties:
description: This is a test group
Create IdentityGroupV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IdentityGroupV3(name: string, args?: IdentityGroupV3Args, opts?: CustomResourceOptions);
@overload
def IdentityGroupV3(resource_name: str,
args: Optional[IdentityGroupV3Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def IdentityGroupV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
domain_id: Optional[str] = None,
identity_group_v3_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None)
func NewIdentityGroupV3(ctx *Context, name string, args *IdentityGroupV3Args, opts ...ResourceOption) (*IdentityGroupV3, error)
public IdentityGroupV3(string name, IdentityGroupV3Args? args = null, CustomResourceOptions? opts = null)
public IdentityGroupV3(String name, IdentityGroupV3Args args)
public IdentityGroupV3(String name, IdentityGroupV3Args args, CustomResourceOptions options)
type: opentelekomcloud:IdentityGroupV3
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IdentityGroupV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IdentityGroupV3Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IdentityGroupV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IdentityGroupV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IdentityGroupV3Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var identityGroupV3Resource = new Opentelekomcloud.IdentityGroupV3("identityGroupV3Resource", new()
{
Description = "string",
DomainId = "string",
IdentityGroupV3Id = "string",
Name = "string",
Region = "string",
});
example, err := opentelekomcloud.NewIdentityGroupV3(ctx, "identityGroupV3Resource", &opentelekomcloud.IdentityGroupV3Args{
Description: pulumi.String("string"),
DomainId: pulumi.String("string"),
IdentityGroupV3Id: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
})
var identityGroupV3Resource = new IdentityGroupV3("identityGroupV3Resource", IdentityGroupV3Args.builder()
.description("string")
.domainId("string")
.identityGroupV3Id("string")
.name("string")
.region("string")
.build());
identity_group_v3_resource = opentelekomcloud.IdentityGroupV3("identityGroupV3Resource",
description="string",
domain_id="string",
identity_group_v3_id="string",
name="string",
region="string")
const identityGroupV3Resource = new opentelekomcloud.IdentityGroupV3("identityGroupV3Resource", {
description: "string",
domainId: "string",
identityGroupV3Id: "string",
name: "string",
region: "string",
});
type: opentelekomcloud:IdentityGroupV3
properties:
description: string
domainId: string
identityGroupV3Id: string
name: string
region: string
IdentityGroupV3 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IdentityGroupV3 resource accepts the following input properties:
- Description string
- A description of the group.
- Domain
Id string - The domain this group belongs to.
- Identity
Group stringV3Id - Name string
- The name of the group.The length is less than or equal to 64 bytes.
- Region string
- Description string
- A description of the group.
- Domain
Id string - The domain this group belongs to.
- Identity
Group stringV3Id - Name string
- The name of the group.The length is less than or equal to 64 bytes.
- Region string
- description String
- A description of the group.
- domain
Id String - The domain this group belongs to.
- identity
Group StringV3Id - name String
- The name of the group.The length is less than or equal to 64 bytes.
- region String
- description string
- A description of the group.
- domain
Id string - The domain this group belongs to.
- identity
Group stringV3Id - name string
- The name of the group.The length is less than or equal to 64 bytes.
- region string
- description str
- A description of the group.
- domain_
id str - The domain this group belongs to.
- identity_
group_ strv3_ id - name str
- The name of the group.The length is less than or equal to 64 bytes.
- region str
- description String
- A description of the group.
- domain
Id String - The domain this group belongs to.
- identity
Group StringV3Id - name String
- The name of the group.The length is less than or equal to 64 bytes.
- region String
Outputs
All input properties are implicitly available as output properties. Additionally, the IdentityGroupV3 resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing IdentityGroupV3 Resource
Get an existing IdentityGroupV3 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IdentityGroupV3State, opts?: CustomResourceOptions): IdentityGroupV3
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
domain_id: Optional[str] = None,
identity_group_v3_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None) -> IdentityGroupV3
func GetIdentityGroupV3(ctx *Context, name string, id IDInput, state *IdentityGroupV3State, opts ...ResourceOption) (*IdentityGroupV3, error)
public static IdentityGroupV3 Get(string name, Input<string> id, IdentityGroupV3State? state, CustomResourceOptions? opts = null)
public static IdentityGroupV3 get(String name, Output<String> id, IdentityGroupV3State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:IdentityGroupV3 get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Description string
- A description of the group.
- Domain
Id string - The domain this group belongs to.
- Identity
Group stringV3Id - Name string
- The name of the group.The length is less than or equal to 64 bytes.
- Region string
- Description string
- A description of the group.
- Domain
Id string - The domain this group belongs to.
- Identity
Group stringV3Id - Name string
- The name of the group.The length is less than or equal to 64 bytes.
- Region string
- description String
- A description of the group.
- domain
Id String - The domain this group belongs to.
- identity
Group StringV3Id - name String
- The name of the group.The length is less than or equal to 64 bytes.
- region String
- description string
- A description of the group.
- domain
Id string - The domain this group belongs to.
- identity
Group stringV3Id - name string
- The name of the group.The length is less than or equal to 64 bytes.
- region string
- description str
- A description of the group.
- domain_
id str - The domain this group belongs to.
- identity_
group_ strv3_ id - name str
- The name of the group.The length is less than or equal to 64 bytes.
- region str
- description String
- A description of the group.
- domain
Id String - The domain this group belongs to.
- identity
Group StringV3Id - name String
- The name of the group.The length is less than or equal to 64 bytes.
- region String
Import
Groups can be imported using the id
, e.g.
$ pulumi import opentelekomcloud:index/identityGroupV3:IdentityGroupV3 group_1 89c60255-9bd6-460c-822a-e2b959ede9d2
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.