溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

查詢已創(chuàng)建的自動快照策略的方法

發(fā)布時間:2020-08-28 10:49:24 來源:億速云 閱讀:177 作者:小新 欄目:建站服務器

這篇文章將為大家詳細講解有關查詢已創(chuàng)建的自動快照策略的方法,小編覺得挺實用的,因此分享給大家做個參考,希望大家閱讀完這篇文章后可以有所收獲。

DescribeAutoSnapshotPolicyEx

請求參數(shù)

查詢已創(chuàng)建的自動快照策略的方法

返回參數(shù)

查詢已創(chuàng)建的自動快照策略的方法

示例

請求示例

https://ecs.aliyuncs.com/?Action=DescribeAutoSnapshotPolicyEX
&RegionId=cn-hangzhou
&<公共請求參數(shù)>

返回示例

XML 格式

<DescribeAutoSnapshotPolicyResponse>
<AutoSnapshotPolicies>
        <AntoSnapshotPolicy>
            <CreationTime>2014-04-21T12:08:52Z</CreationTime>
            <AutoSnapshotPolicyId>p-23f2i9s4t</AutoSnapshotPolicyId>
           <SettingTimePoints>[“2”, “9”]</SettingTimePoints>
            <SettingRepeatWeekdays>[“3” , “4” , “5” , “7”]</SettingRepeatWeekdays>
            <RetentionDays>-1</RetentionDays>
            </AntoSnapshotPolicy>
        <AntoSnapshotPolicy>
            <CreationTime>2014-07-24T13:00:52Z</CreationTime>
            <AutoSnapshotPolicyId>p-23f2i9s4t</AutoSnapshotPolicyId>
            <SettingTimePoints>[“0”, “1”]</SettingTimePoints>
            <SettingRepeatWeekdays>[“1”, “7”]</SettingRepeatWeekdays>
            <RetentionDays>30</RetentionDays>
        </AntoSnapshotPolicy>
    </AutoSnapshotPolicies>
    <PageNumber>1</PageNumber>
    <PageSize>2</PageSize>
    <TotalCount>2</TotalCount>
    <RequestId>F3CD6886-D8D0-4FEE-B93E-1B73239673DE</RequestId>
</DescribeAutoSnapshotPolicyResponse>

JSON 格式

{
  "PageNumber": 1,
  "PageSize": 2,
  "RequestId": "659F91C6-1949-43B0-90C4-B6342CA757D5",
  "AutoSnapshotPolicies": {
    " AutoSnapshotPolicy": [
      {
        "CreationTime": "2014-07-24T13:00:52Z",
        "AutoSnapshotPolicyId": "p-23f2i9s4t",
        "SettingTimePoints": "[“0”, “1”]",
        "SettingRepeatWeekdays": "[“1”, “7”]",
        "RetentionDays": "30",
      },
      {
        "CreationTime": "2014-04-21T12:08:52Z",
        "AutoSnapshotPolicyId": "p-a1fd3g5s1",
        "SettingTimePoints": "[“2”, “9”]",
        "SettingRepeatWeekdays": "[“3” , “4” , “5” , “7”]",
        "RetentionDays": "-1",
      }
    ]
  },
  "TotalCount": 2
}

錯誤碼

全是公共錯誤碼。更多錯誤碼,請訪問 API 錯誤中心。

關于查詢已創(chuàng)建的自動快照策略的方法就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,可以學到更多知識。如果覺得文章不錯,可以把它分享出去讓更多的人看到。

向AI問一下細節(jié)

免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權內(nèi)容。

AI