Skip to content

Commit 897e484

Browse files
authored
Release v2.4.0 (#126)
* Releasing version 2.4.0
1 parent 8ed41ce commit 897e484

File tree

158 files changed

+689
-537
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+689
-537
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66

7+
## 2.3.0 - 2018-09-06
8+
### Added
9+
- Added support for updating metadata fields on an instance in the Compute service
10+
711
## 2.3.0 - 2018-08-23
812
### Added
913
- Support for fault domain in the Identity Service

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
DOC_SERVER_URL=https:\/\/docs.us-phoenix-1.oraclecloud.com
22

3-
GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email containerengine resourcesearch
3+
GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email containerengine resourcesearch ##SPECNAME##
44
NON_GEN_TARGETS = common common/auth
55
TARGETS = $(NON_GEN_TARGETS) $(GEN_TARGETS)
66

common/version.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/attach_service_id_request_response.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type AttachServiceIdRequest struct {
1414
// The service gateway's OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
1515
ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"`
1616

17-
// ServiceId of Service to be attached to a Service Gateway.
17+
// ServiceId of Service to be attached to a service gateway.
1818
AttachServiceDetails ServiceIdRequestDetails `contributesTo:"body"`
1919

2020
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`

core/boot_volume.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ import (
1818
// To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
1919
// talk to an administrator. If you're an administrator who needs to write policies to give users access, see
2020
// Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
21+
// **Warning:** Oracle recommends that you avoid using any confidential information when you
22+
// supply string values using the API.
2123
type BootVolume struct {
2224

23-
// The Availability Domain of the boot volume.
25+
// The availability domain of the boot volume.
2426
// Example: `Uocm:PHX-AD-1`
2527
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
2628

@@ -64,7 +66,7 @@ type BootVolume struct {
6466
// The size of the boot volume in GBs.
6567
SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"`
6668

67-
// The boot volume source, either an existing boot volume in the same Availability Domain or a boot volume backup.
69+
// The boot volume source, either an existing boot volume in the same availability domain or a boot volume backup.
6870
// If null, this means that the boot volume was created from an image.
6971
SourceDetails BootVolumeSourceDetails `mandatory:"false" json:"sourceDetails"`
7072

core/boot_volume_attachment.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ import (
1313
)
1414

1515
// BootVolumeAttachment Represents an attachment between a boot volume and an instance.
16+
// **Warning:** Oracle recommends that you avoid using any confidential information when you
17+
// supply string values using the API.
1618
type BootVolumeAttachment struct {
1719

18-
// The Availability Domain of an instance.
20+
// The availability domain of an instance.
1921
// Example: `Uocm:PHX-AD-1`
2022
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
2123

core/boot_volume_backup.go

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import (
1919
// If you're not authorized, talk to an administrator. If you're an administrator
2020
// who needs to write policies to give users access, see Getting Started with
2121
// Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
22+
// **Warning:** Oracle recommends that you avoid using any confidential information when you
23+
// supply string values using the API.
2224
type BootVolumeBackup struct {
2325

2426
// The OCID of the compartment that contains the boot volume backup.

core/console_history.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ import (
1515
// ConsoleHistory An instance's serial console data. It includes configuration messages that occur when the
1616
// instance boots, such as kernel and BIOS messages, and is useful for checking the status of
1717
// the instance or diagnosing problems. The console data is minimally formatted ASCII text.
18+
// **Warning:** Oracle recommends that you avoid using any confidential information when you
19+
// supply string values using the API.
1820
type ConsoleHistory struct {
1921

20-
// The Availability Domain of an instance.
22+
// The availability domain of an instance.
2123
// Example: `Uocm:PHX-AD-1`
2224
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
2325

core/core_blockstorage_client.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,11 @@ func (client BlockstorageClient) createBootVolumeBackup(ctx context.Context, req
153153
// 50 GB (51200 MB) to 32 TB (33554432 MB), in 1 GB (1024 MB) increments. By default, volumes are 1 TB (1048576 MB).
154154
// For general information about block volumes, see
155155
// Overview of Block Volume Service (https://docs.us-phoenix-1.oraclecloud.com/Content/Block/Concepts/overview.htm).
156-
// A volume and instance can be in separate compartments but must be in the same Availability Domain.
156+
// A volume and instance can be in separate compartments but must be in the same availability domain.
157157
// For information about access control and compartments, see
158158
// Overview of the IAM Service (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/overview.htm). For information about
159-
// Availability Domains, see Regions and Availability Domains (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm).
160-
// To get a list of Availability Domains, use the `ListAvailabilityDomains` operation
159+
// availability domains, see Regions and Availability Domains (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm).
160+
// To get a list of availability domains, use the `ListAvailabilityDomains` operation
161161
// in the Identity and Access Management Service API.
162162
// You may optionally specify a *display name* for the volume, which is simply a friendly name or
163163
// description. It does not have to be unique, and you can change it. Avoid entering confidential information.
@@ -1105,7 +1105,7 @@ func (client BlockstorageClient) listBootVolumeBackups(ctx context.Context, requ
11051105
return response, err
11061106
}
11071107

1108-
// ListBootVolumes Lists the boot volumes in the specified compartment and Availability Domain.
1108+
// ListBootVolumes Lists the boot volumes in the specified compartment and availability domain.
11091109
func (client BlockstorageClient) ListBootVolumes(ctx context.Context, request ListBootVolumesRequest) (response ListBootVolumesResponse, err error) {
11101110
var ociResponse common.OCIResponse
11111111
policy := common.NoRetryPolicy()
@@ -1317,7 +1317,7 @@ func (client BlockstorageClient) listVolumeGroups(ctx context.Context, request c
13171317
return response, err
13181318
}
13191319

1320-
// ListVolumes Lists the volumes in the specified compartment and Availability Domain.
1320+
// ListVolumes Lists the volumes in the specified compartment and availability domain.
13211321
func (client BlockstorageClient) ListVolumes(ctx context.Context, request ListVolumesRequest) (response ListVolumesResponse, err error) {
13221322
var ociResponse common.OCIResponse
13231323
policy := common.NoRetryPolicy()

core/core_compute_client.go

+9-6
Original file line numberDiff line numberDiff line change
@@ -1088,14 +1088,14 @@ func (client ComputeClient) instanceAction(ctx context.Context, request common.O
10881088
return response, err
10891089
}
10901090

1091-
// LaunchInstance Creates a new instance in the specified compartment and the specified Availability Domain.
1091+
// LaunchInstance Creates a new instance in the specified compartment and the specified availability domain.
10921092
// For general information about instances, see
10931093
// Overview of the Compute Service (https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Concepts/computeoverview.htm).
10941094
// For information about access control and compartments, see
10951095
// Overview of the IAM Service (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/overview.htm).
1096-
// For information about Availability Domains, see
1096+
// For information about availability domains, see
10971097
// Regions and Availability Domains (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm).
1098-
// To get a list of Availability Domains, use the `ListAvailabilityDomains` operation
1098+
// To get a list of availability domains, use the `ListAvailabilityDomains` operation
10991099
// in the Identity and Access Management Service API.
11001100
// All Oracle Cloud Infrastructure resources, including instances, get an Oracle-assigned,
11011101
// unique ID called an Oracle Cloud Identifier (OCID).
@@ -1329,7 +1329,7 @@ func (client ComputeClient) listInstanceConsoleConnections(ctx context.Context,
13291329
return response, err
13301330
}
13311331

1332-
// ListInstances Lists the instances in the specified compartment and the specified Availability Domain.
1332+
// ListInstances Lists the instances in the specified compartment and the specified availability domain.
13331333
// You can filter the results by specifying an instance name (the list will include all the identically-named
13341334
// instances in the compartment).
13351335
func (client ComputeClient) ListInstances(ctx context.Context, request ListInstancesRequest) (response ListInstancesResponse, err error) {
@@ -1418,7 +1418,7 @@ func (client ComputeClient) listShapes(ctx context.Context, request common.OCIRe
14181418

14191419
// ListVnicAttachments Lists the VNIC attachments in the specified compartment. A VNIC attachment
14201420
// resides in the same compartment as the attached instance. The list can be
1421-
// filtered by instance, VNIC, or Availability Domain.
1421+
// filtered by instance, VNIC, or availability domain.
14221422
func (client ComputeClient) ListVnicAttachments(ctx context.Context, request ListVnicAttachmentsRequest) (response ListVnicAttachmentsResponse, err error) {
14231423
var ociResponse common.OCIResponse
14241424
policy := common.NoRetryPolicy()
@@ -1652,7 +1652,10 @@ func (client ComputeClient) updateImage(ctx context.Context, request common.OCIR
16521652
return response, err
16531653
}
16541654

1655-
// UpdateInstance Updates the display name of the specified instance. Avoid entering confidential information.
1655+
// UpdateInstance Updates certain fields on the specified instance. Fields that are not provided in the
1656+
// request will not be updated. Avoid entering confidential information.
1657+
// Changes to metadata fields will be reflected in the instance metadata service (this may take
1658+
// up to a minute).
16561659
// The OCID of the instance remains the same.
16571660
func (client ComputeClient) UpdateInstance(ctx context.Context, request UpdateInstanceRequest) (response UpdateInstanceResponse, err error) {
16581661
var ociResponse common.OCIResponse

0 commit comments

Comments
 (0)