Documentation
¶
Index ¶
- type Acl
- type AclArgs
- type AclRule
- type AclRuleArgs
- type AclRuleState
- type AclState
- type ClientUser
- type ClientUserArgs
- type ClientUserState
- type DnatEntry
- type DnatEntryArgs
- type DnatEntryState
- type GetGroupsArgs
- type GetGroupsGroup
- type GetGroupsGroupArgs
- type GetGroupsGroupArray
- type GetGroupsGroupArrayInput
- type GetGroupsGroupArrayOutput
- func (GetGroupsGroupArrayOutput) ElementType() reflect.Type
- func (o GetGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetGroupsGroupOutput
- func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput
- func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput
- type GetGroupsGroupInput
- type GetGroupsGroupOutput
- func (GetGroupsGroupOutput) ElementType() reflect.Type
- func (o GetGroupsGroupOutput) Id() pulumi.StringOutput
- func (o GetGroupsGroupOutput) IndependentNaming() pulumi.BoolOutput
- func (o GetGroupsGroupOutput) Owner() pulumi.StringOutput
- func (o GetGroupsGroupOutput) Remark() pulumi.StringOutput
- func (o GetGroupsGroupOutput) ToGetGroupsGroupOutput() GetGroupsGroupOutput
- func (o GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput
- type GetGroupsResult
- type GetInstancesArgs
- type GetInstancesInstance
- type GetInstancesInstanceArgs
- type GetInstancesInstanceArray
- type GetInstancesInstanceArrayInput
- type GetInstancesInstanceArrayOutput
- func (GetInstancesInstanceArrayOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceOutput
- func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
- func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
- type GetInstancesInstanceInput
- type GetInstancesInstanceOutput
- func (GetInstancesInstanceOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InstanceId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InstanceName() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InstanceStatus() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) InstanceType() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) ReleaseTime() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
- type GetInstancesResult
- type GetTopicsArgs
- type GetTopicsResult
- type GetTopicsTopic
- type GetTopicsTopicArgs
- type GetTopicsTopicArray
- type GetTopicsTopicArrayInput
- type GetTopicsTopicArrayOutput
- func (GetTopicsTopicArrayOutput) ElementType() reflect.Type
- func (o GetTopicsTopicArrayOutput) Index(i pulumi.IntInput) GetTopicsTopicOutput
- func (o GetTopicsTopicArrayOutput) ToGetTopicsTopicArrayOutput() GetTopicsTopicArrayOutput
- func (o GetTopicsTopicArrayOutput) ToGetTopicsTopicArrayOutputWithContext(ctx context.Context) GetTopicsTopicArrayOutput
- type GetTopicsTopicInput
- type GetTopicsTopicOutput
- func (o GetTopicsTopicOutput) CreateTime() pulumi.StringOutput
- func (GetTopicsTopicOutput) ElementType() reflect.Type
- func (o GetTopicsTopicOutput) IndependentNaming() pulumi.BoolOutput
- func (o GetTopicsTopicOutput) MessageType() pulumi.IntOutput
- func (o GetTopicsTopicOutput) Owner() pulumi.StringOutput
- func (o GetTopicsTopicOutput) Relation() pulumi.IntOutput
- func (o GetTopicsTopicOutput) RelationName() pulumi.StringOutput
- func (o GetTopicsTopicOutput) Remark() pulumi.StringOutput
- func (o GetTopicsTopicOutput) ToGetTopicsTopicOutput() GetTopicsTopicOutput
- func (o GetTopicsTopicOutput) ToGetTopicsTopicOutputWithContext(ctx context.Context) GetTopicsTopicOutput
- func (o GetTopicsTopicOutput) Topic() pulumi.StringOutput
- type Group
- type GroupArgs
- type GroupState
- type Instance
- type InstanceArgs
- type InstanceState
- type Qos
- type QosArgs
- type QosCar
- type QosCarArgs
- type QosCarState
- type QosPolicy
- type QosPolicyArgs
- type QosPolicyState
- type QosState
- type SnatEntry
- type SnatEntryArgs
- type SnatEntryState
- type Topic
- type TopicArgs
- type TopicState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Acl ¶
type Acl struct { pulumi.CustomResourceState // The name of the ACL instance. The name can contain 2 to 128 characters including a-z, A-Z, 0-9, periods, underlines, and hyphens. The name must start with an English letter, but cannot start with http:// or https://. Name pulumi.StringOutput `pulumi:"name"` }
Provides a Sag Acl resource. Smart Access Gateway (SAG) provides the access control list (ACL) function in the form of whitelists and blacklists for different SAG instances.
For information about Sag Acl and how to use it, see [What is access control list (ACL)](https://www.alibabacloud.com/help/doc-detail/111518.htm).
> **NOTE:** Available in 1.60.0+
> **NOTE:** Only the following regions support create Cloud Connect Network. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-2`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
func GetAcl ¶
func GetAcl(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AclState, opts ...pulumi.ResourceOption) (*Acl, error)
GetAcl gets an existing Acl resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type AclArgs ¶
type AclArgs struct { // The name of the ACL instance. The name can contain 2 to 128 characters including a-z, A-Z, 0-9, periods, underlines, and hyphens. The name must start with an English letter, but cannot start with http:// or https://. Name pulumi.StringPtrInput }
The set of arguments for constructing a Acl resource.
func (AclArgs) ElementType ¶
type AclRule ¶
type AclRule struct { pulumi.CustomResourceState // The ID of the ACL. AclId pulumi.StringOutput `pulumi:"aclId"` // The description of the ACL rule. It must be 1 to 512 characters in length. Description pulumi.StringPtrOutput `pulumi:"description"` // The destination address. It is an IPv4 address range in CIDR format. Default value: 0.0.0.0/0. DestCidr pulumi.StringOutput `pulumi:"destCidr"` // The range of the destination port. Valid value: 80/80. DestPortRange pulumi.StringOutput `pulumi:"destPortRange"` // The direction of the ACL rule. Valid values: in|out. Direction pulumi.StringOutput `pulumi:"direction"` // The protocol used by the ACL rule. The value is not case sensitive. IpProtocol pulumi.StringOutput `pulumi:"ipProtocol"` // The policy used by the ACL rule. Valid values: accept|drop. Policy pulumi.StringOutput `pulumi:"policy"` // The priority of the ACL rule. Value range: 1 to 100. Priority pulumi.IntPtrOutput `pulumi:"priority"` // The source address. It is an IPv4 address range in the CIDR format. Default value: 0.0.0.0/0. SourceCidr pulumi.StringOutput `pulumi:"sourceCidr"` // The range of the source port. Valid value: 80/80. SourcePortRange pulumi.StringOutput `pulumi:"sourcePortRange"` }
Provides a Sag Acl Rule resource. This topic describes how to configure an access control list (ACL) rule for a target Smart Access Gateway instance to permit or deny access to or from specified IP addresses in the ACL rule.
For information about Sag Acl Rule and how to use it, see [What is access control list (ACL) rule](https://www.alibabacloud.com/help/doc-detail/111483.htm).
> **NOTE:** Available in 1.60.0+
> **NOTE:** Only the following regions support create Cloud Connect Network. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-2`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
func GetAclRule ¶
func GetAclRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AclRuleState, opts ...pulumi.ResourceOption) (*AclRule, error)
GetAclRule gets an existing AclRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAclRule ¶
func NewAclRule(ctx *pulumi.Context, name string, args *AclRuleArgs, opts ...pulumi.ResourceOption) (*AclRule, error)
NewAclRule registers a new resource with the given unique name, arguments, and options.
type AclRuleArgs ¶
type AclRuleArgs struct { // The ID of the ACL. AclId pulumi.StringInput // The description of the ACL rule. It must be 1 to 512 characters in length. Description pulumi.StringPtrInput // The destination address. It is an IPv4 address range in CIDR format. Default value: 0.0.0.0/0. DestCidr pulumi.StringInput // The range of the destination port. Valid value: 80/80. DestPortRange pulumi.StringInput // The direction of the ACL rule. Valid values: in|out. Direction pulumi.StringInput // The protocol used by the ACL rule. The value is not case sensitive. IpProtocol pulumi.StringInput // The policy used by the ACL rule. Valid values: accept|drop. Policy pulumi.StringInput // The priority of the ACL rule. Value range: 1 to 100. Priority pulumi.IntPtrInput // The source address. It is an IPv4 address range in the CIDR format. Default value: 0.0.0.0/0. SourceCidr pulumi.StringInput // The range of the source port. Valid value: 80/80. SourcePortRange pulumi.StringInput }
The set of arguments for constructing a AclRule resource.
func (AclRuleArgs) ElementType ¶
func (AclRuleArgs) ElementType() reflect.Type
type AclRuleState ¶
type AclRuleState struct { // The ID of the ACL. AclId pulumi.StringPtrInput // The description of the ACL rule. It must be 1 to 512 characters in length. Description pulumi.StringPtrInput // The destination address. It is an IPv4 address range in CIDR format. Default value: 0.0.0.0/0. DestCidr pulumi.StringPtrInput // The range of the destination port. Valid value: 80/80. DestPortRange pulumi.StringPtrInput // The direction of the ACL rule. Valid values: in|out. Direction pulumi.StringPtrInput // The protocol used by the ACL rule. The value is not case sensitive. IpProtocol pulumi.StringPtrInput // The policy used by the ACL rule. Valid values: accept|drop. Policy pulumi.StringPtrInput // The priority of the ACL rule. Value range: 1 to 100. Priority pulumi.IntPtrInput // The source address. It is an IPv4 address range in the CIDR format. Default value: 0.0.0.0/0. SourceCidr pulumi.StringPtrInput // The range of the source port. Valid value: 80/80. SourcePortRange pulumi.StringPtrInput }
func (AclRuleState) ElementType ¶
func (AclRuleState) ElementType() reflect.Type
type AclState ¶
type AclState struct { // The name of the ACL instance. The name can contain 2 to 128 characters including a-z, A-Z, 0-9, periods, underlines, and hyphens. The name must start with an English letter, but cannot start with http:// or https://. Name pulumi.StringPtrInput }
func (AclState) ElementType ¶
type ClientUser ¶
type ClientUser struct { pulumi.CustomResourceState // The SAG APP bandwidth that the user can use. Unit: Kbit/s. Maximum value: 2000 Kbit/s. Bandwidth pulumi.IntOutput `pulumi:"bandwidth"` // The IP address of the SAG APP. If you specify this parameter, the current account always uses the specified IP address.Note The IP address must be in the private CIDR block of the SAG client.If you do not specify this parameter, the system automatically allocates an IP address from the private CIDR block of the SAG client. In this case, each re-connection uses a different IP address. ClientIp pulumi.StringPtrOutput `pulumi:"clientIp"` KmsEncryptedPassword pulumi.StringPtrOutput `pulumi:"kmsEncryptedPassword"` KmsEncryptionContext pulumi.MapOutput `pulumi:"kmsEncryptionContext"` // The password used to log on to the SAG APP.Both the user name and the password must be specified. If you specify the user name, the password must be specified, too. Password pulumi.StringOutput `pulumi:"password"` // The ID of the SAG instance created for the SAG APP. SagId pulumi.StringOutput `pulumi:"sagId"` // The email address of the user. The administrator uses this address to send the account information for logging on to the APP to the user. UserMail pulumi.StringOutput `pulumi:"userMail"` // The user name. User names in the same SAG APP must be unique.Both the user name and the password must be specified. If you specify the user name, the password must be specified, too. UserName pulumi.StringOutput `pulumi:"userName"` }
Provides a Sag ClientUser resource. This topic describes how to manage accounts as an administrator. After you configure the network, you can create multiple accounts and distribute them to end users so that clients can access Alibaba Cloud.
For information about Sag ClientUser and how to use it, see [What is Sag ClientUser](https://www.alibabacloud.com/help/doc-detail/108326.htm).
> **NOTE:** Available in 1.65.0+
> **NOTE:** Only the following regions support. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-2`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
func GetClientUser ¶
func GetClientUser(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClientUserState, opts ...pulumi.ResourceOption) (*ClientUser, error)
GetClientUser gets an existing ClientUser resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewClientUser ¶
func NewClientUser(ctx *pulumi.Context, name string, args *ClientUserArgs, opts ...pulumi.ResourceOption) (*ClientUser, error)
NewClientUser registers a new resource with the given unique name, arguments, and options.
type ClientUserArgs ¶
type ClientUserArgs struct { // The SAG APP bandwidth that the user can use. Unit: Kbit/s. Maximum value: 2000 Kbit/s. Bandwidth pulumi.IntInput // The IP address of the SAG APP. If you specify this parameter, the current account always uses the specified IP address.Note The IP address must be in the private CIDR block of the SAG client.If you do not specify this parameter, the system automatically allocates an IP address from the private CIDR block of the SAG client. In this case, each re-connection uses a different IP address. ClientIp pulumi.StringPtrInput KmsEncryptedPassword pulumi.StringPtrInput KmsEncryptionContext pulumi.MapInput // The password used to log on to the SAG APP.Both the user name and the password must be specified. If you specify the user name, the password must be specified, too. Password pulumi.StringPtrInput // The ID of the SAG instance created for the SAG APP. SagId pulumi.StringInput // The email address of the user. The administrator uses this address to send the account information for logging on to the APP to the user. UserMail pulumi.StringInput // The user name. User names in the same SAG APP must be unique.Both the user name and the password must be specified. If you specify the user name, the password must be specified, too. UserName pulumi.StringPtrInput }
The set of arguments for constructing a ClientUser resource.
func (ClientUserArgs) ElementType ¶
func (ClientUserArgs) ElementType() reflect.Type
type ClientUserState ¶
type ClientUserState struct { // The SAG APP bandwidth that the user can use. Unit: Kbit/s. Maximum value: 2000 Kbit/s. Bandwidth pulumi.IntPtrInput // The IP address of the SAG APP. If you specify this parameter, the current account always uses the specified IP address.Note The IP address must be in the private CIDR block of the SAG client.If you do not specify this parameter, the system automatically allocates an IP address from the private CIDR block of the SAG client. In this case, each re-connection uses a different IP address. ClientIp pulumi.StringPtrInput KmsEncryptedPassword pulumi.StringPtrInput KmsEncryptionContext pulumi.MapInput // The password used to log on to the SAG APP.Both the user name and the password must be specified. If you specify the user name, the password must be specified, too. Password pulumi.StringPtrInput // The ID of the SAG instance created for the SAG APP. SagId pulumi.StringPtrInput // The email address of the user. The administrator uses this address to send the account information for logging on to the APP to the user. UserMail pulumi.StringPtrInput // The user name. User names in the same SAG APP must be unique.Both the user name and the password must be specified. If you specify the user name, the password must be specified, too. UserName pulumi.StringPtrInput }
func (ClientUserState) ElementType ¶
func (ClientUserState) ElementType() reflect.Type
type DnatEntry ¶
type DnatEntry struct { pulumi.CustomResourceState // The external public IP address.when "type" is "Internet",automatically identify the external ip. ExternalIp pulumi.StringPtrOutput `pulumi:"externalIp"` // The public port.Value range: 1 to 65535 or "any". ExternalPort pulumi.StringOutput `pulumi:"externalPort"` // The destination private IP address. InternalIp pulumi.StringOutput `pulumi:"internalIp"` // The destination private port.Value range: 1 to 65535 or "any". InternalPort pulumi.StringOutput `pulumi:"internalPort"` // The protocol type. Valid values: TCP: Forwards packets of the TCP protocol. UDP: Forwards packets of the UDP protocol. Any: Forwards packets of all protocols. IpProtocol pulumi.StringOutput `pulumi:"ipProtocol"` // The ID of the SAG instance. SagId pulumi.StringOutput `pulumi:"sagId"` // The DNAT type. Valid values: Intranet: DNAT of private IP addresses. Internet: DNAT of public IP addresses Type pulumi.StringOutput `pulumi:"type"` }
Provides a Sag DnatEntry resource. This topic describes how to add a DNAT entry to a Smart Access Gateway (SAG) instance to enable the DNAT function. By using the DNAT function, you can forward requests received by public IP addresses to Alibaba Cloud instances according to custom mapping rules.
For information about Sag DnatEntry and how to use it, see [What is Sag DnatEntry](https://www.alibabacloud.com/help/doc-detail/124312.htm).
> **NOTE:** Available in 1.63.0+
> **NOTE:** Only the following regions suppor. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-2`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
func GetDnatEntry ¶
func GetDnatEntry(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DnatEntryState, opts ...pulumi.ResourceOption) (*DnatEntry, error)
GetDnatEntry gets an existing DnatEntry resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDnatEntry ¶
func NewDnatEntry(ctx *pulumi.Context, name string, args *DnatEntryArgs, opts ...pulumi.ResourceOption) (*DnatEntry, error)
NewDnatEntry registers a new resource with the given unique name, arguments, and options.
type DnatEntryArgs ¶
type DnatEntryArgs struct { // The external public IP address.when "type" is "Internet",automatically identify the external ip. ExternalIp pulumi.StringPtrInput // The public port.Value range: 1 to 65535 or "any". ExternalPort pulumi.StringInput // The destination private IP address. InternalIp pulumi.StringInput // The destination private port.Value range: 1 to 65535 or "any". InternalPort pulumi.StringInput // The protocol type. Valid values: TCP: Forwards packets of the TCP protocol. UDP: Forwards packets of the UDP protocol. Any: Forwards packets of all protocols. IpProtocol pulumi.StringInput // The ID of the SAG instance. SagId pulumi.StringInput // The DNAT type. Valid values: Intranet: DNAT of private IP addresses. Internet: DNAT of public IP addresses Type pulumi.StringInput }
The set of arguments for constructing a DnatEntry resource.
func (DnatEntryArgs) ElementType ¶
func (DnatEntryArgs) ElementType() reflect.Type
type DnatEntryState ¶
type DnatEntryState struct { // The external public IP address.when "type" is "Internet",automatically identify the external ip. ExternalIp pulumi.StringPtrInput // The public port.Value range: 1 to 65535 or "any". ExternalPort pulumi.StringPtrInput // The destination private IP address. InternalIp pulumi.StringPtrInput // The destination private port.Value range: 1 to 65535 or "any". InternalPort pulumi.StringPtrInput // The protocol type. Valid values: TCP: Forwards packets of the TCP protocol. UDP: Forwards packets of the UDP protocol. Any: Forwards packets of all protocols. IpProtocol pulumi.StringPtrInput // The ID of the SAG instance. SagId pulumi.StringPtrInput // The DNAT type. Valid values: Intranet: DNAT of private IP addresses. Internet: DNAT of public IP addresses Type pulumi.StringPtrInput }
func (DnatEntryState) ElementType ¶
func (DnatEntryState) ElementType() reflect.Type
type GetGroupsArgs ¶
type GetGroupsArgs struct { // A regex string to filter results by the group name. GroupIdRegex *string `pulumi:"groupIdRegex"` // ID of the ONS Instance that owns the groups. InstanceId string `pulumi:"instanceId"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getGroups.
type GetGroupsGroup ¶
type GetGroupsGroup struct { // The name of the group. Id string `pulumi:"id"` // Indicates whether namespaces are available. Read [Fields in SubscribeInfoDo](https://www.alibabacloud.com/help/doc-detail/29619.html) for further details. IndependentNaming bool `pulumi:"independentNaming"` // The ID of the group owner, which is the Alibaba Cloud UID. Owner string `pulumi:"owner"` // Remark of the group. Remark string `pulumi:"remark"` }
type GetGroupsGroupArgs ¶
type GetGroupsGroupArgs struct { // The name of the group. Id pulumi.StringInput `pulumi:"id"` // Indicates whether namespaces are available. Read [Fields in SubscribeInfoDo](https://www.alibabacloud.com/help/doc-detail/29619.html) for further details. IndependentNaming pulumi.BoolInput `pulumi:"independentNaming"` // The ID of the group owner, which is the Alibaba Cloud UID. Owner pulumi.StringInput `pulumi:"owner"` // Remark of the group. Remark pulumi.StringInput `pulumi:"remark"` }
func (GetGroupsGroupArgs) ElementType ¶
func (GetGroupsGroupArgs) ElementType() reflect.Type
func (GetGroupsGroupArgs) ToGetGroupsGroupOutput ¶
func (i GetGroupsGroupArgs) ToGetGroupsGroupOutput() GetGroupsGroupOutput
func (GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext ¶
func (i GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput
type GetGroupsGroupArray ¶
type GetGroupsGroupArray []GetGroupsGroupInput
func (GetGroupsGroupArray) ElementType ¶
func (GetGroupsGroupArray) ElementType() reflect.Type
func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutput ¶
func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput
func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext ¶
func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput
type GetGroupsGroupArrayInput ¶
type GetGroupsGroupArrayInput interface { pulumi.Input ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput ToGetGroupsGroupArrayOutputWithContext(context.Context) GetGroupsGroupArrayOutput }
GetGroupsGroupArrayInput is an input type that accepts GetGroupsGroupArray and GetGroupsGroupArrayOutput values. You can construct a concrete instance of `GetGroupsGroupArrayInput` via:
GetGroupsGroupArray{ GetGroupsGroupArgs{...} }
type GetGroupsGroupArrayOutput ¶
type GetGroupsGroupArrayOutput struct{ *pulumi.OutputState }
func (GetGroupsGroupArrayOutput) ElementType ¶
func (GetGroupsGroupArrayOutput) ElementType() reflect.Type
func (GetGroupsGroupArrayOutput) Index ¶
func (o GetGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetGroupsGroupOutput
func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput ¶
func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput
func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext ¶
func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput
type GetGroupsGroupInput ¶
type GetGroupsGroupInput interface { pulumi.Input ToGetGroupsGroupOutput() GetGroupsGroupOutput ToGetGroupsGroupOutputWithContext(context.Context) GetGroupsGroupOutput }
GetGroupsGroupInput is an input type that accepts GetGroupsGroupArgs and GetGroupsGroupOutput values. You can construct a concrete instance of `GetGroupsGroupInput` via:
GetGroupsGroupArgs{...}
type GetGroupsGroupOutput ¶
type GetGroupsGroupOutput struct{ *pulumi.OutputState }
func (GetGroupsGroupOutput) ElementType ¶
func (GetGroupsGroupOutput) ElementType() reflect.Type
func (GetGroupsGroupOutput) Id ¶
func (o GetGroupsGroupOutput) Id() pulumi.StringOutput
The name of the group.
func (GetGroupsGroupOutput) IndependentNaming ¶
func (o GetGroupsGroupOutput) IndependentNaming() pulumi.BoolOutput
Indicates whether namespaces are available. Read [Fields in SubscribeInfoDo](https://www.alibabacloud.com/help/doc-detail/29619.html) for further details.
func (GetGroupsGroupOutput) Owner ¶
func (o GetGroupsGroupOutput) Owner() pulumi.StringOutput
The ID of the group owner, which is the Alibaba Cloud UID.
func (GetGroupsGroupOutput) Remark ¶
func (o GetGroupsGroupOutput) Remark() pulumi.StringOutput
Remark of the group.
func (GetGroupsGroupOutput) ToGetGroupsGroupOutput ¶
func (o GetGroupsGroupOutput) ToGetGroupsGroupOutput() GetGroupsGroupOutput
func (GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext ¶
func (o GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput
type GetGroupsResult ¶
type GetGroupsResult struct { GroupIdRegex *string `pulumi:"groupIdRegex"` // A list of groups. Each element contains the following attributes: Groups []GetGroupsGroup `pulumi:"groups"` // id is the provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of group names. Ids []string `pulumi:"ids"` InstanceId string `pulumi:"instanceId"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getGroups.
func GetGroups ¶
func GetGroups(ctx *pulumi.Context, args *GetGroupsArgs, opts ...pulumi.InvokeOption) (*GetGroupsResult, error)
This data source provides a list of ONS Groups in an Alibaba Cloud account according to the specified filters.
> **NOTE:** Available in 1.53.0+
type GetInstancesArgs ¶
type GetInstancesArgs struct { // A list of instance IDs to filter results. Ids []string `pulumi:"ids"` // A regex string to filter results by the instance name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getInstances.
type GetInstancesInstance ¶
type GetInstancesInstance struct { // ID of the instance. Id string `pulumi:"id"` // ID of the instance. InstanceId string `pulumi:"instanceId"` // Name of the instance. InstanceName string `pulumi:"instanceName"` // The status of the instance. Read [Fields in InstanceVO](https://www.alibabacloud.com/help/doc-detail/106351.html) for further details. InstanceStatus int `pulumi:"instanceStatus"` // The type of the instance. Read [Fields in InstanceVO](https://www.alibabacloud.com/help/doc-detail/106351.html) for further details. InstanceType int `pulumi:"instanceType"` // The automatic release time of an Enterprise Platinum Edition instance. ReleaseTime int `pulumi:"releaseTime"` }
type GetInstancesInstanceArgs ¶
type GetInstancesInstanceArgs struct { // ID of the instance. Id pulumi.StringInput `pulumi:"id"` // ID of the instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Name of the instance. InstanceName pulumi.StringInput `pulumi:"instanceName"` // The status of the instance. Read [Fields in InstanceVO](https://www.alibabacloud.com/help/doc-detail/106351.html) for further details. InstanceStatus pulumi.IntInput `pulumi:"instanceStatus"` // The type of the instance. Read [Fields in InstanceVO](https://www.alibabacloud.com/help/doc-detail/106351.html) for further details. InstanceType pulumi.IntInput `pulumi:"instanceType"` // The automatic release time of an Enterprise Platinum Edition instance. ReleaseTime pulumi.IntInput `pulumi:"releaseTime"` }
func (GetInstancesInstanceArgs) ElementType ¶
func (GetInstancesInstanceArgs) ElementType() reflect.Type
func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutput ¶
func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext ¶
func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
type GetInstancesInstanceArray ¶
type GetInstancesInstanceArray []GetInstancesInstanceInput
func (GetInstancesInstanceArray) ElementType ¶
func (GetInstancesInstanceArray) ElementType() reflect.Type
func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput ¶
func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext ¶
func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
type GetInstancesInstanceArrayInput ¶
type GetInstancesInstanceArrayInput interface { pulumi.Input ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput ToGetInstancesInstanceArrayOutputWithContext(context.Context) GetInstancesInstanceArrayOutput }
GetInstancesInstanceArrayInput is an input type that accepts GetInstancesInstanceArray and GetInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceArrayInput` via:
GetInstancesInstanceArray{ GetInstancesInstanceArgs{...} }
type GetInstancesInstanceArrayOutput ¶
type GetInstancesInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceArrayOutput) ElementType ¶
func (GetInstancesInstanceArrayOutput) ElementType() reflect.Type
func (GetInstancesInstanceArrayOutput) Index ¶
func (o GetInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceOutput
func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput ¶
func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext ¶
func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
type GetInstancesInstanceInput ¶
type GetInstancesInstanceInput interface { pulumi.Input ToGetInstancesInstanceOutput() GetInstancesInstanceOutput ToGetInstancesInstanceOutputWithContext(context.Context) GetInstancesInstanceOutput }
GetInstancesInstanceInput is an input type that accepts GetInstancesInstanceArgs and GetInstancesInstanceOutput values. You can construct a concrete instance of `GetInstancesInstanceInput` via:
GetInstancesInstanceArgs{...}
type GetInstancesInstanceOutput ¶
type GetInstancesInstanceOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceOutput) ElementType ¶
func (GetInstancesInstanceOutput) ElementType() reflect.Type
func (GetInstancesInstanceOutput) Id ¶
func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput
ID of the instance.
func (GetInstancesInstanceOutput) InstanceId ¶
func (o GetInstancesInstanceOutput) InstanceId() pulumi.StringOutput
ID of the instance.
func (GetInstancesInstanceOutput) InstanceName ¶
func (o GetInstancesInstanceOutput) InstanceName() pulumi.StringOutput
Name of the instance.
func (GetInstancesInstanceOutput) InstanceStatus ¶
func (o GetInstancesInstanceOutput) InstanceStatus() pulumi.IntOutput
The status of the instance. Read [Fields in InstanceVO](https://www.alibabacloud.com/help/doc-detail/106351.html) for further details.
func (GetInstancesInstanceOutput) InstanceType ¶
func (o GetInstancesInstanceOutput) InstanceType() pulumi.IntOutput
The type of the instance. Read [Fields in InstanceVO](https://www.alibabacloud.com/help/doc-detail/106351.html) for further details.
func (GetInstancesInstanceOutput) ReleaseTime ¶
func (o GetInstancesInstanceOutput) ReleaseTime() pulumi.IntOutput
The automatic release time of an Enterprise Platinum Edition instance.
func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutput ¶
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext ¶
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
type GetInstancesResult ¶
type GetInstancesResult struct { // id is the provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of instance IDs. Ids []string `pulumi:"ids"` // A list of instances. Each element contains the following attributes: Instances []GetInstancesInstance `pulumi:"instances"` NameRegex *string `pulumi:"nameRegex"` // A list of instance names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getInstances.
func GetInstances ¶
func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)
This data source provides a list of ONS Instances in an Alibaba Cloud account according to the specified filters.
> **NOTE:** Available in 1.52.0+
type GetTopicsArgs ¶
type GetTopicsArgs struct { // ID of the ONS Instance that owns the topics. InstanceId string `pulumi:"instanceId"` // A regex string to filter results by the topic name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getTopics.
type GetTopicsResult ¶
type GetTopicsResult struct { // id is the provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId string `pulumi:"instanceId"` NameRegex *string `pulumi:"nameRegex"` // A list of topic names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // A list of topics. Each element contains the following attributes: Topics []GetTopicsTopic `pulumi:"topics"` }
A collection of values returned by getTopics.
func GetTopics ¶
func GetTopics(ctx *pulumi.Context, args *GetTopicsArgs, opts ...pulumi.InvokeOption) (*GetTopicsResult, error)
This data source provides a list of ONS Topics in an Alibaba Cloud account according to the specified filters.
> **NOTE:** Available in 1.53.0+
type GetTopicsTopic ¶
type GetTopicsTopic struct { // Time of creation. CreateTime string `pulumi:"createTime"` // Indicates whether namespaces are available. Read [Fields in PublishInfoDo](https://www.alibabacloud.com/help/doc-detail/29590.html) for further details. IndependentNaming bool `pulumi:"independentNaming"` // The type of the message. Read [Fields in PublishInfoDo](https://www.alibabacloud.com/help/doc-detail/29590.html) for further details. MessageType int `pulumi:"messageType"` // The ID of the topic owner, which is the Alibaba Cloud UID. Owner string `pulumi:"owner"` // The relation ID. Read [Fields in PublishInfoDo](https://www.alibabacloud.com/help/doc-detail/29590.html) for further details. Relation int `pulumi:"relation"` // The name of the relation, for example, owner, publishable, subscribable, and publishable and subscribable. RelationName string `pulumi:"relationName"` // Remark of the topic. Remark string `pulumi:"remark"` // The name of the topic. Topic string `pulumi:"topic"` }
type GetTopicsTopicArgs ¶
type GetTopicsTopicArgs struct { // Time of creation. CreateTime pulumi.StringInput `pulumi:"createTime"` // Indicates whether namespaces are available. Read [Fields in PublishInfoDo](https://www.alibabacloud.com/help/doc-detail/29590.html) for further details. IndependentNaming pulumi.BoolInput `pulumi:"independentNaming"` // The type of the message. Read [Fields in PublishInfoDo](https://www.alibabacloud.com/help/doc-detail/29590.html) for further details. MessageType pulumi.IntInput `pulumi:"messageType"` // The ID of the topic owner, which is the Alibaba Cloud UID. Owner pulumi.StringInput `pulumi:"owner"` // The relation ID. Read [Fields in PublishInfoDo](https://www.alibabacloud.com/help/doc-detail/29590.html) for further details. Relation pulumi.IntInput `pulumi:"relation"` // The name of the relation, for example, owner, publishable, subscribable, and publishable and subscribable. RelationName pulumi.StringInput `pulumi:"relationName"` // Remark of the topic. Remark pulumi.StringInput `pulumi:"remark"` // The name of the topic. Topic pulumi.StringInput `pulumi:"topic"` }
func (GetTopicsTopicArgs) ElementType ¶
func (GetTopicsTopicArgs) ElementType() reflect.Type
func (GetTopicsTopicArgs) ToGetTopicsTopicOutput ¶
func (i GetTopicsTopicArgs) ToGetTopicsTopicOutput() GetTopicsTopicOutput
func (GetTopicsTopicArgs) ToGetTopicsTopicOutputWithContext ¶
func (i GetTopicsTopicArgs) ToGetTopicsTopicOutputWithContext(ctx context.Context) GetTopicsTopicOutput
type GetTopicsTopicArray ¶
type GetTopicsTopicArray []GetTopicsTopicInput
func (GetTopicsTopicArray) ElementType ¶
func (GetTopicsTopicArray) ElementType() reflect.Type
func (GetTopicsTopicArray) ToGetTopicsTopicArrayOutput ¶
func (i GetTopicsTopicArray) ToGetTopicsTopicArrayOutput() GetTopicsTopicArrayOutput
func (GetTopicsTopicArray) ToGetTopicsTopicArrayOutputWithContext ¶
func (i GetTopicsTopicArray) ToGetTopicsTopicArrayOutputWithContext(ctx context.Context) GetTopicsTopicArrayOutput
type GetTopicsTopicArrayInput ¶
type GetTopicsTopicArrayInput interface { pulumi.Input ToGetTopicsTopicArrayOutput() GetTopicsTopicArrayOutput ToGetTopicsTopicArrayOutputWithContext(context.Context) GetTopicsTopicArrayOutput }
GetTopicsTopicArrayInput is an input type that accepts GetTopicsTopicArray and GetTopicsTopicArrayOutput values. You can construct a concrete instance of `GetTopicsTopicArrayInput` via:
GetTopicsTopicArray{ GetTopicsTopicArgs{...} }
type GetTopicsTopicArrayOutput ¶
type GetTopicsTopicArrayOutput struct{ *pulumi.OutputState }
func (GetTopicsTopicArrayOutput) ElementType ¶
func (GetTopicsTopicArrayOutput) ElementType() reflect.Type
func (GetTopicsTopicArrayOutput) Index ¶
func (o GetTopicsTopicArrayOutput) Index(i pulumi.IntInput) GetTopicsTopicOutput
func (GetTopicsTopicArrayOutput) ToGetTopicsTopicArrayOutput ¶
func (o GetTopicsTopicArrayOutput) ToGetTopicsTopicArrayOutput() GetTopicsTopicArrayOutput
func (GetTopicsTopicArrayOutput) ToGetTopicsTopicArrayOutputWithContext ¶
func (o GetTopicsTopicArrayOutput) ToGetTopicsTopicArrayOutputWithContext(ctx context.Context) GetTopicsTopicArrayOutput
type GetTopicsTopicInput ¶
type GetTopicsTopicInput interface { pulumi.Input ToGetTopicsTopicOutput() GetTopicsTopicOutput ToGetTopicsTopicOutputWithContext(context.Context) GetTopicsTopicOutput }
GetTopicsTopicInput is an input type that accepts GetTopicsTopicArgs and GetTopicsTopicOutput values. You can construct a concrete instance of `GetTopicsTopicInput` via:
GetTopicsTopicArgs{...}
type GetTopicsTopicOutput ¶
type GetTopicsTopicOutput struct{ *pulumi.OutputState }
func (GetTopicsTopicOutput) CreateTime ¶
func (o GetTopicsTopicOutput) CreateTime() pulumi.StringOutput
Time of creation.
func (GetTopicsTopicOutput) ElementType ¶
func (GetTopicsTopicOutput) ElementType() reflect.Type
func (GetTopicsTopicOutput) IndependentNaming ¶
func (o GetTopicsTopicOutput) IndependentNaming() pulumi.BoolOutput
Indicates whether namespaces are available. Read [Fields in PublishInfoDo](https://www.alibabacloud.com/help/doc-detail/29590.html) for further details.
func (GetTopicsTopicOutput) MessageType ¶
func (o GetTopicsTopicOutput) MessageType() pulumi.IntOutput
The type of the message. Read [Fields in PublishInfoDo](https://www.alibabacloud.com/help/doc-detail/29590.html) for further details.
func (GetTopicsTopicOutput) Owner ¶
func (o GetTopicsTopicOutput) Owner() pulumi.StringOutput
The ID of the topic owner, which is the Alibaba Cloud UID.
func (GetTopicsTopicOutput) Relation ¶
func (o GetTopicsTopicOutput) Relation() pulumi.IntOutput
The relation ID. Read [Fields in PublishInfoDo](https://www.alibabacloud.com/help/doc-detail/29590.html) for further details.
func (GetTopicsTopicOutput) RelationName ¶
func (o GetTopicsTopicOutput) RelationName() pulumi.StringOutput
The name of the relation, for example, owner, publishable, subscribable, and publishable and subscribable.
func (GetTopicsTopicOutput) Remark ¶
func (o GetTopicsTopicOutput) Remark() pulumi.StringOutput
Remark of the topic.
func (GetTopicsTopicOutput) ToGetTopicsTopicOutput ¶
func (o GetTopicsTopicOutput) ToGetTopicsTopicOutput() GetTopicsTopicOutput
func (GetTopicsTopicOutput) ToGetTopicsTopicOutputWithContext ¶
func (o GetTopicsTopicOutput) ToGetTopicsTopicOutputWithContext(ctx context.Context) GetTopicsTopicOutput
func (GetTopicsTopicOutput) Topic ¶
func (o GetTopicsTopicOutput) Topic() pulumi.StringOutput
The name of the topic.
type Group ¶
type Group struct { pulumi.CustomResourceState // Name of the group. Two groups on a single instance cannot have the same name. A `groupId` starts with "GID_" or "GID-", and contains letters, numbers, hyphens (-), and underscores (_). GroupId pulumi.StringOutput `pulumi:"groupId"` // ID of the ONS Instance that owns the groups. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // This attribute is used to set the message reading enabled or disabled. It can only be set after the group is used by the client. ReadEnable pulumi.BoolPtrOutput `pulumi:"readEnable"` // This attribute is a concise description of group. The length cannot exceed 256. Remark pulumi.StringPtrOutput `pulumi:"remark"` }
Provides an ONS group resource.
For more information about how to use it, see [RocketMQ Group Management API](https://www.alibabacloud.com/help/doc-detail/29616.html).
> **NOTE:** Available in 1.53.0+
func GetGroup ¶
func GetGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)
GetGroup gets an existing Group resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type GroupArgs ¶
type GroupArgs struct { // Name of the group. Two groups on a single instance cannot have the same name. A `groupId` starts with "GID_" or "GID-", and contains letters, numbers, hyphens (-), and underscores (_). GroupId pulumi.StringInput // ID of the ONS Instance that owns the groups. InstanceId pulumi.StringInput // This attribute is used to set the message reading enabled or disabled. It can only be set after the group is used by the client. ReadEnable pulumi.BoolPtrInput // This attribute is a concise description of group. The length cannot exceed 256. Remark pulumi.StringPtrInput }
The set of arguments for constructing a Group resource.
func (GroupArgs) ElementType ¶
type GroupState ¶
type GroupState struct { // Name of the group. Two groups on a single instance cannot have the same name. A `groupId` starts with "GID_" or "GID-", and contains letters, numbers, hyphens (-), and underscores (_). GroupId pulumi.StringPtrInput // ID of the ONS Instance that owns the groups. InstanceId pulumi.StringPtrInput // This attribute is used to set the message reading enabled or disabled. It can only be set after the group is used by the client. ReadEnable pulumi.BoolPtrInput // This attribute is a concise description of group. The length cannot exceed 256. Remark pulumi.StringPtrInput }
func (GroupState) ElementType ¶
func (GroupState) ElementType() reflect.Type
type Instance ¶
type Instance struct { pulumi.CustomResourceState // The status of instance. 1 represents the platinum edition instance is in deployment. 2 represents the postpaid edition instance are overdue. 5 represents the postpaid or platinum edition instance is in service. 7 represents the platinum version instance is in upgrade and the service is available. InstanceStatus pulumi.IntOutput `pulumi:"instanceStatus"` // The edition of instance. 1 represents the postPaid edition, and 2 represents the platinum edition. InstanceType pulumi.IntOutput `pulumi:"instanceType"` // Two instances on a single account in the same region cannot have the same name. The length must be 3 to 64 characters. Chinese characters, English letters digits and hyphen are allowed. Name pulumi.StringOutput `pulumi:"name"` // Platinum edition instance expiration time. ReleaseTime pulumi.StringOutput `pulumi:"releaseTime"` // This attribute is a concise description of instance. The length cannot exceed 128. Remark pulumi.StringPtrOutput `pulumi:"remark"` }
Provides an ONS instance resource.
For more information about how to use it, see [RocketMQ Instance Management API](https://www.alibabacloud.com/help/doc-detail/106354.html).
> **NOTE:** The number of instances in the same region cannot exceed 8. At present, the resource does not support region "mq-internet-access" and "ap-southeast-5".
> **NOTE:** Available in 1.51.0+
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
type InstanceArgs ¶
type InstanceArgs struct { // Two instances on a single account in the same region cannot have the same name. The length must be 3 to 64 characters. Chinese characters, English letters digits and hyphen are allowed. Name pulumi.StringPtrInput // This attribute is a concise description of instance. The length cannot exceed 128. Remark pulumi.StringPtrInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceState ¶
type InstanceState struct { // The status of instance. 1 represents the platinum edition instance is in deployment. 2 represents the postpaid edition instance are overdue. 5 represents the postpaid or platinum edition instance is in service. 7 represents the platinum version instance is in upgrade and the service is available. InstanceStatus pulumi.IntPtrInput // The edition of instance. 1 represents the postPaid edition, and 2 represents the platinum edition. InstanceType pulumi.IntPtrInput // Two instances on a single account in the same region cannot have the same name. The length must be 3 to 64 characters. Chinese characters, English letters digits and hyphen are allowed. Name pulumi.StringPtrInput // Platinum edition instance expiration time. ReleaseTime pulumi.StringPtrInput // This attribute is a concise description of instance. The length cannot exceed 128. Remark pulumi.StringPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type Qos ¶
type Qos struct { pulumi.CustomResourceState // The name of the QoS policy to be created. The name can contain 2 to 128 characters including a-z, A-Z, 0-9, periods, underlines, and hyphens. The name must start with an English letter, but cannot start with http:// or https://. Name pulumi.StringOutput `pulumi:"name"` }
Provides a Sag Qos resource. Smart Access Gateway (SAG) supports quintuple-based QoS functions to differentiate traffic of different services and ensure high-priority traffic bandwidth.
For information about Sag Qos and how to use it, see [What is Qos](https://www.alibabacloud.com/help/doc-detail/131306.htm).
> **NOTE:** Available in 1.60.0+
> **NOTE:** Only the following regions support. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-2`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
func GetQos ¶
func GetQos(ctx *pulumi.Context, name string, id pulumi.IDInput, state *QosState, opts ...pulumi.ResourceOption) (*Qos, error)
GetQos gets an existing Qos resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type QosArgs ¶
type QosArgs struct { // The name of the QoS policy to be created. The name can contain 2 to 128 characters including a-z, A-Z, 0-9, periods, underlines, and hyphens. The name must start with an English letter, but cannot start with http:// or https://. Name pulumi.StringPtrInput }
The set of arguments for constructing a Qos resource.
func (QosArgs) ElementType ¶
type QosCar ¶
type QosCar struct { pulumi.CustomResourceState // The description of the QoS speed limiting rule. Description pulumi.StringPtrOutput `pulumi:"description"` // The speed limiting method. Valid values: Absolute, Percent. LimitType pulumi.StringOutput `pulumi:"limitType"` // The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute. MaxBandwidthAbs pulumi.IntPtrOutput `pulumi:"maxBandwidthAbs"` // The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent. MaxBandwidthPercent pulumi.IntPtrOutput `pulumi:"maxBandwidthPercent"` // The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute. MinBandwidthAbs pulumi.IntPtrOutput `pulumi:"minBandwidthAbs"` // The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent. MinBandwidthPercent pulumi.IntPtrOutput `pulumi:"minBandwidthPercent"` // The name of the QoS speed limiting rule.. Name pulumi.StringOutput `pulumi:"name"` // The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth. PercentSourceType pulumi.StringPtrOutput `pulumi:"percentSourceType"` // The priority of the specified stream. Priority pulumi.IntOutput `pulumi:"priority"` // The instance ID of the QoS. QosId pulumi.StringOutput `pulumi:"qosId"` }
Provides a Sag qos car resource. You need to create a QoS car to set priorities, rate limits, and quintuple rules for different messages.
For information about Sag Qos Car and how to use it, see [What is Qos Car](https://www.alibabacloud.com/help/doc-detail/140065.htm).
> **NOTE:** Available in 1.60.0+
> **NOTE:** Only the following regions support. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-2`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
func GetQosCar ¶
func GetQosCar(ctx *pulumi.Context, name string, id pulumi.IDInput, state *QosCarState, opts ...pulumi.ResourceOption) (*QosCar, error)
GetQosCar gets an existing QosCar resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewQosCar ¶
func NewQosCar(ctx *pulumi.Context, name string, args *QosCarArgs, opts ...pulumi.ResourceOption) (*QosCar, error)
NewQosCar registers a new resource with the given unique name, arguments, and options.
type QosCarArgs ¶
type QosCarArgs struct { // The description of the QoS speed limiting rule. Description pulumi.StringPtrInput // The speed limiting method. Valid values: Absolute, Percent. LimitType pulumi.StringInput // The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute. MaxBandwidthAbs pulumi.IntPtrInput // The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent. MaxBandwidthPercent pulumi.IntPtrInput // The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute. MinBandwidthAbs pulumi.IntPtrInput // The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent. MinBandwidthPercent pulumi.IntPtrInput // The name of the QoS speed limiting rule.. Name pulumi.StringPtrInput // The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth. PercentSourceType pulumi.StringPtrInput // The priority of the specified stream. Priority pulumi.IntInput // The instance ID of the QoS. QosId pulumi.StringInput }
The set of arguments for constructing a QosCar resource.
func (QosCarArgs) ElementType ¶
func (QosCarArgs) ElementType() reflect.Type
type QosCarState ¶
type QosCarState struct { // The description of the QoS speed limiting rule. Description pulumi.StringPtrInput // The speed limiting method. Valid values: Absolute, Percent. LimitType pulumi.StringPtrInput // The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute. MaxBandwidthAbs pulumi.IntPtrInput // The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent. MaxBandwidthPercent pulumi.IntPtrInput // The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute. MinBandwidthAbs pulumi.IntPtrInput // The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent. MinBandwidthPercent pulumi.IntPtrInput // The name of the QoS speed limiting rule.. Name pulumi.StringPtrInput // The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth. PercentSourceType pulumi.StringPtrInput // The priority of the specified stream. Priority pulumi.IntPtrInput // The instance ID of the QoS. QosId pulumi.StringPtrInput }
func (QosCarState) ElementType ¶
func (QosCarState) ElementType() reflect.Type
type QosPolicy ¶
type QosPolicy struct { pulumi.CustomResourceState // The description of the QoS policy. Description pulumi.StringPtrOutput `pulumi:"description"` // The destination CIDR block. DestCidr pulumi.StringOutput `pulumi:"destCidr"` // The destination port range. DestPortRange pulumi.StringOutput `pulumi:"destPortRange"` // The expiration time of the quintuple rule. EndTime pulumi.StringPtrOutput `pulumi:"endTime"` // The transport layer protocol. IpProtocol pulumi.StringOutput `pulumi:"ipProtocol"` // The name of the QoS policy. Name pulumi.StringOutput `pulumi:"name"` // The priority of the quintuple rule. A smaller value indicates a higher priority. If the priorities of two quintuple rules are the same, the rule created earlier is applied first.Value range: 1 to 7. Priority pulumi.IntOutput `pulumi:"priority"` // The instance ID of the QoS policy to which the quintuple rule is created. QosId pulumi.StringOutput `pulumi:"qosId"` // The source CIDR block. SourceCidr pulumi.StringOutput `pulumi:"sourceCidr"` // The source port range of the transport layer. SourcePortRange pulumi.StringOutput `pulumi:"sourcePortRange"` // The time when the quintuple rule takes effect. StartTime pulumi.StringPtrOutput `pulumi:"startTime"` }
Provides a Sag qos policy resource. You need to create a QoS policy to set priorities, rate limits, and quintuple rules for different messages.
For information about Sag Qos Policy and how to use it, see [What is Qos Policy](https://www.alibabacloud.com/help/doc-detail/140065.htm).
> **NOTE:** Available in 1.60.0+
> **NOTE:** Only the following regions support. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-2`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
func GetQosPolicy ¶
func GetQosPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *QosPolicyState, opts ...pulumi.ResourceOption) (*QosPolicy, error)
GetQosPolicy gets an existing QosPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewQosPolicy ¶
func NewQosPolicy(ctx *pulumi.Context, name string, args *QosPolicyArgs, opts ...pulumi.ResourceOption) (*QosPolicy, error)
NewQosPolicy registers a new resource with the given unique name, arguments, and options.
type QosPolicyArgs ¶
type QosPolicyArgs struct { // The description of the QoS policy. Description pulumi.StringPtrInput // The destination CIDR block. DestCidr pulumi.StringInput // The destination port range. DestPortRange pulumi.StringInput // The expiration time of the quintuple rule. EndTime pulumi.StringPtrInput // The transport layer protocol. IpProtocol pulumi.StringInput // The name of the QoS policy. Name pulumi.StringPtrInput // The priority of the quintuple rule. A smaller value indicates a higher priority. If the priorities of two quintuple rules are the same, the rule created earlier is applied first.Value range: 1 to 7. Priority pulumi.IntInput // The instance ID of the QoS policy to which the quintuple rule is created. QosId pulumi.StringInput // The source CIDR block. SourceCidr pulumi.StringInput // The source port range of the transport layer. SourcePortRange pulumi.StringInput // The time when the quintuple rule takes effect. StartTime pulumi.StringPtrInput }
The set of arguments for constructing a QosPolicy resource.
func (QosPolicyArgs) ElementType ¶
func (QosPolicyArgs) ElementType() reflect.Type
type QosPolicyState ¶
type QosPolicyState struct { // The description of the QoS policy. Description pulumi.StringPtrInput // The destination CIDR block. DestCidr pulumi.StringPtrInput // The destination port range. DestPortRange pulumi.StringPtrInput // The expiration time of the quintuple rule. EndTime pulumi.StringPtrInput // The transport layer protocol. IpProtocol pulumi.StringPtrInput // The name of the QoS policy. Name pulumi.StringPtrInput // The priority of the quintuple rule. A smaller value indicates a higher priority. If the priorities of two quintuple rules are the same, the rule created earlier is applied first.Value range: 1 to 7. Priority pulumi.IntPtrInput // The instance ID of the QoS policy to which the quintuple rule is created. QosId pulumi.StringPtrInput // The source CIDR block. SourceCidr pulumi.StringPtrInput // The source port range of the transport layer. SourcePortRange pulumi.StringPtrInput // The time when the quintuple rule takes effect. StartTime pulumi.StringPtrInput }
func (QosPolicyState) ElementType ¶
func (QosPolicyState) ElementType() reflect.Type
type QosState ¶
type QosState struct { // The name of the QoS policy to be created. The name can contain 2 to 128 characters including a-z, A-Z, 0-9, periods, underlines, and hyphens. The name must start with an English letter, but cannot start with http:// or https://. Name pulumi.StringPtrInput }
func (QosState) ElementType ¶
type SnatEntry ¶
type SnatEntry struct { pulumi.CustomResourceState // The destination CIDR block. CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"` // The ID of the SAG instance. SagId pulumi.StringOutput `pulumi:"sagId"` // The public IP address. SnatIp pulumi.StringOutput `pulumi:"snatIp"` }
Provides a Sag SnatEntry resource. This topic describes how to add a SNAT entry to enable the SNAT function. The SNAT function can hide internal IP addresses and resolve private IP address conflicts. With this function, on-premises sites can access internal IP addresses, but cannot be accessed by internal IP addresses. If you do not add a SNAT entry, on-premises sites can access each other only when all related IP addresses do not conflict.
For information about Sag SnatEntry and how to use it, see [What is Sag SnatEntry](https://www.alibabacloud.com/help/doc-detail/124231.htm).
> **NOTE:** Available in 1.61.0+
> **NOTE:** Only the following regions support. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-2`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
func GetSnatEntry ¶
func GetSnatEntry(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SnatEntryState, opts ...pulumi.ResourceOption) (*SnatEntry, error)
GetSnatEntry gets an existing SnatEntry resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSnatEntry ¶
func NewSnatEntry(ctx *pulumi.Context, name string, args *SnatEntryArgs, opts ...pulumi.ResourceOption) (*SnatEntry, error)
NewSnatEntry registers a new resource with the given unique name, arguments, and options.
type SnatEntryArgs ¶
type SnatEntryArgs struct { // The destination CIDR block. CidrBlock pulumi.StringInput // The ID of the SAG instance. SagId pulumi.StringInput // The public IP address. SnatIp pulumi.StringInput }
The set of arguments for constructing a SnatEntry resource.
func (SnatEntryArgs) ElementType ¶
func (SnatEntryArgs) ElementType() reflect.Type
type SnatEntryState ¶
type SnatEntryState struct { // The destination CIDR block. CidrBlock pulumi.StringPtrInput // The ID of the SAG instance. SagId pulumi.StringPtrInput // The public IP address. SnatIp pulumi.StringPtrInput }
func (SnatEntryState) ElementType ¶
func (SnatEntryState) ElementType() reflect.Type
type Topic ¶
type Topic struct { pulumi.CustomResourceState // ID of the ONS Instance that owns the topics. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The type of the message. Read [Ons Topic Create](https://www.alibabacloud.com/help/doc-detail/29591.html) for further details. MessageType pulumi.IntOutput `pulumi:"messageType"` // This attribute is used to set the read-write mode for the topic. Read [Request parameters](https://www.alibabacloud.com/help/doc-detail/56880.html) for further details. Perm pulumi.IntPtrOutput `pulumi:"perm"` // This attribute is a concise description of topic. The length cannot exceed 128. Remark pulumi.StringPtrOutput `pulumi:"remark"` // Name of the topic. Two topics on a single instance cannot have the same name and the name cannot start with 'GID' or 'CID'. The length cannot exceed 64 characters. Topic pulumi.StringOutput `pulumi:"topic"` }
Provides an ONS topic resource.
For more information about how to use it, see [RocketMQ Topic Management API](https://www.alibabacloud.com/help/doc-detail/29591.html).
> **NOTE:** Available in 1.53.0+
func GetTopic ¶
func GetTopic(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TopicState, opts ...pulumi.ResourceOption) (*Topic, error)
GetTopic gets an existing Topic resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type TopicArgs ¶
type TopicArgs struct { // ID of the ONS Instance that owns the topics. InstanceId pulumi.StringInput // The type of the message. Read [Ons Topic Create](https://www.alibabacloud.com/help/doc-detail/29591.html) for further details. MessageType pulumi.IntInput // This attribute is used to set the read-write mode for the topic. Read [Request parameters](https://www.alibabacloud.com/help/doc-detail/56880.html) for further details. Perm pulumi.IntPtrInput // This attribute is a concise description of topic. The length cannot exceed 128. Remark pulumi.StringPtrInput // Name of the topic. Two topics on a single instance cannot have the same name and the name cannot start with 'GID' or 'CID'. The length cannot exceed 64 characters. Topic pulumi.StringInput }
The set of arguments for constructing a Topic resource.
func (TopicArgs) ElementType ¶
type TopicState ¶
type TopicState struct { // ID of the ONS Instance that owns the topics. InstanceId pulumi.StringPtrInput // The type of the message. Read [Ons Topic Create](https://www.alibabacloud.com/help/doc-detail/29591.html) for further details. MessageType pulumi.IntPtrInput // This attribute is used to set the read-write mode for the topic. Read [Request parameters](https://www.alibabacloud.com/help/doc-detail/56880.html) for further details. Perm pulumi.IntPtrInput // This attribute is a concise description of topic. The length cannot exceed 128. Remark pulumi.StringPtrInput // Name of the topic. Two topics on a single instance cannot have the same name and the name cannot start with 'GID' or 'CID'. The length cannot exceed 64 characters. Topic pulumi.StringPtrInput }
func (TopicState) ElementType ¶
func (TopicState) ElementType() reflect.Type