34 lines
1.8 KiB
Go
34 lines
1.8 KiB
Go
|
/*
|
||
|
* 3DS OUTSCALE API
|
||
|
*
|
||
|
* Welcome to the 3DS OUTSCALE's API documentation.<br /><br /> The 3DS OUTSCALE API enables you to manage your resources in the 3DS OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br /> Note that the 3DS OUTSCALE Cloud is compatible with Amazon Web Services (AWS) APIs, but some resources have different names in AWS than in the 3DS OUTSCALE API. You can find a list of the differences [here](https://wiki.outscale.net/display/EN/3DS+OUTSCALE+APIs+Reference).<br /><br /> You can also manage your resources using the [Cockpit](https://wiki.outscale.net/display/EN/About+Cockpit) web interface.
|
||
|
*
|
||
|
* API version: 1.2
|
||
|
* Contact: support@outscale.com
|
||
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
||
|
*/
|
||
|
|
||
|
package osc
|
||
|
// Snapshot Information about the snapshot.
|
||
|
type Snapshot struct {
|
||
|
// The account alias of the owner of the snapshot.
|
||
|
AccountAlias string `json:"AccountAlias,omitempty"`
|
||
|
// The account ID of the owner of the snapshot.
|
||
|
AccountId string `json:"AccountId,omitempty"`
|
||
|
// The description of the snapshot.
|
||
|
Description string `json:"Description,omitempty"`
|
||
|
PermissionsToCreateVolume PermissionsOnResource `json:"PermissionsToCreateVolume,omitempty"`
|
||
|
// The progress of the snapshot, as a percentage.
|
||
|
Progress int32 `json:"Progress,omitempty"`
|
||
|
// The ID of the snapshot.
|
||
|
SnapshotId string `json:"SnapshotId,omitempty"`
|
||
|
// The state of the snapshot (`in-queue` \\| `completed` \\| `error`).
|
||
|
State string `json:"State,omitempty"`
|
||
|
// One or more tags associated with the snapshot.
|
||
|
Tags []ResourceTag `json:"Tags,omitempty"`
|
||
|
// The ID of the volume used to create the snapshot.
|
||
|
VolumeId string `json:"VolumeId,omitempty"`
|
||
|
// The size of the volume used to create the snapshot, in gibibytes (GiB).
|
||
|
VolumeSize int32 `json:"VolumeSize,omitempty"`
|
||
|
}
|