marketplace

package
v47.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2021 License: Apache-2.0, UPL-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetListingPackageTypeEnumValues = GetPackageTypeEnumEnumValues

GetListingPackageTypeEnumValues Enumerates the set of values for PackageTypeEnumEnum Consider using GetPackageTypeEnumEnumValue Deprecated

Functions

This section is empty.

Types

type AcceptedAgreement

type AcceptedAgreement struct {

	// The unique identifier for the acceptance of the agreement within a specific compartment.
	Id *string `mandatory:"false" json:"id"`

	// A display name for the accepted agreement.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The unique identifier for the compartment where the agreement was accepted.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The unique identifier for the listing associated with the agreement.
	ListingId *string `mandatory:"false" json:"listingId"`

	// The package version associated with the agreement.
	PackageVersion *string `mandatory:"false" json:"packageVersion"`

	// The unique identifier for the terms of use agreement itself.
	AgreementId *string `mandatory:"false" json:"agreementId"`

	// The time the agreement was accepted.
	TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"`

	// The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

AcceptedAgreement The model for an accepted terms of use agreement.

func (AcceptedAgreement) String

func (m AcceptedAgreement) String() string

type AcceptedAgreementSummary

type AcceptedAgreementSummary struct {

	// The unique identifier for the acceptance of the agreement within a specific compartment.
	Id *string `mandatory:"false" json:"id"`

	// A display name for the accepted agreement.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The unique identifier for the compartment where the agreement was accepted.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The unique identifier for the listing associated with the agreement.
	ListingId *string `mandatory:"false" json:"listingId"`

	// The package version associated with the agreement.
	PackageVersion *string `mandatory:"false" json:"packageVersion"`

	// The unique identifier for the terms of use agreement itself.
	AgreementId *string `mandatory:"false" json:"agreementId"`

	// The time the agreement was accepted.
	TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"`
}

AcceptedAgreementSummary The model for a summary of an accepted agreement.

func (AcceptedAgreementSummary) String

func (m AcceptedAgreementSummary) String() string

type AccountClient

type AccountClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

AccountClient a client for Account

func NewAccountClientWithConfigurationProvider

func NewAccountClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AccountClient, err error)

NewAccountClientWithConfigurationProvider Creates a new default Account client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewAccountClientWithOboToken

func NewAccountClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AccountClient, err error)

NewAccountClientWithOboToken Creates a new default Account client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (*AccountClient) ConfigurationProvider

func (client *AccountClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (AccountClient) GetLaunchEligibility

func (client AccountClient) GetLaunchEligibility(ctx context.Context, request GetLaunchEligibilityRequest) (response GetLaunchEligibilityResponse, err error)

GetLaunchEligibility Returns Tenant eligibility and other information for launching a PIC image

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetLaunchEligibility.go.html to see an example of how to use GetLaunchEligibility API.

func (AccountClient) GetThirdPartyPaidListingEligibility

func (client AccountClient) GetThirdPartyPaidListingEligibility(ctx context.Context, request GetThirdPartyPaidListingEligibilityRequest) (response GetThirdPartyPaidListingEligibilityResponse, err error)

GetThirdPartyPaidListingEligibility Returns eligibility details of the tenancy to see and launch third party paid listings

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetThirdPartyPaidListingEligibility.go.html to see an example of how to use GetThirdPartyPaidListingEligibility API.

func (*AccountClient) SetRegion

func (client *AccountClient) SetRegion(region string)

SetRegion overrides the region of this client.

type Agreement

type Agreement struct {

	// The unique identifier for the agreement.
	Id *string `mandatory:"true" json:"id"`

	// The content URL of the agreement.
	ContentUrl *string `mandatory:"true" json:"contentUrl"`

	// A time-based signature that can be used to accept an agreement or remove a
	// previously accepted agreement from the list that Marketplace checks before a deployment.
	Signature *string `mandatory:"true" json:"signature"`

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Who authored the agreement.
	Author AgreementAuthorEnum `mandatory:"false" json:"author,omitempty"`

	// Textual prompt to read and accept the agreement.
	Prompt *string `mandatory:"false" json:"prompt"`
}

Agreement The model for an end user license agreement.

func (Agreement) String

func (m Agreement) String() string

type AgreementAuthorEnum

type AgreementAuthorEnum string

AgreementAuthorEnum Enum with underlying type: string

const (
	AgreementAuthorOracle  AgreementAuthorEnum = "ORACLE"
	AgreementAuthorPartner AgreementAuthorEnum = "PARTNER"
)

Set of constants representing the allowable values for AgreementAuthorEnum

func GetAgreementAuthorEnumValues

func GetAgreementAuthorEnumValues() []AgreementAuthorEnum

GetAgreementAuthorEnumValues Enumerates the set of values for AgreementAuthorEnum

type AgreementSummary

type AgreementSummary struct {

	// The unique identifier for the agreement.
	Id *string `mandatory:"false" json:"id"`

	// The content URL of the agreement.
	ContentUrl *string `mandatory:"false" json:"contentUrl"`

	// Who authored the agreement.
	Author AgreementSummaryAuthorEnum `mandatory:"false" json:"author,omitempty"`

	// Textual prompt to read and accept the agreement.
	Prompt *string `mandatory:"false" json:"prompt"`
}

AgreementSummary The model for a summary of an end user license agreement.

func (AgreementSummary) String

func (m AgreementSummary) String() string

type AgreementSummaryAuthorEnum

type AgreementSummaryAuthorEnum string

AgreementSummaryAuthorEnum Enum with underlying type: string

const (
	AgreementSummaryAuthorOracle  AgreementSummaryAuthorEnum = "ORACLE"
	AgreementSummaryAuthorPartner AgreementSummaryAuthorEnum = "PARTNER"
	AgreementSummaryAuthorPii     AgreementSummaryAuthorEnum = "PII"
)

Set of constants representing the allowable values for AgreementSummaryAuthorEnum

func GetAgreementSummaryAuthorEnumValues

func GetAgreementSummaryAuthorEnumValues() []AgreementSummaryAuthorEnum

GetAgreementSummaryAuthorEnumValues Enumerates the set of values for AgreementSummaryAuthorEnum

type CategorySummary

type CategorySummary struct {

	// Name of the product category.
	Name *string `mandatory:"false" json:"name"`
}

CategorySummary The model for a summary of product categories for listings.

func (CategorySummary) String

func (m CategorySummary) String() string

type ChangePublicationCompartmentDetails

type ChangePublicationCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where you want to move the publication.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

ChangePublicationCompartmentDetails The model for the parameters needed move a publication from one compartment to another.

func (ChangePublicationCompartmentDetails) String

type ChangePublicationCompartmentRequest

type ChangePublicationCompartmentRequest struct {

	// The unique identifier for the publication.
	PublicationId *string `mandatory:"true" contributesTo:"path" name:"publicationId"`

	// The details of the request to change the compartment of a given publication.
	ChangePublicationCompartmentDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or server error without
	// risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before
	// then due to conflicting operations (for example, if a resource has been deleted and purged from the system,
	// then a retry of the original creation request might be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to
	// the value of the etag from a previous GET or POST response for that resource.  The resource will be updated or
	// deleted only if the etag you provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangePublicationCompartmentRequest wrapper for the ChangePublicationCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ChangePublicationCompartment.go.html to see an example of how to use ChangePublicationCompartmentRequest.

func (ChangePublicationCompartmentRequest) BinaryRequestBody

func (request ChangePublicationCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangePublicationCompartmentRequest) HTTPRequest

func (request ChangePublicationCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangePublicationCompartmentRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangePublicationCompartmentRequest) String

type ChangePublicationCompartmentResponse

type ChangePublicationCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangePublicationCompartmentResponse wrapper for the ChangePublicationCompartment operation

func (ChangePublicationCompartmentResponse) HTTPResponse

func (response ChangePublicationCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangePublicationCompartmentResponse) String

func (response ChangePublicationCompartmentResponse) String() string

type CreateAcceptedAgreementDetails

type CreateAcceptedAgreementDetails struct {

	// The unique identifier for the compartment where the agreement will be accepted.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The unique identifier for the listing associated with the agreement.
	ListingId *string `mandatory:"true" json:"listingId"`

	// The package version associated with the agreement.
	PackageVersion *string `mandatory:"true" json:"packageVersion"`

	// The agreement to accept.
	AgreementId *string `mandatory:"true" json:"agreementId"`

	// A signature generated for the listing package agreements that you can retrieve
	// with GetAgreement (https://docs.cloud.oracle.com/api/#/en/marketplace/20181001/Agreement/GetAgreement).
	Signature *string `mandatory:"true" json:"signature"`

	// A display name for the accepted agreement.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateAcceptedAgreementDetails The model for the parameters needed to accept a terms of use agreement.

func (CreateAcceptedAgreementDetails) String

type CreateAcceptedAgreementRequest

type CreateAcceptedAgreementRequest struct {

	// Details necessary to accept an agreement.
	CreateAcceptedAgreementDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or server error without
	// risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before
	// then due to conflicting operations (for example, if a resource has been deleted and purged from the system,
	// then a retry of the original creation request might be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateAcceptedAgreementRequest wrapper for the CreateAcceptedAgreement operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/CreateAcceptedAgreement.go.html to see an example of how to use CreateAcceptedAgreementRequest.

func (CreateAcceptedAgreementRequest) BinaryRequestBody

func (request CreateAcceptedAgreementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateAcceptedAgreementRequest) HTTPRequest

func (request CreateAcceptedAgreementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateAcceptedAgreementRequest) RetryPolicy

func (request CreateAcceptedAgreementRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateAcceptedAgreementRequest) String

func (request CreateAcceptedAgreementRequest) String() string

type CreateAcceptedAgreementResponse

type CreateAcceptedAgreementResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AcceptedAgreement instance
	AcceptedAgreement `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

CreateAcceptedAgreementResponse wrapper for the CreateAcceptedAgreement operation

func (CreateAcceptedAgreementResponse) HTTPResponse

func (response CreateAcceptedAgreementResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateAcceptedAgreementResponse) String

func (response CreateAcceptedAgreementResponse) String() string

type CreateImagePublicationPackage

type CreateImagePublicationPackage struct {

	// The package version.
	PackageVersion *string `mandatory:"true" json:"packageVersion"`

	OperatingSystem *OperatingSystem `mandatory:"true" json:"operatingSystem"`

	// The end user license agreeement (EULA) that consumers of this listing must accept.
	Eula []Eula `mandatory:"true" json:"eula"`

	// The unique identifier for the base image of the publication.
	ImageId *string `mandatory:"false" json:"imageId"`
}

CreateImagePublicationPackage An object for creating an image publication package.

func (CreateImagePublicationPackage) GetEula

func (m CreateImagePublicationPackage) GetEula() []Eula

GetEula returns Eula

func (CreateImagePublicationPackage) GetOperatingSystem

func (m CreateImagePublicationPackage) GetOperatingSystem() *OperatingSystem

GetOperatingSystem returns OperatingSystem

func (CreateImagePublicationPackage) GetPackageVersion

func (m CreateImagePublicationPackage) GetPackageVersion() *string

GetPackageVersion returns PackageVersion

func (CreateImagePublicationPackage) MarshalJSON

func (m CreateImagePublicationPackage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateImagePublicationPackage) String

func (*CreateImagePublicationPackage) UnmarshalJSON

func (m *CreateImagePublicationPackage) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type CreatePublicationDetails

type CreatePublicationDetails struct {

	// The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.
	ListingType ListingTypeEnum `mandatory:"true" json:"listingType"`

	// The name of the publication, which is also used in the listing.
	Name *string `mandatory:"true" json:"name"`

	// A short description of the publication to use in the listing.
	ShortDescription *string `mandatory:"true" json:"shortDescription"`

	// Contact information for getting support from the publisher for the listing.
	SupportContacts []SupportContact `mandatory:"true" json:"supportContacts"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the publication.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	PackageDetails CreatePublicationPackage `mandatory:"true" json:"packageDetails"`

	// Whether the publisher acknowledged that they have the right and authority to share the contents of the publication and that they accepted the Oracle terms of use agreements required to create a publication.
	IsAgreementAcknowledged *bool `mandatory:"true" json:"isAgreementAcknowledged"`

	// A long description of the publication to use in the listing.
	LongDescription *string `mandatory:"false" json:"longDescription"`

	// The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreatePublicationDetails The model for the parameters needed to create a publication.

func (CreatePublicationDetails) String

func (m CreatePublicationDetails) String() string

func (*CreatePublicationDetails) UnmarshalJSON

func (m *CreatePublicationDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type CreatePublicationPackage

type CreatePublicationPackage interface {

	// The package version.
	GetPackageVersion() *string

	GetOperatingSystem() *OperatingSystem

	// The end user license agreeement (EULA) that consumers of this listing must accept.
	GetEula() []Eula
}

CreatePublicationPackage A base object for creating a publication package.

type CreatePublicationRequest

type CreatePublicationRequest struct {

	// The details for creating the publication.
	CreatePublicationDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or server error without
	// risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before
	// then due to conflicting operations (for example, if a resource has been deleted and purged from the system,
	// then a retry of the original creation request might be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreatePublicationRequest wrapper for the CreatePublication operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/CreatePublication.go.html to see an example of how to use CreatePublicationRequest.

func (CreatePublicationRequest) BinaryRequestBody

func (request CreatePublicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreatePublicationRequest) HTTPRequest

func (request CreatePublicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreatePublicationRequest) RetryPolicy

func (request CreatePublicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreatePublicationRequest) String

func (request CreatePublicationRequest) String() string

type CreatePublicationResponse

type CreatePublicationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Publication instance
	Publication `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

CreatePublicationResponse wrapper for the CreatePublication operation

func (CreatePublicationResponse) HTTPResponse

func (response CreatePublicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreatePublicationResponse) String

func (response CreatePublicationResponse) String() string

type DeleteAcceptedAgreementRequest

type DeleteAcceptedAgreementRequest struct {

	// The unique identifier for the accepted terms of use agreement.
	AcceptedAgreementId *string `mandatory:"true" contributesTo:"path" name:"acceptedAgreementId"`

	// Previously, the signature generated for the listing package terms of use agreement, but now deprecated and ignored.
	Signature *string `mandatory:"false" contributesTo:"query" name:"signature"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to
	// the value of the etag from a previous GET or POST response for that resource.  The resource will be updated or
	// deleted only if the etag you provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteAcceptedAgreementRequest wrapper for the DeleteAcceptedAgreement operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/DeleteAcceptedAgreement.go.html to see an example of how to use DeleteAcceptedAgreementRequest.

func (DeleteAcceptedAgreementRequest) BinaryRequestBody

func (request DeleteAcceptedAgreementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteAcceptedAgreementRequest) HTTPRequest

func (request DeleteAcceptedAgreementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteAcceptedAgreementRequest) RetryPolicy

func (request DeleteAcceptedAgreementRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteAcceptedAgreementRequest) String

func (request DeleteAcceptedAgreementRequest) String() string

type DeleteAcceptedAgreementResponse

type DeleteAcceptedAgreementResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteAcceptedAgreementResponse wrapper for the DeleteAcceptedAgreement operation

func (DeleteAcceptedAgreementResponse) HTTPResponse

func (response DeleteAcceptedAgreementResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteAcceptedAgreementResponse) String

func (response DeleteAcceptedAgreementResponse) String() string

type DeletePublicationRequest

type DeletePublicationRequest struct {

	// The unique identifier for the publication.
	PublicationId *string `mandatory:"true" contributesTo:"path" name:"publicationId"`

	// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to
	// the value of the etag from a previous GET or POST response for that resource.  The resource will be updated or
	// deleted only if the etag you provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeletePublicationRequest wrapper for the DeletePublication operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/DeletePublication.go.html to see an example of how to use DeletePublicationRequest.

func (DeletePublicationRequest) BinaryRequestBody

func (request DeletePublicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeletePublicationRequest) HTTPRequest

func (request DeletePublicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeletePublicationRequest) RetryPolicy

func (request DeletePublicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeletePublicationRequest) String

func (request DeletePublicationRequest) String() string

type DeletePublicationResponse

type DeletePublicationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeletePublicationResponse wrapper for the DeletePublication operation

func (DeletePublicationResponse) HTTPResponse

func (response DeletePublicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeletePublicationResponse) String

func (response DeletePublicationResponse) String() string
type DocumentationLink struct {

	// Text that describes the resource.
	Name *string `mandatory:"false" json:"name"`

	// The URL of the resource.
	Url *string `mandatory:"false" json:"url"`

	// The category that the document belongs to.
	DocumentCategory *string `mandatory:"false" json:"documentCategory"`
}

DocumentationLink A link to a documentation resource on the internet.

func (DocumentationLink) String

func (m DocumentationLink) String() string

type ErrorEntity

type ErrorEntity struct {

	// A short error code that defines the error.
	Code *string `mandatory:"true" json:"code"`

	// A human-readable error string.
	Message *string `mandatory:"true" json:"message"`
}

ErrorEntity The model for the error entity.

func (ErrorEntity) String

func (m ErrorEntity) String() string

type Eula

type Eula interface {
}

Eula A base object for all types of end user license agreements.

type EulaTypeEnumEnum

type EulaTypeEnumEnum string

EulaTypeEnumEnum Enum with underlying type: string

const (
	EulaTypeEnumText EulaTypeEnumEnum = "TEXT"
)

Set of constants representing the allowable values for EulaTypeEnumEnum

func GetEulaTypeEnumEnumValues

func GetEulaTypeEnumEnumValues() []EulaTypeEnumEnum

GetEulaTypeEnumEnumValues Enumerates the set of values for EulaTypeEnumEnum

type FreeTextSearchDetails

type FreeTextSearchDetails struct {

	// The text to search for.
	Text *string `mandatory:"true" json:"text"`

	// The type of matching context returned in the response.
	MatchingContextType MatchingContextTypeEnumEnum `mandatory:"false" json:"matchingContextType,omitempty"`
}

FreeTextSearchDetails The model for a request that uses Search's Free text.

func (FreeTextSearchDetails) GetMatchingContextType

func (m FreeTextSearchDetails) GetMatchingContextType() MatchingContextTypeEnumEnum

GetMatchingContextType returns MatchingContextType

func (FreeTextSearchDetails) MarshalJSON

func (m FreeTextSearchDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (FreeTextSearchDetails) String

func (m FreeTextSearchDetails) String() string

type GetAcceptedAgreementRequest

type GetAcceptedAgreementRequest struct {

	// The unique identifier for the accepted terms of use agreement.
	AcceptedAgreementId *string `mandatory:"true" contributesTo:"path" name:"acceptedAgreementId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetAcceptedAgreementRequest wrapper for the GetAcceptedAgreement operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetAcceptedAgreement.go.html to see an example of how to use GetAcceptedAgreementRequest.

func (GetAcceptedAgreementRequest) BinaryRequestBody

func (request GetAcceptedAgreementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAcceptedAgreementRequest) HTTPRequest

func (request GetAcceptedAgreementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAcceptedAgreementRequest) RetryPolicy

func (request GetAcceptedAgreementRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAcceptedAgreementRequest) String

func (request GetAcceptedAgreementRequest) String() string

type GetAcceptedAgreementResponse

type GetAcceptedAgreementResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AcceptedAgreement instance
	AcceptedAgreement `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetAcceptedAgreementResponse wrapper for the GetAcceptedAgreement operation

func (GetAcceptedAgreementResponse) HTTPResponse

func (response GetAcceptedAgreementResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAcceptedAgreementResponse) String

func (response GetAcceptedAgreementResponse) String() string

type GetAgreementRequest

type GetAgreementRequest struct {

	// The unique identifier for the listing.
	ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`

	// The version of the package. Package versions are unique within a listing.
	PackageVersion *string `mandatory:"true" contributesTo:"path" name:"packageVersion"`

	// The unique identifier for the agreement.
	AgreementId *string `mandatory:"true" contributesTo:"path" name:"agreementId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetAgreementRequest wrapper for the GetAgreement operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetAgreement.go.html to see an example of how to use GetAgreementRequest.

func (GetAgreementRequest) BinaryRequestBody

func (request GetAgreementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAgreementRequest) HTTPRequest

func (request GetAgreementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAgreementRequest) RetryPolicy

func (request GetAgreementRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAgreementRequest) String

func (request GetAgreementRequest) String() string

type GetAgreementResponse

type GetAgreementResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Agreement instance
	Agreement `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetAgreementResponse wrapper for the GetAgreement operation

func (GetAgreementResponse) HTTPResponse

func (response GetAgreementResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAgreementResponse) String

func (response GetAgreementResponse) String() string

type GetLaunchEligibilityRequest

type GetLaunchEligibilityRequest struct {

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Image ID
	ImageId *string `mandatory:"true" contributesTo:"query" name:"imageId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetLaunchEligibilityRequest wrapper for the GetLaunchEligibility operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetLaunchEligibility.go.html to see an example of how to use GetLaunchEligibilityRequest.

func (GetLaunchEligibilityRequest) BinaryRequestBody

func (request GetLaunchEligibilityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetLaunchEligibilityRequest) HTTPRequest

func (request GetLaunchEligibilityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetLaunchEligibilityRequest) RetryPolicy

func (request GetLaunchEligibilityRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetLaunchEligibilityRequest) String

func (request GetLaunchEligibilityRequest) String() string

type GetLaunchEligibilityResponse

type GetLaunchEligibilityResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The LaunchEligibility instance
	LaunchEligibility `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetLaunchEligibilityResponse wrapper for the GetLaunchEligibility operation

func (GetLaunchEligibilityResponse) HTTPResponse

func (response GetLaunchEligibilityResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetLaunchEligibilityResponse) String

func (response GetLaunchEligibilityResponse) String() string

type GetListingRequest

type GetListingRequest struct {

	// The unique identifier for the listing.
	ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetListingRequest wrapper for the GetListing operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetListing.go.html to see an example of how to use GetListingRequest.

func (GetListingRequest) BinaryRequestBody

func (request GetListingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetListingRequest) HTTPRequest

func (request GetListingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetListingRequest) RetryPolicy

func (request GetListingRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetListingRequest) String

func (request GetListingRequest) String() string

type GetListingResponse

type GetListingResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Listing instance
	Listing `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetListingResponse wrapper for the GetListing operation

func (GetListingResponse) HTTPResponse

func (response GetListingResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetListingResponse) String

func (response GetListingResponse) String() string

type GetPackageRequest

type GetPackageRequest struct {

	// The unique identifier for the listing.
	ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`

	// The version of the package. Package versions are unique within a listing.
	PackageVersion *string `mandatory:"true" contributesTo:"path" name:"packageVersion"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetPackageRequest wrapper for the GetPackage operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetPackage.go.html to see an example of how to use GetPackageRequest.

func (GetPackageRequest) BinaryRequestBody

func (request GetPackageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetPackageRequest) HTTPRequest

func (request GetPackageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetPackageRequest) RetryPolicy

func (request GetPackageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetPackageRequest) String

func (request GetPackageRequest) String() string

type GetPackageResponse

type GetPackageResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ListingPackage instance
	ListingPackage `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetPackageResponse wrapper for the GetPackage operation

func (GetPackageResponse) HTTPResponse

func (response GetPackageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetPackageResponse) String

func (response GetPackageResponse) String() string

type GetPublicationPackageRequest

type GetPublicationPackageRequest struct {

	// The unique identifier for the publication.
	PublicationId *string `mandatory:"true" contributesTo:"path" name:"publicationId"`

	// The version of the package. Package versions are unique within a listing.
	PackageVersion *string `mandatory:"true" contributesTo:"path" name:"packageVersion"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetPublicationPackageRequest wrapper for the GetPublicationPackage operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetPublicationPackage.go.html to see an example of how to use GetPublicationPackageRequest.

func (GetPublicationPackageRequest) BinaryRequestBody

func (request GetPublicationPackageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetPublicationPackageRequest) HTTPRequest

func (request GetPublicationPackageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetPublicationPackageRequest) RetryPolicy

func (request GetPublicationPackageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetPublicationPackageRequest) String

func (request GetPublicationPackageRequest) String() string

type GetPublicationPackageResponse

type GetPublicationPackageResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PublicationPackage instance
	PublicationPackage `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetPublicationPackageResponse wrapper for the GetPublicationPackage operation

func (GetPublicationPackageResponse) HTTPResponse

func (response GetPublicationPackageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetPublicationPackageResponse) String

func (response GetPublicationPackageResponse) String() string

type GetPublicationRequest

type GetPublicationRequest struct {

	// The unique identifier for the publication.
	PublicationId *string `mandatory:"true" contributesTo:"path" name:"publicationId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetPublicationRequest wrapper for the GetPublication operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetPublication.go.html to see an example of how to use GetPublicationRequest.

func (GetPublicationRequest) BinaryRequestBody

func (request GetPublicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetPublicationRequest) HTTPRequest

func (request GetPublicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetPublicationRequest) RetryPolicy

func (request GetPublicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetPublicationRequest) String

func (request GetPublicationRequest) String() string

type GetPublicationResponse

type GetPublicationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Publication instance
	Publication `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetPublicationResponse wrapper for the GetPublication operation

func (GetPublicationResponse) HTTPResponse

func (response GetPublicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetPublicationResponse) String

func (response GetPublicationResponse) String() string

type GetThirdPartyPaidListingEligibilityRequest

type GetThirdPartyPaidListingEligibilityRequest struct {

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetThirdPartyPaidListingEligibilityRequest wrapper for the GetThirdPartyPaidListingEligibility operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetThirdPartyPaidListingEligibility.go.html to see an example of how to use GetThirdPartyPaidListingEligibilityRequest.

func (GetThirdPartyPaidListingEligibilityRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (GetThirdPartyPaidListingEligibilityRequest) HTTPRequest

func (request GetThirdPartyPaidListingEligibilityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetThirdPartyPaidListingEligibilityRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetThirdPartyPaidListingEligibilityRequest) String

type GetThirdPartyPaidListingEligibilityResponse

type GetThirdPartyPaidListingEligibilityResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ThirdPartyPaidListingEligibility instance
	ThirdPartyPaidListingEligibility `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetThirdPartyPaidListingEligibilityResponse wrapper for the GetThirdPartyPaidListingEligibility operation

func (GetThirdPartyPaidListingEligibilityResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (GetThirdPartyPaidListingEligibilityResponse) String

type ImageListingPackage

type ImageListingPackage struct {

	// The ID of the listing this package belongs to.
	ListingId *string `mandatory:"true" json:"listingId"`

	// The package version.
	Version *string `mandatory:"true" json:"version"`

	// Description of this package.
	Description *string `mandatory:"false" json:"description"`

	Pricing *PricingModel `mandatory:"false" json:"pricing"`

	// The unique identifier for the package resource.
	ResourceId *string `mandatory:"false" json:"resourceId"`

	// The date and time this listing package was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	OperatingSystem *OperatingSystem `mandatory:"false" json:"operatingSystem"`

	// The ID of the listing resource associated with this listing package. For more information, see AppCatalogListing (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListing/) in the Core Services API.
	AppCatalogListingId *string `mandatory:"false" json:"appCatalogListingId"`

	// The resource version of the listing resource associated with this listing package.
	AppCatalogListingResourceVersion *string `mandatory:"false" json:"appCatalogListingResourceVersion"`

	// The ID of the image corresponding to the package.
	ImageId *string `mandatory:"false" json:"imageId"`

	// The regions where you can deploy the listing package. (Some packages have restrictions that limit their deployment to United States regions only.)
	Regions []Region `mandatory:"false" json:"regions"`
}

ImageListingPackage A package for image listings.

func (ImageListingPackage) GetDescription

func (m ImageListingPackage) GetDescription() *string

GetDescription returns Description

func (ImageListingPackage) GetListingId

func (m ImageListingPackage) GetListingId() *string

GetListingId returns ListingId

func (ImageListingPackage) GetOperatingSystem

func (m ImageListingPackage) GetOperatingSystem() *OperatingSystem

GetOperatingSystem returns OperatingSystem

func (ImageListingPackage) GetPricing

func (m ImageListingPackage) GetPricing() *PricingModel

GetPricing returns Pricing

func (ImageListingPackage) GetResourceId

func (m ImageListingPackage) GetResourceId() *string

GetResourceId returns ResourceId

func (ImageListingPackage) GetTimeCreated

func (m ImageListingPackage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (ImageListingPackage) GetVersion

func (m ImageListingPackage) GetVersion() *string

GetVersion returns Version

func (ImageListingPackage) MarshalJSON

func (m ImageListingPackage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ImageListingPackage) String

func (m ImageListingPackage) String() string

type ImagePublicationPackage

type ImagePublicationPackage struct {

	// The ID of the listing that the specified package belongs to.
	ListingId *string `mandatory:"true" json:"listingId"`

	// The package version.
	Version *string `mandatory:"true" json:"version"`

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

	// The unique identifier for the package resource.
	ResourceId *string `mandatory:"false" json:"resourceId"`

	// The date and time the publication package was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	OperatingSystem *OperatingSystem `mandatory:"false" json:"operatingSystem"`

	// The ID of the listing resource associated with this publication package. For more information, see AppCatalogListing (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListing/) in the Core Services API.
	AppCatalogListingId *string `mandatory:"false" json:"appCatalogListingId"`

	// The resource version of the listing resource associated with this publication package.
	AppCatalogListingResourceVersion *string `mandatory:"false" json:"appCatalogListingResourceVersion"`

	// The ID of the image that corresponds to the package.
	ImageId *string `mandatory:"false" json:"imageId"`
}

ImagePublicationPackage A publication package for image publications.

func (ImagePublicationPackage) GetDescription

func (m ImagePublicationPackage) GetDescription() *string

GetDescription returns Description

func (ImagePublicationPackage) GetListingId

func (m ImagePublicationPackage) GetListingId() *string

GetListingId returns ListingId

func (ImagePublicationPackage) GetOperatingSystem

func (m ImagePublicationPackage) GetOperatingSystem() *OperatingSystem

GetOperatingSystem returns OperatingSystem

func (ImagePublicationPackage) GetResourceId

func (m ImagePublicationPackage) GetResourceId() *string

GetResourceId returns ResourceId

func (ImagePublicationPackage) GetTimeCreated

func (m ImagePublicationPackage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (ImagePublicationPackage) GetVersion

func (m ImagePublicationPackage) GetVersion() *string

GetVersion returns Version

func (ImagePublicationPackage) MarshalJSON

func (m ImagePublicationPackage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ImagePublicationPackage) String

func (m ImagePublicationPackage) String() string

type Item

type Item struct {

	// The name of the item.
	Name *string `mandatory:"false" json:"name"`

	// A code assigned to the item.
	Code *string `mandatory:"false" json:"code"`
}

Item The model for an item within an array of filter values.

func (Item) String

func (m Item) String() string

type LaunchEligibility

type LaunchEligibility struct {

	// PIC Image ID
	ImageId *string `mandatory:"true" json:"imageId"`

	// Is the tenant permitted to launch the PIC image
	IsLaunchAllowed *bool `mandatory:"true" json:"isLaunchAllowed"`

	// related meters for the PIC image
	Meters *string `mandatory:"false" json:"meters"`
}

LaunchEligibility Tenant eligibility and other information for launching a PIC image

func (LaunchEligibility) String

func (m LaunchEligibility) String() string
type Link struct {

	// Reference links to the previous page, next page, and other pages.
	Rel LinkEnumEnum `mandatory:"false" json:"rel,omitempty"`

	// The anchor tag.
	Href *string `mandatory:"false" json:"href"`
}

Link The model for links.

func (Link) String

func (m Link) String() string

type LinkEnumEnum

type LinkEnumEnum string

LinkEnumEnum Enum with underlying type: string

const (
	LinkEnumSelf      LinkEnumEnum = "SELF"
	LinkEnumCanonical LinkEnumEnum = "CANONICAL"
	LinkEnumNext      LinkEnumEnum = "NEXT"
	LinkEnumTemplate  LinkEnumEnum = "TEMPLATE"
	LinkEnumPrev      LinkEnumEnum = "PREV"
)

Set of constants representing the allowable values for LinkEnumEnum

func GetLinkEnumEnumValues

func GetLinkEnumEnumValues() []LinkEnumEnum

GetLinkEnumEnumValues Enumerates the set of values for LinkEnumEnum

type ListAcceptedAgreementsRequest

type ListAcceptedAgreementsRequest struct {

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The display name of the resource.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The unique identifier for the listing.
	ListingId *string `mandatory:"false" contributesTo:"query" name:"listingId"`

	// The version of the package. Package versions are unique within a listing.
	PackageVersion *string `mandatory:"false" contributesTo:"query" name:"packageVersion"`

	// The unique identifier for the accepted terms of use agreement.
	AcceptedAgreementId *string `mandatory:"false" contributesTo:"query" name:"acceptedAgreementId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The field to use to sort listed results. You can only specify one field to sort by.
	// `TIMEACCEPTED` displays results in descending order by default. You can change your
	// preference by specifying a different sort order.
	SortBy ListAcceptedAgreementsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either `ASC` or `DESC`.
	SortOrder ListAcceptedAgreementsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The value of the `opc-next-page` response header from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListAcceptedAgreementsRequest wrapper for the ListAcceptedAgreements operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListAcceptedAgreements.go.html to see an example of how to use ListAcceptedAgreementsRequest.

func (ListAcceptedAgreementsRequest) BinaryRequestBody

func (request ListAcceptedAgreementsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAcceptedAgreementsRequest) HTTPRequest

func (request ListAcceptedAgreementsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAcceptedAgreementsRequest) RetryPolicy

func (request ListAcceptedAgreementsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAcceptedAgreementsRequest) String

func (request ListAcceptedAgreementsRequest) String() string

type ListAcceptedAgreementsResponse

type ListAcceptedAgreementsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []AcceptedAgreementSummary instances
	Items []AcceptedAgreementSummary `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListAcceptedAgreementsResponse wrapper for the ListAcceptedAgreements operation

func (ListAcceptedAgreementsResponse) HTTPResponse

func (response ListAcceptedAgreementsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAcceptedAgreementsResponse) String

func (response ListAcceptedAgreementsResponse) String() string

type ListAcceptedAgreementsSortByEnum

type ListAcceptedAgreementsSortByEnum string

ListAcceptedAgreementsSortByEnum Enum with underlying type: string

const (
	ListAcceptedAgreementsSortByTimeaccepted ListAcceptedAgreementsSortByEnum = "TIMEACCEPTED"
)

Set of constants representing the allowable values for ListAcceptedAgreementsSortByEnum

func GetListAcceptedAgreementsSortByEnumValues

func GetListAcceptedAgreementsSortByEnumValues() []ListAcceptedAgreementsSortByEnum

GetListAcceptedAgreementsSortByEnumValues Enumerates the set of values for ListAcceptedAgreementsSortByEnum

type ListAcceptedAgreementsSortOrderEnum

type ListAcceptedAgreementsSortOrderEnum string

ListAcceptedAgreementsSortOrderEnum Enum with underlying type: string

const (
	ListAcceptedAgreementsSortOrderAsc  ListAcceptedAgreementsSortOrderEnum = "ASC"
	ListAcceptedAgreementsSortOrderDesc ListAcceptedAgreementsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAcceptedAgreementsSortOrderEnum

func GetListAcceptedAgreementsSortOrderEnumValues

func GetListAcceptedAgreementsSortOrderEnumValues() []ListAcceptedAgreementsSortOrderEnum

GetListAcceptedAgreementsSortOrderEnumValues Enumerates the set of values for ListAcceptedAgreementsSortOrderEnum

type ListAgreementsRequest

type ListAgreementsRequest struct {

	// The unique identifier for the listing.
	ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`

	// The version of the package. Package versions are unique within a listing.
	PackageVersion *string `mandatory:"true" contributesTo:"path" name:"packageVersion"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The value of the `opc-next-page` response header from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListAgreementsRequest wrapper for the ListAgreements operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListAgreements.go.html to see an example of how to use ListAgreementsRequest.

func (ListAgreementsRequest) BinaryRequestBody

func (request ListAgreementsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAgreementsRequest) HTTPRequest

func (request ListAgreementsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAgreementsRequest) RetryPolicy

func (request ListAgreementsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAgreementsRequest) String

func (request ListAgreementsRequest) String() string

type ListAgreementsResponse

type ListAgreementsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []AgreementSummary instances
	Items []AgreementSummary `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListAgreementsResponse wrapper for the ListAgreements operation

func (ListAgreementsResponse) HTTPResponse

func (response ListAgreementsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAgreementsResponse) String

func (response ListAgreementsResponse) String() string

type ListCategoriesRequest

type ListCategoriesRequest struct {

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The value of the `opc-next-page` response header from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListCategoriesRequest wrapper for the ListCategories operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListCategories.go.html to see an example of how to use ListCategoriesRequest.

func (ListCategoriesRequest) BinaryRequestBody

func (request ListCategoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCategoriesRequest) HTTPRequest

func (request ListCategoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCategoriesRequest) RetryPolicy

func (request ListCategoriesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCategoriesRequest) String

func (request ListCategoriesRequest) String() string

type ListCategoriesResponse

type ListCategoriesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []CategorySummary instances
	Items []CategorySummary `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListCategoriesResponse wrapper for the ListCategories operation

func (ListCategoriesResponse) HTTPResponse

func (response ListCategoriesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCategoriesResponse) String

func (response ListCategoriesResponse) String() string

type ListListingsRequest

type ListListingsRequest struct {

	// The name of the listing.
	Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"`

	// The unique identifier for the listing.
	ListingId *string `mandatory:"false" contributesTo:"query" name:"listingId"`

	// Limit results to just this publisher.
	PublisherId *string `mandatory:"false" contributesTo:"query" name:"publisherId"`

	// A filter to return only packages that match the given package type exactly.
	PackageType *string `mandatory:"false" contributesTo:"query" name:"packageType"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The value of the `opc-next-page` response header from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to use to sort listed results. You can only specify one field to sort by.
	// `TIMERELEASED` displays results in descending order by default.
	// You can change your preference by specifying a different sort order.
	SortBy ListListingsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either `ASC` or `DESC`.
	SortOrder ListListingsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Name of the product category or categories. If you specify multiple categories, then Marketplace returns any listing with
	// one or more matching categories.
	Category []string `contributesTo:"query" name:"category" collectionFormat:"multi"`

	// Name of the pricing type. If multiple pricing types are provided, then any listing with
	// one or more matching pricing models will be returned.
	Pricing []PricingTypeEnumEnum `contributesTo:"query" name:"pricing" omitEmpty:"true" collectionFormat:"multi"`

	// Indicates whether to show only featured listings. If this is set to `false` or is omitted, then all listings will be returned.
	IsFeatured *bool `mandatory:"false" contributesTo:"query" name:"isFeatured"`

	// The type of the listing.
	ListingTypes []ListingTypeEnum `contributesTo:"query" name:"listingTypes" omitEmpty:"true" collectionFormat:"multi"`

	// The operating system of the listing.
	OperatingSystems []string `contributesTo:"query" name:"operatingSystems" collectionFormat:"multi"`

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListListingsRequest wrapper for the ListListings operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListListings.go.html to see an example of how to use ListListingsRequest.

func (ListListingsRequest) BinaryRequestBody

func (request ListListingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListListingsRequest) HTTPRequest

func (request ListListingsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListListingsRequest) RetryPolicy

func (request ListListingsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListListingsRequest) String

func (request ListListingsRequest) String() string

type ListListingsResponse

type ListListingsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ListingSummary instances
	Items []ListingSummary `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListListingsResponse wrapper for the ListListings operation

func (ListListingsResponse) HTTPResponse

func (response ListListingsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListListingsResponse) String

func (response ListListingsResponse) String() string

type ListListingsSortByEnum

type ListListingsSortByEnum string

ListListingsSortByEnum Enum with underlying type: string

const (
	ListListingsSortByTimereleased ListListingsSortByEnum = "TIMERELEASED"
)

Set of constants representing the allowable values for ListListingsSortByEnum

func GetListListingsSortByEnumValues

func GetListListingsSortByEnumValues() []ListListingsSortByEnum

GetListListingsSortByEnumValues Enumerates the set of values for ListListingsSortByEnum

type ListListingsSortOrderEnum

type ListListingsSortOrderEnum string

ListListingsSortOrderEnum Enum with underlying type: string

const (
	ListListingsSortOrderAsc  ListListingsSortOrderEnum = "ASC"
	ListListingsSortOrderDesc ListListingsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListListingsSortOrderEnum

func GetListListingsSortOrderEnumValues

func GetListListingsSortOrderEnumValues() []ListListingsSortOrderEnum

GetListListingsSortOrderEnumValues Enumerates the set of values for ListListingsSortOrderEnum

type ListPackagesRequest

type ListPackagesRequest struct {

	// The unique identifier for the listing.
	ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`

	// The version of the package. Package versions are unique within a listing.
	PackageVersion *string `mandatory:"false" contributesTo:"query" name:"packageVersion"`

	// A filter to return only packages that match the given package type exactly.
	PackageType *string `mandatory:"false" contributesTo:"query" name:"packageType"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The value of the `opc-next-page` response header from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to use to sort listed results. You can only specify one field to sort by.
	// `TIMERELEASED` displays results in descending order by default.
	// You can change your preference by specifying a different sort order.
	SortBy ListPackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either `ASC` or `DESC`.
	SortOrder ListPackagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListPackagesRequest wrapper for the ListPackages operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListPackages.go.html to see an example of how to use ListPackagesRequest.

func (ListPackagesRequest) BinaryRequestBody

func (request ListPackagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListPackagesRequest) HTTPRequest

func (request ListPackagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPackagesRequest) RetryPolicy

func (request ListPackagesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPackagesRequest) String

func (request ListPackagesRequest) String() string

type ListPackagesResponse

type ListPackagesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ListingPackageSummary instances
	Items []ListingPackageSummary `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListPackagesResponse wrapper for the ListPackages operation

func (ListPackagesResponse) HTTPResponse

func (response ListPackagesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPackagesResponse) String

func (response ListPackagesResponse) String() string

type ListPackagesSortByEnum

type ListPackagesSortByEnum string

ListPackagesSortByEnum Enum with underlying type: string

const (
	ListPackagesSortByTimereleased ListPackagesSortByEnum = "TIMERELEASED"
)

Set of constants representing the allowable values for ListPackagesSortByEnum

func GetListPackagesSortByEnumValues

func GetListPackagesSortByEnumValues() []ListPackagesSortByEnum

GetListPackagesSortByEnumValues Enumerates the set of values for ListPackagesSortByEnum

type ListPackagesSortOrderEnum

type ListPackagesSortOrderEnum string

ListPackagesSortOrderEnum Enum with underlying type: string

const (
	ListPackagesSortOrderAsc  ListPackagesSortOrderEnum = "ASC"
	ListPackagesSortOrderDesc ListPackagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPackagesSortOrderEnum

func GetListPackagesSortOrderEnumValues

func GetListPackagesSortOrderEnumValues() []ListPackagesSortOrderEnum

GetListPackagesSortOrderEnumValues Enumerates the set of values for ListPackagesSortOrderEnum

type ListPublicationPackagesRequest

type ListPublicationPackagesRequest struct {

	// The unique identifier for the publication.
	PublicationId *string `mandatory:"true" contributesTo:"path" name:"publicationId"`

	// The version of the package. Package versions are unique within a listing.
	PackageVersion *string `mandatory:"false" contributesTo:"query" name:"packageVersion"`

	// A filter to return only packages that match the given package type exactly.
	PackageType *string `mandatory:"false" contributesTo:"query" name:"packageType"`

	// The field to use to sort listed results. You can only specify one field to sort by.
	// `TIMERELEASED` displays results in descending order by default.
	// You can change your preference by specifying a different sort order.
	SortBy ListPublicationPackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either `ASC` or `DESC`.
	SortOrder ListPublicationPackagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The value of the `opc-next-page` response header from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListPublicationPackagesRequest wrapper for the ListPublicationPackages operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListPublicationPackages.go.html to see an example of how to use ListPublicationPackagesRequest.

func (ListPublicationPackagesRequest) BinaryRequestBody

func (request ListPublicationPackagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListPublicationPackagesRequest) HTTPRequest

func (request ListPublicationPackagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPublicationPackagesRequest) RetryPolicy

func (request ListPublicationPackagesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPublicationPackagesRequest) String

func (request ListPublicationPackagesRequest) String() string

type ListPublicationPackagesResponse

type ListPublicationPackagesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []PublicationPackageSummary instances
	Items []PublicationPackageSummary `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListPublicationPackagesResponse wrapper for the ListPublicationPackages operation

func (ListPublicationPackagesResponse) HTTPResponse

func (response ListPublicationPackagesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPublicationPackagesResponse) String

func (response ListPublicationPackagesResponse) String() string

type ListPublicationPackagesSortByEnum

type ListPublicationPackagesSortByEnum string

ListPublicationPackagesSortByEnum Enum with underlying type: string

const (
	ListPublicationPackagesSortByTimereleased ListPublicationPackagesSortByEnum = "TIMERELEASED"
)

Set of constants representing the allowable values for ListPublicationPackagesSortByEnum

func GetListPublicationPackagesSortByEnumValues

func GetListPublicationPackagesSortByEnumValues() []ListPublicationPackagesSortByEnum

GetListPublicationPackagesSortByEnumValues Enumerates the set of values for ListPublicationPackagesSortByEnum

type ListPublicationPackagesSortOrderEnum

type ListPublicationPackagesSortOrderEnum string

ListPublicationPackagesSortOrderEnum Enum with underlying type: string

const (
	ListPublicationPackagesSortOrderAsc  ListPublicationPackagesSortOrderEnum = "ASC"
	ListPublicationPackagesSortOrderDesc ListPublicationPackagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPublicationPackagesSortOrderEnum

func GetListPublicationPackagesSortOrderEnumValues

func GetListPublicationPackagesSortOrderEnumValues() []ListPublicationPackagesSortOrderEnum

GetListPublicationPackagesSortOrderEnumValues Enumerates the set of values for ListPublicationPackagesSortOrderEnum

type ListPublicationsListingTypeEnum

type ListPublicationsListingTypeEnum string

ListPublicationsListingTypeEnum Enum with underlying type: string

const (
	ListPublicationsListingTypeCommunity ListPublicationsListingTypeEnum = "COMMUNITY"
	ListPublicationsListingTypePartner   ListPublicationsListingTypeEnum = "PARTNER"
	ListPublicationsListingTypePrivate   ListPublicationsListingTypeEnum = "PRIVATE"
)

Set of constants representing the allowable values for ListPublicationsListingTypeEnum

func GetListPublicationsListingTypeEnumValues

func GetListPublicationsListingTypeEnumValues() []ListPublicationsListingTypeEnum

GetListPublicationsListingTypeEnumValues Enumerates the set of values for ListPublicationsListingTypeEnum

type ListPublicationsRequest

type ListPublicationsRequest struct {

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The type of the listing.
	ListingType ListPublicationsListingTypeEnum `mandatory:"true" contributesTo:"query" name:"listingType" omitEmpty:"true"`

	// The name of the publication.
	Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"`

	// The unique identifier for the publication.
	PublicationId *string `mandatory:"false" contributesTo:"query" name:"publicationId"`

	// The operating system of the listing.
	OperatingSystems []string `contributesTo:"query" name:"operatingSystems" collectionFormat:"multi"`

	// The field to use to sort listed results. You can only specify one field to sort by.
	// `TIMERELEASED` displays results in descending order by default.
	// You can change your preference by specifying a different sort order.
	SortBy ListPublicationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either `ASC` or `DESC`.
	SortOrder ListPublicationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The value of the `opc-next-page` response header from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListPublicationsRequest wrapper for the ListPublications operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListPublications.go.html to see an example of how to use ListPublicationsRequest.

func (ListPublicationsRequest) BinaryRequestBody

func (request ListPublicationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListPublicationsRequest) HTTPRequest

func (request ListPublicationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPublicationsRequest) RetryPolicy

func (request ListPublicationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPublicationsRequest) String

func (request ListPublicationsRequest) String() string

type ListPublicationsResponse

type ListPublicationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []PublicationSummary instances
	Items []PublicationSummary `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListPublicationsResponse wrapper for the ListPublications operation

func (ListPublicationsResponse) HTTPResponse

func (response ListPublicationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPublicationsResponse) String

func (response ListPublicationsResponse) String() string

type ListPublicationsSortByEnum

type ListPublicationsSortByEnum string

ListPublicationsSortByEnum Enum with underlying type: string

const (
	ListPublicationsSortByTimereleased ListPublicationsSortByEnum = "TIMERELEASED"
)

Set of constants representing the allowable values for ListPublicationsSortByEnum

func GetListPublicationsSortByEnumValues

func GetListPublicationsSortByEnumValues() []ListPublicationsSortByEnum

GetListPublicationsSortByEnumValues Enumerates the set of values for ListPublicationsSortByEnum

type ListPublicationsSortOrderEnum

type ListPublicationsSortOrderEnum string

ListPublicationsSortOrderEnum Enum with underlying type: string

const (
	ListPublicationsSortOrderAsc  ListPublicationsSortOrderEnum = "ASC"
	ListPublicationsSortOrderDesc ListPublicationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPublicationsSortOrderEnum

func GetListPublicationsSortOrderEnumValues

func GetListPublicationsSortOrderEnumValues() []ListPublicationsSortOrderEnum

GetListPublicationsSortOrderEnumValues Enumerates the set of values for ListPublicationsSortOrderEnum

type ListPublishersRequest

type ListPublishersRequest struct {

	// Limit results to just this publisher.
	PublisherId *string `mandatory:"false" contributesTo:"query" name:"publisherId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The value of the `opc-next-page` response header from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListPublishersRequest wrapper for the ListPublishers operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListPublishers.go.html to see an example of how to use ListPublishersRequest.

func (ListPublishersRequest) BinaryRequestBody

func (request ListPublishersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListPublishersRequest) HTTPRequest

func (request ListPublishersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPublishersRequest) RetryPolicy

func (request ListPublishersRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPublishersRequest) String

func (request ListPublishersRequest) String() string

type ListPublishersResponse

type ListPublishersResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []PublisherSummary instances
	Items []PublisherSummary `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListPublishersResponse wrapper for the ListPublishers operation

func (ListPublishersResponse) HTTPResponse

func (response ListPublishersResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPublishersResponse) String

func (response ListPublishersResponse) String() string

type ListReportTypesRequest

type ListReportTypesRequest struct {

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The value of the `opc-next-page` response header from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListReportTypesRequest wrapper for the ListReportTypes operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListReportTypes.go.html to see an example of how to use ListReportTypesRequest.

func (ListReportTypesRequest) BinaryRequestBody

func (request ListReportTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListReportTypesRequest) HTTPRequest

func (request ListReportTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListReportTypesRequest) RetryPolicy

func (request ListReportTypesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListReportTypesRequest) String

func (request ListReportTypesRequest) String() string

type ListReportTypesResponse

type ListReportTypesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ReportTypeCollection instances
	ReportTypeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListReportTypesResponse wrapper for the ListReportTypes operation

func (ListReportTypesResponse) HTTPResponse

func (response ListReportTypesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListReportTypesResponse) String

func (response ListReportTypesResponse) String() string

type ListReportsRequest

type ListReportsRequest struct {

	// The type of the report.
	ReportType *string `mandatory:"true" contributesTo:"query" name:"reportType"`

	// Date, expressed in `YYYYMMDD` format, where `Y` represents the year, `M` represents the month, and `D` represents the day.
	Date *common.SDKTime `mandatory:"true" contributesTo:"query" name:"date"`

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The value of the `opc-next-page` response header from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListReportsRequest wrapper for the ListReports operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListReports.go.html to see an example of how to use ListReportsRequest.

func (ListReportsRequest) BinaryRequestBody

func (request ListReportsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListReportsRequest) HTTPRequest

func (request ListReportsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListReportsRequest) RetryPolicy

func (request ListReportsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListReportsRequest) String

func (request ListReportsRequest) String() string

type ListReportsResponse

type ListReportsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ReportCollection instances
	ReportCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListReportsResponse wrapper for the ListReports operation

func (ListReportsResponse) HTTPResponse

func (response ListReportsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListReportsResponse) String

func (response ListReportsResponse) String() string

type ListTaxesRequest

type ListTaxesRequest struct {

	// The unique identifier for the listing.
	ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The unique identifier for the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTaxesRequest wrapper for the ListTaxes operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListTaxes.go.html to see an example of how to use ListTaxesRequest.

func (ListTaxesRequest) BinaryRequestBody

func (request ListTaxesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTaxesRequest) HTTPRequest

func (request ListTaxesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTaxesRequest) RetryPolicy

func (request ListTaxesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTaxesRequest) String

func (request ListTaxesRequest) String() string

type ListTaxesResponse

type ListTaxesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The []TaxSummary instance
	Items []TaxSummary `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTaxesResponse wrapper for the ListTaxes operation

func (ListTaxesResponse) HTTPResponse

func (response ListTaxesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTaxesResponse) String

func (response ListTaxesResponse) String() string

type Listing

type Listing struct {

	// The unique identifier for the listing in Marketplace.
	Id *string `mandatory:"false" json:"id"`

	// The name of the listing.
	Name *string `mandatory:"false" json:"name"`

	// The version of the listing.
	Version *string `mandatory:"false" json:"version"`

	// The tagline of the listing.
	Tagline *string `mandatory:"false" json:"tagline"`

	// Keywords associated with the listing.
	Keywords *string `mandatory:"false" json:"keywords"`

	// A short description of the listing.
	ShortDescription *string `mandatory:"false" json:"shortDescription"`

	// Usage information for the listing.
	UsageInformation *string `mandatory:"false" json:"usageInformation"`

	// A long description of the listing.
	LongDescription *string `mandatory:"false" json:"longDescription"`

	// A description of the publisher's licensing model for the listing.
	LicenseModelDescription *string `mandatory:"false" json:"licenseModelDescription"`

	// System requirements for the listing.
	SystemRequirements *string `mandatory:"false" json:"systemRequirements"`

	// The release date of the listing.
	TimeReleased *common.SDKTime `mandatory:"false" json:"timeReleased"`

	// Release notes for the listing.
	ReleaseNotes *string `mandatory:"false" json:"releaseNotes"`

	// Categories that the listing belongs to.
	Categories []string `mandatory:"false" json:"categories"`

	Publisher *Publisher `mandatory:"false" json:"publisher"`

	// Languages supported by the listing.
	Languages []Item `mandatory:"false" json:"languages"`

	// Screenshots of the listing.
	Screenshots []Screenshot `mandatory:"false" json:"screenshots"`

	// Videos of the listing.
	Videos []NamedLink `mandatory:"false" json:"videos"`

	// Contact information to use to get support from the publisher for the listing.
	SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`

	// Links to support resources for the listing.
	SupportLinks []NamedLink `mandatory:"false" json:"supportLinks"`

	// Links to additional documentation provided by the publisher specifically for the listing.
	DocumentationLinks []DocumentationLink `mandatory:"false" json:"documentationLinks"`

	Icon *UploadData `mandatory:"false" json:"icon"`

	Banner *UploadData `mandatory:"false" json:"banner"`

	// The regions where you can deploy the listing. (Some listings have restrictions that limit their deployment to United States regions only.)
	Regions []Region `mandatory:"false" json:"regions"`

	// The listing's package type.
	PackageType PackageTypeEnumEnum `mandatory:"false" json:"packageType,omitempty"`

	// The default package version.
	DefaultPackageVersion *string `mandatory:"false" json:"defaultPackageVersion"`

	// Links to reference material.
	Links []Link `mandatory:"false" json:"links"`

	// Indicates whether the listing is included in Featured Listings.
	IsFeatured *bool `mandatory:"false" json:"isFeatured"`

	// The publisher category to which the listing belongs. The publisher category informs where the listing appears for use.
	ListingType ListingTypeEnum `mandatory:"false" json:"listingType,omitempty"`

	// List of operating systems supported by the listing.
	SupportedOperatingSystems []OperatingSystem `mandatory:"false" json:"supportedOperatingSystems"`
}

Listing The model for an Oracle Cloud Infrastructure Marketplace listing.

func (Listing) String

func (m Listing) String() string

type ListingPackage

type ListingPackage interface {

	// The ID of the listing this package belongs to.
	GetListingId() *string

	// The package version.
	GetVersion() *string

	// Description of this package.
	GetDescription() *string

	GetPricing() *PricingModel

	// The unique identifier for the package resource.
	GetResourceId() *string

	// The date and time this listing package was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	GetTimeCreated() *common.SDKTime

	GetOperatingSystem() *OperatingSystem
}

ListingPackage A base object for all types of listing packages.

type ListingPackageSummary

type ListingPackageSummary struct {

	// The ID of the listing that the specified package belongs to.
	ListingId *string `mandatory:"false" json:"listingId"`

	// The version of the specified package.
	PackageVersion *string `mandatory:"false" json:"packageVersion"`

	// The specified package's type.
	PackageType PackageTypeEnumEnum `mandatory:"false" json:"packageType,omitempty"`

	Pricing *PricingModel `mandatory:"false" json:"pricing"`

	// The regions where you can deploy the listing package. (Some packages have restrictions that limit their deployment to United States regions only.)
	Regions []Region `mandatory:"false" json:"regions"`

	// The unique identifier for the package resource.
	ResourceId *string `mandatory:"false" json:"resourceId"`

	// The date and time this listing package was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

ListingPackageSummary The model for a summary of a package.

func (ListingPackageSummary) String

func (m ListingPackageSummary) String() string

type ListingPackageTypeEnum

type ListingPackageTypeEnum = PackageTypeEnumEnum

ListingPackageTypeEnum is an alias to type: PackageTypeEnumEnum Consider using PackageTypeEnumEnum instead Deprecated

type ListingSummary

type ListingSummary struct {

	// The unique identifier for the listing in Marketplace.
	Id *string `mandatory:"false" json:"id"`

	// The name of the listing.
	Name *string `mandatory:"false" json:"name"`

	// A short description of the listing.
	ShortDescription *string `mandatory:"false" json:"shortDescription"`

	// The tagline of the listing.
	Tagline *string `mandatory:"false" json:"tagline"`

	Icon *UploadData `mandatory:"false" json:"icon"`

	// The listing's package type.
	PackageType PackageTypeEnumEnum `mandatory:"false" json:"packageType,omitempty"`

	// Summary of the pricing types available across all packages in the listing.
	PricingTypes []ListingSummaryPricingTypesEnum `mandatory:"false" json:"pricingTypes,omitempty"`

	// The regions where you can deploy the listing. (Some listings have restrictions that limit their deployment to United States regions only.)
	Regions []Region `mandatory:"false" json:"regions"`

	// Indicates whether the listing is featured.
	IsFeatured *bool `mandatory:"false" json:"isFeatured"`

	// Product categories that the listing belongs to.
	Categories []string `mandatory:"false" json:"categories"`

	Publisher *PublisherSummary `mandatory:"false" json:"publisher"`

	// The list of operating systems supported by the listing.
	SupportedOperatingSystems []OperatingSystem `mandatory:"false" json:"supportedOperatingSystems"`

	// The publisher category to which the listing belongs. The publisher category informs where the listing appears for use.
	ListingType ListingTypeEnum `mandatory:"false" json:"listingType,omitempty"`
}

ListingSummary The model for a summary of an Oracle Cloud Infrastructure Marketplace listing.

func (ListingSummary) String

func (m ListingSummary) String() string

type ListingSummaryPricingTypesEnum

type ListingSummaryPricingTypesEnum string

ListingSummaryPricingTypesEnum Enum with underlying type: string

const (
	ListingSummaryPricingTypesFree  ListingSummaryPricingTypesEnum = "FREE"
	ListingSummaryPricingTypesByol  ListingSummaryPricingTypesEnum = "BYOL"
	ListingSummaryPricingTypesPaygo ListingSummaryPricingTypesEnum = "PAYGO"
)

Set of constants representing the allowable values for ListingSummaryPricingTypesEnum

func GetListingSummaryPricingTypesEnumValues

func GetListingSummaryPricingTypesEnumValues() []ListingSummaryPricingTypesEnum

GetListingSummaryPricingTypesEnumValues Enumerates the set of values for ListingSummaryPricingTypesEnum

type ListingTypeEnum

type ListingTypeEnum string

ListingTypeEnum Enum with underlying type: string

const (
	ListingTypeCommunity ListingTypeEnum = "COMMUNITY"
	ListingTypePartner   ListingTypeEnum = "PARTNER"
	ListingTypePrivate   ListingTypeEnum = "PRIVATE"
)

Set of constants representing the allowable values for ListingTypeEnum

func GetListingTypeEnumValues

func GetListingTypeEnumValues() []ListingTypeEnum

GetListingTypeEnumValues Enumerates the set of values for ListingTypeEnum

type MarketplaceClient

type MarketplaceClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

MarketplaceClient a client for Marketplace

func NewMarketplaceClientWithConfigurationProvider

func NewMarketplaceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MarketplaceClient, err error)

NewMarketplaceClientWithConfigurationProvider Creates a new default Marketplace client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewMarketplaceClientWithOboToken

func NewMarketplaceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MarketplaceClient, err error)

NewMarketplaceClientWithOboToken Creates a new default Marketplace client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (MarketplaceClient) ChangePublicationCompartment

func (client MarketplaceClient) ChangePublicationCompartment(ctx context.Context, request ChangePublicationCompartmentRequest) (response ChangePublicationCompartmentResponse, err error)

ChangePublicationCompartment Moves the specified publication from one compartment to another.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ChangePublicationCompartment.go.html to see an example of how to use ChangePublicationCompartment API.

func (*MarketplaceClient) ConfigurationProvider

func (client *MarketplaceClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (MarketplaceClient) CreateAcceptedAgreement

func (client MarketplaceClient) CreateAcceptedAgreement(ctx context.Context, request CreateAcceptedAgreementRequest) (response CreateAcceptedAgreementResponse, err error)

CreateAcceptedAgreement Accepts a terms of use agreement for a specific package version of a listing. You must accept all terms of use for a package before you can deploy the package.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/CreateAcceptedAgreement.go.html to see an example of how to use CreateAcceptedAgreement API.

func (MarketplaceClient) CreatePublication

func (client MarketplaceClient) CreatePublication(ctx context.Context, request CreatePublicationRequest) (response CreatePublicationResponse, err error)

CreatePublication Creates a publication of the specified listing type with an optional default package.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/CreatePublication.go.html to see an example of how to use CreatePublication API.

func (MarketplaceClient) DeleteAcceptedAgreement

func (client MarketplaceClient) DeleteAcceptedAgreement(ctx context.Context, request DeleteAcceptedAgreementRequest) (response DeleteAcceptedAgreementResponse, err error)

DeleteAcceptedAgreement Removes a previously accepted terms of use agreement from the list of agreements that Marketplace checks before initiating a deployment. Listings in Marketplace that require acceptance of the specified terms of use can no longer be deployed, but existing deployments aren't affected.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/DeleteAcceptedAgreement.go.html to see an example of how to use DeleteAcceptedAgreement API.

func (MarketplaceClient) DeletePublication

func (client MarketplaceClient) DeletePublication(ctx context.Context, request DeletePublicationRequest) (response DeletePublicationResponse, err error)

DeletePublication Deletes a publication, which also removes the associated listing from anywhere it was published, such as Marketplace or Compute.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/DeletePublication.go.html to see an example of how to use DeletePublication API.

func (MarketplaceClient) GetAcceptedAgreement

func (client MarketplaceClient) GetAcceptedAgreement(ctx context.Context, request GetAcceptedAgreementRequest) (response GetAcceptedAgreementResponse, err error)

GetAcceptedAgreement Gets the details of a specific, previously accepted terms of use agreement.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetAcceptedAgreement.go.html to see an example of how to use GetAcceptedAgreement API.

func (MarketplaceClient) GetAgreement

func (client MarketplaceClient) GetAgreement(ctx context.Context, request GetAgreementRequest) (response GetAgreementResponse, err error)

GetAgreement Returns a terms of use agreement for a package with a time-based signature that can be used to accept the agreement.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetAgreement.go.html to see an example of how to use GetAgreement API.

func (MarketplaceClient) GetListing

func (client MarketplaceClient) GetListing(ctx context.Context, request GetListingRequest) (response GetListingResponse, err error)

GetListing Gets detailed information about a listing, including the listing's name, version, description, and resources. If you plan to launch an instance from an image listing, you must first subscribe to the listing. When you launch the instance, you also need to provide the image ID of the listing resource version that you want. Subscribing to the listing requires you to first get a signature from the terms of use agreement for the listing resource version. To get the signature, issue a GetAppCatalogListingAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements/GetAppCatalogListingAgreements) API call. The AppCatalogListingResourceVersionAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements) object, including its signature, is returned in the response. With the signature for the terms of use agreement for the desired listing resource version, create a subscription by issuing a CreateAppCatalogSubscription (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogSubscription/CreateAppCatalogSubscription) API call. To get the image ID to launch an instance, issue a GetAppCatalogListingResourceVersion (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersion/GetAppCatalogListingResourceVersion) API call. Lastly, to launch the instance, use the image ID of the listing resource version to issue a LaunchInstance (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/Instance/LaunchInstance) API call.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetListing.go.html to see an example of how to use GetListing API.

func (MarketplaceClient) GetPackage

func (client MarketplaceClient) GetPackage(ctx context.Context, request GetPackageRequest) (response GetPackageResponse, err error)

GetPackage Get the details of the specified version of a package, including information needed to launch the package. If you plan to launch an instance from an image listing, you must first subscribe to the listing. When you launch the instance, you also need to provide the image ID of the listing resource version that you want. Subscribing to the listing requires you to first get a signature from the terms of use agreement for the listing resource version. To get the signature, issue a GetAppCatalogListingAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements/GetAppCatalogListingAgreements) API call. The AppCatalogListingResourceVersionAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements) object, including its signature, is returned in the response. With the signature for the terms of use agreement for the desired listing resource version, create a subscription by issuing a CreateAppCatalogSubscription (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogSubscription/CreateAppCatalogSubscription) API call. To get the image ID to launch an instance, issue a GetAppCatalogListingResourceVersion (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersion/GetAppCatalogListingResourceVersion) API call. Lastly, to launch the instance, use the image ID of the listing resource version to issue a LaunchInstance (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/Instance/LaunchInstance) API call.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetPackage.go.html to see an example of how to use GetPackage API.

func (MarketplaceClient) GetPublication

func (client MarketplaceClient) GetPublication(ctx context.Context, request GetPublicationRequest) (response GetPublicationResponse, err error)

GetPublication Gets the details of the specified publication.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetPublication.go.html to see an example of how to use GetPublication API.

func (MarketplaceClient) GetPublicationPackage

func (client MarketplaceClient) GetPublicationPackage(ctx context.Context, request GetPublicationPackageRequest) (response GetPublicationPackageResponse, err error)

GetPublicationPackage Gets the details of a specific package version within a given publication.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/GetPublicationPackage.go.html to see an example of how to use GetPublicationPackage API.

func (MarketplaceClient) ListAcceptedAgreements

func (client MarketplaceClient) ListAcceptedAgreements(ctx context.Context, request ListAcceptedAgreementsRequest) (response ListAcceptedAgreementsResponse, err error)

ListAcceptedAgreements Lists the terms of use agreements that have been accepted in the specified compartment. You can filter results by specifying query parameters.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListAcceptedAgreements.go.html to see an example of how to use ListAcceptedAgreements API.

func (MarketplaceClient) ListAgreements

func (client MarketplaceClient) ListAgreements(ctx context.Context, request ListAgreementsRequest) (response ListAgreementsResponse, err error)

ListAgreements Returns the terms of use agreements that must be accepted before you can deploy the specified version of a package.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListAgreements.go.html to see an example of how to use ListAgreements API.

func (MarketplaceClient) ListCategories

func (client MarketplaceClient) ListCategories(ctx context.Context, request ListCategoriesRequest) (response ListCategoriesResponse, err error)

ListCategories Gets the list of all the categories for listings published to Oracle Cloud Infrastructure Marketplace. Categories apply to the software product provided by the listing.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListCategories.go.html to see an example of how to use ListCategories API.

func (MarketplaceClient) ListListings

func (client MarketplaceClient) ListListings(ctx context.Context, request ListListingsRequest) (response ListListingsResponse, err error)

ListListings Gets a list of listings from Oracle Cloud Infrastructure Marketplace by searching keywords and filtering according to listing attributes. If you plan to launch an instance from an image listing, you must first subscribe to the listing. When you launch the instance, you also need to provide the image ID of the listing resource version that you want. Subscribing to the listing requires you to first get a signature from the terms of use agreement for the listing resource version. To get the signature, issue a GetAppCatalogListingAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements/GetAppCatalogListingAgreements) API call. The AppCatalogListingResourceVersionAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements) object, including its signature, is returned in the response. With the signature for the terms of use agreement for the desired listing resource version, create a subscription by issuing a CreateAppCatalogSubscription (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogSubscription/CreateAppCatalogSubscription) API call. To get the image ID to launch an instance, issue a GetAppCatalogListingResourceVersion (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersion/GetAppCatalogListingResourceVersion) API call. Lastly, to launch the instance, use the image ID of the listing resource version to issue a LaunchInstance (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/Instance/LaunchInstance) API call.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListListings.go.html to see an example of how to use ListListings API.

func (MarketplaceClient) ListPackages

func (client MarketplaceClient) ListPackages(ctx context.Context, request ListPackagesRequest) (response ListPackagesResponse, err error)

ListPackages Gets the list of packages for a listing. If you plan to launch an instance from an image listing, you must first subscribe to the listing. When you launch the instance, you also need to provide the image ID of the listing resource version that you want. Subscribing to the listing requires you to first get a signature from the terms of use agreement for the listing resource version. To get the signature, issue a GetAppCatalogListingAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements/GetAppCatalogListingAgreements) API call. The AppCatalogListingResourceVersionAgreements (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersionAgreements) object, including its signature, is returned in the response. With the signature for the terms of use agreement for the desired listing resource version, create a subscription by issuing a CreateAppCatalogSubscription (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogSubscription/CreateAppCatalogSubscription) API call. To get the image ID to launch an instance, issue a GetAppCatalogListingResourceVersion (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/AppCatalogListingResourceVersion/GetAppCatalogListingResourceVersion) API call. Lastly, to launch the instance, use the image ID of the listing resource version to issue a LaunchInstance (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/latest/Instance/LaunchInstance) API call.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListPackages.go.html to see an example of how to use ListPackages API.

func (MarketplaceClient) ListPublicationPackages

func (client MarketplaceClient) ListPublicationPackages(ctx context.Context, request ListPublicationPackagesRequest) (response ListPublicationPackagesResponse, err error)

ListPublicationPackages Lists the packages in the specified publication.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListPublicationPackages.go.html to see an example of how to use ListPublicationPackages API.

func (MarketplaceClient) ListPublications

func (client MarketplaceClient) ListPublications(ctx context.Context, request ListPublicationsRequest) (response ListPublicationsResponse, err error)

ListPublications Lists the publications in the specified compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListPublications.go.html to see an example of how to use ListPublications API.

func (MarketplaceClient) ListPublishers

func (client MarketplaceClient) ListPublishers(ctx context.Context, request ListPublishersRequest) (response ListPublishersResponse, err error)

ListPublishers Gets the list of all the publishers of listings available in Oracle Cloud Infrastructure Marketplace.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListPublishers.go.html to see an example of how to use ListPublishers API.

func (MarketplaceClient) ListReportTypes

func (client MarketplaceClient) ListReportTypes(ctx context.Context, request ListReportTypesRequest) (response ListReportTypesResponse, err error)

ListReportTypes Lists available types of reports for the compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListReportTypes.go.html to see an example of how to use ListReportTypes API.

func (MarketplaceClient) ListReports

func (client MarketplaceClient) ListReports(ctx context.Context, request ListReportsRequest) (response ListReportsResponse, err error)

ListReports Lists reports in the compartment that match the specified report type and date.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListReports.go.html to see an example of how to use ListReports API.

func (MarketplaceClient) ListTaxes

func (client MarketplaceClient) ListTaxes(ctx context.Context, request ListTaxesRequest) (response ListTaxesResponse, err error)

ListTaxes Returns list of all tax implications that current tenant may be liable to once they launch the listing.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/ListTaxes.go.html to see an example of how to use ListTaxes API.

func (MarketplaceClient) SearchListings

func (client MarketplaceClient) SearchListings(ctx context.Context, request SearchListingsRequest) (response SearchListingsResponse, err error)

SearchListings Find listings that match the specified criteria. The search query could be free text or structured.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/SearchListings.go.html to see an example of how to use SearchListings API.

func (*MarketplaceClient) SetRegion

func (client *MarketplaceClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (MarketplaceClient) UpdateAcceptedAgreement

func (client MarketplaceClient) UpdateAcceptedAgreement(ctx context.Context, request UpdateAcceptedAgreementRequest) (response UpdateAcceptedAgreementResponse, err error)

UpdateAcceptedAgreement Updates the display name or tags associated with a listing's previously accepted terms of use agreement.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/UpdateAcceptedAgreement.go.html to see an example of how to use UpdateAcceptedAgreement API.

func (MarketplaceClient) UpdatePublication

func (client MarketplaceClient) UpdatePublication(ctx context.Context, request UpdatePublicationRequest) (response UpdatePublicationResponse, err error)

UpdatePublication Updates the details of an existing publication.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/UpdatePublication.go.html to see an example of how to use UpdatePublication API.

type MatchingContextTypeEnumEnum

type MatchingContextTypeEnumEnum string

MatchingContextTypeEnumEnum Enum with underlying type: string

const (
	MatchingContextTypeEnumNone       MatchingContextTypeEnumEnum = "NONE"
	MatchingContextTypeEnumHighlights MatchingContextTypeEnumEnum = "HIGHLIGHTS"
)

Set of constants representing the allowable values for MatchingContextTypeEnumEnum

func GetMatchingContextTypeEnumEnumValues

func GetMatchingContextTypeEnumEnumValues() []MatchingContextTypeEnumEnum

GetMatchingContextTypeEnumEnumValues Enumerates the set of values for MatchingContextTypeEnumEnum

type NamedLink struct {

	// Text that describes the resource.
	Name *string `mandatory:"false" json:"name"`

	// The URL of the resource.
	Url *string `mandatory:"false" json:"url"`
}

NamedLink A link to a resource on the internet.

func (NamedLink) String

func (m NamedLink) String() string

type OperatingSystem

type OperatingSystem struct {

	// The name of the operating system.
	Name *string `mandatory:"false" json:"name"`
}

OperatingSystem The operating system used by the listing.

func (OperatingSystem) String

func (m OperatingSystem) String() string

type OrchestrationListingPackage

type OrchestrationListingPackage struct {

	// The ID of the listing this package belongs to.
	ListingId *string `mandatory:"true" json:"listingId"`

	// The package version.
	Version *string `mandatory:"true" json:"version"`

	// Description of this package.
	Description *string `mandatory:"false" json:"description"`

	Pricing *PricingModel `mandatory:"false" json:"pricing"`

	// The unique identifier for the package resource.
	ResourceId *string `mandatory:"false" json:"resourceId"`

	// The date and time this listing package was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	OperatingSystem *OperatingSystem `mandatory:"false" json:"operatingSystem"`

	// Link to the orchestration resource.
	ResourceLink *string `mandatory:"false" json:"resourceLink"`

	// List of variables for the orchestration resource.
	Variables []OrchestrationVariable `mandatory:"false" json:"variables"`

	// The regions where you can deploy this listing package. (Some packages have restrictions that limit their deployment to United States regions only.)
	Regions []Region `mandatory:"false" json:"regions"`
}

OrchestrationListingPackage A listing package for orchestration.

func (OrchestrationListingPackage) GetDescription

func (m OrchestrationListingPackage) GetDescription() *string

GetDescription returns Description

func (OrchestrationListingPackage) GetListingId

func (m OrchestrationListingPackage) GetListingId() *string

GetListingId returns ListingId

func (OrchestrationListingPackage) GetOperatingSystem

func (m OrchestrationListingPackage) GetOperatingSystem() *OperatingSystem

GetOperatingSystem returns OperatingSystem

func (OrchestrationListingPackage) GetPricing

func (m OrchestrationListingPackage) GetPricing() *PricingModel

GetPricing returns Pricing

func (OrchestrationListingPackage) GetResourceId

func (m OrchestrationListingPackage) GetResourceId() *string

GetResourceId returns ResourceId

func (OrchestrationListingPackage) GetTimeCreated

func (m OrchestrationListingPackage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (OrchestrationListingPackage) GetVersion

func (m OrchestrationListingPackage) GetVersion() *string

GetVersion returns Version

func (OrchestrationListingPackage) MarshalJSON

func (m OrchestrationListingPackage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OrchestrationListingPackage) String

type OrchestrationPublicationPackage

type OrchestrationPublicationPackage struct {

	// The ID of the listing that the specified package belongs to.
	ListingId *string `mandatory:"true" json:"listingId"`

	// The package version.
	Version *string `mandatory:"true" json:"version"`

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

	// The unique identifier for the package resource.
	ResourceId *string `mandatory:"false" json:"resourceId"`

	// The date and time the publication package was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	OperatingSystem *OperatingSystem `mandatory:"false" json:"operatingSystem"`

	// A link to the stack resource.
	ResourceLink *string `mandatory:"false" json:"resourceLink"`

	// A list of variables for the stack resource.
	Variables []OrchestrationVariable `mandatory:"false" json:"variables"`
}

OrchestrationPublicationPackage A publication package for stack publications.

func (OrchestrationPublicationPackage) GetDescription

func (m OrchestrationPublicationPackage) GetDescription() *string

GetDescription returns Description

func (OrchestrationPublicationPackage) GetListingId

func (m OrchestrationPublicationPackage) GetListingId() *string

GetListingId returns ListingId

func (OrchestrationPublicationPackage) GetOperatingSystem

func (m OrchestrationPublicationPackage) GetOperatingSystem() *OperatingSystem

GetOperatingSystem returns OperatingSystem

func (OrchestrationPublicationPackage) GetResourceId

func (m OrchestrationPublicationPackage) GetResourceId() *string

GetResourceId returns ResourceId

func (OrchestrationPublicationPackage) GetTimeCreated

func (m OrchestrationPublicationPackage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (OrchestrationPublicationPackage) GetVersion

func (m OrchestrationPublicationPackage) GetVersion() *string

GetVersion returns Version

func (OrchestrationPublicationPackage) MarshalJSON

func (m OrchestrationPublicationPackage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OrchestrationPublicationPackage) String

type OrchestrationVariable

type OrchestrationVariable struct {

	// The name of the variable.
	Name *string `mandatory:"false" json:"name"`

	// The variable's default value.
	DefaultValue *string `mandatory:"false" json:"defaultValue"`

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

	// The data type of the variable.
	DataType OrchestrationVariableTypeEnumEnum `mandatory:"false" json:"dataType,omitempty"`

	// Whether the variable is mandatory.
	IsMandatory *bool `mandatory:"false" json:"isMandatory"`

	// A brief textual description that helps to explain the variable.
	HintMessage *string `mandatory:"false" json:"hintMessage"`
}

OrchestrationVariable The model of a variable for an orchestration resource.

func (OrchestrationVariable) String

func (m OrchestrationVariable) String() string

type OrchestrationVariableTypeEnumEnum

type OrchestrationVariableTypeEnumEnum string

OrchestrationVariableTypeEnumEnum Enum with underlying type: string

const (
	OrchestrationVariableTypeEnumString  OrchestrationVariableTypeEnumEnum = "STRING"
	OrchestrationVariableTypeEnumInteger OrchestrationVariableTypeEnumEnum = "INTEGER"
)

Set of constants representing the allowable values for OrchestrationVariableTypeEnumEnum

func GetOrchestrationVariableTypeEnumEnumValues

func GetOrchestrationVariableTypeEnumEnumValues() []OrchestrationVariableTypeEnumEnum

GetOrchestrationVariableTypeEnumEnumValues Enumerates the set of values for OrchestrationVariableTypeEnumEnum

type PackageTypeEnumEnum

type PackageTypeEnumEnum string

PackageTypeEnumEnum Enum with underlying type: string

const (
	ListingPackageTypeOrchestration PackageTypeEnumEnum = "ORCHESTRATION"
	ListingPackageTypeImage         PackageTypeEnumEnum = "IMAGE"
)

Set of constants representing the allowable values for PackageTypeEnumEnum Deprecated

const (
	PackageTypeEnumOrchestration PackageTypeEnumEnum = "ORCHESTRATION"
	PackageTypeEnumImage         PackageTypeEnumEnum = "IMAGE"
)

Set of constants representing the allowable values for PackageTypeEnumEnum

func GetPackageTypeEnumEnumValues

func GetPackageTypeEnumEnumValues() []PackageTypeEnumEnum

GetPackageTypeEnumEnumValues Enumerates the set of values for PackageTypeEnumEnum

type PricingCurrencyEnumEnum

type PricingCurrencyEnumEnum string

PricingCurrencyEnumEnum Enum with underlying type: string

const (
	PricingCurrencyEnumUsd PricingCurrencyEnumEnum = "USD"
)

Set of constants representing the allowable values for PricingCurrencyEnumEnum

func GetPricingCurrencyEnumEnumValues

func GetPricingCurrencyEnumEnumValues() []PricingCurrencyEnumEnum

GetPricingCurrencyEnumEnumValues Enumerates the set of values for PricingCurrencyEnumEnum

type PricingModel

type PricingModel struct {

	// The type of the pricing model.
	Type PricingTypeEnumEnum `mandatory:"true" json:"type"`

	// The type of pricing for a PAYGO model, eg PER_OCPU_LINEAR, PER_OCPU_MIN_BILLING, PER_INSTANCE.  Null if type is not PAYGO.
	PayGoStrategy PricingStrategyEnumEnum `mandatory:"false" json:"payGoStrategy,omitempty"`

	// The currency of the pricing model.
	Currency PricingCurrencyEnumEnum `mandatory:"false" json:"currency,omitempty"`

	// The pricing rate.
	Rate *float32 `mandatory:"false" json:"rate"`
}

PricingModel The model for pricing.

func (PricingModel) String

func (m PricingModel) String() string

type PricingStrategyEnumEnum

type PricingStrategyEnumEnum string

PricingStrategyEnumEnum Enum with underlying type: string

const (
	PricingStrategyEnumPerOcpuLinear               PricingStrategyEnumEnum = "PER_OCPU_LINEAR"
	PricingStrategyEnumPerOcpuMinBilling           PricingStrategyEnumEnum = "PER_OCPU_MIN_BILLING"
	PricingStrategyEnumPerInstance                 PricingStrategyEnumEnum = "PER_INSTANCE"
	PricingStrategyEnumPerInstanceMonthlyInclusive PricingStrategyEnumEnum = "PER_INSTANCE_MONTHLY_INCLUSIVE"
)

Set of constants representing the allowable values for PricingStrategyEnumEnum

func GetPricingStrategyEnumEnumValues

func GetPricingStrategyEnumEnumValues() []PricingStrategyEnumEnum

GetPricingStrategyEnumEnumValues Enumerates the set of values for PricingStrategyEnumEnum

type PricingTypeEnumEnum

type PricingTypeEnumEnum string

PricingTypeEnumEnum Enum with underlying type: string

const (
	PricingTypeEnumFree  PricingTypeEnumEnum = "FREE"
	PricingTypeEnumByol  PricingTypeEnumEnum = "BYOL"
	PricingTypeEnumPaygo PricingTypeEnumEnum = "PAYGO"
)

Set of constants representing the allowable values for PricingTypeEnumEnum

func GetPricingTypeEnumEnumValues

func GetPricingTypeEnumEnumValues() []PricingTypeEnumEnum

GetPricingTypeEnumEnumValues Enumerates the set of values for PricingTypeEnumEnum

type Publication

type Publication struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the publication exists.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The unique identifier for the publication in Marketplace.
	Id *string `mandatory:"true" json:"id"`

	// The name of the publication, which is also used in the listing.
	Name *string `mandatory:"true" json:"name"`

	// The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.
	ListingType ListingTypeEnum `mandatory:"true" json:"listingType"`

	// The lifecycle state of the publication.
	LifecycleState PublicationLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A short description of the publication to use in the listing.
	ShortDescription *string `mandatory:"false" json:"shortDescription"`

	// A long description of the publication to use in the listing.
	LongDescription *string `mandatory:"false" json:"longDescription"`

	// Contact information for getting support from the publisher for the listing.
	SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`

	Icon *UploadData `mandatory:"false" json:"icon"`

	// The listing's package type.
	PackageType PackageTypeEnumEnum `mandatory:"false" json:"packageType,omitempty"`

	// The list of operating systems supprted by the listing.
	SupportedOperatingSystems []OperatingSystem `mandatory:"false" json:"supportedOperatingSystems"`

	// The date and time the publication was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

Publication The model for an Oracle Cloud Infrastructure Marketplace publication.

func (Publication) String

func (m Publication) String() string

type PublicationLifecycleStateEnum

type PublicationLifecycleStateEnum string

PublicationLifecycleStateEnum Enum with underlying type: string

const (
	PublicationLifecycleStateCreating PublicationLifecycleStateEnum = "CREATING"
	PublicationLifecycleStateActive   PublicationLifecycleStateEnum = "ACTIVE"
	PublicationLifecycleStateDeleting PublicationLifecycleStateEnum = "DELETING"
	PublicationLifecycleStateDeleted  PublicationLifecycleStateEnum = "DELETED"
	PublicationLifecycleStateFailed   PublicationLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for PublicationLifecycleStateEnum

func GetPublicationLifecycleStateEnumValues

func GetPublicationLifecycleStateEnumValues() []PublicationLifecycleStateEnum

GetPublicationLifecycleStateEnumValues Enumerates the set of values for PublicationLifecycleStateEnum

type PublicationPackage

type PublicationPackage interface {

	// The ID of the listing that the specified package belongs to.
	GetListingId() *string

	// The package version.
	GetVersion() *string

	// A description of the package.
	GetDescription() *string

	// The unique identifier for the package resource.
	GetResourceId() *string

	// The date and time the publication package was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	GetTimeCreated() *common.SDKTime

	GetOperatingSystem() *OperatingSystem
}

PublicationPackage A base object for all types of publication packages.

type PublicationPackageSummary

type PublicationPackageSummary struct {

	// The ID of the listing that the specified package belongs to.
	ListingId *string `mandatory:"true" json:"listingId"`

	// The version of the specified package.
	PackageVersion *string `mandatory:"true" json:"packageVersion"`

	// The specified package's type.
	PackageType PackageTypeEnumEnum `mandatory:"true" json:"packageType"`

	// The unique identifier for the package resource.
	ResourceId *string `mandatory:"true" json:"resourceId"`

	// The date and time the publication package was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

PublicationPackageSummary The model for a summary of a publication package.

func (PublicationPackageSummary) String

func (m PublicationPackageSummary) String() string

type PublicationSummary

type PublicationSummary struct {

	// The lifecycle state of the publication.
	LifecycleState PublicationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the publication exists.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The unique identifier for the publication in Marketplace.
	Id *string `mandatory:"true" json:"id"`

	// The name of the publication, which is also used in the listing.
	Name *string `mandatory:"true" json:"name"`

	// The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.
	ListingType ListingTypeEnum `mandatory:"true" json:"listingType"`

	// A short description of the publication to use in the listing.
	ShortDescription *string `mandatory:"false" json:"shortDescription"`

	Icon *UploadData `mandatory:"false" json:"icon"`

	// The listing's package type.
	PackageType PackageTypeEnumEnum `mandatory:"false" json:"packageType,omitempty"`

	// The list of operating systems supported by the listing.
	SupportedOperatingSystems []OperatingSystem `mandatory:"false" json:"supportedOperatingSystems"`

	// The date and time the publication was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

PublicationSummary The model for a summary of an Oracle Cloud Infrastructure publication.

func (PublicationSummary) String

func (m PublicationSummary) String() string

type Publisher

type Publisher struct {

	// Unique identifier for the publisher.
	Id *string `mandatory:"false" json:"id"`

	// The name of the publisher.
	Name *string `mandatory:"false" json:"name"`

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

	// The year the publisher's company or organization was founded.
	YearFounded *int64 `mandatory:"false" json:"yearFounded"`

	// The publisher's website.
	WebsiteUrl *string `mandatory:"false" json:"websiteUrl"`

	// The email address of the publisher.
	ContactEmail *string `mandatory:"false" json:"contactEmail"`

	// The phone number of the publisher.
	ContactPhone *string `mandatory:"false" json:"contactPhone"`

	// The address of the publisher's headquarters.
	HqAddress *string `mandatory:"false" json:"hqAddress"`


	// Reference links.
	Links []Link `mandatory:"false" json:"links"`
}

Publisher The model for a publisher.

func (Publisher) String

func (m Publisher) String() string

type PublisherSummary

type PublisherSummary struct {

	// The unique identifier for the publisher.
	Id *string `mandatory:"false" json:"id"`

	// The name of the publisher.
	Name *string `mandatory:"false" json:"name"`

	// A description of the publisher.
	Description *string `mandatory:"false" json:"description"`
}

PublisherSummary Summary details about the publisher of the listing.

func (PublisherSummary) String

func (m PublisherSummary) String() string

type Region

type Region struct {

	// The name of the region.
	Name *string `mandatory:"false" json:"name"`

	// The code of the region.
	Code *string `mandatory:"false" json:"code"`

	// Countries in the region.
	Countries []Item `mandatory:"false" json:"countries"`
}

Region The model for regions supported by a listing and package.

func (Region) String

func (m Region) String() string

type ReportCollection

type ReportCollection struct {

	// An array of reports.
	Items []ReportSummary `mandatory:"true" json:"items"`
}

ReportCollection A collection of reports that match the parameters of the request.

func (ReportCollection) String

func (m ReportCollection) String() string

type ReportSummary

type ReportSummary struct {

	// The type of report.
	ReportType *string `mandatory:"true" json:"reportType"`

	// The date of the report.
	Date *common.SDKTime `mandatory:"true" json:"date"`

	// The columns in the report.
	Columns []string `mandatory:"true" json:"columns"`

	// The contents of the report in comma-separated values (CSV) file format.
	Content *string `mandatory:"true" json:"content"`
}

ReportSummary The model of a single report.

func (ReportSummary) String

func (m ReportSummary) String() string

type ReportTypeCollection

type ReportTypeCollection struct {

	// An array of report types.
	Items []ReportTypeSummary `mandatory:"true" json:"items"`
}

ReportTypeCollection A collection of report types.

func (ReportTypeCollection) String

func (m ReportTypeCollection) String() string

type ReportTypeSummary

type ReportTypeSummary struct {

	// The type of report.
	ReportType *string `mandatory:"false" json:"reportType"`

	// The name of the report.
	Name *string `mandatory:"false" json:"name"`

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

	// The columns in the report.
	Columns []string `mandatory:"false" json:"columns"`
}

ReportTypeSummary The model of the description of a report.

func (ReportTypeSummary) String

func (m ReportTypeSummary) String() string

type Screenshot

type Screenshot struct {

	// The name of the screenshot.
	Name *string `mandatory:"false" json:"name"`

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

	// The content URL of the screenshot.
	ContentUrl *string `mandatory:"false" json:"contentUrl"`

	// The MIME type of the screenshot.
	MimeType *string `mandatory:"false" json:"mimeType"`

	// The file extension of the screenshot.
	FileExtension *string `mandatory:"false" json:"fileExtension"`
}

Screenshot The model for a listing's screenshot.

func (Screenshot) String

func (m Screenshot) String() string

type SearchDetailsTypeEnumEnum

type SearchDetailsTypeEnumEnum string

SearchDetailsTypeEnumEnum Enum with underlying type: string

const (
	SearchDetailsTypeEnumFreeText   SearchDetailsTypeEnumEnum = "FreeText"
	SearchDetailsTypeEnumStructured SearchDetailsTypeEnumEnum = "Structured"
)

Set of constants representing the allowable values for SearchDetailsTypeEnumEnum

func GetSearchDetailsTypeEnumEnumValues

func GetSearchDetailsTypeEnumEnumValues() []SearchDetailsTypeEnumEnum

GetSearchDetailsTypeEnumEnumValues Enumerates the set of values for SearchDetailsTypeEnumEnum

type SearchListingsDetails

type SearchListingsDetails interface {

	// The type of matching context returned in the response.
	GetMatchingContextType() MatchingContextTypeEnumEnum
}

SearchListingsDetails The base model for a Search Listings details.

type SearchListingsRequest

type SearchListingsRequest struct {

	// Details related to the search query
	SearchListingsDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The value of the `opc-next-page` response header from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

SearchListingsRequest wrapper for the SearchListings operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/SearchListings.go.html to see an example of how to use SearchListingsRequest.

func (SearchListingsRequest) BinaryRequestBody

func (request SearchListingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (SearchListingsRequest) HTTPRequest

func (request SearchListingsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SearchListingsRequest) RetryPolicy

func (request SearchListingsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SearchListingsRequest) String

func (request SearchListingsRequest) String() string

type SearchListingsResponse

type SearchListingsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ListingSummary instances
	Items []ListingSummary `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

SearchListingsResponse wrapper for the SearchListings operation

func (SearchListingsResponse) HTTPResponse

func (response SearchListingsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SearchListingsResponse) String

func (response SearchListingsResponse) String() string

type StructuredSearchDetails

type StructuredSearchDetails struct {

	// The structured query describing which resources to search for.
	Query *string `mandatory:"true" json:"query"`

	// The type of matching context returned in the response.
	MatchingContextType MatchingContextTypeEnumEnum `mandatory:"false" json:"matchingContextType,omitempty"`
}

StructuredSearchDetails The model for a request that uses Search's structured query language.

func (StructuredSearchDetails) GetMatchingContextType

func (m StructuredSearchDetails) GetMatchingContextType() MatchingContextTypeEnumEnum

GetMatchingContextType returns MatchingContextType

func (StructuredSearchDetails) MarshalJSON

func (m StructuredSearchDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (StructuredSearchDetails) String

func (m StructuredSearchDetails) String() string

type SupportContact

type SupportContact struct {

	// The name of the contact.
	Name *string `mandatory:"false" json:"name"`

	// The phone number of the contact.
	Phone *string `mandatory:"false" json:"phone"`

	// The email of the contact.
	Email *string `mandatory:"false" json:"email"`

	// The email subject line to use when contacting support.
	Subject *string `mandatory:"false" json:"subject"`
}

SupportContact Contact information to use to get support.

func (SupportContact) String

func (m SupportContact) String() string

type TaxSummary

type TaxSummary struct {

	// Unique code for the tax.
	Code *string `mandatory:"true" json:"code"`

	// Name of the tax code.
	Name *string `mandatory:"false" json:"name"`

	// Country, which imposes the tax.
	Country *string `mandatory:"false" json:"country"`

	// The URL with more details about this tax.
	Url *string `mandatory:"false" json:"url"`
}

TaxSummary Tax implication that current tenant may be eligible while using specific listing

func (TaxSummary) String

func (m TaxSummary) String() string

type TextBasedEula

type TextBasedEula struct {

	// The text of the end user license agreement.
	LicenseText *string `mandatory:"false" json:"licenseText"`
}

TextBasedEula An end user license agreement that is provided as text.

func (TextBasedEula) MarshalJSON

func (m TextBasedEula) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (TextBasedEula) String

func (m TextBasedEula) String() string

type ThirdPartyPaidListingEligibility

type ThirdPartyPaidListingEligibility struct {

	// Whether the tenant is permitted to use paid listings
	IsPaidListingEligible *bool `mandatory:"true" json:"isPaidListingEligible"`

	// Whether the tenant is currently prevented from using paid listings because of throttling
	IsPaidListingThrottled *bool `mandatory:"true" json:"isPaidListingThrottled"`

	// Reason the account is ineligible to launch paid listings
	EligibilityReason ThirdPartyPaidListingEligibilityEligibilityReasonEnum `mandatory:"true" json:"eligibilityReason"`
}

ThirdPartyPaidListingEligibility Tenant eligibility for using third party paid listings

func (ThirdPartyPaidListingEligibility) String

type ThirdPartyPaidListingEligibilityEligibilityReasonEnum

type ThirdPartyPaidListingEligibilityEligibilityReasonEnum string

ThirdPartyPaidListingEligibilityEligibilityReasonEnum Enum with underlying type: string

const (
	ThirdPartyPaidListingEligibilityEligibilityReasonEligible                         ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "ELIGIBLE"
	ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleAccountCountry         ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_ACCOUNT_COUNTRY"
	ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleRegion                 ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_REGION"
	ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleAccountBlacklisted     ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_ACCOUNT_BLACKLISTED"
	ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleAccountFeatureDisabled ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_ACCOUNT_FEATURE_DISABLED"
	ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleAccountCurrency        ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_ACCOUNT_CURRENCY"
	ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleAccountNotPaid         ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_ACCOUNT_NOT_PAID"
	ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleAccountInternal        ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_ACCOUNT_INTERNAL"
	ThirdPartyPaidListingEligibilityEligibilityReasonIneligibleAccountGovSubscription ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "INELIGIBLE_ACCOUNT_GOV_SUBSCRIPTION"
	ThirdPartyPaidListingEligibilityEligibilityReasonNotAuthorized                    ThirdPartyPaidListingEligibilityEligibilityReasonEnum = "NOT_AUTHORIZED"
)

Set of constants representing the allowable values for ThirdPartyPaidListingEligibilityEligibilityReasonEnum

func GetThirdPartyPaidListingEligibilityEligibilityReasonEnumValues

func GetThirdPartyPaidListingEligibilityEligibilityReasonEnumValues() []ThirdPartyPaidListingEligibilityEligibilityReasonEnum

GetThirdPartyPaidListingEligibilityEligibilityReasonEnumValues Enumerates the set of values for ThirdPartyPaidListingEligibilityEligibilityReasonEnum

type UpdateAcceptedAgreementDetails

type UpdateAcceptedAgreementDetails struct {

	// A display name for the accepted agreement.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateAcceptedAgreementDetails The model for the parameters needed to update an accepted terms of use agreement.

func (UpdateAcceptedAgreementDetails) String

type UpdateAcceptedAgreementRequest

type UpdateAcceptedAgreementRequest struct {

	// The unique identifier for the accepted terms of use agreement.
	AcceptedAgreementId *string `mandatory:"true" contributesTo:"path" name:"acceptedAgreementId"`

	// Details to update for an accepted agreement.
	UpdateAcceptedAgreementDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or server error without
	// risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before
	// then due to conflicting operations (for example, if a resource has been deleted and purged from the system,
	// then a retry of the original creation request might be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to
	// the value of the etag from a previous GET or POST response for that resource.  The resource will be updated or
	// deleted only if the etag you provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateAcceptedAgreementRequest wrapper for the UpdateAcceptedAgreement operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/UpdateAcceptedAgreement.go.html to see an example of how to use UpdateAcceptedAgreementRequest.

func (UpdateAcceptedAgreementRequest) BinaryRequestBody

func (request UpdateAcceptedAgreementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateAcceptedAgreementRequest) HTTPRequest

func (request UpdateAcceptedAgreementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateAcceptedAgreementRequest) RetryPolicy

func (request UpdateAcceptedAgreementRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateAcceptedAgreementRequest) String

func (request UpdateAcceptedAgreementRequest) String() string

type UpdateAcceptedAgreementResponse

type UpdateAcceptedAgreementResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AcceptedAgreement instance
	AcceptedAgreement `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

UpdateAcceptedAgreementResponse wrapper for the UpdateAcceptedAgreement operation

func (UpdateAcceptedAgreementResponse) HTTPResponse

func (response UpdateAcceptedAgreementResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateAcceptedAgreementResponse) String

func (response UpdateAcceptedAgreementResponse) String() string

type UpdatePublicationDetails

type UpdatePublicationDetails struct {

	// The name of the publication, which is also used in the listing.
	Name *string `mandatory:"false" json:"name"`

	// A short description of the publication to use in the listing.
	ShortDescription *string `mandatory:"false" json:"shortDescription"`

	// A long description of the publication to use in the listing.
	LongDescription *string `mandatory:"false" json:"longDescription"`

	// Contact information for getting support from the publisher for the listing.
	SupportContacts []SupportContact `mandatory:"false" json:"supportContacts"`

	// The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdatePublicationDetails The model for the parameters needed to update a publication.

func (UpdatePublicationDetails) String

func (m UpdatePublicationDetails) String() string

type UpdatePublicationRequest

type UpdatePublicationRequest struct {

	// The unique identifier for the publication.
	PublicationId *string `mandatory:"true" contributesTo:"path" name:"publicationId"`

	// The details for updating the publication.
	UpdatePublicationDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or server error without
	// risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before
	// then due to conflicting operations (for example, if a resource has been deleted and purged from the system,
	// then a retry of the original creation request might be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to
	// the value of the etag from a previous GET or POST response for that resource.  The resource will be updated or
	// deleted only if the etag you provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdatePublicationRequest wrapper for the UpdatePublication operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/marketplace/UpdatePublication.go.html to see an example of how to use UpdatePublicationRequest.

func (UpdatePublicationRequest) BinaryRequestBody

func (request UpdatePublicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdatePublicationRequest) HTTPRequest

func (request UpdatePublicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdatePublicationRequest) RetryPolicy

func (request UpdatePublicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdatePublicationRequest) String

func (request UpdatePublicationRequest) String() string

type UpdatePublicationResponse

type UpdatePublicationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Publication instance
	Publication `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdatePublicationResponse wrapper for the UpdatePublication operation

func (UpdatePublicationResponse) HTTPResponse

func (response UpdatePublicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdatePublicationResponse) String

func (response UpdatePublicationResponse) String() string

type UploadData

type UploadData struct {

	// The name used to refer to the upload data.
	Name *string `mandatory:"false" json:"name"`

	// The content URL of the upload data.
	ContentUrl *string `mandatory:"false" json:"contentUrl"`

	// The MIME type of the upload data.
	MimeType *string `mandatory:"false" json:"mimeType"`

	// The file extension of the upload data.
	FileExtension *string `mandatory:"false" json:"fileExtension"`
}

UploadData The model for upload data for images and icons.

func (UploadData) String

func (m UploadData) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL