日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

使用ECS鏡像公共參數

獲取ECS鏡像公共參數

ECS Linux和Windows鏡像公共參數可以通過如下路徑獲取:

  • Linux:aliyun/services/ecs/images/linux

  • Windows: aliyun/services/ecs/images/windows

公共參數結構詳解:

以ECS為例

公共參數 aliyun/services/ecs/images/linux/centos-latest/centos_8_5_64

公共參數的前綴 aliyun/services/ecs 表示ECS下的公共參數。

下一級目錄/images 表示鏡像

下一級目錄 /linux 代表操作系統類型

下一級目錄 /centos-latest 代表centos最新的鏡像

最后的centos_8_5_64則是代表具體的centos8的ImageFamily

其中aliyun/services/ecs/images/linux/centos-latest/ 是這個參數的路徑

centos_8_5_64則是具體的某個參數值

獲取Linux操作系統鏡像公共參數

獲取支持的Linux發行版本

如果想獲取aliyun/services/ecs/images/下所有Linux系統的類型,可以使用GetParametersByPath,運行以下命令:

aliyun oos GetParametersByPath --Path aliyun/services/ecs/images/linux/

返回:

{
    "MaxResults": 10,
    "Parameters": [
    {
    "Constraints": "",
    "CreatedBy": "ACS",
    "CreatedDate": "2023-05-17T06:21:15Z",
    "Description": "",
    "Id": "p-b3881d719f624e56b0ea",
    "Name": "aliyun/services/ecs/images/linux/almalinux-latest",
    "ParameterVersion": 1,
    "ShareType": "Public",
    "Tags": {},
    "Type": "String",
    "UpdatedBy": "ACS",
    "UpdatedDate": "2023-05-17T06:21:15Z",
    "Value": "almalinux-latest"
    },
    {
    "Constraints": "",
    "CreatedBy": "ACS",
    "CreatedDate": "2023-05-17T06:21:15Z",
    "Description": "",
    "Id": "p-d8d12d8734924cd8800e",
    "Name": "aliyun/services/ecs/images/linux/debian-latest",
    "ParameterVersion": 1,
    "ShareType": "Public",
    "Tags": {},
    "Type": "String",
    "UpdatedBy": "ACS",
    "UpdatedDate": "2023-05-17T06:21:15Z",
    "Value": "debian-latest"
    },
    {
    "Constraints": "",
    "CreatedBy": "ACS",
    "CreatedDate": "2023-05-17T06:21:14Z",
    "Description": "",
    "Id": "p-1469bd95f1fa4676a7a9",
    "Name": "aliyun/services/ecs/images/linux/rockylinux-latest",
    "ParameterVersion": 1,
    "ShareType": "Public",
    "Tags": {},
    "Type": "String",
    "UpdatedBy": "ACS",
    "UpdatedDate": "2023-05-17T06:21:14Z",
    "Value": "rockylinux-latest"
    }
    ],
    "RequestId": "xxxxxxxxxxxxxx"
}

獲取Linux發行版本下的鏡像公共參數

使用GetParametersByPath獲取aliyun/services/ecs/images/linux/aliyun-latest/路徑下所有的公共參數,也即最新的alibaba cloud linux鏡像

aliyun oos GetParametersByPath --Path aliyun/services/ecs/images/linux/aliyun-latest/

返回

{
    "MaxResults": 10,
    "Parameters": [
    {
    "Constraints": "",
    "CreatedBy": "ACS",
    "CreatedDate": "2023-05-16T02:44:25Z",
    "Description": "",
    "Id": "p-77246c47199c4a1da8bd",
    "Name": "aliyun/services/ecs/images/linux/aliyun-latest/alibaba_cloud_linux_2_1903_lts_64",
    "ParameterVersion": 1,
    "ShareType": "Public",
    "Tags": {},
    "Type": "String",
    "UpdatedBy": "ACS",
    "UpdatedDate": "2023-05-16T02:44:25Z",
    "Value": "aliyun_2_1903_x64_20G_alibase_20230327.vhd"
    },
    {
    "Constraints": "",
    "CreatedBy": "ACS",
    "CreatedDate": "2023-05-16T02:44:25Z",
    "Description": "",
    "Id": "p-0cb615ab447e43d78c8a",
    "Name": "aliyun/services/ecs/images/linux/aliyun-latest/alibaba_cloud_linux_3_2104_lts_64",
    "ParameterVersion": 1,
    "ShareType": "Public",
    "Tags": {},
    "Type": "String",
    "UpdatedBy": "ACS",
    "UpdatedDate": "2023-05-16T02:44:25Z",
    "Value": "aliyun_3_x64_20G_alibase_20230327.vhd"
    },
    {
    "Constraints": "",
    "CreatedBy": "ACS",
    "CreatedDate": "2023-05-16T02:44:24Z",
    "Description": "",
    "Id": "p-e4b81bf48c6b4a1194da",
    "Name": "aliyun/services/ecs/images/linux/aliyun-latest/alibaba_cloud_linux_3_2104_lts_64_arm",
    "ParameterVersion": 1,
    "ShareType": "Public",
    "Tags": {},
    "Type": "String",
    "UpdatedBy": "ACS",
    "UpdatedDate": "2023-05-16T02:44:24Z",
    "Value": "aliyun_3_arm64_20G_alibase_20230327.vhd"
    }
    ],
    "RequestId": "xxxxxxxxxxxxxxxx"
}

獲取Linux鏡像ID

如果您想查看某個具體鏡像的詳細信息,可以使用GetParameter,如想獲取aliyun/services/ecs/images/linux/aliyun-latest/alibaba_cloud_linux_3_2104_lts_64的詳細信息

aliyun oos GetParameter --Name aliyun/services/ecs/images/linux/aliyun-latest/alibaba_cloud_linux_3_2104_lts_64

返回

{
    "Parameter": {
    "Constraints": "",
    "CreatedBy": "ACS",
    "CreatedDate": "2023-05-16T02:44:25Z",
    "Description": "",
    "Id": "p-0cb615ab447e43d78c8a",
    "Name": "aliyun/services/ecs/images/linux/aliyun-latest/alibaba_cloud_linux_3_2104_lts_64",
    "ParameterVersion": 1,
    "ResourceGroupId": "",
    "ShareType": "Public",
    "Tags": {},
    "Type": "String",
    "UpdatedBy": "ACS",
    "UpdatedDate": "2023-05-16T02:44:25Z",
    "Value": "aliyun_3_x64_20G_alibase_20230327.vhd"
    },
    "RequestId": "xxxxxxxxxxxxxxxx"
}

獲取Windows操作系統鏡像公共參數

獲取支持的Windows發行版本

如果想獲取aliyun/services/ecs/images/下所有windows系統的類型,可以使用GetParametersByPath,運行以下命令:

aliyun oos GetParametersByPath --Path aliyun/services/ecs/images/windows/

返回:

{
    "MaxResults": 10,
    "Parameters": [
    {
    "Constraints": "",
    "CreatedBy": "ACS",
    "CreatedDate": "2023-05-17T06:21:12Z",
    "Description": "",
    "Id": "p-054efea36c844cd1bd13",
    "Name": "aliyun/services/ecs/images/windows/win2012r2-latest",
    "ParameterVersion": 1,
    "ShareType": "Public",
    "Tags": {},
    "Type": "String",
    "UpdatedBy": "ACS",
    "UpdatedDate": "2023-05-17T06:21:12Z",
    "Value": "win2012r2-latest"
    },
    {
    "Constraints": "",
    "CreatedBy": "ACS",
    "CreatedDate": "2023-05-17T06:21:12Z",
    "Description": "",
    "Id": "p-2739773e66cb453a8881",
    "Name": "aliyun/services/ecs/images/windows/win2019-latest",
    "ParameterVersion": 1,
    "ShareType": "Public",
    "Tags": {},
    "Type": "String",
    "UpdatedBy": "ACS",
    "UpdatedDate": "2023-05-17T06:21:12Z",
    "Value": "win2019-latest"
    },
    {
    "Constraints": "",
    "CreatedBy": "ACS",
    "CreatedDate": "2023-05-17T06:21:12Z",
    "Description": "",
    "Id": "p-dbbcc5339033469db729",
    "Name": "aliyun/services/ecs/images/windows/win2022-latest",
    "ParameterVersion": 1,
    "ShareType": "Public",
    "Tags": {},
    "Type": "String",
    "UpdatedBy": "ACS",
    "UpdatedDate": "2023-05-17T06:21:12Z",
    "Value": "win2022-latest"
    }
    ],
    "RequestId": "xxxxxxxxxxxxxxxx"
}

獲取Windows發行版本下的鏡像公共參數

使用GetParametersByPath獲取aliyun/services/ecs/images/windows/win2022-latest/路徑下所有的公共參數,也即最新的windows2022鏡像

aliyun oos GetParametersByPath --Path aliyun/services/ecs/images/windows/win2022-latest/

返回

{
    "MaxResults": 10,
    "Parameters": [
    {
    "Constraints": "",
    "CreatedBy": "ACS",
    "CreatedDate": "2023-05-16T02:44:23Z",
    "Description": "",
    "Id": "p-135294c8fa0c468cb64c",
    "Name": "aliyun/services/ecs/images/windows/win2022-latest/win_2022_datacenter_64_en",
    "ParameterVersion": 1,
    "ShareType": "Public",
    "Tags": {},
    "Type": "String",
    "UpdatedBy": "ACS",
    "UpdatedDate": "2023-05-16T02:44:23Z",
    "Value": "win2022_21H2_x64_dtc_en-us_40G_alibase_20230413.vhd"
    },
    {
    "Constraints": "",
    "CreatedBy": "ACS",
    "CreatedDate": "2023-05-16T02:44:23Z",
    "Description": "",
    "Id": "p-c8d1adf990c64eb98426",
    "Name": "aliyun/services/ecs/images/windows/win2022-latest/win_2022_datacenter_64_ch",
    "ParameterVersion": 1,
    "ShareType": "Public",
    "Tags": {},
    "Type": "String",
    "UpdatedBy": "ACS",
    "UpdatedDate": "2023-05-16T02:44:23Z",
    "Value": "win2022_21H2_x64_dtc_zh-cn_40G_alibase_20230413.vhd"
    },
    {
    "Constraints": "",
    "CreatedBy": "ACS",
    "CreatedDate": "2023-05-16T02:44:23Z",
    "Description": "",
    "Id": "p-e139e998b54b4f60b6d5",
    "Name": "aliyun/services/ecs/images/windows/win2022-latest/win_2022_container_datacenter_64_en",
    "ParameterVersion": 1,
    "ShareType": "Public",
    "Tags": {},
    "Type": "String",
    "UpdatedBy": "ACS",
    "UpdatedDate": "2023-05-16T02:44:23Z",
    "Value": "win2022_21H2_x64_dtc_en-us_40G_container_alibase_20230413.vhd"
    }
    ],
    "RequestId": "xxxxxxxxxxxxxxxxx"
}

獲取Windows鏡像ID

如果您想查看某個具體鏡像的詳細信息,可以使用GetParameter,如想獲取aliyun/services/ecs/images/windows/win2022-latest/win_2022_container_datacenter_64_en的詳細信息

aliyun oos GetParameter --Name aliyun/services/ecs/images/windows/win2022-latest/win_2022_container_datacenter_64_en

返回

{
    "Parameter": {
    "Constraints": "",
    "CreatedBy": "ACS",
    "CreatedDate": "2023-05-16T02:44:23Z",
    "Description": "",
    "Id": "p-e139e998b54b4f60b6d5",
    "Name": "aliyun/services/ecs/images/windows/win2022-latest/win_2022_container_datacenter_64_en",
    "ParameterVersion": 1,
    "ResourceGroupId": "",
    "ShareType": "Public",
    "Tags": {},
    "Type": "String",
    "UpdatedBy": "ACS",
    "UpdatedDate": "2023-05-16T02:44:23Z",
    "Value": "win2022_21H2_x64_dtc_en-us_40G_container_alibase_20230413.vhd"
    },
    "RequestId": "xxxxxxxxxxxxxxxxxx"
}