-
Notifications
You must be signed in to change notification settings - Fork 79
/
create_volume_details.go
41 lines (30 loc) · 1.32 KB
/
create_volume_details.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.
// Core Services API
//
// APIs for Networking Service, Compute Service, and Block Volume Service.
//
package core
import (
"github.com/oracle/oci-go-sdk/common"
)
type CreateVolumeDetails struct {
// The Availability Domain of the volume.
// Example: `Uocm:PHX-AD-1`
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain,omitempty"`
// The OCID of the compartment that contains the volume.
CompartmentID *string `mandatory:"true" json:"compartmentId,omitempty"`
// A user-friendly name. Does not have to be unique, and it's changeable.
// Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName,omitempty"`
// The size of the volume in GBs.
SizeInGBs *int `mandatory:"false" json:"sizeInGBs,omitempty"`
// The size of the volume in MBs. The value must be a multiple of 1024.
// This field is deprecated. Please use sizeInGBs.
SizeInMBs *int `mandatory:"false" json:"sizeInMBs,omitempty"`
// The OCID of the volume backup from which the data should be restored on the newly created volume.
VolumeBackupID *string `mandatory:"false" json:"volumeBackupId,omitempty"`
}
func (model CreateVolumeDetails) String() string {
return common.PointerString(model)
}