Skip to content

AccountProps

Properties for defining a Account.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-redis-account

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkredis/datasource"
&datasource.AccountProps {
    AccountName: interface{},
    InstanceId: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
AccountName interface{} Property accountName: The name of the account that you want to query.
InstanceId interface{} Property instanceId: The ID of the Redis instance.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

AccountNameRequired

AccountName interface{}
  • Type: interface{}

Property accountName: The name of the account that you want to query.


InstanceIdRequired

InstanceId interface{}
  • Type: interface{}

Property instanceId: The ID of the Redis instance.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.