Sample resource snapshot

更新时间:
复制 MD 格式

This topic provides a sample of a resource snapshot delivered to Object Storage Service (OSS) and describes its key parameters.

Sample content

In this example, a snapshot of the Elastic Compute Service (ECS) disk test_disk in the China (Hangzhou) region is delivered to OSS in single-account mode for Alibaba Cloud account 120886317861****. The content is shown below:

{
    "configurationItems":[
        {
            "accountId":"120886317861****",
            "availabilityZone":"cn-hangzhou-i",
            "regionId":"cn-hangzhou",
            "configuration":"{\"DetachedTime\":\"\",\"Category\":\"cloud_essd\",\"KMSKeyId\":\"\",\"Description\":\"\",\"ResourceGroupId\":\"\",\"Size\":40,\"Encrypted\":false,\"DeleteAutoSnapshot\":false,\"DiskChargeType\":\"PostPaid\",\"MultiAttach\":\"Disabled\",\"ExpiredTime\":\"2029-09-08T16:00Z\",\"ImageId\":\"\",\"StorageSetId\":\"\",\"Tags\":{\"Tag\":[]},\"Status\":\"Available\",\"AttachedTime\":\"\",\"StorageClusterId\":\"\",\"ZoneId\":\"cn-hangzhou-i\",\"InstanceId\":\"\",\"ProductCode\":\"\",\"SourceSnapshotId\":\"\",\"Device\":\"\",\"PerformanceLevel\":\"PL1\",\"DeleteWithInstance\":false,\"EnableAutomatedSnapshotPolicy\":false,\"EnableAutoSnapshot\":true,\"AutoSnapshotPolicyId\":\"\",\"DiskName\":\"test_disk\",\"BdfId\":\"\",\"OperationLocks\":{\"OperationLock\":[]},\"Portable\":true,\"Type\":\"data\",\"SerialNumber\":\"hp33mwzuof9qoa22***\",\"CreationTime\":\"2021-08-25T06:52:35Z\",\"RegionId\":\"cn-hangzhou\",\"DiskId\":\"d-hp33mwzuof9qoa22****\"}",
            "resourceCreateTime":1629874355000,
            "resourceId":"d-hp33mwzuof9qoa22****",
            "resourceName":"test_disk",
            "resourceGroupId":"rg-acfmw3ty5y7****",
            "resourceType":"ACS::ECS::Disk",
            "tags":"{}"
        }
    ],
    "requestId":"4a88a3f3-735d-4d21-a9e4-03ebadc09ce1",
    "fileVersion":"1.0"
}

Parameter descriptions

The following table describes the key parameters of a resource snapshot delivered to OSS.

Parameter

Description

accountId

The ID of the account to which the resource belongs. Cloud Config supports the following types of accounts:
  • Ordinary account: An ordinary account is an independent Alibaba Cloud account that is not included in a resource directory by a management account.
  • Management account: A management account is an Alibaba Cloud account that enables a resource directory and manages all member accounts.
  • Member account: A member account is an Alibaba Cloud account in a resource directory.
  • Single-account mode: Enter the ID of an independent Alibaba Cloud account that is not added to a resource directory by using a management account.

  • Multi-account mode: Enter a management account ID or a member account ID.

availabilityZone

The zone where the resource is located.

regionId

The ID of the region where the resource is located.

configuration

The detailed configuration of the resource.

resourceCreateTime

The timestamp when the resource was created.

resourceId

The ID of the resource.

resourceName

The name of the resource.

resourceGroupId

The ID of the resource group to which the resource belongs. The value of this parameter varies based on whether the resource type supports resource groups:

  • If the resource type supports resource groups, this parameter indicates the ID of the resource group.

    For more information about the Alibaba Cloud services that support resource groups, see Alibaba Cloud services that support resource groups.

  • If the resource type does not support resource groups, this parameter is empty.

resourceType

The type of the resource. For more information about the resource types supported by Cloud Config, see Resource types and relationships supported by Cloud Config.

tags

The tags of the resource.