Skip to content

Commit 3129e8e

Browse files
authored
Releasing version 10.0.0
Releasing version 10.0.0
2 parents 326994e + 02109ce commit 3129e8e

File tree

95 files changed

+6996
-216
lines changed

Some content is hidden

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

95 files changed

+6996
-216
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ 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+
## 10.0.0 - 2019-09-17
8+
### Added
9+
- Support for importing state files in the Resource Manager service
10+
- Support for Exadata Cloud at Customer in the Database service
11+
- Support for free tier resources and system tags in the Load Balancing service
12+
- Support for free tier resources and system tags in the Compute service
13+
- Support for free tier resources and system tags in the Block Storage service
14+
- Support for free tier and system tags on autonomous databases in the Database service
15+
16+
### Breaking
17+
- Interface CreateDbHomeWithDbSystemIdBase is renamed to CreateDbHomeBase and dbSystemId property is removed from it
18+
- CreateDbHomeWithDbSystemIdBase in CreateDbHomeRequest is replaced with CreateDbHomeWithDbSystemIdDetails
19+
720
## 9.0.0 - 2019-09-10
821
### Added
922
- Support for specifying the autoBackupWindow field for scheduling backups in the Database service

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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Database Service API
5+
//
6+
// The API for the Database Service.
7+
//
8+
9+
package database
10+
11+
import (
12+
"github.com/oracle/oci-go-sdk/common"
13+
)
14+
15+
// ActivateExadataInfrastructureDetails The activation details for the Exadata infrastructure.
16+
type ActivateExadataInfrastructureDetails struct {
17+
18+
// The activation zip file.
19+
ActivationFile []byte `mandatory:"true" json:"activationFile"`
20+
}
21+
22+
func (m ActivateExadataInfrastructureDetails) String() string {
23+
return common.PointerString(m)
24+
}
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
package database
5+
6+
import (
7+
"github.com/oracle/oci-go-sdk/common"
8+
"net/http"
9+
)
10+
11+
// ActivateExadataInfrastructureRequest wrapper for the ActivateExadataInfrastructure operation
12+
type ActivateExadataInfrastructureRequest struct {
13+
14+
// The Exadata infrastructure OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
15+
ExadataInfrastructureId *string `mandatory:"true" contributesTo:"path" name:"exadataInfrastructureId"`
16+
17+
// The activation details for the Exadata infrastructure.
18+
ActivateExadataInfrastructureDetails `contributesTo:"body"`
19+
20+
// Unique identifier for the request.
21+
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
22+
23+
// A token that uniquely identifies a request so it can be retried in case of a timeout or
24+
// server error without risk of executing that same action again. Retry tokens expire after 24
25+
// hours, but can be invalidated before then due to conflicting operations (for example, if a resource
26+
// has been deleted and purged from the system, then a retry of the original creation request
27+
// may be rejected).
28+
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
29+
30+
// Metadata about the request. This information will not be transmitted to the service, but
31+
// represents information that the SDK will consume to drive retry behavior.
32+
RequestMetadata common.RequestMetadata
33+
}
34+
35+
func (request ActivateExadataInfrastructureRequest) String() string {
36+
return common.PointerString(request)
37+
}
38+
39+
// HTTPRequest implements the OCIRequest interface
40+
func (request ActivateExadataInfrastructureRequest) HTTPRequest(method, path string) (http.Request, error) {
41+
return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request)
42+
}
43+
44+
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
45+
func (request ActivateExadataInfrastructureRequest) RetryPolicy() *common.RetryPolicy {
46+
return request.RequestMetadata.RetryPolicy
47+
}
48+
49+
// ActivateExadataInfrastructureResponse wrapper for the ActivateExadataInfrastructure operation
50+
type ActivateExadataInfrastructureResponse struct {
51+
52+
// The underlying http response
53+
RawResponse *http.Response
54+
55+
// The ExadataInfrastructure instance
56+
ExadataInfrastructure `presentIn:"body"`
57+
58+
// For optimistic concurrency control. See `if-match`.
59+
Etag *string `presentIn:"header" name:"etag"`
60+
61+
// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
62+
// a particular request, please provide the request ID.
63+
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
64+
}
65+
66+
func (response ActivateExadataInfrastructureResponse) String() string {
67+
return common.PointerString(response)
68+
}
69+
70+
// HTTPResponse implements the OCIResponse interface
71+
func (response ActivateExadataInfrastructureResponse) HTTPResponse() *http.Response {
72+
return response.RawResponse
73+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Database Service API
5+
//
6+
// The API for the Database Service.
7+
//
8+
9+
package database
10+
11+
import (
12+
"github.com/oracle/oci-go-sdk/common"
13+
)
14+
15+
// AssociatedDatabaseDetails Databases associated with a backup destination
16+
type AssociatedDatabaseDetails struct {
17+
18+
// The database OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
19+
Id *string `mandatory:"false" json:"id"`
20+
21+
// The display name of the database that is associated with the backup destination.
22+
DbName *string `mandatory:"false" json:"dbName"`
23+
}
24+
25+
func (m AssociatedDatabaseDetails) String() string {
26+
return common.PointerString(m)
27+
}

database/backup_destination.go

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Database Service API
5+
//
6+
// The API for the Database Service.
7+
//
8+
9+
package database
10+
11+
import (
12+
"github.com/oracle/oci-go-sdk/common"
13+
)
14+
15+
// BackupDestination Backup destination details.
16+
type BackupDestination struct {
17+
18+
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup destination.
19+
Id *string `mandatory:"false" json:"id"`
20+
21+
// The user-provided name of the backup destination.
22+
DisplayName *string `mandatory:"false" json:"displayName"`
23+
24+
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
25+
CompartmentId *string `mandatory:"false" json:"compartmentId"`
26+
27+
// Type of the backup destination.
28+
Type BackupDestinationTypeEnum `mandatory:"false" json:"type,omitempty"`
29+
30+
// List of databases associated with the backup destination.
31+
AssociatedDatabases []AssociatedDatabaseDetails `mandatory:"false" json:"associatedDatabases"`
32+
33+
// For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance.
34+
ConnectionString *string `mandatory:"false" json:"connectionString"`
35+
36+
// For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
37+
VpcUsers []string `mandatory:"false" json:"vpcUsers"`
38+
39+
// The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes.
40+
LocalMountPointPath *string `mandatory:"false" json:"localMountPointPath"`
41+
42+
// The current lifecycle state of the backup destination.
43+
LifecycleState BackupDestinationLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
44+
45+
// The date and time the backup destination was created.
46+
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
47+
48+
// A descriptive text associated with the lifecycleState.
49+
// Typically contains additional displayable text
50+
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
51+
52+
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
53+
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
54+
// Example: `{"Department": "Finance"}`
55+
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
56+
57+
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
58+
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
59+
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
60+
}
61+
62+
func (m BackupDestination) String() string {
63+
return common.PointerString(m)
64+
}
65+
66+
// BackupDestinationTypeEnum Enum with underlying type: string
67+
type BackupDestinationTypeEnum string
68+
69+
// Set of constants representing the allowable values for BackupDestinationTypeEnum
70+
const (
71+
BackupDestinationTypeNfs BackupDestinationTypeEnum = "NFS"
72+
BackupDestinationTypeRecoveryAppliance BackupDestinationTypeEnum = "RECOVERY_APPLIANCE"
73+
)
74+
75+
var mappingBackupDestinationType = map[string]BackupDestinationTypeEnum{
76+
"NFS": BackupDestinationTypeNfs,
77+
"RECOVERY_APPLIANCE": BackupDestinationTypeRecoveryAppliance,
78+
}
79+
80+
// GetBackupDestinationTypeEnumValues Enumerates the set of values for BackupDestinationTypeEnum
81+
func GetBackupDestinationTypeEnumValues() []BackupDestinationTypeEnum {
82+
values := make([]BackupDestinationTypeEnum, 0)
83+
for _, v := range mappingBackupDestinationType {
84+
values = append(values, v)
85+
}
86+
return values
87+
}
88+
89+
// BackupDestinationLifecycleStateEnum Enum with underlying type: string
90+
type BackupDestinationLifecycleStateEnum string
91+
92+
// Set of constants representing the allowable values for BackupDestinationLifecycleStateEnum
93+
const (
94+
BackupDestinationLifecycleStateActive BackupDestinationLifecycleStateEnum = "ACTIVE"
95+
BackupDestinationLifecycleStateFailed BackupDestinationLifecycleStateEnum = "FAILED"
96+
BackupDestinationLifecycleStateDeleted BackupDestinationLifecycleStateEnum = "DELETED"
97+
)
98+
99+
var mappingBackupDestinationLifecycleState = map[string]BackupDestinationLifecycleStateEnum{
100+
"ACTIVE": BackupDestinationLifecycleStateActive,
101+
"FAILED": BackupDestinationLifecycleStateFailed,
102+
"DELETED": BackupDestinationLifecycleStateDeleted,
103+
}
104+
105+
// GetBackupDestinationLifecycleStateEnumValues Enumerates the set of values for BackupDestinationLifecycleStateEnum
106+
func GetBackupDestinationLifecycleStateEnumValues() []BackupDestinationLifecycleStateEnum {
107+
values := make([]BackupDestinationLifecycleStateEnum, 0)
108+
for _, v := range mappingBackupDestinationLifecycleState {
109+
values = append(values, v)
110+
}
111+
return values
112+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Database Service API
5+
//
6+
// The API for the Database Service.
7+
//
8+
9+
package database
10+
11+
import (
12+
"github.com/oracle/oci-go-sdk/common"
13+
)
14+
15+
// BackupDestinationDetails Backup destination details
16+
type BackupDestinationDetails struct {
17+
18+
// Type of the database backup destination.
19+
Type BackupDestinationDetailsTypeEnum `mandatory:"true" json:"type"`
20+
21+
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup destination.
22+
Id *string `mandatory:"false" json:"id"`
23+
24+
// For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
25+
VpcUser *string `mandatory:"false" json:"vpcUser"`
26+
27+
// For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
28+
VpcPassword *string `mandatory:"false" json:"vpcPassword"`
29+
30+
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
31+
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
32+
// Example: `{"Department": "Finance"}`
33+
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
34+
35+
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
36+
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
37+
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
38+
}
39+
40+
func (m BackupDestinationDetails) String() string {
41+
return common.PointerString(m)
42+
}
43+
44+
// BackupDestinationDetailsTypeEnum Enum with underlying type: string
45+
type BackupDestinationDetailsTypeEnum string
46+
47+
// Set of constants representing the allowable values for BackupDestinationDetailsTypeEnum
48+
const (
49+
BackupDestinationDetailsTypeNfs BackupDestinationDetailsTypeEnum = "NFS"
50+
BackupDestinationDetailsTypeRecoveryAppliance BackupDestinationDetailsTypeEnum = "RECOVERY_APPLIANCE"
51+
BackupDestinationDetailsTypeObjectStore BackupDestinationDetailsTypeEnum = "OBJECT_STORE"
52+
BackupDestinationDetailsTypeLocal BackupDestinationDetailsTypeEnum = "LOCAL"
53+
)
54+
55+
var mappingBackupDestinationDetailsType = map[string]BackupDestinationDetailsTypeEnum{
56+
"NFS": BackupDestinationDetailsTypeNfs,
57+
"RECOVERY_APPLIANCE": BackupDestinationDetailsTypeRecoveryAppliance,
58+
"OBJECT_STORE": BackupDestinationDetailsTypeObjectStore,
59+
"LOCAL": BackupDestinationDetailsTypeLocal,
60+
}
61+
62+
// GetBackupDestinationDetailsTypeEnumValues Enumerates the set of values for BackupDestinationDetailsTypeEnum
63+
func GetBackupDestinationDetailsTypeEnumValues() []BackupDestinationDetailsTypeEnum {
64+
values := make([]BackupDestinationDetailsTypeEnum, 0)
65+
for _, v := range mappingBackupDestinationDetailsType {
66+
values = append(values, v)
67+
}
68+
return values
69+
}

0 commit comments

Comments
 (0)