Skip to content

Commit 37ec848

Browse files
authored
Releasing version 2 6 0 (#131)
1 parent f97cb21 commit 37ec848

File tree

125 files changed

+4446
-343
lines changed

Some content is hidden

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

125 files changed

+4446
-343
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ 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.6.0 - 2018-10-04
8+
### Added
9+
- Support for trusted partner images through application listings and subscriptions in the Compute service
10+
- Support for object lifecycle policies in the Object Storage service
11+
- Support for copying objects across regions in the Object Storage service
12+
- Support for network address translation (NAT) gateways in the Networking service
13+
714
## 2.5.0 - 2018-09-27
815
### Added
916
- Support for paravirtualized launch mode when importing images in the Compute service

common/version.go

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

core/app_catalog_listing.go

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Core Services API
5+
//
6+
// APIs for Networking Service, Compute Service, and Block Volume Service.
7+
//
8+
9+
package core
10+
11+
import (
12+
"github.com/oracle/oci-go-sdk/common"
13+
)
14+
15+
// AppCatalogListing Listing details.
16+
type AppCatalogListing struct {
17+
18+
// Listing's contact URL.
19+
ContactUrl *string `mandatory:"false" json:"contactUrl"`
20+
21+
// Description of the listing.
22+
Description *string `mandatory:"false" json:"description"`
23+
24+
// The OCID of the listing.
25+
ListingId *string `mandatory:"false" json:"listingId"`
26+
27+
// Name of the listing.
28+
DisplayName *string `mandatory:"false" json:"displayName"`
29+
30+
// Date and time the listing was published, in RFC3339 format.
31+
// Example: `2018-03-20T12:32:53.532Z`
32+
TimePublished *common.SDKTime `mandatory:"false" json:"timePublished"`
33+
34+
// Publisher's logo URL.
35+
PublisherLogoUrl *string `mandatory:"false" json:"publisherLogoUrl"`
36+
37+
// Name of the publisher who published this listing.
38+
PublisherName *string `mandatory:"false" json:"publisherName"`
39+
40+
// Summary of the listing.
41+
Summary *string `mandatory:"false" json:"summary"`
42+
}
43+
44+
func (m AppCatalogListing) String() string {
45+
return common.PointerString(m)
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Core Services API
5+
//
6+
// APIs for Networking Service, Compute Service, and Block Volume Service.
7+
//
8+
9+
package core
10+
11+
import (
12+
"github.com/oracle/oci-go-sdk/common"
13+
)
14+
15+
// AppCatalogListingResourceVersion Listing Resource Version
16+
type AppCatalogListingResourceVersion struct {
17+
18+
// The OCID of the listing this resource version belongs to.
19+
ListingId *string `mandatory:"false" json:"listingId"`
20+
21+
// Date and time the listing resource version was published, in RFC3339 format.
22+
// Example: `2018-03-20T12:32:53.532Z`
23+
TimePublished *common.SDKTime `mandatory:"false" json:"timePublished"`
24+
25+
// OCID of the listing resource.
26+
ListingResourceId *string `mandatory:"false" json:"listingResourceId"`
27+
28+
// Resource Version.
29+
ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`
30+
31+
// List of regions that this listing resource version is available.
32+
// For information about Regions, see
33+
// Regions (https://docs.us-phoenix-1.oraclecloud.comGeneral/Concepts/regions.htm).
34+
// Example: `["us-ashburn-1", "us-phoenix-1"]`
35+
AvailableRegions []string `mandatory:"false" json:"availableRegions"`
36+
37+
// Array of shapes compatible with this resource.
38+
// You may enumerate all available shapes by calling listShapes.
39+
// Example: `["VM.Standard1.1", "VM.Standard1.2"]`
40+
CompatibleShapes []string `mandatory:"false" json:"compatibleShapes"`
41+
42+
// List of accessible ports for instances launched with this listing resource version.
43+
AccessiblePorts []int `mandatory:"false" json:"accessiblePorts"`
44+
45+
// Allowed actions for the listing resource.
46+
AllowedActions []AppCatalogListingResourceVersionAllowedActionsEnum `mandatory:"false" json:"allowedActions,omitempty"`
47+
}
48+
49+
func (m AppCatalogListingResourceVersion) String() string {
50+
return common.PointerString(m)
51+
}
52+
53+
// AppCatalogListingResourceVersionAllowedActionsEnum Enum with underlying type: string
54+
type AppCatalogListingResourceVersionAllowedActionsEnum string
55+
56+
// Set of constants representing the allowable values for AppCatalogListingResourceVersionAllowedActions
57+
const (
58+
AppCatalogListingResourceVersionAllowedActionsSnapshot AppCatalogListingResourceVersionAllowedActionsEnum = "SNAPSHOT"
59+
AppCatalogListingResourceVersionAllowedActionsBootVolumeDetach AppCatalogListingResourceVersionAllowedActionsEnum = "BOOT_VOLUME_DETACH"
60+
AppCatalogListingResourceVersionAllowedActionsPreserveBootVolume AppCatalogListingResourceVersionAllowedActionsEnum = "PRESERVE_BOOT_VOLUME"
61+
AppCatalogListingResourceVersionAllowedActionsSerialConsoleAccess AppCatalogListingResourceVersionAllowedActionsEnum = "SERIAL_CONSOLE_ACCESS"
62+
AppCatalogListingResourceVersionAllowedActionsBootRecovery AppCatalogListingResourceVersionAllowedActionsEnum = "BOOT_RECOVERY"
63+
AppCatalogListingResourceVersionAllowedActionsBackupBootVolume AppCatalogListingResourceVersionAllowedActionsEnum = "BACKUP_BOOT_VOLUME"
64+
AppCatalogListingResourceVersionAllowedActionsCaptureConsoleHistory AppCatalogListingResourceVersionAllowedActionsEnum = "CAPTURE_CONSOLE_HISTORY"
65+
)
66+
67+
var mappingAppCatalogListingResourceVersionAllowedActions = map[string]AppCatalogListingResourceVersionAllowedActionsEnum{
68+
"SNAPSHOT": AppCatalogListingResourceVersionAllowedActionsSnapshot,
69+
"BOOT_VOLUME_DETACH": AppCatalogListingResourceVersionAllowedActionsBootVolumeDetach,
70+
"PRESERVE_BOOT_VOLUME": AppCatalogListingResourceVersionAllowedActionsPreserveBootVolume,
71+
"SERIAL_CONSOLE_ACCESS": AppCatalogListingResourceVersionAllowedActionsSerialConsoleAccess,
72+
"BOOT_RECOVERY": AppCatalogListingResourceVersionAllowedActionsBootRecovery,
73+
"BACKUP_BOOT_VOLUME": AppCatalogListingResourceVersionAllowedActionsBackupBootVolume,
74+
"CAPTURE_CONSOLE_HISTORY": AppCatalogListingResourceVersionAllowedActionsCaptureConsoleHistory,
75+
}
76+
77+
// GetAppCatalogListingResourceVersionAllowedActionsEnumValues Enumerates the set of values for AppCatalogListingResourceVersionAllowedActions
78+
func GetAppCatalogListingResourceVersionAllowedActionsEnumValues() []AppCatalogListingResourceVersionAllowedActionsEnum {
79+
values := make([]AppCatalogListingResourceVersionAllowedActionsEnum, 0)
80+
for _, v := range mappingAppCatalogListingResourceVersionAllowedActions {
81+
values = append(values, v)
82+
}
83+
return values
84+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Core Services API
5+
//
6+
// APIs for Networking Service, Compute Service, and Block Volume Service.
7+
//
8+
9+
package core
10+
11+
import (
12+
"github.com/oracle/oci-go-sdk/common"
13+
)
14+
15+
// AppCatalogListingResourceVersionAgreements Agreements for a listing resource version.
16+
type AppCatalogListingResourceVersionAgreements struct {
17+
18+
// The OCID of the listing associated with these agreements.
19+
ListingId *string `mandatory:"false" json:"listingId"`
20+
21+
// Listing resource version associated with these agreements.
22+
ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`
23+
24+
// Oracle TOU link
25+
OracleTermsOfUseLink *string `mandatory:"false" json:"oracleTermsOfUseLink"`
26+
27+
// EULA link
28+
EulaLink *string `mandatory:"false" json:"eulaLink"`
29+
30+
// Date and time the agreements were retrieved, in RFC3339 format.
31+
// Example: `2018-03-20T12:32:53.532Z`
32+
TimeRetrieved *common.SDKTime `mandatory:"false" json:"timeRetrieved"`
33+
34+
// A generated signature for this agreement retrieval operation which should be used in the create subscription call.
35+
Signature *string `mandatory:"false" json:"signature"`
36+
}
37+
38+
func (m AppCatalogListingResourceVersionAgreements) String() string {
39+
return common.PointerString(m)
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Core Services API
5+
//
6+
// APIs for Networking Service, Compute Service, and Block Volume Service.
7+
//
8+
9+
package core
10+
11+
import (
12+
"github.com/oracle/oci-go-sdk/common"
13+
)
14+
15+
// AppCatalogListingResourceVersionSummary Listing Resource Version summary
16+
type AppCatalogListingResourceVersionSummary struct {
17+
18+
// The OCID of the listing this resource version belongs to.
19+
ListingId *string `mandatory:"false" json:"listingId"`
20+
21+
// Date and time the listing resource version was published, in RFC3339 format.
22+
// Example: `2018-03-20T12:32:53.532Z`
23+
TimePublished *common.SDKTime `mandatory:"false" json:"timePublished"`
24+
25+
// OCID of the listing resource.
26+
ListingResourceId *string `mandatory:"false" json:"listingResourceId"`
27+
28+
// Resource Version.
29+
ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`
30+
}
31+
32+
func (m AppCatalogListingResourceVersionSummary) String() string {
33+
return common.PointerString(m)
34+
}

core/app_catalog_listing_summary.go

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Core Services API
5+
//
6+
// APIs for Networking Service, Compute Service, and Block Volume Service.
7+
//
8+
9+
package core
10+
11+
import (
12+
"github.com/oracle/oci-go-sdk/common"
13+
)
14+
15+
// AppCatalogListingSummary A summary of a listing.
16+
type AppCatalogListingSummary struct {
17+
18+
// the region free ocid of the listing resource.
19+
ListingId *string `mandatory:"false" json:"listingId"`
20+
21+
// The display name of the listing.
22+
DisplayName *string `mandatory:"false" json:"displayName"`
23+
24+
// The short summary for the listing.
25+
Summary *string `mandatory:"false" json:"summary"`
26+
27+
// The name of the publisher who published this listing.
28+
PublisherName *string `mandatory:"false" json:"publisherName"`
29+
}
30+
31+
func (m AppCatalogListingSummary) String() string {
32+
return common.PointerString(m)
33+
}

core/app_catalog_subscription.go

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Core Services API
5+
//
6+
// APIs for Networking Service, Compute Service, and Block Volume Service.
7+
//
8+
9+
package core
10+
11+
import (
12+
"github.com/oracle/oci-go-sdk/common"
13+
)
14+
15+
// AppCatalogSubscription a subscription for a listing resource version.
16+
type AppCatalogSubscription struct {
17+
18+
// Name of the publisher who published this listing.
19+
PublisherName *string `mandatory:"false" json:"publisherName"`
20+
21+
// The ocid of the listing resource.
22+
ListingId *string `mandatory:"false" json:"listingId"`
23+
24+
// Listing resource version.
25+
ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`
26+
27+
// Listing resource id.
28+
ListingResourceId *string `mandatory:"false" json:"listingResourceId"`
29+
30+
// The display name of the listing.
31+
DisplayName *string `mandatory:"false" json:"displayName"`
32+
33+
// The short summary to the listing.
34+
Summary *string `mandatory:"false" json:"summary"`
35+
36+
// The compartmentID of the subscription.
37+
CompartmentId *string `mandatory:"false" json:"compartmentId"`
38+
39+
// Date and time at which the subscription was created, in RFC3339 format.
40+
// Example: `2018-03-20T12:32:53.532Z`
41+
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
42+
}
43+
44+
func (m AppCatalogSubscription) String() string {
45+
return common.PointerString(m)
46+
}
+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Core Services API
5+
//
6+
// APIs for Networking Service, Compute Service, and Block Volume Service.
7+
//
8+
9+
package core
10+
11+
import (
12+
"github.com/oracle/oci-go-sdk/common"
13+
)
14+
15+
// AppCatalogSubscriptionSummary a subscription summary for a listing resource version.
16+
type AppCatalogSubscriptionSummary struct {
17+
18+
// Name of the publisher who published this listing.
19+
PublisherName *string `mandatory:"false" json:"publisherName"`
20+
21+
// The ocid of the listing resource.
22+
ListingId *string `mandatory:"false" json:"listingId"`
23+
24+
// Listing resource version.
25+
ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`
26+
27+
// Listing resource id.
28+
ListingResourceId *string `mandatory:"false" json:"listingResourceId"`
29+
30+
// The display name of the listing.
31+
DisplayName *string `mandatory:"false" json:"displayName"`
32+
33+
// The short summary to the listing.
34+
Summary *string `mandatory:"false" json:"summary"`
35+
36+
// The compartmentID of the subscription.
37+
CompartmentId *string `mandatory:"false" json:"compartmentId"`
38+
39+
// Date and time at which the subscription was created, in RFC3339 format.
40+
// Example: `2018-03-20T12:32:53.532Z`
41+
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
42+
}
43+
44+
func (m AppCatalogSubscriptionSummary) String() string {
45+
return common.PointerString(m)
46+
}

0 commit comments

Comments
 (0)