1. Packages
  2. Volcengine
  3. API Docs
  4. rocketmq
  5. AccessKeys
Volcengine v0.0.29 published on Tuesday, Apr 29, 2025 by Volcengine

volcengine.rocketmq.AccessKeys

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.29 published on Tuesday, Apr 29, 2025 by Volcengine

    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.AccessKeys({
        instanceId: "rocketmq-cnoeea6b32118fc2",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.rocketmq.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.AccessKeys(ctx, &rocketmq.AccessKeysArgs{
    			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.AccessKeys.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.AccessKeysArgs;
    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.AccessKeys(AccessKeysArgs.builder()
                .instanceId("rocketmq-cnoeea6b32118fc2")
                .build());
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:rocketmq:AccessKeys
          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) AccessKeysResultOutput
    public 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 dictionary

    The following arguments are supported:

    InstanceId string
    The id of rocketmq instance.
    AccessKey string
    The access key id of the rocketmq key.
    OutputFile string
    File name where to save data source results.
    InstanceId string
    The id of rocketmq instance.
    AccessKey string
    The access key id of the rocketmq key.
    OutputFile string
    File name where to save data source results.
    instanceId String
    The id of rocketmq instance.
    accessKey String
    The access key id of the rocketmq key.
    outputFile String
    File name where to save data source results.
    instanceId string
    The id of rocketmq instance.
    accessKey string
    The access key id of the rocketmq key.
    outputFile 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.
    instanceId String
    The id of rocketmq instance.
    accessKey String
    The access key id of the rocketmq key.
    outputFile String
    File name where to save data source results.

    AccessKeys Result

    The following output properties are available:

    AccessKeys List<AccessKeysAccessKey>
    The collection of query.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    The id of rocketmq instance.
    TotalCount int
    The total count of query.
    AccessKey string
    The access key id of the rocketmq key.
    OutputFile string
    AccessKeys []AccessKeysAccessKey
    The collection of query.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    The id of rocketmq instance.
    TotalCount int
    The total count of query.
    AccessKey string
    The access key id of the rocketmq key.
    OutputFile string
    accessKeys List<AccessKeysAccessKey>
    The collection of query.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    The id of rocketmq instance.
    totalCount Integer
    The total count of query.
    accessKey String
    The access key id of the rocketmq key.
    outputFile String
    accessKeys AccessKeysAccessKey[]
    The collection of query.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    The id of rocketmq instance.
    totalCount number
    The total count of query.
    accessKey string
    The access key id of the rocketmq key.
    outputFile string
    access_keys Sequence[AccessKeysAccessKey]
    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
    accessKeys List<Property Map>
    The collection of query.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    The id of rocketmq instance.
    totalCount Number
    The total count of query.
    accessKey String
    The access key id of the rocketmq key.
    outputFile String

    Supporting Types

    AccessKeysAccessKey

    AccessKey string
    The access key id of the rocketmq key.
    AclConfigJson string
    The acl config of the rocketmq key.
    Actived bool
    The active status of the rocketmq key.
    AllAuthority string
    The default authority of the rocketmq key.
    CreateTime string
    The create time of the rocketmq key.
    Description string
    The description of the rocketmq key.
    InstanceId string
    The id of rocketmq instance.
    SecretKey string
    The secret key of the rocketmq key.
    TopicPermissions List<AccessKeysAccessKeyTopicPermission>
    The custom authority of the rocketmq key.
    AccessKey string
    The access key id of the rocketmq key.
    AclConfigJson string
    The acl config of the rocketmq key.
    Actived bool
    The active status of the rocketmq key.
    AllAuthority string
    The default authority of the rocketmq key.
    CreateTime string
    The create time of the rocketmq key.
    Description string
    The description of the rocketmq key.
    InstanceId string
    The id of rocketmq instance.
    SecretKey string
    The secret key of the rocketmq key.
    TopicPermissions []AccessKeysAccessKeyTopicPermission
    The custom authority of the rocketmq key.
    accessKey String
    The access key id of the rocketmq key.
    aclConfigJson String
    The acl config of the rocketmq key.
    actived Boolean
    The active status of the rocketmq key.
    allAuthority String
    The default authority of the rocketmq key.
    createTime String
    The create time of the rocketmq key.
    description String
    The description of the rocketmq key.
    instanceId String
    The id of rocketmq instance.
    secretKey String
    The secret key of the rocketmq key.
    topicPermissions List<AccessKeysAccessKeyTopicPermission>
    The custom authority of the rocketmq key.
    accessKey string
    The access key id of the rocketmq key.
    aclConfigJson string
    The acl config of the rocketmq key.
    actived boolean
    The active status of the rocketmq key.
    allAuthority string
    The default authority of the rocketmq key.
    createTime string
    The create time of the rocketmq key.
    description string
    The description of the rocketmq key.
    instanceId string
    The id of rocketmq instance.
    secretKey string
    The secret key of the rocketmq key.
    topicPermissions AccessKeysAccessKeyTopicPermission[]
    The custom authority of the rocketmq key.
    access_key str
    The access key id of the rocketmq key.
    acl_config_json str
    The acl config of the rocketmq key.
    actived bool
    The active status of the rocketmq key.
    all_authority 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[AccessKeysAccessKeyTopicPermission]
    The custom authority of the rocketmq key.
    accessKey String
    The access key id of the rocketmq key.
    aclConfigJson String
    The acl config of the rocketmq key.
    actived Boolean
    The active status of the rocketmq key.
    allAuthority String
    The default authority of the rocketmq key.
    createTime String
    The create time of the rocketmq key.
    description String
    The description of the rocketmq key.
    instanceId String
    The id of rocketmq instance.
    secretKey String
    The secret key of the rocketmq key.
    topicPermissions List<Property Map>
    The custom authority of the rocketmq key.

    AccessKeysAccessKeyTopicPermission

    Permission string
    The custom authority for the topic.
    TopicName string
    The name of the rocketmq topic.
    Permission string
    The custom authority for the topic.
    TopicName string
    The name of the rocketmq topic.
    permission String
    The custom authority for the topic.
    topicName String
    The name of the rocketmq topic.
    permission string
    The custom authority for the topic.
    topicName 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.
    topicName 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 volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.29 published on Tuesday, Apr 29, 2025 by Volcengine