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"],
}],
});
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"],
}])
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
})
}
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",
},
},
},
});
});
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());
}
}
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
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"],
}],
});
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"],
}])
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
})
}
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",
},
},
},
});
});
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());
}
}
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
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 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 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 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 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 String
- The unique name of the resource.
- args 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",
},
});
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: flexibleengine.IdentityAgencyV3ProjectRoleArray{
&flexibleengine.IdentityAgencyV3ProjectRoleArgs{
Project: pulumi.String("string"),
Roles: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Timeouts: &flexibleengine.IdentityAgencyV3TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
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());
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",
})
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",
},
});
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
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:
- Delegated
Domain stringName - Specifies the name of delegated user domain.
This parameter and
delegated_service_name
are alternative. - Delegated
Service stringName - 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.
- Domain
Roles 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.
- Identity
Agency stringV3Id - 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.
- Project
Roles List<IdentityAgency V3Project Role> - 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
Identity
Agency V3Timeouts
- Delegated
Domain stringName - Specifies the name of delegated user domain.
This parameter and
delegated_service_name
are alternative. - Delegated
Service stringName - 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.
- Domain
Roles []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.
- Identity
Agency stringV3Id - 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.
- Project
Roles []IdentityAgency V3Project Role Args - 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
Identity
Agency V3Timeouts Args
- delegated
Domain StringName - Specifies the name of delegated user domain.
This parameter and
delegated_service_name
are alternative. - delegated
Service StringName - 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.
- domain
Roles 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.
- identity
Agency StringV3Id - 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.
- project
Roles List<IdentityAgency V3Project Role> - 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
Identity
Agency V3Timeouts
- delegated
Domain stringName - Specifies the name of delegated user domain.
This parameter and
delegated_service_name
are alternative. - delegated
Service stringName - 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.
- domain
Roles 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.
- identity
Agency stringV3Id - 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.
- project
Roles IdentityAgency V3Project Role[] - 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
Identity
Agency V3Timeouts
- delegated_
domain_ strname - Specifies the name of delegated user domain.
This parameter and
delegated_service_name
are alternative. - delegated_
service_ strname - 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_ strv3_ id - 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[IdentityAgency V3Project Role Args] - 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
Identity
Agency V3Timeouts Args
- delegated
Domain StringName - Specifies the name of delegated user domain.
This parameter and
delegated_service_name
are alternative. - delegated
Service StringName - 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.
- domain
Roles 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.
- identity
Agency StringV3Id - 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.
- project
Roles 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:
- Create
Time string - The time when the agency was created.
- Expire
Time string - The expiration time of agency.
- Id string
- The provider-assigned unique ID for this managed resource.
- Create
Time string - The time when the agency was created.
- Expire
Time string - The expiration time of agency.
- Id string
- The provider-assigned unique ID for this managed resource.
- create
Time String - The time when the agency was created.
- expire
Time String - The expiration time of agency.
- id String
- The provider-assigned unique ID for this managed resource.
- create
Time string - The time when the agency was created.
- expire
Time 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.
- create
Time String - The time when the agency was created.
- expire
Time 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
- 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.
- Create
Time string - The time when the agency was created.
- Delegated
Domain stringName - Specifies the name of delegated user domain.
This parameter and
delegated_service_name
are alternative. - Delegated
Service stringName - 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.
- Domain
Roles 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.
- Expire
Time string - The expiration time of agency.
- Identity
Agency stringV3Id - 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.
- Project
Roles List<IdentityAgency V3Project Role> - 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
Identity
Agency V3Timeouts
- Create
Time string - The time when the agency was created.
- Delegated
Domain stringName - Specifies the name of delegated user domain.
This parameter and
delegated_service_name
are alternative. - Delegated
Service stringName - 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.
- Domain
Roles []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.
- Expire
Time string - The expiration time of agency.
- Identity
Agency stringV3Id - 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.
- Project
Roles []IdentityAgency V3Project Role Args - 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
Identity
Agency V3Timeouts Args
- create
Time String - The time when the agency was created.
- delegated
Domain StringName - Specifies the name of delegated user domain.
This parameter and
delegated_service_name
are alternative. - delegated
Service StringName - 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.
- domain
Roles 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.
- expire
Time String - The expiration time of agency.
- identity
Agency StringV3Id - 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.
- project
Roles List<IdentityAgency V3Project Role> - 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
Identity
Agency V3Timeouts
- create
Time string - The time when the agency was created.
- delegated
Domain stringName - Specifies the name of delegated user domain.
This parameter and
delegated_service_name
are alternative. - delegated
Service stringName - 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.
- domain
Roles 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.
- expire
Time string - The expiration time of agency.
- identity
Agency stringV3Id - 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.
- project
Roles IdentityAgency V3Project Role[] - 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
Identity
Agency V3Timeouts
- create_
time str - The time when the agency was created.
- delegated_
domain_ strname - Specifies the name of delegated user domain.
This parameter and
delegated_service_name
are alternative. - delegated_
service_ strname - 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_ strv3_ id - 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[IdentityAgency V3Project Role Args] - 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
Identity
Agency V3Timeouts Args
- create
Time String - The time when the agency was created.
- delegated
Domain StringName - Specifies the name of delegated user domain.
This parameter and
delegated_service_name
are alternative. - delegated
Service StringName - 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.
- domain
Roles 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.
- expire
Time String - The expiration time of agency.
- identity
Agency StringV3Id - 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.
- project
Roles 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 string
- Specifies the name of project.
- Roles List<string>
Specifies an array of role names.
NOTE
- At least one of
project_role
anddomain_roles
must be specified when creating an agency. - We can get all System-Defined Roles from FlexibleEngine or data.flexibleengine_identity_role_v3.
- At least one of
- Project string
- Specifies the name of project.
- Roles []string
Specifies an array of role names.
NOTE
- At least one of
project_role
anddomain_roles
must be specified when creating an agency. - We can get all System-Defined Roles from FlexibleEngine or data.flexibleengine_identity_role_v3.
- At least one of
- project String
- Specifies the name of project.
- roles List<String>
Specifies an array of role names.
NOTE
- At least one of
project_role
anddomain_roles
must be specified when creating an agency. - We can get all System-Defined Roles from FlexibleEngine or data.flexibleengine_identity_role_v3.
- At least one of
- project string
- Specifies the name of project.
- roles string[]
Specifies an array of role names.
NOTE
- At least one of
project_role
anddomain_roles
must be specified when creating an agency. - We can get all System-Defined Roles from FlexibleEngine or data.flexibleengine_identity_role_v3.
- At least one of
- project str
- Specifies the name of project.
- roles Sequence[str]
Specifies an array of role names.
NOTE
- At least one of
project_role
anddomain_roles
must be specified when creating an agency. - We can get all System-Defined Roles from FlexibleEngine or data.flexibleengine_identity_role_v3.
- At least one of
- project String
- Specifies the name of project.
- roles List<String>
Specifies an array of role names.
NOTE
- At least one of
project_role
anddomain_roles
must be specified when creating an agency. - We can get all System-Defined Roles from FlexibleEngine or data.flexibleengine_identity_role_v3.
- At least one of
IdentityAgencyV3Timeouts, IdentityAgencyV3TimeoutsArgs
Import
Agencies can be imported using the id
, e.g.
$ pulumi import flexibleengine:index/identityAgencyV3:IdentityAgencyV3 agency 0b97661f9900f23f4fc2c00971ea4dc0
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.