Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Deprecated: volcengine.rocketmq.AccessKeys has been deprecated in favor of volcengine.rocketmq.getAccessKeys
Use this data source to query detailed information of rocketmq access keys
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.rocketmq.getAccessKeys({
instanceId: "rocketmq-cnoeea6b32118fc2",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.rocketmq.get_access_keys(instance_id="rocketmq-cnoeea6b32118fc2")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rocketmq"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rocketmq.GetAccessKeys(ctx, &rocketmq.GetAccessKeysArgs{
InstanceId: "rocketmq-cnoeea6b32118fc2",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Rocketmq.GetAccessKeys.Invoke(new()
{
InstanceId = "rocketmq-cnoeea6b32118fc2",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.rocketmq.RocketmqFunctions;
import com.pulumi.volcengine.rocketmq.inputs.GetAccessKeysArgs;
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) {
final var foo = RocketmqFunctions.getAccessKeys(GetAccessKeysArgs.builder()
.instanceId("rocketmq-cnoeea6b32118fc2")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:rocketmq:getAccessKeys
Arguments:
instanceId: rocketmq-cnoeea6b32118fc2
Using AccessKeys
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function accessKeys(args: AccessKeysArgs, opts?: InvokeOptions): Promise<AccessKeysResult>
function accessKeysOutput(args: AccessKeysOutputArgs, opts?: InvokeOptions): Output<AccessKeysResult>def access_keys(access_key: Optional[str] = None,
instance_id: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> AccessKeysResult
def access_keys_output(access_key: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[AccessKeysResult]func AccessKeys(ctx *Context, args *AccessKeysArgs, opts ...InvokeOption) (*AccessKeysResult, error)
func AccessKeysOutput(ctx *Context, args *AccessKeysOutputArgs, opts ...InvokeOption) AccessKeysResultOutputpublic static class AccessKeys
{
public static Task<AccessKeysResult> InvokeAsync(AccessKeysArgs args, InvokeOptions? opts = null)
public static Output<AccessKeysResult> Invoke(AccessKeysInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<AccessKeysResult> accessKeys(AccessKeysArgs args, InvokeOptions options)
public static Output<AccessKeysResult> accessKeys(AccessKeysArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:rocketmq:AccessKeys
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - The id of rocketmq instance.
- Access
Key string - The access key id of the rocketmq key.
- Output
File string - File name where to save data source results.
- Instance
Id string - The id of rocketmq instance.
- Access
Key string - The access key id of the rocketmq key.
- Output
File string - File name where to save data source results.
- instance
Id String - The id of rocketmq instance.
- access
Key String - The access key id of the rocketmq key.
- output
File String - File name where to save data source results.
- instance
Id string - The id of rocketmq instance.
- access
Key string - The access key id of the rocketmq key.
- output
File string - File name where to save data source results.
- instance_
id str - The id of rocketmq instance.
- access_
key str - The access key id of the rocketmq key.
- output_
file str - File name where to save data source results.
- instance
Id String - The id of rocketmq instance.
- access
Key String - The access key id of the rocketmq key.
- output
File String - File name where to save data source results.
AccessKeys Result
The following output properties are available:
- Access
Keys List<AccessKeys Access Key> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - The id of rocketmq instance.
- Total
Count int - The total count of query.
- Access
Key string - The access key id of the rocketmq key.
- Output
File string
- Access
Keys []AccessKeys Access Key - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - The id of rocketmq instance.
- Total
Count int - The total count of query.
- Access
Key string - The access key id of the rocketmq key.
- Output
File string
- access
Keys List<AccessKeys Access Key> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - The id of rocketmq instance.
- total
Count Integer - The total count of query.
- access
Key String - The access key id of the rocketmq key.
- output
File String
- access
Keys AccessKeys Access Key[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - The id of rocketmq instance.
- total
Count number - The total count of query.
- access
Key string - The access key id of the rocketmq key.
- output
File string
- access_
keys Sequence[AccessKeys Access Key] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - The id of rocketmq instance.
- total_
count int - The total count of query.
- access_
key str - The access key id of the rocketmq key.
- output_
file str
- access
Keys List<Property Map> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - The id of rocketmq instance.
- total
Count Number - The total count of query.
- access
Key String - The access key id of the rocketmq key.
- output
File String
Supporting Types
AccessKeysAccessKey
- Access
Key string - The access key id of the rocketmq key.
- Acl
Config stringJson - The acl config of the rocketmq key.
- Actived bool
- The active status of the rocketmq key.
- string
- The default authority of the rocketmq key.
- Create
Time string - The create time of the rocketmq key.
- Description string
- The description of the rocketmq key.
- Instance
Id string - The id of rocketmq instance.
- Secret
Key string - The secret key of the rocketmq key.
- Topic
Permissions List<AccessKeys Access Key Topic Permission> - The custom authority of the rocketmq key.
- Access
Key string - The access key id of the rocketmq key.
- Acl
Config stringJson - The acl config of the rocketmq key.
- Actived bool
- The active status of the rocketmq key.
- string
- The default authority of the rocketmq key.
- Create
Time string - The create time of the rocketmq key.
- Description string
- The description of the rocketmq key.
- Instance
Id string - The id of rocketmq instance.
- Secret
Key string - The secret key of the rocketmq key.
- Topic
Permissions []AccessKeys Access Key Topic Permission - The custom authority of the rocketmq key.
- access
Key String - The access key id of the rocketmq key.
- acl
Config StringJson - The acl config of the rocketmq key.
- actived Boolean
- The active status of the rocketmq key.
- String
- The default authority of the rocketmq key.
- create
Time String - The create time of the rocketmq key.
- description String
- The description of the rocketmq key.
- instance
Id String - The id of rocketmq instance.
- secret
Key String - The secret key of the rocketmq key.
- topic
Permissions List<AccessKeys Access Key Topic Permission> - The custom authority of the rocketmq key.
- access
Key string - The access key id of the rocketmq key.
- acl
Config stringJson - The acl config of the rocketmq key.
- actived boolean
- The active status of the rocketmq key.
- string
- The default authority of the rocketmq key.
- create
Time string - The create time of the rocketmq key.
- description string
- The description of the rocketmq key.
- instance
Id string - The id of rocketmq instance.
- secret
Key string - The secret key of the rocketmq key.
- topic
Permissions AccessKeys Access Key Topic Permission[] - The custom authority of the rocketmq key.
- access_
key str - The access key id of the rocketmq key.
- acl_
config_ strjson - The acl config of the rocketmq key.
- actived bool
- The active status of the rocketmq key.
- str
- The default authority of the rocketmq key.
- create_
time str - The create time of the rocketmq key.
- description str
- The description of the rocketmq key.
- instance_
id str - The id of rocketmq instance.
- secret_
key str - The secret key of the rocketmq key.
- topic_
permissions Sequence[AccessKeys Access Key Topic Permission] - The custom authority of the rocketmq key.
- access
Key String - The access key id of the rocketmq key.
- acl
Config StringJson - The acl config of the rocketmq key.
- actived Boolean
- The active status of the rocketmq key.
- String
- The default authority of the rocketmq key.
- create
Time String - The create time of the rocketmq key.
- description String
- The description of the rocketmq key.
- instance
Id String - The id of rocketmq instance.
- secret
Key String - The secret key of the rocketmq key.
- topic
Permissions List<Property Map> - The custom authority of the rocketmq key.
AccessKeysAccessKeyTopicPermission
- Permission string
- The custom authority for the topic.
- Topic
Name string - The name of the rocketmq topic.
- Permission string
- The custom authority for the topic.
- Topic
Name string - The name of the rocketmq topic.
- permission String
- The custom authority for the topic.
- topic
Name String - The name of the rocketmq topic.
- permission string
- The custom authority for the topic.
- topic
Name string - The name of the rocketmq topic.
- permission str
- The custom authority for the topic.
- topic_
name str - The name of the rocketmq topic.
- permission String
- The custom authority for the topic.
- topic
Name String - The name of the rocketmq topic.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
