Skip to content

Commit 399ee69

Browse files
authored
Releasing version 6.1.0
Releasing version 6.1.0
2 parents 1195866 + 71b9f32 commit 399ee69

File tree

74 files changed

+3617
-72
lines changed

Some content is hidden

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

74 files changed

+3617
-72
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ bin/
1313
temp/
1414
.settings/*
1515
.project
16-
.classpath
16+
.classpath
17+
*.iml

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ 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+
## 6.1.0 - 2019-07-30
8+
### Added
9+
- Support for the Mumbai (BOM) region
10+
- Support for the Events service
11+
- Support for moving streams across compartments in the Streaming service
12+
- Support for moving FastConnect resources across compartments in the Networking service
13+
- Support for moving policies across compartments in the Web Application Acceleration and Security service
14+
- Support for tagging FastConnect resources in the Networking service
15+
716
## 6.0.0 - 2019-07-23
817
### Added
918
- Support for moving resources across compartments in the Database service

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
DOC_SERVER_URL=https:\/\/docs.cloud.oracle.com
22

3-
GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email containerengine resourcesearch keymanagement announcementsservice healthchecks waas autoscaling streaming ons monitoring resourcemanager budget workrequests functions limits ##SPECNAME##
3+
GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email containerengine resourcesearch keymanagement announcementsservice healthchecks waas autoscaling streaming ons monitoring resourcemanager budget workrequests functions limits events ##SPECNAME##
44
NON_GEN_TARGETS = common common/auth objectstorage/transfer example
55
TARGETS = $(NON_GEN_TARGETS) $(GEN_TARGETS)
66

budget/budget.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,4 @@ const (
133133
// GetBudgetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
134134
// Consider using GetLifecycleStateEnumValue
135135
// Deprecated
136-
var GetBudgetLifecycleStateEnumValues = GetLifecycleStateEnumValues
136+
var GetBudgetLifecycleStateEnumValues = GetLifecycleStateEnumValues

budget/budget_summary.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,4 @@ const (
133133
// GetBudgetSummaryLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
134134
// Consider using GetLifecycleStateEnumValue
135135
// Deprecated
136-
var GetBudgetSummaryLifecycleStateEnumValues = GetLifecycleStateEnumValues
136+
var GetBudgetSummaryLifecycleStateEnumValues = GetLifecycleStateEnumValues

budget/create_budget_details.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ const (
9292
// GetCreateBudgetDetailsTargetTypeEnumValues Enumerates the set of values for TargetTypeEnum
9393
// Consider using GetTargetTypeEnumValue
9494
// Deprecated
95-
var GetCreateBudgetDetailsTargetTypeEnumValues = GetTargetTypeEnumValues
95+
var GetCreateBudgetDetailsTargetTypeEnumValues = GetTargetTypeEnumValues

budget/target_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
22
// Code generated. DO NOT EDIT.
33

44
// Budgets API

common/common.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ const (
2828
RegionAPTokyo1 Region = "ap-tokyo-1"
2929
//RegionAPSeoul1 region for seoul
3030
RegionAPSeoul1 Region = "ap-seoul-1"
31+
//RegionAPMumbai1 region for mumbai
32+
RegionAPMumbai1 Region = "ap-mumbai-1"
3133

3234
//RegionUSLangley1 region for langley
3335
RegionUSLangley1 Region = "us-langley-1"
@@ -56,6 +58,7 @@ var regionRealm = map[Region]string{
5658
RegionCAToronto1: "oc1",
5759
RegionAPTokyo1: "oc1",
5860
RegionAPSeoul1: "oc1",
61+
RegionAPMumbai1: "oc1",
5962

6063
RegionUSLangley1: "oc2",
6164
RegionUSLuke1: "oc2",
@@ -117,6 +120,8 @@ func StringToRegion(stringRegion string) (r Region) {
117120
r = RegionAPTokyo1
118121
case "ap-seoul-1":
119122
r = RegionAPSeoul1
123+
case "ap-mumbai-1":
124+
r = RegionAPMumbai1
120125
case "us-langley-1":
121126
r = RegionUSLangley1
122127
case "us-luke-1":

common/version.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Core Services API
5+
//
6+
// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
7+
// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
8+
// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API
9+
// to manage resources such as virtual cloud networks (VCNs), compute instances, and
10+
// block storage volumes.
11+
//
12+
13+
package core
14+
15+
import (
16+
"github.com/oracle/oci-go-sdk/common"
17+
)
18+
19+
// ChangeCpeCompartmentDetails The configuration details for the move operation.
20+
type ChangeCpeCompartmentDetails struct {
21+
22+
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the
23+
// CPE object to.
24+
CompartmentId *string `mandatory:"true" json:"compartmentId"`
25+
}
26+
27+
func (m ChangeCpeCompartmentDetails) String() string {
28+
return common.PointerString(m)
29+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
package core
5+
6+
import (
7+
"github.com/oracle/oci-go-sdk/common"
8+
"net/http"
9+
)
10+
11+
// ChangeCpeCompartmentRequest wrapper for the ChangeCpeCompartment operation
12+
type ChangeCpeCompartmentRequest struct {
13+
14+
// The OCID of the CPE.
15+
CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"`
16+
17+
// Request to change the compartment of a CPE.
18+
ChangeCpeCompartmentDetails `contributesTo:"body"`
19+
20+
// Unique identifier for the request.
21+
// If you need to contact Oracle about a particular request, please provide the request ID.
22+
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
23+
24+
// A token that uniquely identifies a request so it can be retried in case of a timeout or
25+
// server error without risk of executing that same action again. Retry tokens expire after 24
26+
// hours, but can be invalidated before then due to conflicting operations (for example, if a resource
27+
// has been deleted and purged from the system, then a retry of the original creation request
28+
// may be rejected).
29+
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
30+
31+
// Metadata about the request. This information will not be transmitted to the service, but
32+
// represents information that the SDK will consume to drive retry behavior.
33+
RequestMetadata common.RequestMetadata
34+
}
35+
36+
func (request ChangeCpeCompartmentRequest) String() string {
37+
return common.PointerString(request)
38+
}
39+
40+
// HTTPRequest implements the OCIRequest interface
41+
func (request ChangeCpeCompartmentRequest) HTTPRequest(method, path string) (http.Request, error) {
42+
return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request)
43+
}
44+
45+
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
46+
func (request ChangeCpeCompartmentRequest) RetryPolicy() *common.RetryPolicy {
47+
return request.RequestMetadata.RetryPolicy
48+
}
49+
50+
// ChangeCpeCompartmentResponse wrapper for the ChangeCpeCompartment operation
51+
type ChangeCpeCompartmentResponse struct {
52+
53+
// The underlying http response
54+
RawResponse *http.Response
55+
56+
// For optimistic concurrency control. See `if-match`.
57+
Etag *string `presentIn:"header" name:"etag"`
58+
59+
// Unique Oracle-assigned identifier for the request. If you need to contact
60+
// Oracle about a particular request, please provide the request ID.
61+
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
62+
}
63+
64+
func (response ChangeCpeCompartmentResponse) String() string {
65+
return common.PointerString(response)
66+
}
67+
68+
// HTTPResponse implements the OCIResponse interface
69+
func (response ChangeCpeCompartmentResponse) HTTPResponse() *http.Response {
70+
return response.RawResponse
71+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Core Services API
5+
//
6+
// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
7+
// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
8+
// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API
9+
// to manage resources such as virtual cloud networks (VCNs), compute instances, and
10+
// block storage volumes.
11+
//
12+
13+
package core
14+
15+
import (
16+
"github.com/oracle/oci-go-sdk/common"
17+
)
18+
19+
// ChangeCrossConnectCompartmentDetails The configuration details for the move operation.
20+
type ChangeCrossConnectCompartmentDetails struct {
21+
22+
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the
23+
// cross-connect to.
24+
CompartmentId *string `mandatory:"true" json:"compartmentId"`
25+
}
26+
27+
func (m ChangeCrossConnectCompartmentDetails) String() string {
28+
return common.PointerString(m)
29+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
package core
5+
6+
import (
7+
"github.com/oracle/oci-go-sdk/common"
8+
"net/http"
9+
)
10+
11+
// ChangeCrossConnectCompartmentRequest wrapper for the ChangeCrossConnectCompartment operation
12+
type ChangeCrossConnectCompartmentRequest struct {
13+
14+
// The OCID of the cross-connect.
15+
CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"`
16+
17+
// Request to change the compartment of a Cross Connect.
18+
ChangeCrossConnectCompartmentDetails `contributesTo:"body"`
19+
20+
// Unique identifier for the request.
21+
// If you need to contact Oracle about a particular request, please provide the request ID.
22+
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
23+
24+
// A token that uniquely identifies a request so it can be retried in case of a timeout or
25+
// server error without risk of executing that same action again. Retry tokens expire after 24
26+
// hours, but can be invalidated before then due to conflicting operations (for example, if a resource
27+
// has been deleted and purged from the system, then a retry of the original creation request
28+
// may be rejected).
29+
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
30+
31+
// Metadata about the request. This information will not be transmitted to the service, but
32+
// represents information that the SDK will consume to drive retry behavior.
33+
RequestMetadata common.RequestMetadata
34+
}
35+
36+
func (request ChangeCrossConnectCompartmentRequest) String() string {
37+
return common.PointerString(request)
38+
}
39+
40+
// HTTPRequest implements the OCIRequest interface
41+
func (request ChangeCrossConnectCompartmentRequest) HTTPRequest(method, path string) (http.Request, error) {
42+
return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request)
43+
}
44+
45+
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
46+
func (request ChangeCrossConnectCompartmentRequest) RetryPolicy() *common.RetryPolicy {
47+
return request.RequestMetadata.RetryPolicy
48+
}
49+
50+
// ChangeCrossConnectCompartmentResponse wrapper for the ChangeCrossConnectCompartment operation
51+
type ChangeCrossConnectCompartmentResponse struct {
52+
53+
// The underlying http response
54+
RawResponse *http.Response
55+
56+
// For optimistic concurrency control. See `if-match`.
57+
Etag *string `presentIn:"header" name:"etag"`
58+
59+
// Unique Oracle-assigned identifier for the request. If you need to contact
60+
// Oracle about a particular request, please provide the request ID.
61+
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
62+
}
63+
64+
func (response ChangeCrossConnectCompartmentResponse) String() string {
65+
return common.PointerString(response)
66+
}
67+
68+
// HTTPResponse implements the OCIResponse interface
69+
func (response ChangeCrossConnectCompartmentResponse) HTTPResponse() *http.Response {
70+
return response.RawResponse
71+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Core Services API
5+
//
6+
// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
7+
// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
8+
// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API
9+
// to manage resources such as virtual cloud networks (VCNs), compute instances, and
10+
// block storage volumes.
11+
//
12+
13+
package core
14+
15+
import (
16+
"github.com/oracle/oci-go-sdk/common"
17+
)
18+
19+
// ChangeCrossConnectGroupCompartmentDetails The configuration details for the move operation.
20+
type ChangeCrossConnectGroupCompartmentDetails struct {
21+
22+
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the
23+
// cross-connect group to.
24+
CompartmentId *string `mandatory:"true" json:"compartmentId"`
25+
}
26+
27+
func (m ChangeCrossConnectGroupCompartmentDetails) String() string {
28+
return common.PointerString(m)
29+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
package core
5+
6+
import (
7+
"github.com/oracle/oci-go-sdk/common"
8+
"net/http"
9+
)
10+
11+
// ChangeCrossConnectGroupCompartmentRequest wrapper for the ChangeCrossConnectGroupCompartment operation
12+
type ChangeCrossConnectGroupCompartmentRequest struct {
13+
14+
// The OCID of the cross-connect group.
15+
CrossConnectGroupId *string `mandatory:"true" contributesTo:"path" name:"crossConnectGroupId"`
16+
17+
// Request to change the compartment of a Cross Connect Group.
18+
ChangeCrossConnectGroupCompartmentDetails `contributesTo:"body"`
19+
20+
// Unique identifier for the request.
21+
// If you need to contact Oracle about a particular request, please provide the request ID.
22+
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
23+
24+
// A token that uniquely identifies a request so it can be retried in case of a timeout or
25+
// server error without risk of executing that same action again. Retry tokens expire after 24
26+
// hours, but can be invalidated before then due to conflicting operations (for example, if a resource
27+
// has been deleted and purged from the system, then a retry of the original creation request
28+
// may be rejected).
29+
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
30+
31+
// Metadata about the request. This information will not be transmitted to the service, but
32+
// represents information that the SDK will consume to drive retry behavior.
33+
RequestMetadata common.RequestMetadata
34+
}
35+
36+
func (request ChangeCrossConnectGroupCompartmentRequest) String() string {
37+
return common.PointerString(request)
38+
}
39+
40+
// HTTPRequest implements the OCIRequest interface
41+
func (request ChangeCrossConnectGroupCompartmentRequest) HTTPRequest(method, path string) (http.Request, error) {
42+
return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request)
43+
}
44+
45+
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
46+
func (request ChangeCrossConnectGroupCompartmentRequest) RetryPolicy() *common.RetryPolicy {
47+
return request.RequestMetadata.RetryPolicy
48+
}
49+
50+
// ChangeCrossConnectGroupCompartmentResponse wrapper for the ChangeCrossConnectGroupCompartment operation
51+
type ChangeCrossConnectGroupCompartmentResponse struct {
52+
53+
// The underlying http response
54+
RawResponse *http.Response
55+
56+
// For optimistic concurrency control. See `if-match`.
57+
Etag *string `presentIn:"header" name:"etag"`
58+
59+
// Unique Oracle-assigned identifier for the request. If you need to contact
60+
// Oracle about a particular request, please provide the request ID.
61+
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
62+
}
63+
64+
func (response ChangeCrossConnectGroupCompartmentResponse) String() string {
65+
return common.PointerString(response)
66+
}
67+
68+
// HTTPResponse implements the OCIResponse interface
69+
func (response ChangeCrossConnectGroupCompartmentResponse) HTTPResponse() *http.Response {
70+
return response.RawResponse
71+
}

0 commit comments

Comments
 (0)