From bdd7833dbb03aab0ff0828d52ea94f0739da2326 Mon Sep 17 00:00:00 2001 From: guoyanyan Date: Tue, 14 Mar 2023 15:44:48 +0000 Subject: [PATCH] as_dev_303 Reviewed-by: Hasko, Vladimir Co-authored-by: guoyanyan Co-committed-by: guoyanyan --- docs/as/dev/ALL_META.TXT.json | 2 +- docs/as/dev/CLASS.TXT.json | 2 +- docs/as/dev/en-us_topic_0110252687.html | 12 +- docs/as/dev/en-us_topic_0110252688.html | 61 +++++--- docs/as/dev/en-us_topic_0110252689.html | 194 +++++++++++++----------- docs/as/dev/en-us_topic_0110252693.html | 49 ++++-- docs/as/dev/en-us_topic_0110252695.html | 21 ++- docs/as/dev/en-us_topic_0110252696.html | 4 +- 8 files changed, 213 insertions(+), 132 deletions(-) diff --git a/docs/as/dev/ALL_META.TXT.json b/docs/as/dev/ALL_META.TXT.json index d2a74e23..bd1fd4d7 100644 --- a/docs/as/dev/ALL_META.TXT.json +++ b/docs/as/dev/ALL_META.TXT.json @@ -153,7 +153,7 @@ "uri":"en-us_topic_0110252693.html", "product_code":"as", "code":"16", - "des":"Response parameters are as follows.Parameter descriptionscaling_groups field data structure descriptionlbaas_listeners field data structure descriptionnetworks field data", + "des":"Response parameters are as follows.Parameter descriptionscaling_groups field descriptionlbaas_listeners field descriptionnetworks field descriptionsecurity_groups field d", "doc_type":"devg", "kw":"Response Parameters for Querying AS Groups,Appendix,Developer Guide", "title":"Response Parameters for Querying AS Groups", diff --git a/docs/as/dev/CLASS.TXT.json b/docs/as/dev/CLASS.TXT.json index 795420fc..41ad0577 100644 --- a/docs/as/dev/CLASS.TXT.json +++ b/docs/as/dev/CLASS.TXT.json @@ -135,7 +135,7 @@ "code":"15" }, { - "desc":"Response parameters are as follows.Parameter descriptionscaling_groups field data structure descriptionlbaas_listeners field data structure descriptionnetworks field data", + "desc":"Response parameters are as follows.Parameter descriptionscaling_groups field descriptionlbaas_listeners field descriptionnetworks field descriptionsecurity_groups field d", "product_code":"as", "title":"Response Parameters for Querying AS Groups", "uri":"en-us_topic_0110252693.html", diff --git a/docs/as/dev/en-us_topic_0110252687.html b/docs/as/dev/en-us_topic_0110252687.html index 2170f72e..2d951465 100644 --- a/docs/as/dev/en-us_topic_0110252687.html +++ b/docs/as/dev/en-us_topic_0110252687.html @@ -113,7 +113,7 @@

String

-
  • Specifies the status of the subnet.
  • The value can be ACTIVE, UNKNOWN, or ERROR.
    • ACTIVE: indicates that the subnet has been associated with a VPC.
    • UNKNOWN: indicates that the subnet has not been associated with a VPC.
    • ERROR: indicates that the subnet is abnormal.
    +
    • Specifies the status of the subnet.
    • The value can be ACTIVE, UNKNOWN, or ERROR.
      • ACTIVE: indicates that the subnet has been associated with a VPC.
      • UNKNOWN: indicates that the subnet has not been associated with a VPC.
      • ERROR: indicates that the subnet is abnormal.
    @@ -201,6 +201,10 @@ "opt_value": "10.100.0.33,10.100.0.34", "opt_name": "ntp" } + { + "opt_value": "24h", + "opt_name": "addresstime" + } ] }, { @@ -225,8 +229,12 @@ { "opt_value": "10.100.0.33,10.100.0.34", "opt_name": "ntp" + }, + { + "opt_value": "24h", + "opt_name": "addresstime" } - ] + ], } ] } diff --git a/docs/as/dev/en-us_topic_0110252688.html b/docs/as/dev/en-us_topic_0110252688.html index d2d7058e..fdbe5ba9 100644 --- a/docs/as/dev/en-us_topic_0110252688.html +++ b/docs/as/dev/en-us_topic_0110252688.html @@ -14,53 +14,66 @@

    security_groups

    -

    Array of security_group objects

    +

    Array of security_group objects

    -

    Specifies the security group objects. For details, see Table 2.

    +

    Specifies the security group objects. For details, see Table 2.

    -
    Table 2 Description of security_group fields

    Name

    +
    - - - - - - - - - - - + + + + + + + - - - - + + + @@ -68,7 +81,7 @@
    Table 2 Description of security_group field

    Parameter

    Mandatory

    +

    Type

    Type

    -

    Description

    +

    Description

    name

    +

    name

    Yes

    +

    String

    String

    -
    • Specifies the security group name.
    • The value can contain 1 to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).
    +

    Specifies the security group name.

    vpc_id

    +

    description

    No

    +

    String

    String

    +

    Provides supplementary information about the security group.

    Specifies the resource ID of the VPC to which the security group belongs.

    -
    NOTE:

    This parameter has been discarded, it is not recommended to use it.

    +

    id

    +

    String

    +

    Specifies the security group ID, which uniquely identifies the security group.

    +

    vpc_id

    +

    String

    +

    Specifies the resource ID of the VPC to which the security group belongs.

    +
    NOTE:

    This parameter has been discarded. Do not use it.

    enterprise_project_id

    +

    security_group_rules

    No

    +

    Array of security_group_rule objects

    String

    +

    Specifies the default security group rules, which ensure that resources in the security group can communicate with one another.

    • Specifies the enterprise project ID. When creating a security group, associate the enterprise project ID with the security group.
    • The value is 0 or a string that contains a maximum of 36 characters in UUID format with hyphens (-). Value 0 indicates the default enterprise project.
    -
    NOTE:

    This parameter is unsupported. Do not use it.

    +

    enterprise_project_id

    +

    String

    +
    • Specifies the enterprise project ID. When creating a security group, associate the enterprise project ID with the security group.
    • The value is 0 or a string that contains a maximum of 36 characters in UUID format with hyphens (-). Value 0 indicates the default enterprise project.
    +
    NOTE:

    This parameter is unsupported. Do not use it.

    -
    Table 3 security_group_rules objects

    Parameter

    +
    @@ -129,7 +142,7 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + @@ -472,74 +494,74 @@ 656667 -68
    Table 3 security_group_rules objects

    Parameter

    Type

    int

    • Specifies the end port number.
    • The value ranges from 1 to 65535.
    • If the protocol is not icmp, the value cannot be smaller than the port_range_min value. An empty value indicates all ports. If the protocol is icmp, the value range is shown in ICMP-Port Range Relationship Table.
    +
    • Specifies the end port number.
    • The value ranges from 1 to 65535.
    • If the protocol is not icmp, the value cannot be smaller than the port_range_min value. An empty value indicates all ports. If the protocol is icmp, the value range is shown in ICMP-Port Range Relationship Table.

    remote_ip_prefix

    diff --git a/docs/as/dev/en-us_topic_0110252689.html b/docs/as/dev/en-us_topic_0110252689.html index a2736d92..9948536c 100644 --- a/docs/as/dev/en-us_topic_0110252689.html +++ b/docs/as/dev/en-us_topic_0110252689.html @@ -114,15 +114,6 @@

    This parameter is unavailable currently.

    deleted

    -

    Yes

    -

    Boolean

    -

    Specifies whether the image has been deleted. The value can be true or false.

    -

    protected

    Yes

    @@ -192,7 +183,7 @@

    String

    Specifies the image format. The value can be vhd, raw, or qcow2.

    +

    Specifies the image format. The value can be vhd, raw, or qcow2.

    __isregistered

    @@ -201,7 +192,7 @@

    String

    Specifies whether the image has been registered. The value can be true or false.

    +

    Specifies whether the image has been registered. The value can be true or false.

    __platform

    @@ -219,7 +210,7 @@

    String

    Specifies the operating system type. The value can be Linux, Windows, or Other.

    +

    Specifies the operating system type. The value can be Linux, Windows, or Other.

    min_disk

    @@ -265,7 +256,7 @@

    String

    Specifies the time when a DR drill was created. The value is in UTC format.

    +

    Specifies the time when the image was created. The value is in UTC format.

    virtual_size

    @@ -348,7 +339,7 @@

    String

    Specifies whether the image supports large-memory ECSs. If the image supports large-memory ECSs, the value is true. Otherwise, this attribute is not required.

    +

    Specifies whether the image supports large-memory ECSs. If the image supports large-memory ECSs, the value is true. Otherwise, this attribute is not required.

    __support_diskintensive

    @@ -357,7 +348,7 @@

    String

    Specifies whether the image supports disk-intensive ECSs. If the image supports disk-intensive ECSs, the value is true. Otherwise, this attribute is not required.

    +

    Specifies whether the image supports disk-intensive ECSs. If the image supports disk-intensive ECSs, the value is true. Otherwise, this attribute is not required.

    __support_highperformance

    @@ -367,7 +358,7 @@

    String

    Specifies whether the image supports high-performance ECSs. If the image supports high-performance ECSs, the value is true. Otherwise, this attribute is not required.

    +

    Specifies whether the image supports high-performance ECSs. If the image supports high-performance ECSs, the value is true. Otherwise, this attribute is not required.

    __support_xen_gpu_type

    @@ -387,7 +378,7 @@

    String

    Specifies whether the image supports HANA ECSs on the Xen platform. If yes, the value is true. Otherwise, this attribute is not required.

    -

    This attribute cannot co-exist with __support_xen.

    +

    This attribute cannot co-exist with __support_xen.

    __support_kvm_infiniband

    @@ -397,7 +388,38 @@

    String

    Specifies whether the image supports ECSs with the InfiniBand NIC on the KVM platform. If yes, the value is true. Otherwise, this attribute is not required.

    -

    This attribute cannot co-exist with __support_xen.

    +

    This attribute cannot co-exist with __support_xen.

    +

    __lazyloading

    +

    Yes

    +

    String

    +

    Specifies whether the image supports lazy loading. The value can be true, false, True, or False.

    +

    hw_firmware_type

    +

    Yes

    +

    String

    +

    Specifies the ECS boot mode. The value can be:

    +
    • bios indicates the BIOS boot mode.
    • uefi indicates the UEFI boot mode.
    +

    __support_fc_inject

    +

    Yes

    +

    String

    +

    Specifies whether the image supports password/private key injection using Cloud-Init.

    +

    If the value is set to true, password/private key injection using Cloud-Init is not supported.

    +
    NOTE:

    This parameter is valid only for ECS system disk images.

    +
    {
    -  "images": [
    -    {
    -      "schema": "/v2/schemas/image",
    -      "min_disk": 100,
    -      "created_at": "2018-09-06T14:03:27Z",
    -      "__image_source_type": "uds",
    -      "container_format": "bare",
    -      "file": "/v2/images/bc6bed6e-ba3a-4447-afcc-449174a3eb52/file",
    -      "updated_at": "2018-09-06T15:17:33Z",
    -      "protected": true,
    -      "checksum": "d41d8cd98f00b204e9800998ecf8427e",
    -      "id": "bc6bed6e-ba3a-4447-afcc-449174a3eb52",
    -      "__isregistered": "true",
    -      "min_ram": 2048,
    -      "__lazyloading": "true",
    -      "owner": "1bed856811654c1cb661a6ca845ebc77",
    -      "__os_type": "Linux",
    -      "__imagetype": "gold",
    -      "visibility": "public",
    -      "virtual_env_type": "FusionCompute",
    -      "tags": [],
    -      "__platform": "CentOS",
    -      "size": 0,
    -      "__os_bit": "64",
    -      "__os_version": "CentOS 7.3 64bit",
    -      "name": "CentOS 7.3 64bit vivado",
    -      "self": "/v2/images/bc6bed6e-ba3a-4447-afcc-449174a3eb52",
    -      "disk_format": "zvhd2",
    -      "virtual_size": null,
    -      "hw_firmware_type": "bios",
    -      "status": "active",
    -      "__support_fc_inject":"true"
    -    },
    -    {
    -      "schema": "/v2/schemas/image",
    -      "min_disk": 100,
    -      "created_at": "2018-09-06T14:03:05Z",
    -      "__image_source_type": "uds",
    -      "container_format": "bare",
    -      "file": "/v2/images/0328c25e-c840-4496-81ac-c4e01b214b1f/file",
    -      "updated_at": "2018-09-25T14:27:40Z",
    -      "protected": true,
    -      "checksum": "d41d8cd98f00b204e9800998ecf8427e",
    -      "id": "0328c25e-c840-4496-81ac-c4e01b214b1f",
    -      "__isregistered": "true",
    -      "min_ram": 2048,
    -      "__lazyloading": "true",
    -      "owner": "1bed856811654c1cb661a6ca845ebc77",
    -      "__os_type": "Linux",
    -      "__imagetype": "gold",
    -      "visibility": "public",
    -      "virtual_env_type": "FusionCompute",
    -      "tags": [],
    -      "__platform": "CentOS",
    -      "size": 0,
    -      "__os_bit": "64",
    -      "__os_version": "CentOS 7.3 64bit",
    -      "name": "CentOS 7.3 64bit with sdx",
    -      "self": "/v2/images/0328c25e-c840-4496-81ac-c4e01b214b1f",
    -      "disk_format": "zvhd2",
    -      "virtual_size": null,
    -      "hw_firmware_type": "bios",
    -      "status": "active",
    -      "__support_fc_inject":"true"
    -    }
    -  ]
    -}
    +68
    {
    +  "images": [
    +    {
    +      "schema": "/v2/schemas/image",
    +      "min_disk": 100,
    +      "created_at": "2018-09-06T14:03:27Z",
    +      "__image_source_type": "uds",
    +      "container_format": "bare",
    +      "file": "/v2/images/bc6bed6e-ba3a-4447-afcc-449174a3eb52/file",
    +      "updated_at": "2018-09-06T15:17:33Z",
    +      "protected": true,
    +      "checksum": "d41d8cd98f00b204e9800998ecf8427e",
    +      "id": "bc6bed6e-ba3a-4447-afcc-449174a3eb52",
    +      "__isregistered": "true",
    +      "min_ram": 2048,
    +      "__lazyloading": "true",
    +      "owner": "1bed856811654c1cb661a6ca845ebc77",
    +      "__os_type": "Linux",
    +      "__imagetype": "gold",
    +      "visibility": "public",
    +      "virtual_env_type": "FusionCompute",
    +      "tags": [],
    +      "__platform": "CentOS",
    +      "size": 0,
    +      "__os_bit": "64",
    +      "__os_version": "CentOS 7.3 64bit",
    +      "name": "CentOS 7.3 64bit vivado",
    +      "self": "/v2/images/bc6bed6e-ba3a-4447-afcc-449174a3eb52",
    +      "disk_format": "zvhd2",
    +      "virtual_size": null,
    +      "hw_firmware_type": "bios",
    +      "status": "active",
    +      "__support_fc_inject":"true"
    +    },
    +    {
    +      "schema": "/v2/schemas/image",
    +      "min_disk": 100,
    +      "created_at": "2018-09-06T14:03:05Z",
    +      "__image_source_type": "uds",
    +      "container_format": "bare",
    +      "file": "/v2/images/0328c25e-c840-4496-81ac-c4e01b214b1f/file",
    +      "updated_at": "2018-09-25T14:27:40Z",
    +      "protected": true,
    +      "checksum": "d41d8cd98f00b204e9800998ecf8427e",
    +      "id": "0328c25e-c840-4496-81ac-c4e01b214b1f",
    +      "__isregistered": "true",
    +      "min_ram": 2048,
    +      "__lazyloading": "true",
    +      "owner": "1bed856811654c1cb661a6ca845ebc77",
    +      "__os_type": "Linux",
    +      "__imagetype": "gold",
    +      "visibility": "public",
    +      "virtual_env_type": "FusionCompute",
    +      "tags": [],
    +      "__platform": "CentOS",
    +      "size": 0,
    +      "__os_bit": "64",
    +      "__os_version": "CentOS 7.3 64bit",
    +      "name": "CentOS 7.3 64bit with sdx",
    +      "self": "/v2/images/0328c25e-c840-4496-81ac-c4e01b214b1f",
    +      "disk_format": "zvhd2",
    +      "virtual_size": null,
    +      "hw_firmware_type": "bios",
    +      "status": "active",
    +      "__support_fc_inject":"true"
    +    }
    +  ]
    +}
     
    diff --git a/docs/as/dev/en-us_topic_0110252693.html b/docs/as/dev/en-us_topic_0110252693.html index 0dd759e3..c7fd0a78 100644 --- a/docs/as/dev/en-us_topic_0110252693.html +++ b/docs/as/dev/en-us_topic_0110252693.html @@ -43,7 +43,7 @@
    -

    scaling_groups field data structure description

    +

    scaling_groups field description

    @@ -148,7 +148,7 @@ - + + + +
    Table 2 scaling_groups field description

    Parameter

    List data structure

    Specifies the network information. For details, see Table 4.

    +

    Specifies the network information. For details, see Table 4.

    security_groups

    @@ -250,10 +250,17 @@

    Specifies the type of the scaling action.

    multi_az_priority_policy

    +

    String

    +

    Specifies the priority policy used to select the target AZ when adjusting the number of instances in an AS group.

    +
    -

    lbaas_listeners field data structure description

    +

    lbaas_listeners field description

    @@ -294,27 +301,41 @@
    Table 3 lbaas_listeners field description

    Parameter

    -

    networks field data structure description

    +

    networks field description

    -
    Table 4 networks field description

    Parameter

    +
    - - - - - + + + + + + + +
    Table 4 networks field description

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    id

    +

    id

    String

    +

    String

    Specifies the subnet ID.

    +

    Specifies the subnet ID.

    +

    ipv6_enable

    +

    Boolean

    +

    Specifies whether to support IPv6 addresses. If this parameter is set to true, the NIC supports IPv6 addresses. The default value is false. This parameter is reserved.

    +

    ipv6_bandwidth

    +

    String

    +

    Specifies the shared bandwidth of an IPv6 address. This parameter is left blank by default, indicating that no IPv6 shared bandwidth is bound. This parameter is reserved.

    -

    security_groups field data structure description

    +

    security_groups field description

    @@ -343,7 +364,7 @@ { "id": "a8327883-6b07-4497-9c61-68d03ee193a", "ipv6_enable": false, - "ipv6_bandwidth": null, + "ipv6_bandwidth": null } ], "available_zones": [ @@ -377,11 +398,9 @@ "delete_publicip": false, "notifications": [ "EMAIL" - ] + ], "enterprise_project_id": "c92b1a5d-6f20-43f2-b1b7-7ce35e58e413", "multi_az_priority_policy": "PICK_FIRST" - - } ], "total_number": 1, diff --git a/docs/as/dev/en-us_topic_0110252695.html b/docs/as/dev/en-us_topic_0110252695.html index 898f6b56..7a1b2b95 100644 --- a/docs/as/dev/en-us_topic_0110252695.html +++ b/docs/as/dev/en-us_topic_0110252695.html @@ -197,7 +197,7 @@ -
    Table 5 security_groups field description

    Parameter

    Array

    Specifies the security group information.

    +

    Specifies the security group information. For details, see Table 11.

    server_group_id

    @@ -460,6 +460,25 @@
    + +
    + + + + + + + + + +
    Table 11 security_groups field description

    Parameter

    +

    Type

    +

    Description

    +

    id

    +

    String

    +

    Specifies the security group ID.

    +
    +

    Example response

    {
         "limit": 20,
    diff --git a/docs/as/dev/en-us_topic_0110252696.html b/docs/as/dev/en-us_topic_0110252696.html
    index 2a15a381..8051a21d 100644
    --- a/docs/as/dev/en-us_topic_0110252696.html
    +++ b/docs/as/dev/en-us_topic_0110252696.html
    @@ -87,7 +87,7 @@
     

    String

    Specifies the instance lifecycle status in the AS group.

    -
    • INSERVICE: The instance is enabled.
    • PENDING: The instance is being added to the AS group.
    • REMOVING: The instance is being removed from the AS group.
    +
    • INSERVICE: The instance is enabled.
    • PENDING: The instance is being added to the AS group.
    • REMOVING: The instance is being removed from the AS group.

    health_status

    @@ -95,7 +95,7 @@

    String

    Specifies the instance health status.

    -
    • INITIALIZING: The instance is being initialized.
    • NORMAL: The instance is functional.
    • ERROR: The instance is faulty.
    +
    • INITIALIZING: The instance is being initialized.
    • NORMAL: The instance is functional.
    • ERROR: The instance is faulty.

    scaling_configuration_name