- 最新
- 投票最多
- 评论最多
Hello.
Is there a similar API method to get a list of available volume types in a region or local zone?
As far as I know, I don't think there is any such API.
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/OperationList-query-ebs.html
For local zones, the table in the document below lists the volume types that can be used with EBS.
https://aws.amazon.com/about-aws/global-infrastructure/localzones/features/?nc1=h_ls
Hi,
"describeVolumeTypeOfferings" or a similar method to directly retrieve a list of available EBS volume types in a region or local zone. However, the AWS SDKs are updated regularly, and new features are added.
As an alternative, you can use the "describeVolumeTypes" method provided by the EC2 service to retrieve information about all available EBS volume types in a region. The response will include details about each volume type, including their specifications.
Here's an example using the AWS CLI: code: "aws ec2 describe-volume-types --region your-region" Replace your-region with the specific AWS region you are interested in.
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
I don't think a command called "description-volume-types" exists. https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/index.html
There is no describeVolumeTypes API documented by AWS, nor is there a describe-volume-types CLI method