-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
125 changed files
with
4,446 additions
and
343 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
} |
Oops, something went wrong.