published on Thursday, Sep 3, 2026 by Volcengine
published on Thursday, Sep 3, 2026 by Volcengine
Container image repository robot account, used to access the image repository with a robot account in the format crrobot@****.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const example = new volcenginecc.cr.RobotAccount("example", {
registry: "cr_instance.id",
username: "crrobot@ccapi-full",
description: "ccapi robotaccount full",
duration: 90,
permissions: [
{
resource: "namespace-xx",
actions: [
"PullRepository",
"PushRepository",
],
},
{
resource: "project-xxx",
actions: [
"CreateRepository",
"PullRepository",
],
},
],
});
import pulumi
import pulumi_volcenginecc as volcenginecc
example = volcenginecc.cr.RobotAccount("example",
registry="cr_instance.id",
username="crrobot@ccapi-full",
description="ccapi robotaccount full",
duration=90,
permissions=[
{
"resource": "namespace-xx",
"actions": [
"PullRepository",
"PushRepository",
],
},
{
"resource": "project-xxx",
"actions": [
"CreateRepository",
"PullRepository",
],
},
])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/cr"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cr.NewRobotAccount(ctx, "example", &cr.RobotAccountArgs{
Registry: pulumi.String("cr_instance.id"),
Username: pulumi.String("crrobot@ccapi-full"),
Description: pulumi.String("ccapi robotaccount full"),
Duration: pulumi.Int(90),
Permissions: cr.RobotAccountPermissionArray{
&cr.RobotAccountPermissionArgs{
Resource: pulumi.String("namespace-xx"),
Actions: pulumi.StringArray{
pulumi.String("PullRepository"),
pulumi.String("PushRepository"),
},
},
&cr.RobotAccountPermissionArgs{
Resource: pulumi.String("project-xxx"),
Actions: pulumi.StringArray{
pulumi.String("CreateRepository"),
pulumi.String("PullRepository"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var example = new Volcenginecc.Cr.RobotAccount("example", new()
{
Registry = "cr_instance.id",
Username = "crrobot@ccapi-full",
Description = "ccapi robotaccount full",
Duration = 90,
Permissions = new[]
{
new Volcenginecc.Cr.Inputs.RobotAccountPermissionArgs
{
Resource = "namespace-xx",
Actions = new[]
{
"PullRepository",
"PushRepository",
},
},
new Volcenginecc.Cr.Inputs.RobotAccountPermissionArgs
{
Resource = "project-xxx",
Actions = new[]
{
"CreateRepository",
"PullRepository",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.cr.RobotAccount;
import com.volcengine.volcenginecc.cr.RobotAccountArgs;
import com.pulumi.volcenginecc.cr.inputs.RobotAccountPermissionArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 example = new RobotAccount("example", RobotAccountArgs.builder()
.registry("cr_instance.id")
.username("crrobot@ccapi-full")
.description("ccapi robotaccount full")
.duration(90)
.permissions(
RobotAccountPermissionArgs.builder()
.resource("namespace-xx")
.actions(
"PullRepository",
"PushRepository")
.build(),
RobotAccountPermissionArgs.builder()
.resource("project-xxx")
.actions(
"CreateRepository",
"PullRepository")
.build())
.build());
}
}
resources:
example:
type: volcenginecc:cr:RobotAccount
properties:
registry: cr_instance.id
username: crrobot@ccapi-full
description: ccapi robotaccount full
duration: 90
permissions:
- resource: namespace-xx
actions:
- PullRepository
- PushRepository
- resource: project-xxx
actions:
- CreateRepository
- PullRepository
pulumi {
required_providers {
volcenginecc = {
source = "pulumi/volcenginecc"
}
}
}
resource "volcenginecc_cr_robotaccount" "example" {
registry = "cr_instance.id"
username = "crrobot@ccapi-full"
description = "ccapi robotaccount full"
duration = 90
permissions {
resource = "namespace-xx"
actions = ["PullRepository", "PushRepository"]
}
permissions {
resource = "project-xxx"
actions = ["CreateRepository", "PullRepository"]
}
}
Create RobotAccount Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RobotAccount(name: string, args: RobotAccountArgs, opts?: CustomResourceOptions);@overload
def RobotAccount(resource_name: str,
args: RobotAccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RobotAccount(resource_name: str,
opts: Optional[ResourceOptions] = None,
duration: Optional[int] = None,
permissions: Optional[Sequence[RobotAccountPermissionArgs]] = None,
registry: Optional[str] = None,
username: Optional[str] = None,
description: Optional[str] = None,
disabled: Optional[bool] = None,
password: Optional[str] = None,
random: Optional[bool] = None)func NewRobotAccount(ctx *Context, name string, args RobotAccountArgs, opts ...ResourceOption) (*RobotAccount, error)public RobotAccount(string name, RobotAccountArgs args, CustomResourceOptions? opts = null)
public RobotAccount(String name, RobotAccountArgs args)
public RobotAccount(String name, RobotAccountArgs args, CustomResourceOptions options)
type: volcenginecc:cr:RobotAccount
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_cr_robot_account" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args RobotAccountArgs
- 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 RobotAccountArgs
- 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 RobotAccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RobotAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RobotAccountArgs
- 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 robotAccountResource = new Volcenginecc.Cr.RobotAccount("robotAccountResource", new()
{
Duration = 0,
Permissions = new[]
{
new Volcenginecc.Cr.Inputs.RobotAccountPermissionArgs
{
Actions = new[]
{
"string",
},
Resource = "string",
},
},
Registry = "string",
Username = "string",
Description = "string",
Disabled = false,
Password = "string",
Random = false,
});
example, err := cr.NewRobotAccount(ctx, "robotAccountResource", &cr.RobotAccountArgs{
Duration: pulumi.Int(0),
Permissions: cr.RobotAccountPermissionArray{
&cr.RobotAccountPermissionArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
Resource: pulumi.String("string"),
},
},
Registry: pulumi.String("string"),
Username: pulumi.String("string"),
Description: pulumi.String("string"),
Disabled: pulumi.Bool(false),
Password: pulumi.String("string"),
Random: pulumi.Bool(false),
})
resource "volcenginecc_cr_robot_account" "robotAccountResource" {
lifecycle {
create_before_destroy = true
}
duration = 0
permissions {
actions = ["string"]
resource = "string"
}
registry = "string"
username = "string"
description = "string"
disabled = false
password = "string"
random = false
}
var robotAccountResource = new RobotAccount("robotAccountResource", RobotAccountArgs.builder()
.duration(0)
.permissions(RobotAccountPermissionArgs.builder()
.actions("string")
.resource("string")
.build())
.registry("string")
.username("string")
.description("string")
.disabled(false)
.password("string")
.random(false)
.build());
robot_account_resource = volcenginecc.cr.RobotAccount("robotAccountResource",
duration=0,
permissions=[{
"actions": ["string"],
"resource": "string",
}],
registry="string",
username="string",
description="string",
disabled=False,
password="string",
random=False)
const robotAccountResource = new volcenginecc.cr.RobotAccount("robotAccountResource", {
duration: 0,
permissions: [{
actions: ["string"],
resource: "string",
}],
registry: "string",
username: "string",
description: "string",
disabled: false,
password: "string",
random: false,
});
type: volcenginecc:cr:RobotAccount
properties:
description: string
disabled: false
duration: 0
password: string
permissions:
- actions:
- string
resource: string
random: false
registry: string
username: string
RobotAccount 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 RobotAccount resource accepts the following input properties:
- Duration int
- Effective period, in days, with a maximum of 366. Enter -1 for unlimited.
- Permissions
List<Volcengine.
Robot Account Permission> - Operation permissions for the robot account. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Registry string
- Instance name where the robot account resides.
- Username string
- Name of the robot account, in the format crrobot@****.
- Description string
- Description of the robot account.
- Disabled bool
- Disable status of the robot account. false means the account is enabled; true means the account is disabled.
- Password string
- Login password for the robot account. If not specified during creation, a random password will be generated; when updating the password, this field is required if Random is false.
- Random bool
- Whether to automatically generate a random password. false means a random string is not used and you must enter a password manually; true means a random password is generated automatically.
- Duration int
- Effective period, in days, with a maximum of 366. Enter -1 for unlimited.
- Permissions
[]Robot
Account Permission Args - Operation permissions for the robot account. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Registry string
- Instance name where the robot account resides.
- Username string
- Name of the robot account, in the format crrobot@****.
- Description string
- Description of the robot account.
- Disabled bool
- Disable status of the robot account. false means the account is enabled; true means the account is disabled.
- Password string
- Login password for the robot account. If not specified during creation, a random password will be generated; when updating the password, this field is required if Random is false.
- Random bool
- Whether to automatically generate a random password. false means a random string is not used and you must enter a password manually; true means a random password is generated automatically.
- duration number
- Effective period, in days, with a maximum of 366. Enter -1 for unlimited.
- permissions list(object)
- Operation permissions for the robot account. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- registry string
- Instance name where the robot account resides.
- username string
- Name of the robot account, in the format crrobot@****.
- description string
- Description of the robot account.
- disabled bool
- Disable status of the robot account. false means the account is enabled; true means the account is disabled.
- password string
- Login password for the robot account. If not specified during creation, a random password will be generated; when updating the password, this field is required if Random is false.
- random bool
- Whether to automatically generate a random password. false means a random string is not used and you must enter a password manually; true means a random password is generated automatically.
- duration Integer
- Effective period, in days, with a maximum of 366. Enter -1 for unlimited.
- permissions
List<Robot
Account Permission> - Operation permissions for the robot account. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- registry String
- Instance name where the robot account resides.
- username String
- Name of the robot account, in the format crrobot@****.
- description String
- Description of the robot account.
- disabled Boolean
- Disable status of the robot account. false means the account is enabled; true means the account is disabled.
- password String
- Login password for the robot account. If not specified during creation, a random password will be generated; when updating the password, this field is required if Random is false.
- random Boolean
- Whether to automatically generate a random password. false means a random string is not used and you must enter a password manually; true means a random password is generated automatically.
- duration number
- Effective period, in days, with a maximum of 366. Enter -1 for unlimited.
- permissions
Robot
Account Permission[] - Operation permissions for the robot account. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- registry string
- Instance name where the robot account resides.
- username string
- Name of the robot account, in the format crrobot@****.
- description string
- Description of the robot account.
- disabled boolean
- Disable status of the robot account. false means the account is enabled; true means the account is disabled.
- password string
- Login password for the robot account. If not specified during creation, a random password will be generated; when updating the password, this field is required if Random is false.
- random boolean
- Whether to automatically generate a random password. false means a random string is not used and you must enter a password manually; true means a random password is generated automatically.
- duration int
- Effective period, in days, with a maximum of 366. Enter -1 for unlimited.
- permissions
Sequence[Robot
Account Permission Args] - Operation permissions for the robot account. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- registry str
- Instance name where the robot account resides.
- username str
- Name of the robot account, in the format crrobot@****.
- description str
- Description of the robot account.
- disabled bool
- Disable status of the robot account. false means the account is enabled; true means the account is disabled.
- password str
- Login password for the robot account. If not specified during creation, a random password will be generated; when updating the password, this field is required if Random is false.
- random bool
- Whether to automatically generate a random password. false means a random string is not used and you must enter a password manually; true means a random password is generated automatically.
- duration Number
- Effective period, in days, with a maximum of 366. Enter -1 for unlimited.
- permissions List<Property Map>
- Operation permissions for the robot account. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- registry String
- Instance name where the robot account resides.
- username String
- Name of the robot account, in the format crrobot@****.
- description String
- Description of the robot account.
- disabled Boolean
- Disable status of the robot account. false means the account is enabled; true means the account is disabled.
- password String
- Login password for the robot account. If not specified during creation, a random password will be generated; when updating the password, this field is required if Random is false.
- random Boolean
- Whether to automatically generate a random password. false means a random string is not used and you must enter a password manually; true means a random password is generated automatically.
Outputs
All input properties are implicitly available as output properties. Additionally, the RobotAccount resource produces the following output properties:
- Create
Time string - Creation timestamp.
- Expires
At int - Expiration timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Update timestamp.
- Create
Time string - Creation timestamp.
- Expires
At int - Expiration timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Update timestamp.
- create_
time string - Creation timestamp.
- expires_
at number - Expiration timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- update_
time string - Update timestamp.
- create
Time String - Creation timestamp.
- expires
At Integer - Expiration timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Update timestamp.
- create
Time string - Creation timestamp.
- expires
At number - Expiration timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time string - Update timestamp.
- create_
time str - Creation timestamp.
- expires_
at int - Expiration timestamp.
- id str
- The provider-assigned unique ID for this managed resource.
- update_
time str - Update timestamp.
- create
Time String - Creation timestamp.
- expires
At Number - Expiration timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Update timestamp.
Look up Existing RobotAccount Resource
Get an existing RobotAccount 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?: RobotAccountState, opts?: CustomResourceOptions): RobotAccount@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
disabled: Optional[bool] = None,
duration: Optional[int] = None,
expires_at: Optional[int] = None,
password: Optional[str] = None,
permissions: Optional[Sequence[RobotAccountPermissionArgs]] = None,
random: Optional[bool] = None,
registry: Optional[str] = None,
update_time: Optional[str] = None,
username: Optional[str] = None) -> RobotAccountfunc GetRobotAccount(ctx *Context, name string, id IDInput, state *RobotAccountState, opts ...ResourceOption) (*RobotAccount, error)public static RobotAccount Get(string name, Input<string> id, RobotAccountState? state, CustomResourceOptions? opts = null)public static RobotAccount get(String name, Output<String> id, RobotAccountState state, CustomResourceOptions options)resources: _: type: volcenginecc:cr:RobotAccount get: id: ${id}import {
to = volcenginecc_cr_robot_account.example
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 - Creation timestamp.
- Description string
- Description of the robot account.
- Disabled bool
- Disable status of the robot account. false means the account is enabled; true means the account is disabled.
- Duration int
- Effective period, in days, with a maximum of 366. Enter -1 for unlimited.
- Expires
At int - Expiration timestamp.
- Password string
- Login password for the robot account. If not specified during creation, a random password will be generated; when updating the password, this field is required if Random is false.
- Permissions
List<Volcengine.
Robot Account Permission> - Operation permissions for the robot account. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Random bool
- Whether to automatically generate a random password. false means a random string is not used and you must enter a password manually; true means a random password is generated automatically.
- Registry string
- Instance name where the robot account resides.
- Update
Time string - Update timestamp.
- Username string
- Name of the robot account, in the format crrobot@****.
- Create
Time string - Creation timestamp.
- Description string
- Description of the robot account.
- Disabled bool
- Disable status of the robot account. false means the account is enabled; true means the account is disabled.
- Duration int
- Effective period, in days, with a maximum of 366. Enter -1 for unlimited.
- Expires
At int - Expiration timestamp.
- Password string
- Login password for the robot account. If not specified during creation, a random password will be generated; when updating the password, this field is required if Random is false.
- Permissions
[]Robot
Account Permission Args - Operation permissions for the robot account. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Random bool
- Whether to automatically generate a random password. false means a random string is not used and you must enter a password manually; true means a random password is generated automatically.
- Registry string
- Instance name where the robot account resides.
- Update
Time string - Update timestamp.
- Username string
- Name of the robot account, in the format crrobot@****.
- create_
time string - Creation timestamp.
- description string
- Description of the robot account.
- disabled bool
- Disable status of the robot account. false means the account is enabled; true means the account is disabled.
- duration number
- Effective period, in days, with a maximum of 366. Enter -1 for unlimited.
- expires_
at number - Expiration timestamp.
- password string
- Login password for the robot account. If not specified during creation, a random password will be generated; when updating the password, this field is required if Random is false.
- permissions list(object)
- Operation permissions for the robot account. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- random bool
- Whether to automatically generate a random password. false means a random string is not used and you must enter a password manually; true means a random password is generated automatically.
- registry string
- Instance name where the robot account resides.
- update_
time string - Update timestamp.
- username string
- Name of the robot account, in the format crrobot@****.
- create
Time String - Creation timestamp.
- description String
- Description of the robot account.
- disabled Boolean
- Disable status of the robot account. false means the account is enabled; true means the account is disabled.
- duration Integer
- Effective period, in days, with a maximum of 366. Enter -1 for unlimited.
- expires
At Integer - Expiration timestamp.
- password String
- Login password for the robot account. If not specified during creation, a random password will be generated; when updating the password, this field is required if Random is false.
- permissions
List<Robot
Account Permission> - Operation permissions for the robot account. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- random Boolean
- Whether to automatically generate a random password. false means a random string is not used and you must enter a password manually; true means a random password is generated automatically.
- registry String
- Instance name where the robot account resides.
- update
Time String - Update timestamp.
- username String
- Name of the robot account, in the format crrobot@****.
- create
Time string - Creation timestamp.
- description string
- Description of the robot account.
- disabled boolean
- Disable status of the robot account. false means the account is enabled; true means the account is disabled.
- duration number
- Effective period, in days, with a maximum of 366. Enter -1 for unlimited.
- expires
At number - Expiration timestamp.
- password string
- Login password for the robot account. If not specified during creation, a random password will be generated; when updating the password, this field is required if Random is false.
- permissions
Robot
Account Permission[] - Operation permissions for the robot account. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- random boolean
- Whether to automatically generate a random password. false means a random string is not used and you must enter a password manually; true means a random password is generated automatically.
- registry string
- Instance name where the robot account resides.
- update
Time string - Update timestamp.
- username string
- Name of the robot account, in the format crrobot@****.
- create_
time str - Creation timestamp.
- description str
- Description of the robot account.
- disabled bool
- Disable status of the robot account. false means the account is enabled; true means the account is disabled.
- duration int
- Effective period, in days, with a maximum of 366. Enter -1 for unlimited.
- expires_
at int - Expiration timestamp.
- password str
- Login password for the robot account. If not specified during creation, a random password will be generated; when updating the password, this field is required if Random is false.
- permissions
Sequence[Robot
Account Permission Args] - Operation permissions for the robot account. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- random bool
- Whether to automatically generate a random password. false means a random string is not used and you must enter a password manually; true means a random password is generated automatically.
- registry str
- Instance name where the robot account resides.
- update_
time str - Update timestamp.
- username str
- Name of the robot account, in the format crrobot@****.
- create
Time String - Creation timestamp.
- description String
- Description of the robot account.
- disabled Boolean
- Disable status of the robot account. false means the account is enabled; true means the account is disabled.
- duration Number
- Effective period, in days, with a maximum of 366. Enter -1 for unlimited.
- expires
At Number - Expiration timestamp.
- password String
- Login password for the robot account. If not specified during creation, a random password will be generated; when updating the password, this field is required if Random is false.
- permissions List<Property Map>
- Operation permissions for the robot account. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- random Boolean
- Whether to automatically generate a random password. false means a random string is not used and you must enter a password manually; true means a random password is generated automatically.
- registry String
- Instance name where the robot account resides.
- update
Time String - Update timestamp.
- username String
- Name of the robot account, in the format crrobot@****.
Supporting Types
RobotAccountPermission, RobotAccountPermissionArgs
Import
$ pulumi import volcenginecc:cr/robotAccount:RobotAccount example "registry|username"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Sep 3, 2026 by Volcengine