1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. IdentityAgencyV3
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.IdentityAgencyV3

Explore with Pulumi AI

Manages an agency resource within FlexibleEngine.

Example Usage

Delegate another account to perform operations on your resources

import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";

const agency = new flexibleengine.IdentityAgencyV3("agency", {
    delegatedDomainName: "***",
    description: "this is a domain test agency",
    domainRoles: ["Anti-DDoS Administrator"],
    projectRoles: [{
        project: "eu-west-0",
        roles: ["KMS Administrator"],
    }],
});
Copy
import pulumi
import pulumi_flexibleengine as flexibleengine

agency = flexibleengine.IdentityAgencyV3("agency",
    delegated_domain_name="***",
    description="this is a domain test agency",
    domain_roles=["Anti-DDoS Administrator"],
    project_roles=[{
        "project": "eu-west-0",
        "roles": ["KMS Administrator"],
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := flexibleengine.NewIdentityAgencyV3(ctx, "agency", &flexibleengine.IdentityAgencyV3Args{
			DelegatedDomainName: pulumi.String("***"),
			Description:         pulumi.String("this is a domain test agency"),
			DomainRoles: pulumi.StringArray{
				pulumi.String("Anti-DDoS Administrator"),
			},
			ProjectRoles: flexibleengine.IdentityAgencyV3ProjectRoleArray{
				&flexibleengine.IdentityAgencyV3ProjectRoleArgs{
					Project: pulumi.String("eu-west-0"),
					Roles: pulumi.StringArray{
						pulumi.String("KMS Administrator"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;

return await Deployment.RunAsync(() => 
{
    var agency = new Flexibleengine.IdentityAgencyV3("agency", new()
    {
        DelegatedDomainName = "***",
        Description = "this is a domain test agency",
        DomainRoles = new[]
        {
            "Anti-DDoS Administrator",
        },
        ProjectRoles = new[]
        {
            new Flexibleengine.Inputs.IdentityAgencyV3ProjectRoleArgs
            {
                Project = "eu-west-0",
                Roles = new[]
                {
                    "KMS Administrator",
                },
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.IdentityAgencyV3;
import com.pulumi.flexibleengine.IdentityAgencyV3Args;
import com.pulumi.flexibleengine.inputs.IdentityAgencyV3ProjectRoleArgs;
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 agency = new IdentityAgencyV3("agency", IdentityAgencyV3Args.builder()
            .delegatedDomainName("***")
            .description("this is a domain test agency")
            .domainRoles("Anti-DDoS Administrator")
            .projectRoles(IdentityAgencyV3ProjectRoleArgs.builder()
                .project("eu-west-0")
                .roles("KMS Administrator")
                .build())
            .build());

    }
}
Copy
resources:
  agency:
    type: flexibleengine:IdentityAgencyV3
    properties:
      delegatedDomainName: '***'
      description: this is a domain test agency
      domainRoles:
        - Anti-DDoS Administrator
      projectRoles:
        - project: eu-west-0
          roles:
            - KMS Administrator
Copy

Delegate a cloud service to access your resources in other cloud services

import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";

const agency = new flexibleengine.IdentityAgencyV3("agency", {
    delegatedServiceName: "op_svc_evs",
    description: "this is a service test agency",
    domainRoles: ["OBS OperateAccess"],
    projectRoles: [{
        project: "eu-west-0",
        roles: ["Tenant Administrator"],
    }],
});
Copy
import pulumi
import pulumi_flexibleengine as flexibleengine

agency = flexibleengine.IdentityAgencyV3("agency",
    delegated_service_name="op_svc_evs",
    description="this is a service test agency",
    domain_roles=["OBS OperateAccess"],
    project_roles=[{
        "project": "eu-west-0",
        "roles": ["Tenant Administrator"],
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := flexibleengine.NewIdentityAgencyV3(ctx, "agency", &flexibleengine.IdentityAgencyV3Args{
			DelegatedServiceName: pulumi.String("op_svc_evs"),
			Description:          pulumi.String("this is a service test agency"),
			DomainRoles: pulumi.StringArray{
				pulumi.String("OBS OperateAccess"),
			},
			ProjectRoles: flexibleengine.IdentityAgencyV3ProjectRoleArray{
				&flexibleengine.IdentityAgencyV3ProjectRoleArgs{
					Project: pulumi.String("eu-west-0"),
					Roles: pulumi.StringArray{
						pulumi.String("Tenant Administrator"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;

return await Deployment.RunAsync(() => 
{
    var agency = new Flexibleengine.IdentityAgencyV3("agency", new()
    {
        DelegatedServiceName = "op_svc_evs",
        Description = "this is a service test agency",
        DomainRoles = new[]
        {
            "OBS OperateAccess",
        },
        ProjectRoles = new[]
        {
            new Flexibleengine.Inputs.IdentityAgencyV3ProjectRoleArgs
            {
                Project = "eu-west-0",
                Roles = new[]
                {
                    "Tenant Administrator",
                },
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.IdentityAgencyV3;
import com.pulumi.flexibleengine.IdentityAgencyV3Args;
import com.pulumi.flexibleengine.inputs.IdentityAgencyV3ProjectRoleArgs;
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 agency = new IdentityAgencyV3("agency", IdentityAgencyV3Args.builder()
            .delegatedServiceName("op_svc_evs")
            .description("this is a service test agency")
            .domainRoles("OBS OperateAccess")
            .projectRoles(IdentityAgencyV3ProjectRoleArgs.builder()
                .project("eu-west-0")
                .roles("Tenant Administrator")
                .build())
            .build());

    }
}
Copy
resources:
  agency:
    type: flexibleengine:IdentityAgencyV3
    properties:
      delegatedServiceName: op_svc_evs
      description: this is a service test agency
      domainRoles:
        - OBS OperateAccess
      projectRoles:
        - project: eu-west-0
          roles:
            - Tenant Administrator
Copy

Create IdentityAgencyV3 Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new IdentityAgencyV3(name: string, args?: IdentityAgencyV3Args, opts?: CustomResourceOptions);
@overload
def IdentityAgencyV3(resource_name: str,
                     args: Optional[IdentityAgencyV3Args] = None,
                     opts: Optional[ResourceOptions] = None)

@overload
def IdentityAgencyV3(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     delegated_domain_name: Optional[str] = None,
                     delegated_service_name: Optional[str] = None,
                     description: Optional[str] = None,
                     domain_roles: Optional[Sequence[str]] = None,
                     duration: Optional[str] = None,
                     identity_agency_v3_id: Optional[str] = None,
                     name: Optional[str] = None,
                     project_roles: Optional[Sequence[IdentityAgencyV3ProjectRoleArgs]] = None,
                     timeouts: Optional[IdentityAgencyV3TimeoutsArgs] = None)
func NewIdentityAgencyV3(ctx *Context, name string, args *IdentityAgencyV3Args, opts ...ResourceOption) (*IdentityAgencyV3, error)
public IdentityAgencyV3(string name, IdentityAgencyV3Args? args = null, CustomResourceOptions? opts = null)
public IdentityAgencyV3(String name, IdentityAgencyV3Args args)
public IdentityAgencyV3(String name, IdentityAgencyV3Args args, CustomResourceOptions options)
type: flexibleengine:IdentityAgencyV3
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args IdentityAgencyV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args IdentityAgencyV3Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args IdentityAgencyV3Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args IdentityAgencyV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IdentityAgencyV3Args
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 identityAgencyV3Resource = new Flexibleengine.IdentityAgencyV3("identityAgencyV3Resource", new()
{
    DelegatedDomainName = "string",
    DelegatedServiceName = "string",
    Description = "string",
    DomainRoles = new[]
    {
        "string",
    },
    Duration = "string",
    IdentityAgencyV3Id = "string",
    Name = "string",
    ProjectRoles = new[]
    {
        new Flexibleengine.Inputs.IdentityAgencyV3ProjectRoleArgs
        {
            Project = "string",
            Roles = new[]
            {
                "string",
            },
        },
    },
    Timeouts = new Flexibleengine.Inputs.IdentityAgencyV3TimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
});
Copy
example, err := flexibleengine.NewIdentityAgencyV3(ctx, "identityAgencyV3Resource", &flexibleengine.IdentityAgencyV3Args{
DelegatedDomainName: pulumi.String("string"),
DelegatedServiceName: pulumi.String("string"),
Description: pulumi.String("string"),
DomainRoles: pulumi.StringArray{
pulumi.String("string"),
},
Duration: pulumi.String("string"),
IdentityAgencyV3Id: pulumi.String("string"),
Name: pulumi.String("string"),
ProjectRoles: .IdentityAgencyV3ProjectRoleArray{
&.IdentityAgencyV3ProjectRoleArgs{
Project: pulumi.String("string"),
Roles: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Timeouts: &.IdentityAgencyV3TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
Copy
var identityAgencyV3Resource = new IdentityAgencyV3("identityAgencyV3Resource", IdentityAgencyV3Args.builder()
    .delegatedDomainName("string")
    .delegatedServiceName("string")
    .description("string")
    .domainRoles("string")
    .duration("string")
    .identityAgencyV3Id("string")
    .name("string")
    .projectRoles(IdentityAgencyV3ProjectRoleArgs.builder()
        .project("string")
        .roles("string")
        .build())
    .timeouts(IdentityAgencyV3TimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .build());
Copy
identity_agency_v3_resource = flexibleengine.IdentityAgencyV3("identityAgencyV3Resource",
    delegated_domain_name="string",
    delegated_service_name="string",
    description="string",
    domain_roles=["string"],
    duration="string",
    identity_agency_v3_id="string",
    name="string",
    project_roles=[{
        "project": "string",
        "roles": ["string"],
    }],
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    })
Copy
const identityAgencyV3Resource = new flexibleengine.IdentityAgencyV3("identityAgencyV3Resource", {
    delegatedDomainName: "string",
    delegatedServiceName: "string",
    description: "string",
    domainRoles: ["string"],
    duration: "string",
    identityAgencyV3Id: "string",
    name: "string",
    projectRoles: [{
        project: "string",
        roles: ["string"],
    }],
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
});
Copy
type: flexibleengine:IdentityAgencyV3
properties:
    delegatedDomainName: string
    delegatedServiceName: string
    description: string
    domainRoles:
        - string
    duration: string
    identityAgencyV3Id: string
    name: string
    projectRoles:
        - project: string
          roles:
            - string
    timeouts:
        create: string
        delete: string
        update: string
Copy

IdentityAgencyV3 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 IdentityAgencyV3 resource accepts the following input properties:

DelegatedDomainName string
Specifies the name of delegated user domain. This parameter and delegated_service_name are alternative.
DelegatedServiceName string
Specifies the name of delegated cloud service. This parameter and delegated_domain_name are alternative.
Description string
Specifies the supplementary information about the agency. The value is a string of 0 to 255 characters.
DomainRoles List<string>

Specifies an array of one or more role names which stand for the permissions to be granted to agency on domain.

The project_role block supports:

Duration string
Specifies the validity period of an agency. The valid value are ONEDAY and FOREVER, defaults to FOREVER.
IdentityAgencyV3Id string
The agency ID.
Name string
Specifies the name of agency. The name is a string of 1 to 64 characters. Changing this will create a new agency.
ProjectRoles List<IdentityAgencyV3ProjectRole>
Specifies an array of one or more roles and projects which are used to grant permissions to agency on project. The project_role object structure is documented below.
Timeouts IdentityAgencyV3Timeouts
DelegatedDomainName string
Specifies the name of delegated user domain. This parameter and delegated_service_name are alternative.
DelegatedServiceName string
Specifies the name of delegated cloud service. This parameter and delegated_domain_name are alternative.
Description string
Specifies the supplementary information about the agency. The value is a string of 0 to 255 characters.
DomainRoles []string

Specifies an array of one or more role names which stand for the permissions to be granted to agency on domain.

The project_role block supports:

Duration string
Specifies the validity period of an agency. The valid value are ONEDAY and FOREVER, defaults to FOREVER.
IdentityAgencyV3Id string
The agency ID.
Name string
Specifies the name of agency. The name is a string of 1 to 64 characters. Changing this will create a new agency.
ProjectRoles []IdentityAgencyV3ProjectRoleArgs
Specifies an array of one or more roles and projects which are used to grant permissions to agency on project. The project_role object structure is documented below.
Timeouts IdentityAgencyV3TimeoutsArgs
delegatedDomainName String
Specifies the name of delegated user domain. This parameter and delegated_service_name are alternative.
delegatedServiceName String
Specifies the name of delegated cloud service. This parameter and delegated_domain_name are alternative.
description String
Specifies the supplementary information about the agency. The value is a string of 0 to 255 characters.
domainRoles List<String>

Specifies an array of one or more role names which stand for the permissions to be granted to agency on domain.

The project_role block supports:

duration String
Specifies the validity period of an agency. The valid value are ONEDAY and FOREVER, defaults to FOREVER.
identityAgencyV3Id String
The agency ID.
name String
Specifies the name of agency. The name is a string of 1 to 64 characters. Changing this will create a new agency.
projectRoles List<IdentityAgencyV3ProjectRole>
Specifies an array of one or more roles and projects which are used to grant permissions to agency on project. The project_role object structure is documented below.
timeouts IdentityAgencyV3Timeouts
delegatedDomainName string
Specifies the name of delegated user domain. This parameter and delegated_service_name are alternative.
delegatedServiceName string
Specifies the name of delegated cloud service. This parameter and delegated_domain_name are alternative.
description string
Specifies the supplementary information about the agency. The value is a string of 0 to 255 characters.
domainRoles string[]

Specifies an array of one or more role names which stand for the permissions to be granted to agency on domain.

The project_role block supports:

duration string
Specifies the validity period of an agency. The valid value are ONEDAY and FOREVER, defaults to FOREVER.
identityAgencyV3Id string
The agency ID.
name string
Specifies the name of agency. The name is a string of 1 to 64 characters. Changing this will create a new agency.
projectRoles IdentityAgencyV3ProjectRole[]
Specifies an array of one or more roles and projects which are used to grant permissions to agency on project. The project_role object structure is documented below.
timeouts IdentityAgencyV3Timeouts
delegated_domain_name str
Specifies the name of delegated user domain. This parameter and delegated_service_name are alternative.
delegated_service_name str
Specifies the name of delegated cloud service. This parameter and delegated_domain_name are alternative.
description str
Specifies the supplementary information about the agency. The value is a string of 0 to 255 characters.
domain_roles Sequence[str]

Specifies an array of one or more role names which stand for the permissions to be granted to agency on domain.

The project_role block supports:

duration str
Specifies the validity period of an agency. The valid value are ONEDAY and FOREVER, defaults to FOREVER.
identity_agency_v3_id str
The agency ID.
name str
Specifies the name of agency. The name is a string of 1 to 64 characters. Changing this will create a new agency.
project_roles Sequence[IdentityAgencyV3ProjectRoleArgs]
Specifies an array of one or more roles and projects which are used to grant permissions to agency on project. The project_role object structure is documented below.
timeouts IdentityAgencyV3TimeoutsArgs
delegatedDomainName String
Specifies the name of delegated user domain. This parameter and delegated_service_name are alternative.
delegatedServiceName String
Specifies the name of delegated cloud service. This parameter and delegated_domain_name are alternative.
description String
Specifies the supplementary information about the agency. The value is a string of 0 to 255 characters.
domainRoles List<String>

Specifies an array of one or more role names which stand for the permissions to be granted to agency on domain.

The project_role block supports:

duration String
Specifies the validity period of an agency. The valid value are ONEDAY and FOREVER, defaults to FOREVER.
identityAgencyV3Id String
The agency ID.
name String
Specifies the name of agency. The name is a string of 1 to 64 characters. Changing this will create a new agency.
projectRoles List<Property Map>
Specifies an array of one or more roles and projects which are used to grant permissions to agency on project. The project_role object structure is documented below.
timeouts Property Map

Outputs

All input properties are implicitly available as output properties. Additionally, the IdentityAgencyV3 resource produces the following output properties:

CreateTime string
The time when the agency was created.
ExpireTime string
The expiration time of agency.
Id string
The provider-assigned unique ID for this managed resource.
CreateTime string
The time when the agency was created.
ExpireTime string
The expiration time of agency.
Id string
The provider-assigned unique ID for this managed resource.
createTime String
The time when the agency was created.
expireTime String
The expiration time of agency.
id String
The provider-assigned unique ID for this managed resource.
createTime string
The time when the agency was created.
expireTime string
The expiration time of agency.
id string
The provider-assigned unique ID for this managed resource.
create_time str
The time when the agency was created.
expire_time str
The expiration time of agency.
id str
The provider-assigned unique ID for this managed resource.
createTime String
The time when the agency was created.
expireTime String
The expiration time of agency.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing IdentityAgencyV3 Resource

Get an existing IdentityAgencyV3 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?: IdentityAgencyV3State, opts?: CustomResourceOptions): IdentityAgencyV3
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        create_time: Optional[str] = None,
        delegated_domain_name: Optional[str] = None,
        delegated_service_name: Optional[str] = None,
        description: Optional[str] = None,
        domain_roles: Optional[Sequence[str]] = None,
        duration: Optional[str] = None,
        expire_time: Optional[str] = None,
        identity_agency_v3_id: Optional[str] = None,
        name: Optional[str] = None,
        project_roles: Optional[Sequence[IdentityAgencyV3ProjectRoleArgs]] = None,
        timeouts: Optional[IdentityAgencyV3TimeoutsArgs] = None) -> IdentityAgencyV3
func GetIdentityAgencyV3(ctx *Context, name string, id IDInput, state *IdentityAgencyV3State, opts ...ResourceOption) (*IdentityAgencyV3, error)
public static IdentityAgencyV3 Get(string name, Input<string> id, IdentityAgencyV3State? state, CustomResourceOptions? opts = null)
public static IdentityAgencyV3 get(String name, Output<String> id, IdentityAgencyV3State state, CustomResourceOptions options)
resources:  _:    type: flexibleengine:IdentityAgencyV3    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
CreateTime string
The time when the agency was created.
DelegatedDomainName string
Specifies the name of delegated user domain. This parameter and delegated_service_name are alternative.
DelegatedServiceName string
Specifies the name of delegated cloud service. This parameter and delegated_domain_name are alternative.
Description string
Specifies the supplementary information about the agency. The value is a string of 0 to 255 characters.
DomainRoles List<string>

Specifies an array of one or more role names which stand for the permissions to be granted to agency on domain.

The project_role block supports:

Duration string
Specifies the validity period of an agency. The valid value are ONEDAY and FOREVER, defaults to FOREVER.
ExpireTime string
The expiration time of agency.
IdentityAgencyV3Id string
The agency ID.
Name string
Specifies the name of agency. The name is a string of 1 to 64 characters. Changing this will create a new agency.
ProjectRoles List<IdentityAgencyV3ProjectRole>
Specifies an array of one or more roles and projects which are used to grant permissions to agency on project. The project_role object structure is documented below.
Timeouts IdentityAgencyV3Timeouts
CreateTime string
The time when the agency was created.
DelegatedDomainName string
Specifies the name of delegated user domain. This parameter and delegated_service_name are alternative.
DelegatedServiceName string
Specifies the name of delegated cloud service. This parameter and delegated_domain_name are alternative.
Description string
Specifies the supplementary information about the agency. The value is a string of 0 to 255 characters.
DomainRoles []string

Specifies an array of one or more role names which stand for the permissions to be granted to agency on domain.

The project_role block supports:

Duration string
Specifies the validity period of an agency. The valid value are ONEDAY and FOREVER, defaults to FOREVER.
ExpireTime string
The expiration time of agency.
IdentityAgencyV3Id string
The agency ID.
Name string
Specifies the name of agency. The name is a string of 1 to 64 characters. Changing this will create a new agency.
ProjectRoles []IdentityAgencyV3ProjectRoleArgs
Specifies an array of one or more roles and projects which are used to grant permissions to agency on project. The project_role object structure is documented below.
Timeouts IdentityAgencyV3TimeoutsArgs
createTime String
The time when the agency was created.
delegatedDomainName String
Specifies the name of delegated user domain. This parameter and delegated_service_name are alternative.
delegatedServiceName String
Specifies the name of delegated cloud service. This parameter and delegated_domain_name are alternative.
description String
Specifies the supplementary information about the agency. The value is a string of 0 to 255 characters.
domainRoles List<String>

Specifies an array of one or more role names which stand for the permissions to be granted to agency on domain.

The project_role block supports:

duration String
Specifies the validity period of an agency. The valid value are ONEDAY and FOREVER, defaults to FOREVER.
expireTime String
The expiration time of agency.
identityAgencyV3Id String
The agency ID.
name String
Specifies the name of agency. The name is a string of 1 to 64 characters. Changing this will create a new agency.
projectRoles List<IdentityAgencyV3ProjectRole>
Specifies an array of one or more roles and projects which are used to grant permissions to agency on project. The project_role object structure is documented below.
timeouts IdentityAgencyV3Timeouts
createTime string
The time when the agency was created.
delegatedDomainName string
Specifies the name of delegated user domain. This parameter and delegated_service_name are alternative.
delegatedServiceName string
Specifies the name of delegated cloud service. This parameter and delegated_domain_name are alternative.
description string
Specifies the supplementary information about the agency. The value is a string of 0 to 255 characters.
domainRoles string[]

Specifies an array of one or more role names which stand for the permissions to be granted to agency on domain.

The project_role block supports:

duration string
Specifies the validity period of an agency. The valid value are ONEDAY and FOREVER, defaults to FOREVER.
expireTime string
The expiration time of agency.
identityAgencyV3Id string
The agency ID.
name string
Specifies the name of agency. The name is a string of 1 to 64 characters. Changing this will create a new agency.
projectRoles IdentityAgencyV3ProjectRole[]
Specifies an array of one or more roles and projects which are used to grant permissions to agency on project. The project_role object structure is documented below.
timeouts IdentityAgencyV3Timeouts
create_time str
The time when the agency was created.
delegated_domain_name str
Specifies the name of delegated user domain. This parameter and delegated_service_name are alternative.
delegated_service_name str
Specifies the name of delegated cloud service. This parameter and delegated_domain_name are alternative.
description str
Specifies the supplementary information about the agency. The value is a string of 0 to 255 characters.
domain_roles Sequence[str]

Specifies an array of one or more role names which stand for the permissions to be granted to agency on domain.

The project_role block supports:

duration str
Specifies the validity period of an agency. The valid value are ONEDAY and FOREVER, defaults to FOREVER.
expire_time str
The expiration time of agency.
identity_agency_v3_id str
The agency ID.
name str
Specifies the name of agency. The name is a string of 1 to 64 characters. Changing this will create a new agency.
project_roles Sequence[IdentityAgencyV3ProjectRoleArgs]
Specifies an array of one or more roles and projects which are used to grant permissions to agency on project. The project_role object structure is documented below.
timeouts IdentityAgencyV3TimeoutsArgs
createTime String
The time when the agency was created.
delegatedDomainName String
Specifies the name of delegated user domain. This parameter and delegated_service_name are alternative.
delegatedServiceName String
Specifies the name of delegated cloud service. This parameter and delegated_domain_name are alternative.
description String
Specifies the supplementary information about the agency. The value is a string of 0 to 255 characters.
domainRoles List<String>

Specifies an array of one or more role names which stand for the permissions to be granted to agency on domain.

The project_role block supports:

duration String
Specifies the validity period of an agency. The valid value are ONEDAY and FOREVER, defaults to FOREVER.
expireTime String
The expiration time of agency.
identityAgencyV3Id String
The agency ID.
name String
Specifies the name of agency. The name is a string of 1 to 64 characters. Changing this will create a new agency.
projectRoles List<Property Map>
Specifies an array of one or more roles and projects which are used to grant permissions to agency on project. The project_role object structure is documented below.
timeouts Property Map

Supporting Types

IdentityAgencyV3ProjectRole
, IdentityAgencyV3ProjectRoleArgs

Project This property is required. string
Specifies the name of project.
Roles This property is required. List<string>

Specifies an array of role names.

NOTE

  • At least one of project_role and domain_roles must be specified when creating an agency.
  • We can get all System-Defined Roles from FlexibleEngine or data.flexibleengine_identity_role_v3.
Project This property is required. string
Specifies the name of project.
Roles This property is required. []string

Specifies an array of role names.

NOTE

  • At least one of project_role and domain_roles must be specified when creating an agency.
  • We can get all System-Defined Roles from FlexibleEngine or data.flexibleengine_identity_role_v3.
project This property is required. String
Specifies the name of project.
roles This property is required. List<String>

Specifies an array of role names.

NOTE

  • At least one of project_role and domain_roles must be specified when creating an agency.
  • We can get all System-Defined Roles from FlexibleEngine or data.flexibleengine_identity_role_v3.
project This property is required. string
Specifies the name of project.
roles This property is required. string[]

Specifies an array of role names.

NOTE

  • At least one of project_role and domain_roles must be specified when creating an agency.
  • We can get all System-Defined Roles from FlexibleEngine or data.flexibleengine_identity_role_v3.
project This property is required. str
Specifies the name of project.
roles This property is required. Sequence[str]

Specifies an array of role names.

NOTE

  • At least one of project_role and domain_roles must be specified when creating an agency.
  • We can get all System-Defined Roles from FlexibleEngine or data.flexibleengine_identity_role_v3.
project This property is required. String
Specifies the name of project.
roles This property is required. List<String>

Specifies an array of role names.

NOTE

  • At least one of project_role and domain_roles must be specified when creating an agency.
  • We can get all System-Defined Roles from FlexibleEngine or data.flexibleengine_identity_role_v3.

IdentityAgencyV3Timeouts
, IdentityAgencyV3TimeoutsArgs

Create string
Delete string
Update string
Create string
Delete string
Update string
create String
delete String
update String
create string
delete string
update string
create str
delete str
update str
create String
delete String
update String

Import

Agencies can be imported using the id, e.g.

$ pulumi import flexibleengine:index/identityAgencyV3:IdentityAgencyV3 agency 0b97661f9900f23f4fc2c00971ea4dc0
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
License
Notes
This Pulumi package is based on the flexibleengine Terraform Provider.