Skip to content

Commit

Permalink
Releasing version 2 6 0 (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
eginez authored Oct 4, 2018
1 parent f97cb21 commit 37ec848
Show file tree
Hide file tree
Showing 125 changed files with 4,446 additions and 343 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.

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

## 2.6.0 - 2018-10-04
### Added
- Support for trusted partner images through application listings and subscriptions in the Compute service
- Support for object lifecycle policies in the Object Storage service
- Support for copying objects across regions in the Object Storage service
- Support for network address translation (NAT) gateways in the Networking service

## 2.5.0 - 2018-09-27
### Added
- Support for paravirtualized launch mode when importing images in the Compute service
Expand Down
2 changes: 1 addition & 1 deletion common/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions core/app_catalog_listing.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.

// Core Services API
//
// APIs for Networking Service, Compute Service, and Block Volume Service.
//

package core

import (
"github.com/oracle/oci-go-sdk/common"
)

// AppCatalogListing Listing details.
type AppCatalogListing struct {

// Listing's contact URL.
ContactUrl *string `mandatory:"false" json:"contactUrl"`

// Description of the listing.
Description *string `mandatory:"false" json:"description"`

// The OCID of the listing.
ListingId *string `mandatory:"false" json:"listingId"`

// Name of the listing.
DisplayName *string `mandatory:"false" json:"displayName"`

// Date and time the listing was published, in RFC3339 format.
// Example: `2018-03-20T12:32:53.532Z`
TimePublished *common.SDKTime `mandatory:"false" json:"timePublished"`

// Publisher's logo URL.
PublisherLogoUrl *string `mandatory:"false" json:"publisherLogoUrl"`

// Name of the publisher who published this listing.
PublisherName *string `mandatory:"false" json:"publisherName"`

// Summary of the listing.
Summary *string `mandatory:"false" json:"summary"`
}

func (m AppCatalogListing) String() string {
return common.PointerString(m)
}
84 changes: 84 additions & 0 deletions core/app_catalog_listing_resource_version.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.

// Core Services API
//
// APIs for Networking Service, Compute Service, and Block Volume Service.
//

package core

import (
"github.com/oracle/oci-go-sdk/common"
)

// AppCatalogListingResourceVersion Listing Resource Version
type AppCatalogListingResourceVersion struct {

// The OCID of the listing this resource version belongs to.
ListingId *string `mandatory:"false" json:"listingId"`

// Date and time the listing resource version was published, in RFC3339 format.
// Example: `2018-03-20T12:32:53.532Z`
TimePublished *common.SDKTime `mandatory:"false" json:"timePublished"`

// OCID of the listing resource.
ListingResourceId *string `mandatory:"false" json:"listingResourceId"`

// Resource Version.
ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`

// List of regions that this listing resource version is available.
// For information about Regions, see
// Regions (https://docs.us-phoenix-1.oraclecloud.comGeneral/Concepts/regions.htm).
// Example: `["us-ashburn-1", "us-phoenix-1"]`
AvailableRegions []string `mandatory:"false" json:"availableRegions"`

// Array of shapes compatible with this resource.
// You may enumerate all available shapes by calling listShapes.
// Example: `["VM.Standard1.1", "VM.Standard1.2"]`
CompatibleShapes []string `mandatory:"false" json:"compatibleShapes"`

// List of accessible ports for instances launched with this listing resource version.
AccessiblePorts []int `mandatory:"false" json:"accessiblePorts"`

// Allowed actions for the listing resource.
AllowedActions []AppCatalogListingResourceVersionAllowedActionsEnum `mandatory:"false" json:"allowedActions,omitempty"`
}

func (m AppCatalogListingResourceVersion) String() string {
return common.PointerString(m)
}

// AppCatalogListingResourceVersionAllowedActionsEnum Enum with underlying type: string
type AppCatalogListingResourceVersionAllowedActionsEnum string

// Set of constants representing the allowable values for AppCatalogListingResourceVersionAllowedActions
const (
AppCatalogListingResourceVersionAllowedActionsSnapshot AppCatalogListingResourceVersionAllowedActionsEnum = "SNAPSHOT"
AppCatalogListingResourceVersionAllowedActionsBootVolumeDetach AppCatalogListingResourceVersionAllowedActionsEnum = "BOOT_VOLUME_DETACH"
AppCatalogListingResourceVersionAllowedActionsPreserveBootVolume AppCatalogListingResourceVersionAllowedActionsEnum = "PRESERVE_BOOT_VOLUME"
AppCatalogListingResourceVersionAllowedActionsSerialConsoleAccess AppCatalogListingResourceVersionAllowedActionsEnum = "SERIAL_CONSOLE_ACCESS"
AppCatalogListingResourceVersionAllowedActionsBootRecovery AppCatalogListingResourceVersionAllowedActionsEnum = "BOOT_RECOVERY"
AppCatalogListingResourceVersionAllowedActionsBackupBootVolume AppCatalogListingResourceVersionAllowedActionsEnum = "BACKUP_BOOT_VOLUME"
AppCatalogListingResourceVersionAllowedActionsCaptureConsoleHistory AppCatalogListingResourceVersionAllowedActionsEnum = "CAPTURE_CONSOLE_HISTORY"
)

var mappingAppCatalogListingResourceVersionAllowedActions = map[string]AppCatalogListingResourceVersionAllowedActionsEnum{
"SNAPSHOT": AppCatalogListingResourceVersionAllowedActionsSnapshot,
"BOOT_VOLUME_DETACH": AppCatalogListingResourceVersionAllowedActionsBootVolumeDetach,
"PRESERVE_BOOT_VOLUME": AppCatalogListingResourceVersionAllowedActionsPreserveBootVolume,
"SERIAL_CONSOLE_ACCESS": AppCatalogListingResourceVersionAllowedActionsSerialConsoleAccess,
"BOOT_RECOVERY": AppCatalogListingResourceVersionAllowedActionsBootRecovery,
"BACKUP_BOOT_VOLUME": AppCatalogListingResourceVersionAllowedActionsBackupBootVolume,
"CAPTURE_CONSOLE_HISTORY": AppCatalogListingResourceVersionAllowedActionsCaptureConsoleHistory,
}

// GetAppCatalogListingResourceVersionAllowedActionsEnumValues Enumerates the set of values for AppCatalogListingResourceVersionAllowedActions
func GetAppCatalogListingResourceVersionAllowedActionsEnumValues() []AppCatalogListingResourceVersionAllowedActionsEnum {
values := make([]AppCatalogListingResourceVersionAllowedActionsEnum, 0)
for _, v := range mappingAppCatalogListingResourceVersionAllowedActions {
values = append(values, v)
}
return values
}
40 changes: 40 additions & 0 deletions core/app_catalog_listing_resource_version_agreements.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.

// Core Services API
//
// APIs for Networking Service, Compute Service, and Block Volume Service.
//

package core

import (
"github.com/oracle/oci-go-sdk/common"
)

// AppCatalogListingResourceVersionAgreements Agreements for a listing resource version.
type AppCatalogListingResourceVersionAgreements struct {

// The OCID of the listing associated with these agreements.
ListingId *string `mandatory:"false" json:"listingId"`

// Listing resource version associated with these agreements.
ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`

// Oracle TOU link
OracleTermsOfUseLink *string `mandatory:"false" json:"oracleTermsOfUseLink"`

// EULA link
EulaLink *string `mandatory:"false" json:"eulaLink"`

// Date and time the agreements were retrieved, in RFC3339 format.
// Example: `2018-03-20T12:32:53.532Z`
TimeRetrieved *common.SDKTime `mandatory:"false" json:"timeRetrieved"`

// A generated signature for this agreement retrieval operation which should be used in the create subscription call.
Signature *string `mandatory:"false" json:"signature"`
}

func (m AppCatalogListingResourceVersionAgreements) String() string {
return common.PointerString(m)
}
34 changes: 34 additions & 0 deletions core/app_catalog_listing_resource_version_summary.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.

// Core Services API
//
// APIs for Networking Service, Compute Service, and Block Volume Service.
//

package core

import (
"github.com/oracle/oci-go-sdk/common"
)

// AppCatalogListingResourceVersionSummary Listing Resource Version summary
type AppCatalogListingResourceVersionSummary struct {

// The OCID of the listing this resource version belongs to.
ListingId *string `mandatory:"false" json:"listingId"`

// Date and time the listing resource version was published, in RFC3339 format.
// Example: `2018-03-20T12:32:53.532Z`
TimePublished *common.SDKTime `mandatory:"false" json:"timePublished"`

// OCID of the listing resource.
ListingResourceId *string `mandatory:"false" json:"listingResourceId"`

// Resource Version.
ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`
}

func (m AppCatalogListingResourceVersionSummary) String() string {
return common.PointerString(m)
}
33 changes: 33 additions & 0 deletions core/app_catalog_listing_summary.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.

// Core Services API
//
// APIs for Networking Service, Compute Service, and Block Volume Service.
//

package core

import (
"github.com/oracle/oci-go-sdk/common"
)

// AppCatalogListingSummary A summary of a listing.
type AppCatalogListingSummary struct {

// the region free ocid of the listing resource.
ListingId *string `mandatory:"false" json:"listingId"`

// The display name of the listing.
DisplayName *string `mandatory:"false" json:"displayName"`

// The short summary for the listing.
Summary *string `mandatory:"false" json:"summary"`

// The name of the publisher who published this listing.
PublisherName *string `mandatory:"false" json:"publisherName"`
}

func (m AppCatalogListingSummary) String() string {
return common.PointerString(m)
}
46 changes: 46 additions & 0 deletions core/app_catalog_subscription.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.

// Core Services API
//
// APIs for Networking Service, Compute Service, and Block Volume Service.
//

package core

import (
"github.com/oracle/oci-go-sdk/common"
)

// AppCatalogSubscription a subscription for a listing resource version.
type AppCatalogSubscription struct {

// Name of the publisher who published this listing.
PublisherName *string `mandatory:"false" json:"publisherName"`

// The ocid of the listing resource.
ListingId *string `mandatory:"false" json:"listingId"`

// Listing resource version.
ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`

// Listing resource id.
ListingResourceId *string `mandatory:"false" json:"listingResourceId"`

// The display name of the listing.
DisplayName *string `mandatory:"false" json:"displayName"`

// The short summary to the listing.
Summary *string `mandatory:"false" json:"summary"`

// The compartmentID of the subscription.
CompartmentId *string `mandatory:"false" json:"compartmentId"`

// Date and time at which the subscription was created, in RFC3339 format.
// Example: `2018-03-20T12:32:53.532Z`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

func (m AppCatalogSubscription) String() string {
return common.PointerString(m)
}
46 changes: 46 additions & 0 deletions core/app_catalog_subscription_summary.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.

// Core Services API
//
// APIs for Networking Service, Compute Service, and Block Volume Service.
//

package core

import (
"github.com/oracle/oci-go-sdk/common"
)

// AppCatalogSubscriptionSummary a subscription summary for a listing resource version.
type AppCatalogSubscriptionSummary struct {

// Name of the publisher who published this listing.
PublisherName *string `mandatory:"false" json:"publisherName"`

// The ocid of the listing resource.
ListingId *string `mandatory:"false" json:"listingId"`

// Listing resource version.
ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`

// Listing resource id.
ListingResourceId *string `mandatory:"false" json:"listingResourceId"`

// The display name of the listing.
DisplayName *string `mandatory:"false" json:"displayName"`

// The short summary to the listing.
Summary *string `mandatory:"false" json:"summary"`

// The compartmentID of the subscription.
CompartmentId *string `mandatory:"false" json:"compartmentId"`

// Date and time at which the subscription was created, in RFC3339 format.
// Example: `2018-03-20T12:32:53.532Z`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

func (m AppCatalogSubscriptionSummary) String() string {
return common.PointerString(m)
}
Loading

0 comments on commit 37ec848

Please sign in to comment.