Skip to content

Commit bf9cc5e

Browse files
authored
Releasing version 5.15.0
Releasing version 5.15.0
2 parents b649aa2 + 87d326f commit bf9cc5e

File tree

179 files changed

+7852
-1291
lines changed

Some content is hidden

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

179 files changed

+7852
-1291
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ 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+
## 5.15.0 - 2019-07-16
8+
### Added
9+
- Support for the Functions service
10+
- Support for the Quotas service
11+
- Support for moving resources across compartments in the DNS service
12+
- Support for moving instances across compartments in the Compute service
13+
- Support for moving keys and vaults across compartments in the Key Management service
14+
- Support for moving topics and subscriptions across compartments in the Notifications service
15+
- Support for moving load balancers across compartments in the Load Balancing service
16+
- Support for specifying permitted REST methods in load balancer rule sets in the Load Balancing service
17+
- Support for configuring cookie session persistence in backend sets in the Load Balancing service
18+
- Support for ACL rules in rule sets in the Load Balancing service
19+
- Support for move compartment tree in the Identity service
20+
- Support for specifying and returning a KMS key in backup operations in the Block Storage service
21+
- Support for transit routing in the Networking service
22+
723
## 5.14.0 - 2019-07-09
824
### Added
925
- Support for network security groups in the Load Balancing 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 ##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 ##SPECNAME##
44
NON_GEN_TARGETS = common common/auth objectstorage/transfer example
55
TARGETS = $(NON_GEN_TARGETS) $(GEN_TARGETS)
66

budget/alert_rule.go

Lines changed: 39 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ type AlertRule struct {
2626

2727
// The type of alert. Valid values are ACTUAL (the alert will trigger based on actual usage) or
2828
// FORECAST (the alert will trigger based on predicted usage).
29-
Type AlertRuleTypeEnum `mandatory:"true" json:"type"`
29+
Type AlertTypeEnum `mandatory:"true" json:"type"`
3030

3131
// The threshold for triggering the alert. If thresholdType is PERCENTAGE, the maximum value is 10000.
3232
Threshold *float32 `mandatory:"true" json:"threshold"`
3333

3434
// The type of threshold.
35-
ThresholdType AlertRuleThresholdTypeEnum `mandatory:"true" json:"thresholdType"`
35+
ThresholdType ThresholdTypeEnum `mandatory:"true" json:"thresholdType"`
3636

3737
// The current state of the alert rule.
38-
LifecycleState AlertRuleLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
38+
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
3939

4040
// Delimited list of email addresses to receive the alert when it triggers.
4141
// Delimiter character can be comma, space, TAB, or semicolon.
@@ -71,71 +71,53 @@ func (m AlertRule) String() string {
7171
return common.PointerString(m)
7272
}
7373

74-
// AlertRuleTypeEnum Enum with underlying type: string
75-
type AlertRuleTypeEnum string
74+
// AlertRuleTypeEnum is an alias to type: AlertTypeEnum
75+
// Consider using AlertTypeEnum instead
76+
// Deprecated
77+
type AlertRuleTypeEnum = AlertTypeEnum
7678

77-
// Set of constants representing the allowable values for AlertRuleTypeEnum
79+
// Set of constants representing the allowable values for AlertTypeEnum
80+
// Deprecated
7881
const (
79-
AlertRuleTypeActual AlertRuleTypeEnum = "ACTUAL"
80-
AlertRuleTypeForecast AlertRuleTypeEnum = "FORECAST"
82+
AlertRuleTypeActual AlertTypeEnum = "ACTUAL"
83+
AlertRuleTypeForecast AlertTypeEnum = "FORECAST"
8184
)
8285

83-
var mappingAlertRuleType = map[string]AlertRuleTypeEnum{
84-
"ACTUAL": AlertRuleTypeActual,
85-
"FORECAST": AlertRuleTypeForecast,
86-
}
87-
88-
// GetAlertRuleTypeEnumValues Enumerates the set of values for AlertRuleTypeEnum
89-
func GetAlertRuleTypeEnumValues() []AlertRuleTypeEnum {
90-
values := make([]AlertRuleTypeEnum, 0)
91-
for _, v := range mappingAlertRuleType {
92-
values = append(values, v)
93-
}
94-
return values
95-
}
86+
// GetAlertRuleTypeEnumValues Enumerates the set of values for AlertTypeEnum
87+
// Consider using GetAlertTypeEnumValue
88+
// Deprecated
89+
var GetAlertRuleTypeEnumValues = GetAlertTypeEnumValues
9690

97-
// AlertRuleThresholdTypeEnum Enum with underlying type: string
98-
type AlertRuleThresholdTypeEnum string
91+
// AlertRuleThresholdTypeEnum is an alias to type: ThresholdTypeEnum
92+
// Consider using ThresholdTypeEnum instead
93+
// Deprecated
94+
type AlertRuleThresholdTypeEnum = ThresholdTypeEnum
9995

100-
// Set of constants representing the allowable values for AlertRuleThresholdTypeEnum
96+
// Set of constants representing the allowable values for ThresholdTypeEnum
97+
// Deprecated
10198
const (
102-
AlertRuleThresholdTypePercentage AlertRuleThresholdTypeEnum = "PERCENTAGE"
103-
AlertRuleThresholdTypeAbsolute AlertRuleThresholdTypeEnum = "ABSOLUTE"
99+
AlertRuleThresholdTypePercentage ThresholdTypeEnum = "PERCENTAGE"
100+
AlertRuleThresholdTypeAbsolute ThresholdTypeEnum = "ABSOLUTE"
104101
)
105102

106-
var mappingAlertRuleThresholdType = map[string]AlertRuleThresholdTypeEnum{
107-
"PERCENTAGE": AlertRuleThresholdTypePercentage,
108-
"ABSOLUTE": AlertRuleThresholdTypeAbsolute,
109-
}
103+
// GetAlertRuleThresholdTypeEnumValues Enumerates the set of values for ThresholdTypeEnum
104+
// Consider using GetThresholdTypeEnumValue
105+
// Deprecated
106+
var GetAlertRuleThresholdTypeEnumValues = GetThresholdTypeEnumValues
110107

111-
// GetAlertRuleThresholdTypeEnumValues Enumerates the set of values for AlertRuleThresholdTypeEnum
112-
func GetAlertRuleThresholdTypeEnumValues() []AlertRuleThresholdTypeEnum {
113-
values := make([]AlertRuleThresholdTypeEnum, 0)
114-
for _, v := range mappingAlertRuleThresholdType {
115-
values = append(values, v)
116-
}
117-
return values
118-
}
108+
// AlertRuleLifecycleStateEnum is an alias to type: LifecycleStateEnum
109+
// Consider using LifecycleStateEnum instead
110+
// Deprecated
111+
type AlertRuleLifecycleStateEnum = LifecycleStateEnum
119112

120-
// AlertRuleLifecycleStateEnum Enum with underlying type: string
121-
type AlertRuleLifecycleStateEnum string
122-
123-
// Set of constants representing the allowable values for AlertRuleLifecycleStateEnum
113+
// Set of constants representing the allowable values for LifecycleStateEnum
114+
// Deprecated
124115
const (
125-
AlertRuleLifecycleStateActive AlertRuleLifecycleStateEnum = "ACTIVE"
126-
AlertRuleLifecycleStateInactive AlertRuleLifecycleStateEnum = "INACTIVE"
116+
AlertRuleLifecycleStateActive LifecycleStateEnum = "ACTIVE"
117+
AlertRuleLifecycleStateInactive LifecycleStateEnum = "INACTIVE"
127118
)
128119

129-
var mappingAlertRuleLifecycleState = map[string]AlertRuleLifecycleStateEnum{
130-
"ACTIVE": AlertRuleLifecycleStateActive,
131-
"INACTIVE": AlertRuleLifecycleStateInactive,
132-
}
133-
134-
// GetAlertRuleLifecycleStateEnumValues Enumerates the set of values for AlertRuleLifecycleStateEnum
135-
func GetAlertRuleLifecycleStateEnumValues() []AlertRuleLifecycleStateEnum {
136-
values := make([]AlertRuleLifecycleStateEnum, 0)
137-
for _, v := range mappingAlertRuleLifecycleState {
138-
values = append(values, v)
139-
}
140-
return values
141-
}
120+
// GetAlertRuleLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
121+
// Consider using GetLifecycleStateEnumValue
122+
// Deprecated
123+
var GetAlertRuleLifecycleStateEnumValues = GetLifecycleStateEnumValues

budget/alert_rule_summary.go

Lines changed: 39 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ type AlertRuleSummary struct {
2626

2727
// ACTUAL means the alert will trigger based on actual usage.
2828
// FORECAST means the alert will trigger based on predicted usage.
29-
Type AlertRuleSummaryTypeEnum `mandatory:"true" json:"type"`
29+
Type AlertTypeEnum `mandatory:"true" json:"type"`
3030

3131
// The threshold for triggering the alert. If thresholdType is PERCENTAGE, the maximum value is 10000.
3232
Threshold *float32 `mandatory:"true" json:"threshold"`
3333

3434
// The type of threshold.
35-
ThresholdType AlertRuleSummaryThresholdTypeEnum `mandatory:"true" json:"thresholdType"`
35+
ThresholdType ThresholdTypeEnum `mandatory:"true" json:"thresholdType"`
3636

3737
// The current state of the alert rule.
38-
LifecycleState AlertRuleSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
38+
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
3939

4040
// The audience that will received the alert when it triggers.
4141
Recipients *string `mandatory:"true" json:"recipients"`
@@ -70,71 +70,53 @@ func (m AlertRuleSummary) String() string {
7070
return common.PointerString(m)
7171
}
7272

73-
// AlertRuleSummaryTypeEnum Enum with underlying type: string
74-
type AlertRuleSummaryTypeEnum string
73+
// AlertRuleSummaryTypeEnum is an alias to type: AlertTypeEnum
74+
// Consider using AlertTypeEnum instead
75+
// Deprecated
76+
type AlertRuleSummaryTypeEnum = AlertTypeEnum
7577

76-
// Set of constants representing the allowable values for AlertRuleSummaryTypeEnum
78+
// Set of constants representing the allowable values for AlertTypeEnum
79+
// Deprecated
7780
const (
78-
AlertRuleSummaryTypeActual AlertRuleSummaryTypeEnum = "ACTUAL"
79-
AlertRuleSummaryTypeForecast AlertRuleSummaryTypeEnum = "FORECAST"
81+
AlertRuleSummaryTypeActual AlertTypeEnum = "ACTUAL"
82+
AlertRuleSummaryTypeForecast AlertTypeEnum = "FORECAST"
8083
)
8184

82-
var mappingAlertRuleSummaryType = map[string]AlertRuleSummaryTypeEnum{
83-
"ACTUAL": AlertRuleSummaryTypeActual,
84-
"FORECAST": AlertRuleSummaryTypeForecast,
85-
}
86-
87-
// GetAlertRuleSummaryTypeEnumValues Enumerates the set of values for AlertRuleSummaryTypeEnum
88-
func GetAlertRuleSummaryTypeEnumValues() []AlertRuleSummaryTypeEnum {
89-
values := make([]AlertRuleSummaryTypeEnum, 0)
90-
for _, v := range mappingAlertRuleSummaryType {
91-
values = append(values, v)
92-
}
93-
return values
94-
}
85+
// GetAlertRuleSummaryTypeEnumValues Enumerates the set of values for AlertTypeEnum
86+
// Consider using GetAlertTypeEnumValue
87+
// Deprecated
88+
var GetAlertRuleSummaryTypeEnumValues = GetAlertTypeEnumValues
9589

96-
// AlertRuleSummaryThresholdTypeEnum Enum with underlying type: string
97-
type AlertRuleSummaryThresholdTypeEnum string
90+
// AlertRuleSummaryThresholdTypeEnum is an alias to type: ThresholdTypeEnum
91+
// Consider using ThresholdTypeEnum instead
92+
// Deprecated
93+
type AlertRuleSummaryThresholdTypeEnum = ThresholdTypeEnum
9894

99-
// Set of constants representing the allowable values for AlertRuleSummaryThresholdTypeEnum
95+
// Set of constants representing the allowable values for ThresholdTypeEnum
96+
// Deprecated
10097
const (
101-
AlertRuleSummaryThresholdTypePercentage AlertRuleSummaryThresholdTypeEnum = "PERCENTAGE"
102-
AlertRuleSummaryThresholdTypeAbsolute AlertRuleSummaryThresholdTypeEnum = "ABSOLUTE"
98+
AlertRuleSummaryThresholdTypePercentage ThresholdTypeEnum = "PERCENTAGE"
99+
AlertRuleSummaryThresholdTypeAbsolute ThresholdTypeEnum = "ABSOLUTE"
103100
)
104101

105-
var mappingAlertRuleSummaryThresholdType = map[string]AlertRuleSummaryThresholdTypeEnum{
106-
"PERCENTAGE": AlertRuleSummaryThresholdTypePercentage,
107-
"ABSOLUTE": AlertRuleSummaryThresholdTypeAbsolute,
108-
}
102+
// GetAlertRuleSummaryThresholdTypeEnumValues Enumerates the set of values for ThresholdTypeEnum
103+
// Consider using GetThresholdTypeEnumValue
104+
// Deprecated
105+
var GetAlertRuleSummaryThresholdTypeEnumValues = GetThresholdTypeEnumValues
109106

110-
// GetAlertRuleSummaryThresholdTypeEnumValues Enumerates the set of values for AlertRuleSummaryThresholdTypeEnum
111-
func GetAlertRuleSummaryThresholdTypeEnumValues() []AlertRuleSummaryThresholdTypeEnum {
112-
values := make([]AlertRuleSummaryThresholdTypeEnum, 0)
113-
for _, v := range mappingAlertRuleSummaryThresholdType {
114-
values = append(values, v)
115-
}
116-
return values
117-
}
107+
// AlertRuleSummaryLifecycleStateEnum is an alias to type: LifecycleStateEnum
108+
// Consider using LifecycleStateEnum instead
109+
// Deprecated
110+
type AlertRuleSummaryLifecycleStateEnum = LifecycleStateEnum
118111

119-
// AlertRuleSummaryLifecycleStateEnum Enum with underlying type: string
120-
type AlertRuleSummaryLifecycleStateEnum string
121-
122-
// Set of constants representing the allowable values for AlertRuleSummaryLifecycleStateEnum
112+
// Set of constants representing the allowable values for LifecycleStateEnum
113+
// Deprecated
123114
const (
124-
AlertRuleSummaryLifecycleStateActive AlertRuleSummaryLifecycleStateEnum = "ACTIVE"
125-
AlertRuleSummaryLifecycleStateInactive AlertRuleSummaryLifecycleStateEnum = "INACTIVE"
115+
AlertRuleSummaryLifecycleStateActive LifecycleStateEnum = "ACTIVE"
116+
AlertRuleSummaryLifecycleStateInactive LifecycleStateEnum = "INACTIVE"
126117
)
127118

128-
var mappingAlertRuleSummaryLifecycleState = map[string]AlertRuleSummaryLifecycleStateEnum{
129-
"ACTIVE": AlertRuleSummaryLifecycleStateActive,
130-
"INACTIVE": AlertRuleSummaryLifecycleStateInactive,
131-
}
132-
133-
// GetAlertRuleSummaryLifecycleStateEnumValues Enumerates the set of values for AlertRuleSummaryLifecycleStateEnum
134-
func GetAlertRuleSummaryLifecycleStateEnumValues() []AlertRuleSummaryLifecycleStateEnum {
135-
values := make([]AlertRuleSummaryLifecycleStateEnum, 0)
136-
for _, v := range mappingAlertRuleSummaryLifecycleState {
137-
values = append(values, v)
138-
}
139-
return values
140-
}
119+
// GetAlertRuleSummaryLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
120+
// Consider using GetLifecycleStateEnumValue
121+
// Deprecated
122+
var GetAlertRuleSummaryLifecycleStateEnumValues = GetLifecycleStateEnumValues

budget/alert_type.go

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,25 @@
88

99
package budget
1010

11-
import (
12-
"github.com/oracle/oci-go-sdk/common"
11+
// AlertTypeEnum Enum with underlying type: string
12+
type AlertTypeEnum string
13+
14+
// Set of constants representing the allowable values for AlertTypeEnum
15+
const (
16+
AlertTypeActual AlertTypeEnum = "ACTUAL"
17+
AlertTypeForecast AlertTypeEnum = "FORECAST"
1318
)
1419

15-
// AlertType Valid values are ACTUAL (the alert will trigger based on actual usage) or
16-
// FORECAST (the alert will trigger based on predicted usage).
17-
type AlertType struct {
20+
var mappingAlertType = map[string]AlertTypeEnum{
21+
"ACTUAL": AlertTypeActual,
22+
"FORECAST": AlertTypeForecast,
1823
}
1924

20-
func (m AlertType) String() string {
21-
return common.PointerString(m)
25+
// GetAlertTypeEnumValues Enumerates the set of values for AlertTypeEnum
26+
func GetAlertTypeEnumValues() []AlertTypeEnum {
27+
values := make([]AlertTypeEnum, 0)
28+
for _, v := range mappingAlertType {
29+
values = append(values, v)
30+
}
31+
return values
2232
}

0 commit comments

Comments
 (0)