ALIYUN::BastionHost::Instance crea una instancia de bastion host.
Sintaxis
{
"Type": "ALIYUN::BastionHost::Instance",
"Properties": {
"ExtraBandwidth": Integer,
"ResourceGroupId": String,
"Version": String,
"ExtendedStoragePlans": Integer,
"AutoRenew": Boolean,
"Period": Integer,
"AutoPay": Boolean,
"Plan": Integer,
"StartInstanceParam": Map,
"PeriodUnit": String
}
}
Propiedades
|
Propiedad |
Tipo |
Obligatorio |
Editable |
Descripción |
Restricción |
|
ExtendedStoragePlans |
Integer |
Sí |
Sí |
Capacidad de almacenamiento adicional para el bastion host. |
Agrega almacenamiento más allá de la asignación predeterminada de almacenamiento de video. Valores válidos: de 0 a 500. Unidad: TB. |
|
ExtraBandwidth |
Integer |
Sí |
Sí |
Ancho de banda adicional para el bastion host. |
Agrega ancho de banda más allá de la asignación predeterminada de operación y mantenimiento. Valores válidos: de 0 a 200. Unidad: Mbit/s. |
|
Plan |
Integer |
Sí |
Sí |
Número de activos. |
Valores válidos: 50, 100, 200, 500, 1000, 2000, 5000 y 10000. |
|
StartInstanceParam |
Map |
Sí |
No |
Parámetros de inicio del bastion host. |
Para obtener más información, consulte StartInstanceParam properties. |
|
Version |
String |
Sí |
No |
Edición del bastion host. |
Valores válidos:
|
|
AutoPay |
Boolean |
No |
No |
Indica si se habilita el pago automático. |
Valores válidos:
|
|
AutoRenew |
Boolean |
No |
No |
Indica si se habilita la renovación automática. |
La renovación automática es mensual. El sistema deduce las tarifas de renovación a partir de nueve días antes del vencimiento. Si el pago falla, reintenta hasta que este sea exitoso o hasta un día antes del vencimiento. |
|
Period |
Integer |
No |
No |
Duración de la suscripción del bastion host. |
Valores válidos cuando PeriodUnit se establece en Month: 1, 3 y 6. Valores válidos cuando PeriodUnit se establece en Year: de 1 a 3. |
|
PeriodUnit |
String |
No |
No |
Unidad de la duración de la suscripción. |
Valores válidos:
|
|
ResourceGroupId |
String |
No |
No |
resource group del bastion host. |
Ninguna. |
Sintaxis de StartInstanceParam
"StartInstanceParam": {
"VswitchId": String,
"SecurityGroupIds": List
}
Propiedades de StartInstanceParam
|
Propiedad |
Tipo |
Obligatorio |
Editable |
Descripción |
Restricción |
|
SecurityGroupIds |
List |
Sí |
No |
Identificadores de los security groups. |
Especifique hasta 20 identificadores de security group. |
|
VswitchId |
String |
Sí |
No |
Identificador del vSwitch. |
Ninguna. |
Valores de retorno
Fn::GetAtt
InstanceId: identificador del bastion host.
Ejemplos
YAML formato
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
AutoPay:
Default: false
Description:
en: Whether to auto pay the bill.
Required: false
Type: Boolean
AutoRenew:
Description:
en: Whether to auto renew the prepay instance. The auto-renewal period is Monthly.After
you enable auto-renewal, the system deducts the renewal fee nine days before
the resource expires. If the payment fails, the system does not stop deducting
the fee until the deduction is successful or one day before the resource expires.
Required: false
Type: Boolean
ExtendedStoragePlans:
Description:
en: 'If the default storage capacity is insufficient, you can purchase extended
storage plans.Unit: TB'
MaxValue: 500
MinValue: 0
Required: true
Type: Number
ExtraBandwidth:
Description:
en: 'Additional bandwidth is added to the default settings to ensure efficient
O&M.Unit: Mbps'
MaxValue: 200
MinValue: 0
Required: true
Type: Number
Period:
AllowedValues:
- 1
- 2
- 3
- 6
AssociationProperty: PayPeriod
Description:
en: 'The subscription period of the bastionhost instanceIf PeriodUnit is month,
the valid range is 1, 3, 6
If periodUnit is year, the valid range is 1, 2, 3'
Required: false
Type: Number
PeriodUnit:
AllowedValues:
- Month
- Year
AssociationProperty: PayPeriodUnit
Description:
en: 'The unit of the subscription duration. Valid values:
Month
Year
Default value: Month.'
Required: false
Type: String
Plan:
AllowedValues:
- 50
- 100
- 200
- 500
- 1000
- 2000
- 5000
- 10000
Description:
en: 'The number of asset authorization and concurrency limit.Unit: Asset number'
Required: true
Type: Number
ResourceGroupId:
AssociationProperty: ALIYUN::ECS::ResourceGroup::ResourceGroupId
Description:
en: Resource group ID.
Required: false
Type: String
StartInstanceParam:
AssociationPropertyMetadata:
Parameters:
SecurityGroupIds:
AssociationProperty: List[Parameter]
AssociationPropertyMetadata:
Parameter:
AssociationProperty: ALIYUN::ECS::SecurityGroup::SecurityGroupId
AssociationPropertyMetadata:
VpcId: ${VpcId}
Description:
en: Security group id.
Required: false
Type: String
Description:
en: List of security group IDs bound to the bastion host instance
MaxLength: 20
MinLength: 1
Required: true
Type: Json
VswitchId:
Description:
en: The VSwitch ID bound to the bastion host instance.
Required: true
Type: String
Description:
en: Parameters required to start a bastion host instance.
Required: true
Type: Json
Version:
AllowedValues:
- Enterprise
- Basic
Description:
en: 'Enterprise version:- Deployment instructions: dual-engine architecture,
supports multiple availability zones, and ensures high stability
- Operation and maintenance scenarios: unified operation and maintenance of
assets on Alibaba Cloud, offline IDC servers, and third-party clouds
- Asset type: Linux/Windows, database assets
- User management: RAM, AD/LDAP and local users
- Control strategy: fine-grained strategic control such as operation and maintenance
approval, high-risk command blocking, etc.
- Operation and maintenance audit: full traceability of operation and maintenance
log audit and video audit
Value-added capabilities: automatic password change of Linux assets, database
operation and maintenance management and control, convenient operation and
maintenance of Web and client, network domain agent hybrid cloud scenario
operation and maintenance mode, etc.Basic version:- Deployment instructions:
The basic version is deployed on a single machine and does not support multiple
availability zones.
- Operation and maintenance scenarios: unified operation and maintenance of
assets on Alibaba Cloud, offline IDC servers, and third-party clouds
- Asset type: Linux/Windows assets
- User management: RAM, AD/LDAP and local users
- Control strategy: Operation and maintenance approval, high-risk command
blocking and other strategic management and control
- Operation and maintenance audit: full traceability of operation and maintenance
log audit and video audit'
Required: true
Type: String
Resources:
Instance:
Properties:
AutoPay:
Ref: AutoPay
AutoRenew:
Ref: AutoRenew
ExtendedStoragePlans:
Ref: ExtendedStoragePlans
ExtraBandwidth:
Ref: ExtraBandwidth
Period:
Ref: Period
PeriodUnit:
Ref: PeriodUnit
Plan:
Ref: Plan
ResourceGroupId:
Ref: ResourceGroupId
StartInstanceParam:
Ref: StartInstanceParam
Version:
Ref: Version
Type: ALIYUN::BastionHost::Instance
Outputs:
InstanceId:
Description: Instance Id.
Value:
Fn::GetAtt:
- Instance
- InstanceId
JSON formato
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ExtraBandwidth": {
"Type": "Number",
"Description": {
"en": "Additional bandwidth is added to the default settings to ensure efficient O&M.Unit: Mbps"
},
"Required": true,
"MinValue": 0,
"MaxValue": 200
},
"ResourceGroupId": {
"AssociationProperty": "ALIYUN::ECS::ResourceGroup::ResourceGroupId",
"Type": "String",
"Description": {
"en": "Resource group ID."
},
"Required": false
},
"Version": {
"Type": "String",
"Description": {
"en": "Enterprise version:- Deployment instructions: dual-engine architecture, supports multiple availability zones, and ensures high stability\n- Operation and maintenance scenarios: unified operation and maintenance of assets on Alibaba Cloud, offline IDC servers, and third-party clouds\n- Asset type: Linux/Windows, database assets\n- User management: RAM, AD/LDAP and local users\n- Control strategy: fine-grained strategic control such as operation and maintenance approval, high-risk command blocking, etc.\n- Operation and maintenance audit: full traceability of operation and maintenance log audit and video audit\nValue-added capabilities: automatic password change of Linux assets, database operation and maintenance management and control, convenient operation and maintenance of Web and client, network domain agent hybrid cloud scenario operation and maintenance mode, etc.Basic version:- Deployment instructions: The basic version is deployed on a single machine and does not support multiple availability zones.\n- Operation and maintenance scenarios: unified operation and maintenance of assets on Alibaba Cloud, offline IDC servers, and third-party clouds\n- Asset type: Linux/Windows assets\n- User management: RAM, AD/LDAP and local users\n- Control strategy: Operation and maintenance approval, high-risk command blocking and other strategic management and control\n- Operation and maintenance audit: full traceability of operation and maintenance log audit and video audit"
},
"AllowedValues": [
"Enterprise",
"Basic"
],
"Required": true
},
"ExtendedStoragePlans": {
"Type": "Number",
"Description": {
"en": "If the default storage capacity is insufficient, you can purchase extended storage plans.Unit: TB"
},
"Required": true,
"MinValue": 0,
"MaxValue": 500
},
"AutoRenew": {
"Type": "Boolean",
"Description": {
"en": "Whether to auto renew the prepay instance. The auto-renewal period is Monthly.After you enable auto-renewal, the system deducts the renewal fee nine days before the resource expires.If the payment fails, the system does not stop deducting the fee until the deduction is successful or one day before the resource expires."
},
"Required": false
},
"Period": {
"AssociationProperty": "PayPeriod",
"Type": "Number",
"Description": {
"en": "The subscription period of the bastionhost instanceIf PeriodUnit is month, the valid range is 1, 3, 6\nIf periodUnit is year, the valid range is 1, 2, 3"
},
"AllowedValues": [
1,
2,
3,
6
],
"Required": false
},
"AutoPay": {
"Type": "Boolean",
"Description": {
"en": "Whether to auto pay the bill."
},
"Required": false,
"Default": false
},
"Plan": {
"Type": "Number",
"Description": {
"en": "The number of asset authorization and concurrency limit.Unit: Asset number"
},
"AllowedValues": [
50,
100,
200,
500,
1000,
2000,
5000,
10000
],
"Required": true
},
"StartInstanceParam": {
"AssociationPropertyMetadata": {
"Parameters": {
"VswitchId": {
"Type": "String",
"Description": {
"en": "The VSwitch ID bound to the bastion host instance."
},
"Required": true
},
"SecurityGroupIds": {
"AssociationPropertyMetadata": {
"Parameter": {
"AssociationPropertyMetadata": {
"VpcId": "${VpcId}"
},
"AssociationProperty": "ALIYUN::ECS::SecurityGroup::SecurityGroupId",
"Type": "String",
"Description": {
"en": "Security group id."
},
"Required": false
}
},
"AssociationProperty": "List[Parameter]",
"Type": "Json",
"Description": {
"en": "List of security group IDs bound to the bastion host instance"
},
"Required": true,
"MinLength": 1,
"MaxLength": 20
}
}
},
"Type": "Json",
"Description": {
"en": "Parameters required to start a bastion host instance."
},
"Required": true
},
"PeriodUnit": {
"AssociationProperty": "PayPeriodUnit",
"Type": "String",
"Description": {
"en": "The unit of the subscription duration. Valid values:\nMonth\nYear\nDefault value: Month."
},
"AllowedValues": [
"Month",
"Year"
],
"Required": false
}
},
"Resources": {
"Instance": {
"Type": "ALIYUN::BastionHost::Instance",
"Properties": {
"ExtraBandwidth": {
"Ref": "ExtraBandwidth"
},
"ResourceGroupId": {
"Ref": "ResourceGroupId"
},
"Version": {
"Ref": "Version"
},
"ExtendedStoragePlans": {
"Ref": "ExtendedStoragePlans"
},
"AutoRenew": {
"Ref": "AutoRenew"
},
"Period": {
"Ref": "Period"
},
"AutoPay": {
"Ref": "AutoPay"
},
"Plan": {
"Ref": "Plan"
},
"StartInstanceParam": {
"Ref": "StartInstanceParam"
},
"PeriodUnit": {
"Ref": "PeriodUnit"
}
}
}
},
"Outputs": {
"InstanceId": {
"Description": "Instance Id.",
"Value": {
"Fn::GetAtt": [
"Instance",
"InstanceId"
]
}
}
}
}