osmanagement

package
v65.63.2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0, UPL-1.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetArchTypesEnumStringValues

func GetArchTypesEnumStringValues() []string

GetArchTypesEnumStringValues Enumerates the set of values in String for ArchTypesEnum

func GetChecksumTypesEnumStringValues

func GetChecksumTypesEnumStringValues() []string

GetChecksumTypesEnumStringValues Enumerates the set of values in String for ChecksumTypesEnum

func GetContentAvailabilityEnumStringValues

func GetContentAvailabilityEnumStringValues() []string

GetContentAvailabilityEnumStringValues Enumerates the set of values in String for ContentAvailabilityEnum

func GetEventTypeEnumStringValues

func GetEventTypeEnumStringValues() []string

GetEventTypeEnumStringValues Enumerates the set of values in String for EventTypeEnum

func GetInstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnumStringValues

func GetInstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnumStringValues() []string

GetInstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnumStringValues Enumerates the set of values in String for InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum

func GetInstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnumStringValues

func GetInstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnumStringValues() []string

GetInstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnumStringValues Enumerates the set of values in String for InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum

func GetInstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnumStringValues

func GetInstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnumStringValues() []string

GetInstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnumStringValues Enumerates the set of values in String for InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum

func GetIntervalTypesEnumStringValues

func GetIntervalTypesEnumStringValues() []string

GetIntervalTypesEnumStringValues Enumerates the set of values in String for IntervalTypesEnum

func GetIsEligibleForInstallationEnumStringValues

func GetIsEligibleForInstallationEnumStringValues() []string

GetIsEligibleForInstallationEnumStringValues Enumerates the set of values in String for IsEligibleForInstallationEnum

func GetLifecycleStatesEnumStringValues

func GetLifecycleStatesEnumStringValues() []string

GetLifecycleStatesEnumStringValues Enumerates the set of values in String for LifecycleStatesEnum

func GetListAvailablePackagesForManagedInstanceSortByEnumStringValues

func GetListAvailablePackagesForManagedInstanceSortByEnumStringValues() []string

GetListAvailablePackagesForManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListAvailablePackagesForManagedInstanceSortByEnum

func GetListAvailablePackagesForManagedInstanceSortOrderEnumStringValues

func GetListAvailablePackagesForManagedInstanceSortOrderEnumStringValues() []string

GetListAvailablePackagesForManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListAvailablePackagesForManagedInstanceSortOrderEnum

func GetListAvailableSoftwareSourcesForManagedInstanceSortByEnumStringValues

func GetListAvailableSoftwareSourcesForManagedInstanceSortByEnumStringValues() []string

GetListAvailableSoftwareSourcesForManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListAvailableSoftwareSourcesForManagedInstanceSortByEnum

func GetListAvailableSoftwareSourcesForManagedInstanceSortOrderEnumStringValues

func GetListAvailableSoftwareSourcesForManagedInstanceSortOrderEnumStringValues() []string

GetListAvailableSoftwareSourcesForManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum

func GetListAvailableUpdatesForManagedInstanceSortByEnumStringValues

func GetListAvailableUpdatesForManagedInstanceSortByEnumStringValues() []string

GetListAvailableUpdatesForManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListAvailableUpdatesForManagedInstanceSortByEnum

func GetListAvailableUpdatesForManagedInstanceSortOrderEnumStringValues

func GetListAvailableUpdatesForManagedInstanceSortOrderEnumStringValues() []string

GetListAvailableUpdatesForManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListAvailableUpdatesForManagedInstanceSortOrderEnum

func GetListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnumStringValues

func GetListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnumStringValues() []string

GetListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnumStringValues Enumerates the set of values in String for ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum

func GetListAvailableWindowsUpdatesForManagedInstanceSortByEnumStringValues

func GetListAvailableWindowsUpdatesForManagedInstanceSortByEnumStringValues() []string

GetListAvailableWindowsUpdatesForManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListAvailableWindowsUpdatesForManagedInstanceSortByEnum

func GetListAvailableWindowsUpdatesForManagedInstanceSortOrderEnumStringValues

func GetListAvailableWindowsUpdatesForManagedInstanceSortOrderEnumStringValues() []string

GetListAvailableWindowsUpdatesForManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum

func GetListErrataSortByEnumStringValues

func GetListErrataSortByEnumStringValues() []string

GetListErrataSortByEnumStringValues Enumerates the set of values in String for ListErrataSortByEnum

func GetListErrataSortOrderEnumStringValues

func GetListErrataSortOrderEnumStringValues() []string

GetListErrataSortOrderEnumStringValues Enumerates the set of values in String for ListErrataSortOrderEnum

func GetListEventsEventTypeEnumStringValues

func GetListEventsEventTypeEnumStringValues() []string

GetListEventsEventTypeEnumStringValues Enumerates the set of values in String for ListEventsEventTypeEnum

func GetListEventsSortByEnumStringValues

func GetListEventsSortByEnumStringValues() []string

GetListEventsSortByEnumStringValues Enumerates the set of values in String for ListEventsSortByEnum

func GetListEventsSortOrderEnumStringValues

func GetListEventsSortOrderEnumStringValues() []string

GetListEventsSortOrderEnumStringValues Enumerates the set of values in String for ListEventsSortOrderEnum

func GetListManagedInstanceErrataSortByEnumStringValues

func GetListManagedInstanceErrataSortByEnumStringValues() []string

GetListManagedInstanceErrataSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceErrataSortByEnum

func GetListManagedInstanceErrataSortOrderEnumStringValues

func GetListManagedInstanceErrataSortOrderEnumStringValues() []string

GetListManagedInstanceErrataSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceErrataSortOrderEnum

func GetListManagedInstanceGroupsLifecycleStateEnumStringValues

func GetListManagedInstanceGroupsLifecycleStateEnumStringValues() []string

GetListManagedInstanceGroupsLifecycleStateEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupsLifecycleStateEnum

func GetListManagedInstanceGroupsOsFamilyEnumStringValues

func GetListManagedInstanceGroupsOsFamilyEnumStringValues() []string

GetListManagedInstanceGroupsOsFamilyEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupsOsFamilyEnum

func GetListManagedInstanceGroupsSortByEnumStringValues

func GetListManagedInstanceGroupsSortByEnumStringValues() []string

GetListManagedInstanceGroupsSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupsSortByEnum

func GetListManagedInstanceGroupsSortOrderEnumStringValues

func GetListManagedInstanceGroupsSortOrderEnumStringValues() []string

GetListManagedInstanceGroupsSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupsSortOrderEnum

func GetListManagedInstancesOsFamilyEnumStringValues

func GetListManagedInstancesOsFamilyEnumStringValues() []string

GetListManagedInstancesOsFamilyEnumStringValues Enumerates the set of values in String for ListManagedInstancesOsFamilyEnum

func GetListManagedInstancesSortByEnumStringValues

func GetListManagedInstancesSortByEnumStringValues() []string

GetListManagedInstancesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstancesSortByEnum

func GetListManagedInstancesSortOrderEnumStringValues

func GetListManagedInstancesSortOrderEnumStringValues() []string

GetListManagedInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstancesSortOrderEnum

func GetListModuleStreamProfilesOnManagedInstanceProfileStatusEnumStringValues added in v65.7.0

func GetListModuleStreamProfilesOnManagedInstanceProfileStatusEnumStringValues() []string

GetListModuleStreamProfilesOnManagedInstanceProfileStatusEnumStringValues Enumerates the set of values in String for ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum

func GetListModuleStreamProfilesOnManagedInstanceSortByEnumStringValues added in v65.7.0

func GetListModuleStreamProfilesOnManagedInstanceSortByEnumStringValues() []string

GetListModuleStreamProfilesOnManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListModuleStreamProfilesOnManagedInstanceSortByEnum

func GetListModuleStreamProfilesOnManagedInstanceSortOrderEnumStringValues added in v65.7.0

func GetListModuleStreamProfilesOnManagedInstanceSortOrderEnumStringValues() []string

GetListModuleStreamProfilesOnManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListModuleStreamProfilesOnManagedInstanceSortOrderEnum

func GetListModuleStreamProfilesSortByEnumStringValues added in v65.7.0

func GetListModuleStreamProfilesSortByEnumStringValues() []string

GetListModuleStreamProfilesSortByEnumStringValues Enumerates the set of values in String for ListModuleStreamProfilesSortByEnum

func GetListModuleStreamProfilesSortOrderEnumStringValues added in v65.7.0

func GetListModuleStreamProfilesSortOrderEnumStringValues() []string

GetListModuleStreamProfilesSortOrderEnumStringValues Enumerates the set of values in String for ListModuleStreamProfilesSortOrderEnum

func GetListModuleStreamsOnManagedInstanceSortByEnumStringValues added in v65.7.0

func GetListModuleStreamsOnManagedInstanceSortByEnumStringValues() []string

GetListModuleStreamsOnManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListModuleStreamsOnManagedInstanceSortByEnum

func GetListModuleStreamsOnManagedInstanceSortOrderEnumStringValues added in v65.7.0

func GetListModuleStreamsOnManagedInstanceSortOrderEnumStringValues() []string

GetListModuleStreamsOnManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListModuleStreamsOnManagedInstanceSortOrderEnum

func GetListModuleStreamsOnManagedInstanceStreamStatusEnumStringValues added in v65.7.0

func GetListModuleStreamsOnManagedInstanceStreamStatusEnumStringValues() []string

GetListModuleStreamsOnManagedInstanceStreamStatusEnumStringValues Enumerates the set of values in String for ListModuleStreamsOnManagedInstanceStreamStatusEnum

func GetListModuleStreamsSortByEnumStringValues added in v65.7.0

func GetListModuleStreamsSortByEnumStringValues() []string

GetListModuleStreamsSortByEnumStringValues Enumerates the set of values in String for ListModuleStreamsSortByEnum

func GetListModuleStreamsSortOrderEnumStringValues added in v65.7.0

func GetListModuleStreamsSortOrderEnumStringValues() []string

GetListModuleStreamsSortOrderEnumStringValues Enumerates the set of values in String for ListModuleStreamsSortOrderEnum

func GetListPackagesInstalledOnManagedInstanceSortByEnumStringValues

func GetListPackagesInstalledOnManagedInstanceSortByEnumStringValues() []string

GetListPackagesInstalledOnManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListPackagesInstalledOnManagedInstanceSortByEnum

func GetListPackagesInstalledOnManagedInstanceSortOrderEnumStringValues

func GetListPackagesInstalledOnManagedInstanceSortOrderEnumStringValues() []string

GetListPackagesInstalledOnManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListPackagesInstalledOnManagedInstanceSortOrderEnum

func GetListRelatedEventsSortByEnumStringValues

func GetListRelatedEventsSortByEnumStringValues() []string

GetListRelatedEventsSortByEnumStringValues Enumerates the set of values in String for ListRelatedEventsSortByEnum

func GetListRelatedEventsSortOrderEnumStringValues

func GetListRelatedEventsSortOrderEnumStringValues() []string

GetListRelatedEventsSortOrderEnumStringValues Enumerates the set of values in String for ListRelatedEventsSortOrderEnum

func GetListScheduledJobsLifecycleStateEnumStringValues

func GetListScheduledJobsLifecycleStateEnumStringValues() []string

GetListScheduledJobsLifecycleStateEnumStringValues Enumerates the set of values in String for ListScheduledJobsLifecycleStateEnum

func GetListScheduledJobsOperationTypeEnumStringValues

func GetListScheduledJobsOperationTypeEnumStringValues() []string

GetListScheduledJobsOperationTypeEnumStringValues Enumerates the set of values in String for ListScheduledJobsOperationTypeEnum

func GetListScheduledJobsOsFamilyEnumStringValues

func GetListScheduledJobsOsFamilyEnumStringValues() []string

GetListScheduledJobsOsFamilyEnumStringValues Enumerates the set of values in String for ListScheduledJobsOsFamilyEnum

func GetListScheduledJobsSortByEnumStringValues

func GetListScheduledJobsSortByEnumStringValues() []string

GetListScheduledJobsSortByEnumStringValues Enumerates the set of values in String for ListScheduledJobsSortByEnum

func GetListScheduledJobsSortOrderEnumStringValues

func GetListScheduledJobsSortOrderEnumStringValues() []string

GetListScheduledJobsSortOrderEnumStringValues Enumerates the set of values in String for ListScheduledJobsSortOrderEnum

func GetListSoftwareSourcePackagesSortByEnumStringValues

func GetListSoftwareSourcePackagesSortByEnumStringValues() []string

GetListSoftwareSourcePackagesSortByEnumStringValues Enumerates the set of values in String for ListSoftwareSourcePackagesSortByEnum

func GetListSoftwareSourcePackagesSortOrderEnumStringValues

func GetListSoftwareSourcePackagesSortOrderEnumStringValues() []string

GetListSoftwareSourcePackagesSortOrderEnumStringValues Enumerates the set of values in String for ListSoftwareSourcePackagesSortOrderEnum

func GetListSoftwareSourcesLifecycleStateEnumStringValues

func GetListSoftwareSourcesLifecycleStateEnumStringValues() []string

GetListSoftwareSourcesLifecycleStateEnumStringValues Enumerates the set of values in String for ListSoftwareSourcesLifecycleStateEnum

func GetListSoftwareSourcesSortByEnumStringValues

func GetListSoftwareSourcesSortByEnumStringValues() []string

GetListSoftwareSourcesSortByEnumStringValues Enumerates the set of values in String for ListSoftwareSourcesSortByEnum

func GetListSoftwareSourcesSortOrderEnumStringValues

func GetListSoftwareSourcesSortOrderEnumStringValues() []string

GetListSoftwareSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListSoftwareSourcesSortOrderEnum

func GetListUpcomingScheduledJobsLifecycleStateEnumStringValues

func GetListUpcomingScheduledJobsLifecycleStateEnumStringValues() []string

GetListUpcomingScheduledJobsLifecycleStateEnumStringValues Enumerates the set of values in String for ListUpcomingScheduledJobsLifecycleStateEnum

func GetListUpcomingScheduledJobsOsFamilyEnumStringValues

func GetListUpcomingScheduledJobsOsFamilyEnumStringValues() []string

GetListUpcomingScheduledJobsOsFamilyEnumStringValues Enumerates the set of values in String for ListUpcomingScheduledJobsOsFamilyEnum

func GetListUpcomingScheduledJobsSortByEnumStringValues

func GetListUpcomingScheduledJobsSortByEnumStringValues() []string

GetListUpcomingScheduledJobsSortByEnumStringValues Enumerates the set of values in String for ListUpcomingScheduledJobsSortByEnum

func GetListUpcomingScheduledJobsSortOrderEnumStringValues

func GetListUpcomingScheduledJobsSortOrderEnumStringValues() []string

GetListUpcomingScheduledJobsSortOrderEnumStringValues Enumerates the set of values in String for ListUpcomingScheduledJobsSortOrderEnum

func GetListWindowsUpdatesInstalledOnManagedInstanceSortByEnumStringValues

func GetListWindowsUpdatesInstalledOnManagedInstanceSortByEnumStringValues() []string

GetListWindowsUpdatesInstalledOnManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum

func GetListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnumStringValues

func GetListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnumStringValues() []string

GetListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum

func GetListWindowsUpdatesSortByEnumStringValues

func GetListWindowsUpdatesSortByEnumStringValues() []string

GetListWindowsUpdatesSortByEnumStringValues Enumerates the set of values in String for ListWindowsUpdatesSortByEnum

func GetListWindowsUpdatesSortOrderEnumStringValues

func GetListWindowsUpdatesSortOrderEnumStringValues() []string

GetListWindowsUpdatesSortOrderEnumStringValues Enumerates the set of values in String for ListWindowsUpdatesSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsOsFamilyEnumStringValues

func GetListWorkRequestsOsFamilyEnumStringValues() []string

GetListWorkRequestsOsFamilyEnumStringValues Enumerates the set of values in String for ListWorkRequestsOsFamilyEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetManagedInstanceStatusEnumStringValues

func GetManagedInstanceStatusEnumStringValues() []string

GetManagedInstanceStatusEnumStringValues Enumerates the set of values in String for ManagedInstanceStatusEnum

func GetManagedInstanceSummaryStatusEnumStringValues

func GetManagedInstanceSummaryStatusEnumStringValues() []string

GetManagedInstanceSummaryStatusEnumStringValues Enumerates the set of values in String for ManagedInstanceSummaryStatusEnum

func GetModuleStreamOnManagedInstanceSummaryStatusEnumStringValues added in v65.7.0

func GetModuleStreamOnManagedInstanceSummaryStatusEnumStringValues() []string

GetModuleStreamOnManagedInstanceSummaryStatusEnumStringValues Enumerates the set of values in String for ModuleStreamOnManagedInstanceSummaryStatusEnum

func GetModuleStreamProfileOnManagedInstanceSummaryStatusEnumStringValues added in v65.7.0

func GetModuleStreamProfileOnManagedInstanceSummaryStatusEnumStringValues() []string

GetModuleStreamProfileOnManagedInstanceSummaryStatusEnumStringValues Enumerates the set of values in String for ModuleStreamProfileOnManagedInstanceSummaryStatusEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypesEnumStringValues

func GetOperationTypesEnumStringValues() []string

GetOperationTypesEnumStringValues Enumerates the set of values in String for OperationTypesEnum

func GetOsFamiliesEnumStringValues

func GetOsFamiliesEnumStringValues() []string

GetOsFamiliesEnumStringValues Enumerates the set of values in String for OsFamiliesEnum

func GetPackageUpdateTypesEnumStringValues

func GetPackageUpdateTypesEnumStringValues() []string

GetPackageUpdateTypesEnumStringValues Enumerates the set of values in String for PackageUpdateTypesEnum

func GetRecurrenceIntervalTypeEnumStringValues

func GetRecurrenceIntervalTypeEnumStringValues() []string

GetRecurrenceIntervalTypeEnumStringValues Enumerates the set of values in String for RecurrenceIntervalTypeEnum

func GetScheduleTypesEnumStringValues

func GetScheduleTypesEnumStringValues() []string

GetScheduleTypesEnumStringValues Enumerates the set of values in String for ScheduleTypesEnum

func GetSearchSoftwarePackagesSortByEnumStringValues

func GetSearchSoftwarePackagesSortByEnumStringValues() []string

GetSearchSoftwarePackagesSortByEnumStringValues Enumerates the set of values in String for SearchSoftwarePackagesSortByEnum

func GetSearchSoftwarePackagesSortOrderEnumStringValues

func GetSearchSoftwarePackagesSortOrderEnumStringValues() []string

GetSearchSoftwarePackagesSortOrderEnumStringValues Enumerates the set of values in String for SearchSoftwarePackagesSortOrderEnum

func GetSoftwareSourceStatusEnumStringValues

func GetSoftwareSourceStatusEnumStringValues() []string

GetSoftwareSourceStatusEnumStringValues Enumerates the set of values in String for SoftwareSourceStatusEnum

func GetSoftwareSourceSummaryStatusEnumStringValues

func GetSoftwareSourceSummaryStatusEnumStringValues() []string

GetSoftwareSourceSummaryStatusEnumStringValues Enumerates the set of values in String for SoftwareSourceSummaryStatusEnum

func GetUpdateModuleStreamDetailsStatusEnumStringValues added in v65.7.0

func GetUpdateModuleStreamDetailsStatusEnumStringValues() []string

GetUpdateModuleStreamDetailsStatusEnumStringValues Enumerates the set of values in String for UpdateModuleStreamDetailsStatusEnum

func GetUpdateModuleStreamProfileDetailsStatusEnumStringValues added in v65.7.0

func GetUpdateModuleStreamProfileDetailsStatusEnumStringValues() []string

GetUpdateModuleStreamProfileDetailsStatusEnumStringValues Enumerates the set of values in String for UpdateModuleStreamProfileDetailsStatusEnum

func GetUpdateTypesEnumStringValues

func GetUpdateTypesEnumStringValues() []string

GetUpdateTypesEnumStringValues Enumerates the set of values in String for UpdateTypesEnum

func GetWindowsUpdateInstallationRequirementsEnumStringValues

func GetWindowsUpdateInstallationRequirementsEnumStringValues() []string

GetWindowsUpdateInstallationRequirementsEnumStringValues Enumerates the set of values in String for WindowsUpdateInstallationRequirementsEnum

func GetWorkRequestResourceActionTypeEnumStringValues

func GetWorkRequestResourceActionTypeEnumStringValues() []string

GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum

Types

type AddPackagesToSoftwareSourceDetails

type AddPackagesToSoftwareSourceDetails struct {

	// the list of package names
	PackageNames []string `mandatory:"true" json:"packageNames"`
}

AddPackagesToSoftwareSourceDetails List of software package names

func (AddPackagesToSoftwareSourceDetails) String

func (AddPackagesToSoftwareSourceDetails) ValidateEnumValue

func (m AddPackagesToSoftwareSourceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AddPackagesToSoftwareSourceRequest

type AddPackagesToSoftwareSourceRequest struct {

	// The OCID of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// A list of package identifiers
	AddPackagesToSoftwareSourceDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

AddPackagesToSoftwareSourceRequest wrapper for the AddPackagesToSoftwareSource operation

See also

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

func (AddPackagesToSoftwareSourceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (AddPackagesToSoftwareSourceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (AddPackagesToSoftwareSourceRequest) RetryPolicy

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

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

func (AddPackagesToSoftwareSourceRequest) String

func (request AddPackagesToSoftwareSourceRequest) String() string

func (AddPackagesToSoftwareSourceRequest) ValidateEnumValue

func (request AddPackagesToSoftwareSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AddPackagesToSoftwareSourceResponse

type AddPackagesToSoftwareSourceResponse 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"`
}

AddPackagesToSoftwareSourceResponse wrapper for the AddPackagesToSoftwareSource operation

func (AddPackagesToSoftwareSourceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (AddPackagesToSoftwareSourceResponse) String

func (response AddPackagesToSoftwareSourceResponse) String() string

type ApiError

type ApiError struct {

	// A short error code that defines the error, meant for programmatic
	// parsing.
	Code *string `mandatory:"true" json:"code"`

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

ApiError Error Information

func (ApiError) String

func (m ApiError) String() string

func (ApiError) ValidateEnumValue

func (m ApiError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ArchTypesEnum

type ArchTypesEnum string

ArchTypesEnum Enum with underlying type: string

const (
	ArchTypesIa32        ArchTypesEnum = "IA_32"
	ArchTypesX8664       ArchTypesEnum = "X86_64"
	ArchTypesAarch64     ArchTypesEnum = "AARCH64"
	ArchTypesSparc       ArchTypesEnum = "SPARC"
	ArchTypesAmd64Debian ArchTypesEnum = "AMD64_DEBIAN"
)

Set of constants representing the allowable values for ArchTypesEnum

func GetArchTypesEnumValues

func GetArchTypesEnumValues() []ArchTypesEnum

GetArchTypesEnumValues Enumerates the set of values for ArchTypesEnum

func GetMappingArchTypesEnum

func GetMappingArchTypesEnum(val string) (ArchTypesEnum, bool)

GetMappingArchTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type AttachChildSoftwareSourceToManagedInstanceDetails

type AttachChildSoftwareSourceToManagedInstanceDetails struct {

	// OCID for the Software Source
	SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"`
}

AttachChildSoftwareSourceToManagedInstanceDetails Information for attaching a software source to a managed instance

func (AttachChildSoftwareSourceToManagedInstanceDetails) String

func (AttachChildSoftwareSourceToManagedInstanceDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AttachChildSoftwareSourceToManagedInstanceRequest

type AttachChildSoftwareSourceToManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Details for attaching a Software Source to a Managed Instance
	AttachChildSoftwareSourceToManagedInstanceDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

AttachChildSoftwareSourceToManagedInstanceRequest wrapper for the AttachChildSoftwareSourceToManagedInstance operation

See also

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

func (AttachChildSoftwareSourceToManagedInstanceRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (AttachChildSoftwareSourceToManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (AttachChildSoftwareSourceToManagedInstanceRequest) RetryPolicy

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

func (AttachChildSoftwareSourceToManagedInstanceRequest) String

func (AttachChildSoftwareSourceToManagedInstanceRequest) ValidateEnumValue

func (request AttachChildSoftwareSourceToManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AttachChildSoftwareSourceToManagedInstanceResponse

type AttachChildSoftwareSourceToManagedInstanceResponse 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"`
}

AttachChildSoftwareSourceToManagedInstanceResponse wrapper for the AttachChildSoftwareSourceToManagedInstance operation

func (AttachChildSoftwareSourceToManagedInstanceResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (AttachChildSoftwareSourceToManagedInstanceResponse) String

type AttachManagedInstanceToManagedInstanceGroupRequest

type AttachManagedInstanceToManagedInstanceGroupRequest struct {

	// OCID for the managed instance group
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"query" name:"managedInstanceId"`

	// The client request ID for tracing.
	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
}

AttachManagedInstanceToManagedInstanceGroupRequest wrapper for the AttachManagedInstanceToManagedInstanceGroup operation

See also

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

func (AttachManagedInstanceToManagedInstanceGroupRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (AttachManagedInstanceToManagedInstanceGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (AttachManagedInstanceToManagedInstanceGroupRequest) RetryPolicy

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

func (AttachManagedInstanceToManagedInstanceGroupRequest) String

func (AttachManagedInstanceToManagedInstanceGroupRequest) ValidateEnumValue

func (request AttachManagedInstanceToManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AttachManagedInstanceToManagedInstanceGroupResponse

type AttachManagedInstanceToManagedInstanceGroupResponse 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"`
}

AttachManagedInstanceToManagedInstanceGroupResponse wrapper for the AttachManagedInstanceToManagedInstanceGroup operation

func (AttachManagedInstanceToManagedInstanceGroupResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (AttachManagedInstanceToManagedInstanceGroupResponse) String

type AttachParentSoftwareSourceToManagedInstanceDetails

type AttachParentSoftwareSourceToManagedInstanceDetails struct {

	// OCID for the Software Source
	SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"`
}

AttachParentSoftwareSourceToManagedInstanceDetails Information for attaching a software source to a managed instance

func (AttachParentSoftwareSourceToManagedInstanceDetails) String

func (AttachParentSoftwareSourceToManagedInstanceDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AttachParentSoftwareSourceToManagedInstanceRequest

type AttachParentSoftwareSourceToManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Details for attaching a Software Source to a Managed Instance
	AttachParentSoftwareSourceToManagedInstanceDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

AttachParentSoftwareSourceToManagedInstanceRequest wrapper for the AttachParentSoftwareSourceToManagedInstance operation

See also

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

func (AttachParentSoftwareSourceToManagedInstanceRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (AttachParentSoftwareSourceToManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (AttachParentSoftwareSourceToManagedInstanceRequest) RetryPolicy

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

func (AttachParentSoftwareSourceToManagedInstanceRequest) String

func (AttachParentSoftwareSourceToManagedInstanceRequest) ValidateEnumValue

func (request AttachParentSoftwareSourceToManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AttachParentSoftwareSourceToManagedInstanceResponse

type AttachParentSoftwareSourceToManagedInstanceResponse 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"`
}

AttachParentSoftwareSourceToManagedInstanceResponse wrapper for the AttachParentSoftwareSourceToManagedInstance operation

func (AttachParentSoftwareSourceToManagedInstanceResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (AttachParentSoftwareSourceToManagedInstanceResponse) String

type AutonomousSettings

type AutonomousSettings struct {

	// True if daily updates are enabled
	IsAutoUpdateEnabled *bool `mandatory:"false" json:"isAutoUpdateEnabled"`
}

AutonomousSettings Managed Instance with Autonomous settings

func (AutonomousSettings) String

func (m AutonomousSettings) String() string

func (AutonomousSettings) ValidateEnumValue

func (m AutonomousSettings) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AvailableSoftwareSourceSummary

type AvailableSoftwareSourceSummary struct {

	// unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// OCID for the Compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// User friendly name for the software source
	DisplayName *string `mandatory:"true" json:"displayName"`

	// OCID for the parent software source, if there is one
	ParentId *string `mandatory:"false" json:"parentId"`

	// Display name of the parent software source, if there is one
	ParentName *string `mandatory:"false" json:"parentName"`
}

AvailableSoftwareSourceSummary A software source which can be added to a managed instance. Once a software source is added, packages from that software source can be installed on that managed instance.

func (AvailableSoftwareSourceSummary) String

func (AvailableSoftwareSourceSummary) ValidateEnumValue

func (m AvailableSoftwareSourceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AvailableUpdateSummary

type AvailableUpdateSummary struct {

	// Package name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique identifier for the package available for update. NOTE - This is not an OCID
	Name *string `mandatory:"true" json:"name"`

	// Type of the package
	Type *string `mandatory:"true" json:"type"`

	// Version of the installed package
	InstalledVersion *string `mandatory:"true" json:"installedVersion"`

	// Version of the package available for update
	AvailableVersion *string `mandatory:"true" json:"availableVersion"`

	// The purpose of this update.
	UpdateType UpdateTypesEnum `mandatory:"false" json:"updateType,omitempty"`

	// The architecture for which this package was built
	Architecture *string `mandatory:"false" json:"architecture"`

	// List of errata containing this update
	Errata []Id `mandatory:"false" json:"errata"`

	// List of CVEs applicable to this erratum
	RelatedCves []string `mandatory:"false" json:"relatedCves"`

	// list of software sources that provide the software package
	SoftwareSources []SoftwareSourceId `mandatory:"false" json:"softwareSources"`
}

AvailableUpdateSummary An update available for a managed instance

func (AvailableUpdateSummary) String

func (m AvailableUpdateSummary) String() string

func (AvailableUpdateSummary) ValidateEnumValue

func (m AvailableUpdateSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AvailableWindowsUpdateSummary

type AvailableWindowsUpdateSummary struct {

	// Windows Update name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique identifier for the Windows update. NOTE - This is not an OCID,
	// but is a unique identifier assigned by Microsoft.
	// Example: `6981d463-cd91-4a26-b7c4-ea4ded9183ed`
	Name *string `mandatory:"true" json:"name"`

	// The purpose of this update.
	UpdateType UpdateTypesEnum `mandatory:"true" json:"updateType"`

	// Indicates whether the update can be installed using OSMS.
	IsEligibleForInstallation IsEligibleForInstallationEnum `mandatory:"false" json:"isEligibleForInstallation,omitempty"`

	// Indicates whether a reboot may be required to complete installation of this update.
	IsRebootRequiredForInstallation *bool `mandatory:"false" json:"isRebootRequiredForInstallation"`
}

AvailableWindowsUpdateSummary An update available for installation on the Windows managed instance.

func (AvailableWindowsUpdateSummary) String

func (AvailableWindowsUpdateSummary) ValidateEnumValue

func (m AvailableWindowsUpdateSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeManagedInstanceGroupCompartmentDetails

type ChangeManagedInstanceGroupCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
	// compartment into which the resource should be moved.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

ChangeManagedInstanceGroupCompartmentDetails Compartment id for a managed instance group

func (ChangeManagedInstanceGroupCompartmentDetails) String

func (ChangeManagedInstanceGroupCompartmentDetails) ValidateEnumValue

func (m ChangeManagedInstanceGroupCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeManagedInstanceGroupCompartmentRequest

type ChangeManagedInstanceGroupCompartmentRequest struct {

	// OCID for the managed instance group
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// OCID for the compartment to which the resource will be moved.
	ChangeManagedInstanceGroupCompartmentDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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"`

	// 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
}

ChangeManagedInstanceGroupCompartmentRequest wrapper for the ChangeManagedInstanceGroupCompartment operation

See also

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

func (ChangeManagedInstanceGroupCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeManagedInstanceGroupCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeManagedInstanceGroupCompartmentRequest) RetryPolicy

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

func (ChangeManagedInstanceGroupCompartmentRequest) String

func (ChangeManagedInstanceGroupCompartmentRequest) ValidateEnumValue

func (request ChangeManagedInstanceGroupCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeManagedInstanceGroupCompartmentResponse

type ChangeManagedInstanceGroupCompartmentResponse 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"`
}

ChangeManagedInstanceGroupCompartmentResponse wrapper for the ChangeManagedInstanceGroupCompartment operation

func (ChangeManagedInstanceGroupCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeManagedInstanceGroupCompartmentResponse) String

type ChangeScheduledJobCompartmentDetails

type ChangeScheduledJobCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
	// compartment into which the resource should be moved.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

ChangeScheduledJobCompartmentDetails Compartment id for a scheduled job

func (ChangeScheduledJobCompartmentDetails) String

func (ChangeScheduledJobCompartmentDetails) ValidateEnumValue

func (m ChangeScheduledJobCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeScheduledJobCompartmentRequest

type ChangeScheduledJobCompartmentRequest struct {

	// The ID of the scheduled job.
	ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"`

	// OCID for the compartment to which the resource will be moved.
	ChangeScheduledJobCompartmentDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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"`

	// 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
}

ChangeScheduledJobCompartmentRequest wrapper for the ChangeScheduledJobCompartment operation

See also

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

func (ChangeScheduledJobCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeScheduledJobCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeScheduledJobCompartmentRequest) RetryPolicy

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

func (ChangeScheduledJobCompartmentRequest) String

func (ChangeScheduledJobCompartmentRequest) ValidateEnumValue

func (request ChangeScheduledJobCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeScheduledJobCompartmentResponse

type ChangeScheduledJobCompartmentResponse 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"`
}

ChangeScheduledJobCompartmentResponse wrapper for the ChangeScheduledJobCompartment operation

func (ChangeScheduledJobCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeScheduledJobCompartmentResponse) String

type ChangeSoftwareSourceCompartmentDetails

type ChangeSoftwareSourceCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
	// compartment into which the resource should be moved.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

ChangeSoftwareSourceCompartmentDetails Compartment id for a software source

func (ChangeSoftwareSourceCompartmentDetails) String

func (ChangeSoftwareSourceCompartmentDetails) ValidateEnumValue

func (m ChangeSoftwareSourceCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeSoftwareSourceCompartmentRequest

type ChangeSoftwareSourceCompartmentRequest struct {

	// The OCID of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// OCID for the compartment to which the resource will be moved.
	ChangeSoftwareSourceCompartmentDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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"`

	// 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
}

ChangeSoftwareSourceCompartmentRequest wrapper for the ChangeSoftwareSourceCompartment operation

See also

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

func (ChangeSoftwareSourceCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeSoftwareSourceCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeSoftwareSourceCompartmentRequest) RetryPolicy

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

func (ChangeSoftwareSourceCompartmentRequest) String

func (ChangeSoftwareSourceCompartmentRequest) ValidateEnumValue

func (request ChangeSoftwareSourceCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeSoftwareSourceCompartmentResponse

type ChangeSoftwareSourceCompartmentResponse 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"`
}

ChangeSoftwareSourceCompartmentResponse wrapper for the ChangeSoftwareSourceCompartment operation

func (ChangeSoftwareSourceCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeSoftwareSourceCompartmentResponse) String

type ChecksumTypesEnum

type ChecksumTypesEnum string

ChecksumTypesEnum Enum with underlying type: string

const (
	ChecksumTypesSha1   ChecksumTypesEnum = "SHA1"
	ChecksumTypesSha256 ChecksumTypesEnum = "SHA256"
	ChecksumTypesSha384 ChecksumTypesEnum = "SHA384"
	ChecksumTypesSha512 ChecksumTypesEnum = "SHA512"
)

Set of constants representing the allowable values for ChecksumTypesEnum

func GetChecksumTypesEnumValues

func GetChecksumTypesEnumValues() []ChecksumTypesEnum

GetChecksumTypesEnumValues Enumerates the set of values for ChecksumTypesEnum

func GetMappingChecksumTypesEnum

func GetMappingChecksumTypesEnum(val string) (ChecksumTypesEnum, bool)

GetMappingChecksumTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type ContentAvailabilityEnum

type ContentAvailabilityEnum string

ContentAvailabilityEnum Enum with underlying type: string

const (
	ContentAvailabilityNotAvailable                        ContentAvailabilityEnum = "NOT_AVAILABLE"
	ContentAvailabilityAvailableOnInstance                 ContentAvailabilityEnum = "AVAILABLE_ON_INSTANCE"
	ContentAvailabilityAvailableOnService                  ContentAvailabilityEnum = "AVAILABLE_ON_SERVICE"
	ContentAvailabilityAvailableOnInstanceAndService       ContentAvailabilityEnum = "AVAILABLE_ON_INSTANCE_AND_SERVICE"
	ContentAvailabilityAvailableOnInstanceUploadInProgress ContentAvailabilityEnum = "AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS"
)

Set of constants representing the allowable values for ContentAvailabilityEnum

func GetContentAvailabilityEnumValues

func GetContentAvailabilityEnumValues() []ContentAvailabilityEnum

GetContentAvailabilityEnumValues Enumerates the set of values for ContentAvailabilityEnum

func GetMappingContentAvailabilityEnum

func GetMappingContentAvailabilityEnum(val string) (ContentAvailabilityEnum, bool)

GetMappingContentAvailabilityEnum performs case Insensitive comparison on enum value and return the desired enum

type CrashEventSystemInformation

type CrashEventSystemInformation struct {

	// system architecture
	Architecture ArchTypesEnum `mandatory:"false" json:"architecture,omitempty"`

	// Active ksplice kernel version (uptrack-uname -r)
	KspliceEffectiveKernelVersion *string `mandatory:"false" json:"kspliceEffectiveKernelVersion"`

	// The Operating System type of the managed instance.
	OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"`

	// Operating System Name (OCA value)
	OsName *string `mandatory:"false" json:"osName"`

	// Operating System Kernel Release (uname -v)
	OsKernelRelease *string `mandatory:"false" json:"osKernelRelease"`

	// Operating System Kernel Version (uname -r)
	OsKernelVersion *string `mandatory:"false" json:"osKernelVersion"`

	// Version of the OS (VERSION from /etc/os-release)
	OsSystemVersion *string `mandatory:"false" json:"osSystemVersion"`
}

CrashEventSystemInformation Detailed information about system at the time of the crash.

func (CrashEventSystemInformation) String

func (CrashEventSystemInformation) ValidateEnumValue

func (m CrashEventSystemInformation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateManagedInstanceGroupDetails

type CreateManagedInstanceGroupDetails struct {

	// Managed Instance Group identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// OCID for the Compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Information specified by the user about the managed instance group
	Description *string `mandatory:"false" json:"description"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The Operating System type of the managed instance(s) on which this scheduled job will operate.
	// If not specified, this defaults to Linux.
	OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"`
}

CreateManagedInstanceGroupDetails Detail information for creating a managed instance group

func (CreateManagedInstanceGroupDetails) String

func (CreateManagedInstanceGroupDetails) ValidateEnumValue

func (m CreateManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateManagedInstanceGroupRequest

type CreateManagedInstanceGroupRequest struct {

	// Details about a Managed Instance Group to create
	CreateManagedInstanceGroupDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

CreateManagedInstanceGroupRequest wrapper for the CreateManagedInstanceGroup operation

See also

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

func (CreateManagedInstanceGroupRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateManagedInstanceGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateManagedInstanceGroupRequest) RetryPolicy

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

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

func (CreateManagedInstanceGroupRequest) String

func (request CreateManagedInstanceGroupRequest) String() string

func (CreateManagedInstanceGroupRequest) ValidateEnumValue

func (request CreateManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateManagedInstanceGroupResponse

type CreateManagedInstanceGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// A link to the created Managed Instance Group
	Location *string `presentIn:"header" name:"location"`

	// 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"`
}

CreateManagedInstanceGroupResponse wrapper for the CreateManagedInstanceGroup operation

func (CreateManagedInstanceGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateManagedInstanceGroupResponse) String

func (response CreateManagedInstanceGroupResponse) String() string

type CreateScheduledJobDetails

type CreateScheduledJobDetails struct {

	// OCID for the Compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Scheduled Job name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// the type of scheduling this Scheduled Job follows
	ScheduleType ScheduleTypesEnum `mandatory:"true" json:"scheduleType"`

	// the desired time for the next execution of this Scheduled Job
	TimeNextExecution *common.SDKTime `mandatory:"true" json:"timeNextExecution"`

	// the type of operation this Scheduled Job performs
	OperationType OperationTypesEnum `mandatory:"true" json:"operationType"`

	// Details describing the Scheduled Job.
	Description *string `mandatory:"false" json:"description"`

	// the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)
	IntervalType IntervalTypesEnum `mandatory:"false" json:"intervalType,omitempty"`

	// the value for the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)
	IntervalValue *string `mandatory:"false" json:"intervalValue"`

	// The list of managed instances this scheduled job operates on
	// (mutually exclusive with managedInstanceGroups). Either this or the
	// managedInstanceGroups must be supplied.
	ManagedInstances []Id `mandatory:"false" json:"managedInstances"`

	// The list of managed instance groups this scheduled job operates on
	// (mutually exclusive with managedInstances). Either this or
	// managedInstances must be supplied.
	ManagedInstanceGroups []Id `mandatory:"false" json:"managedInstanceGroups"`

	// Type of the update (only if operation type is UPDATEALL)
	UpdateType PackageUpdateTypesEnum `mandatory:"false" json:"updateType,omitempty"`

	// the id of the package (only if operation type is INSTALL/UPDATE/REMOVE)
	PackageNames []PackageName `mandatory:"false" json:"packageNames"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The unique names of the Windows Updates (only if operation type is INSTALL).
	// This is only applicable when the osFamily is for Windows managed instances.
	UpdateNames []string `mandatory:"false" json:"updateNames"`

	// The Operating System type of the managed instance(s) on which this scheduled job will operate.
	// If not specified, this defaults to Linux.
	OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"`
}

CreateScheduledJobDetails Information for creating a Scheduled Job

func (CreateScheduledJobDetails) String

func (m CreateScheduledJobDetails) String() string

func (CreateScheduledJobDetails) ValidateEnumValue

func (m CreateScheduledJobDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateScheduledJobRequest

type CreateScheduledJobRequest struct {

	// Details about a Scheduled Job to create
	CreateScheduledJobDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

CreateScheduledJobRequest wrapper for the CreateScheduledJob operation

See also

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

func (CreateScheduledJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateScheduledJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateScheduledJobRequest) RetryPolicy

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

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

func (CreateScheduledJobRequest) String

func (request CreateScheduledJobRequest) String() string

func (CreateScheduledJobRequest) ValidateEnumValue

func (request CreateScheduledJobRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateScheduledJobResponse

type CreateScheduledJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// A link to the created Scheduled Job
	Location *string `presentIn:"header" name:"location"`

	// 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"`
}

CreateScheduledJobResponse wrapper for the CreateScheduledJob operation

func (CreateScheduledJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateScheduledJobResponse) String

func (response CreateScheduledJobResponse) String() string

type CreateSoftwareSourceDetails

type CreateSoftwareSourceDetails struct {

	// OCID for the Compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// User friendly name for the software source
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The architecture type supported by the Software Source
	ArchType ArchTypesEnum `mandatory:"true" json:"archType"`

	// Information specified by the user about the software source
	Description *string `mandatory:"false" json:"description"`

	// Name of the person maintaining this software source
	MaintainerName *string `mandatory:"false" json:"maintainerName"`

	// Email address of the person maintaining this software source
	MaintainerEmail *string `mandatory:"false" json:"maintainerEmail"`

	// Phone number of the person maintaining this software source
	MaintainerPhone *string `mandatory:"false" json:"maintainerPhone"`

	// The yum repository checksum type used by this software source
	ChecksumType ChecksumTypesEnum `mandatory:"false" json:"checksumType,omitempty"`

	// OCID for the parent software source, if there is one
	ParentId *string `mandatory:"false" json:"parentId"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateSoftwareSourceDetails Description of a software source to be created on the management system

func (CreateSoftwareSourceDetails) String

func (CreateSoftwareSourceDetails) ValidateEnumValue

func (m CreateSoftwareSourceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateSoftwareSourceRequest

type CreateSoftwareSourceRequest struct {

	// Details about a Sofware Source to create
	CreateSoftwareSourceDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

CreateSoftwareSourceRequest wrapper for the CreateSoftwareSource operation

See also

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

func (CreateSoftwareSourceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateSoftwareSourceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateSoftwareSourceRequest) RetryPolicy

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

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

func (CreateSoftwareSourceRequest) String

func (request CreateSoftwareSourceRequest) String() string

func (CreateSoftwareSourceRequest) ValidateEnumValue

func (request CreateSoftwareSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateSoftwareSourceResponse

type CreateSoftwareSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// A link to the created Software Source
	Location *string `presentIn:"header" name:"location"`

	// 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"`
}

CreateSoftwareSourceResponse wrapper for the CreateSoftwareSource operation

func (CreateSoftwareSourceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateSoftwareSourceResponse) String

func (response CreateSoftwareSourceResponse) String() string

type DeleteEventContentRequest

type DeleteEventContentRequest struct {

	// Instance Oracle Cloud identifier (ocid)
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Unique Event identifier (OCID)
	EventId *string `mandatory:"true" contributesTo:"path" name:"eventId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The client request ID for tracing.
	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"`

	// 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
}

DeleteEventContentRequest wrapper for the DeleteEventContent operation

See also

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

func (DeleteEventContentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteEventContentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteEventContentRequest) RetryPolicy

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

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

func (DeleteEventContentRequest) String

func (request DeleteEventContentRequest) String() string

func (DeleteEventContentRequest) ValidateEnumValue

func (request DeleteEventContentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteEventContentResponse

type DeleteEventContentResponse 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"`
}

DeleteEventContentResponse wrapper for the DeleteEventContent operation

func (DeleteEventContentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteEventContentResponse) String

func (response DeleteEventContentResponse) String() string

type DeleteManagedInstanceGroupRequest

type DeleteManagedInstanceGroupRequest struct {

	// OCID for the managed instance group
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The client request ID for tracing.
	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
}

DeleteManagedInstanceGroupRequest wrapper for the DeleteManagedInstanceGroup operation

See also

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

func (DeleteManagedInstanceGroupRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteManagedInstanceGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteManagedInstanceGroupRequest) RetryPolicy

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

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

func (DeleteManagedInstanceGroupRequest) String

func (request DeleteManagedInstanceGroupRequest) String() string

func (DeleteManagedInstanceGroupRequest) ValidateEnumValue

func (request DeleteManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteManagedInstanceGroupResponse

type DeleteManagedInstanceGroupResponse 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"`
}

DeleteManagedInstanceGroupResponse wrapper for the DeleteManagedInstanceGroup operation

func (DeleteManagedInstanceGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteManagedInstanceGroupResponse) String

func (response DeleteManagedInstanceGroupResponse) String() string

type DeleteScheduledJobRequest

type DeleteScheduledJobRequest struct {

	// The ID of the scheduled job.
	ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"`

	// The client request ID for tracing.
	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
}

DeleteScheduledJobRequest wrapper for the DeleteScheduledJob operation

See also

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

func (DeleteScheduledJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteScheduledJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteScheduledJobRequest) RetryPolicy

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

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

func (DeleteScheduledJobRequest) String

func (request DeleteScheduledJobRequest) String() string

func (DeleteScheduledJobRequest) ValidateEnumValue

func (request DeleteScheduledJobRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteScheduledJobResponse

type DeleteScheduledJobResponse 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"`
}

DeleteScheduledJobResponse wrapper for the DeleteScheduledJob operation

func (DeleteScheduledJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteScheduledJobResponse) String

func (response DeleteScheduledJobResponse) String() string

type DeleteSoftwareSourceRequest

type DeleteSoftwareSourceRequest struct {

	// The OCID of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// The client request ID for tracing.
	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
}

DeleteSoftwareSourceRequest wrapper for the DeleteSoftwareSource operation

See also

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

func (DeleteSoftwareSourceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteSoftwareSourceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteSoftwareSourceRequest) RetryPolicy

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

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

func (DeleteSoftwareSourceRequest) String

func (request DeleteSoftwareSourceRequest) String() string

func (DeleteSoftwareSourceRequest) ValidateEnumValue

func (request DeleteSoftwareSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteSoftwareSourceResponse

type DeleteSoftwareSourceResponse 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"`
}

DeleteSoftwareSourceResponse wrapper for the DeleteSoftwareSource operation

func (DeleteSoftwareSourceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteSoftwareSourceResponse) String

func (response DeleteSoftwareSourceResponse) String() string

type DetachChildSoftwareSourceFromManagedInstanceDetails

type DetachChildSoftwareSourceFromManagedInstanceDetails struct {

	// OCID for the Software Source
	SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"`
}

DetachChildSoftwareSourceFromManagedInstanceDetails Information for detaching a software source from a managed instance

func (DetachChildSoftwareSourceFromManagedInstanceDetails) String

func (DetachChildSoftwareSourceFromManagedInstanceDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetachChildSoftwareSourceFromManagedInstanceRequest

type DetachChildSoftwareSourceFromManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Details for detaching a Software Source from a Managed Instance
	DetachChildSoftwareSourceFromManagedInstanceDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

DetachChildSoftwareSourceFromManagedInstanceRequest wrapper for the DetachChildSoftwareSourceFromManagedInstance operation

See also

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

func (DetachChildSoftwareSourceFromManagedInstanceRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (DetachChildSoftwareSourceFromManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DetachChildSoftwareSourceFromManagedInstanceRequest) RetryPolicy

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

func (DetachChildSoftwareSourceFromManagedInstanceRequest) String

func (DetachChildSoftwareSourceFromManagedInstanceRequest) ValidateEnumValue

func (request DetachChildSoftwareSourceFromManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetachChildSoftwareSourceFromManagedInstanceResponse

type DetachChildSoftwareSourceFromManagedInstanceResponse 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"`
}

DetachChildSoftwareSourceFromManagedInstanceResponse wrapper for the DetachChildSoftwareSourceFromManagedInstance operation

func (DetachChildSoftwareSourceFromManagedInstanceResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (DetachChildSoftwareSourceFromManagedInstanceResponse) String

type DetachManagedInstanceFromManagedInstanceGroupRequest

type DetachManagedInstanceFromManagedInstanceGroupRequest struct {

	// OCID for the managed instance group
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"query" name:"managedInstanceId"`

	// The client request ID for tracing.
	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
}

DetachManagedInstanceFromManagedInstanceGroupRequest wrapper for the DetachManagedInstanceFromManagedInstanceGroup operation

See also

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

func (DetachManagedInstanceFromManagedInstanceGroupRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (DetachManagedInstanceFromManagedInstanceGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DetachManagedInstanceFromManagedInstanceGroupRequest) RetryPolicy

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

func (DetachManagedInstanceFromManagedInstanceGroupRequest) String

func (DetachManagedInstanceFromManagedInstanceGroupRequest) ValidateEnumValue

func (request DetachManagedInstanceFromManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetachManagedInstanceFromManagedInstanceGroupResponse

type DetachManagedInstanceFromManagedInstanceGroupResponse 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"`
}

DetachManagedInstanceFromManagedInstanceGroupResponse wrapper for the DetachManagedInstanceFromManagedInstanceGroup operation

func (DetachManagedInstanceFromManagedInstanceGroupResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (DetachManagedInstanceFromManagedInstanceGroupResponse) String

type DetachParentSoftwareSourceFromManagedInstanceDetails

type DetachParentSoftwareSourceFromManagedInstanceDetails struct {

	// OCID for the Software Source
	SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"`
}

DetachParentSoftwareSourceFromManagedInstanceDetails Information for detaching a software source from a managed instance

func (DetachParentSoftwareSourceFromManagedInstanceDetails) String

func (DetachParentSoftwareSourceFromManagedInstanceDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetachParentSoftwareSourceFromManagedInstanceRequest

type DetachParentSoftwareSourceFromManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Details for detaching a Software Source from a Managed Instance
	DetachParentSoftwareSourceFromManagedInstanceDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

DetachParentSoftwareSourceFromManagedInstanceRequest wrapper for the DetachParentSoftwareSourceFromManagedInstance operation

See also

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

func (DetachParentSoftwareSourceFromManagedInstanceRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (DetachParentSoftwareSourceFromManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DetachParentSoftwareSourceFromManagedInstanceRequest) RetryPolicy

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

func (DetachParentSoftwareSourceFromManagedInstanceRequest) String

func (DetachParentSoftwareSourceFromManagedInstanceRequest) ValidateEnumValue

func (request DetachParentSoftwareSourceFromManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetachParentSoftwareSourceFromManagedInstanceResponse

type DetachParentSoftwareSourceFromManagedInstanceResponse 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"`
}

DetachParentSoftwareSourceFromManagedInstanceResponse wrapper for the DetachParentSoftwareSourceFromManagedInstance operation

func (DetachParentSoftwareSourceFromManagedInstanceResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (DetachParentSoftwareSourceFromManagedInstanceResponse) String

type DisableModuleStreamOnManagedInstanceRequest added in v65.7.0

type DisableModuleStreamOnManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// The name of a module.
	ModuleName *string `mandatory:"true" contributesTo:"query" name:"moduleName"`

	// The client request ID for tracing.
	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"`

	// The name of the stream of the containing module.  This parameter
	// is required if a profileName is specified.
	StreamName *string `mandatory:"false" contributesTo:"query" name:"streamName"`

	// 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
}

DisableModuleStreamOnManagedInstanceRequest wrapper for the DisableModuleStreamOnManagedInstance operation

See also

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

func (DisableModuleStreamOnManagedInstanceRequest) BinaryRequestBody added in v65.7.0

BinaryRequestBody implements the OCIRequest interface

func (DisableModuleStreamOnManagedInstanceRequest) HTTPRequest added in v65.7.0

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

HTTPRequest implements the OCIRequest interface

func (DisableModuleStreamOnManagedInstanceRequest) RetryPolicy added in v65.7.0

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

func (DisableModuleStreamOnManagedInstanceRequest) String added in v65.7.0

func (DisableModuleStreamOnManagedInstanceRequest) ValidateEnumValue added in v65.7.0

func (request DisableModuleStreamOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DisableModuleStreamOnManagedInstanceResponse added in v65.7.0

type DisableModuleStreamOnManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

DisableModuleStreamOnManagedInstanceResponse wrapper for the DisableModuleStreamOnManagedInstance operation

func (DisableModuleStreamOnManagedInstanceResponse) HTTPResponse added in v65.7.0

HTTPResponse implements the OCIResponse interface

func (DisableModuleStreamOnManagedInstanceResponse) String added in v65.7.0

type EnableModuleStreamOnManagedInstanceRequest added in v65.7.0

type EnableModuleStreamOnManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// The name of a module.
	ModuleName *string `mandatory:"true" contributesTo:"query" name:"moduleName"`

	// The client request ID for tracing.
	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"`

	// The name of the stream of the containing module.  This parameter
	// is required if a profileName is specified.
	StreamName *string `mandatory:"false" contributesTo:"query" name:"streamName"`

	// 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
}

EnableModuleStreamOnManagedInstanceRequest wrapper for the EnableModuleStreamOnManagedInstance operation

See also

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

func (EnableModuleStreamOnManagedInstanceRequest) BinaryRequestBody added in v65.7.0

BinaryRequestBody implements the OCIRequest interface

func (EnableModuleStreamOnManagedInstanceRequest) HTTPRequest added in v65.7.0

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

HTTPRequest implements the OCIRequest interface

func (EnableModuleStreamOnManagedInstanceRequest) RetryPolicy added in v65.7.0

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

func (EnableModuleStreamOnManagedInstanceRequest) String added in v65.7.0

func (EnableModuleStreamOnManagedInstanceRequest) ValidateEnumValue added in v65.7.0

func (request EnableModuleStreamOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EnableModuleStreamOnManagedInstanceResponse added in v65.7.0

type EnableModuleStreamOnManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

EnableModuleStreamOnManagedInstanceResponse wrapper for the EnableModuleStreamOnManagedInstance operation

func (EnableModuleStreamOnManagedInstanceResponse) HTTPResponse added in v65.7.0

HTTPResponse implements the OCIResponse interface

func (EnableModuleStreamOnManagedInstanceResponse) String added in v65.7.0

type Erratum

type Erratum struct {

	// Advisory name
	Name *string `mandatory:"true" json:"name"`

	// OCID for the Erratum.
	Id *string `mandatory:"true" json:"id"`

	// OCID for the Compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Summary description of the erratum.
	Synopsis *string `mandatory:"false" json:"synopsis"`

	// date the erratum was issued
	Issued *string `mandatory:"false" json:"issued"`

	// Details describing the erratum.
	Description *string `mandatory:"false" json:"description"`

	// most recent date the erratum was updated
	Updated *string `mandatory:"false" json:"updated"`

	// Type of the erratum.
	AdvisoryType UpdateTypesEnum `mandatory:"false" json:"advisoryType,omitempty"`

	// Information specifying from where the erratum was release.
	From *string `mandatory:"false" json:"from"`

	// Information describing how the erratum can be resolved.
	Solution *string `mandatory:"false" json:"solution"`

	// Information describing how to find more information about the erratum.
	References *string `mandatory:"false" json:"references"`

	// list of managed instances  to this erratum
	AffectedInstances []Id `mandatory:"false" json:"affectedInstances"`

	// list of CVEs applicable to this erratum
	RelatedCves []string `mandatory:"false" json:"relatedCves"`

	// list of Software Sources
	SoftwareSources []Id `mandatory:"false" json:"softwareSources"`

	// list of Packages affected by this erratum
	Packages []SoftwarePackageSummary `mandatory:"false" json:"packages"`
}

Erratum Details about the erratum.

func (Erratum) String

func (m Erratum) String() string

func (Erratum) ValidateEnumValue

func (m Erratum) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ErratumSummary

type ErratumSummary struct {

	// Advisory name
	Name *string `mandatory:"true" json:"name"`

	// OCID for the Erratum.
	Id *string `mandatory:"true" json:"id"`

	// OCID for the Compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Summary description of the erratum.
	Synopsis *string `mandatory:"false" json:"synopsis"`

	// date the erratum was issued
	Issued *string `mandatory:"false" json:"issued"`

	// most recent date the erratum was updated
	Updated *string `mandatory:"false" json:"updated"`

	// Type of the erratum.
	AdvisoryType UpdateTypesEnum `mandatory:"false" json:"advisoryType,omitempty"`

	// list of CVEs applicable to this erratum
	RelatedCves []string `mandatory:"false" json:"relatedCves"`
}

ErratumSummary Important changes for software. This can include security | advisories, bug fixes, or enhancements.

func (ErratumSummary) String

func (m ErratumSummary) String() string

func (ErratumSummary) ValidateEnumValue

func (m ErratumSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Event

type Event interface {

	// OCID identifier of the event
	GetId() *string

	// OCI identifier of the instance where the event occurred
	GetInstanceId() *string

	// OCI identifier of the compartement where the instance is
	GetCompartmentId() *string

	// OCID identifier of the instance tenancy.
	GetTenancyId() *string

	// human readable description of the event
	GetSummary() *string

	// Time of the occurrence of the event
	GetTimestamp() *common.SDKTime

	// Unique ID used to group event with the same characteristics together.
	// The list of such groups of event can be retrieved via /recurringEvents/{EventFingerprint}
	GetEventFingerprint() *string

	// Event occurrence count. Number of time the event has happen on the system.
	GetCount() *int

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	GetSystemTags() map[string]map[string]interface{}
}

Event Description of Event.

type EventClient

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

EventClient a client for Event

func NewEventClientWithConfigurationProvider

func NewEventClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client EventClient, err error)

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

func NewEventClientWithOboToken

func NewEventClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client EventClient, err error)

NewEventClientWithOboToken Creates a new default Event 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 (*EventClient) ConfigurationProvider

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

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

func (EventClient) DeleteEventContent

func (client EventClient) DeleteEventContent(ctx context.Context, request DeleteEventContentRequest) (response DeleteEventContentResponse, err error)

DeleteEventContent Delete an event content ZIP archive from the service

See also

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

func (EventClient) GetEvent

func (client EventClient) GetEvent(ctx context.Context, request GetEventRequest) (response GetEventResponse, err error)

GetEvent Gets an Event by identifier

See also

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

func (EventClient) GetEventContent

func (client EventClient) GetEventContent(ctx context.Context, request GetEventContentRequest) (response GetEventContentResponse, err error)

GetEventContent Get additional data about a event as a ZIP archive. The archive content depends on the event eventType.

See also

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

func (EventClient) GetEventReport

func (client EventClient) GetEventReport(ctx context.Context, request GetEventReportRequest) (response GetEventReportResponse, err error)

GetEventReport Get summary information about events on this instance.

See also

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

func (EventClient) ListEvents

func (client EventClient) ListEvents(ctx context.Context, request ListEventsRequest) (response ListEventsResponse, err error)

ListEvents Returns a list of Events.

See also

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

func (EventClient) ListRelatedEvents

func (client EventClient) ListRelatedEvents(ctx context.Context, request ListRelatedEventsRequest) (response ListRelatedEventsResponse, err error)

ListRelatedEvents Returns a list of related events. For now pagination is not implemented.

See also

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

func (*EventClient) SetRegion

func (client *EventClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (EventClient) UpdateEvent

func (client EventClient) UpdateEvent(ctx context.Context, request UpdateEventRequest) (response UpdateEventResponse, err error)

UpdateEvent Updates an existing event associated to a managed instance

See also

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

func (EventClient) UploadEventContent

func (client EventClient) UploadEventContent(ctx context.Context, request UploadEventContentRequest) (response UploadEventContentResponse, err error)

UploadEventContent Upload the event content as a ZIP archive from the managed instance to the service

See also

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

type EventCollection

type EventCollection struct {

	// List of events.
	Items []EventSummary `mandatory:"true" json:"items"`
}

EventCollection Results of a event search. Contains both EventSummary items and other information, such as metadata.

func (EventCollection) String

func (m EventCollection) String() string

func (EventCollection) ValidateEnumValue

func (m EventCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EventContent

type EventContent struct {

	// Status of the event content
	ContentAvailability ContentAvailabilityEnum `mandatory:"false" json:"contentAvailability,omitempty"`

	// Path to the event content on the instance
	InstancePath *string `mandatory:"false" json:"instancePath"`

	// size in bytes of the event content (size of the zip file uploaded)
	Size *int `mandatory:"false" json:"size"`
}

EventContent Information about the data collected as a ZIP file when the event occurred.

func (EventContent) String

func (m EventContent) String() string

func (EventContent) ValidateEnumValue

func (m EventContent) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EventReport

type EventReport struct {

	// count of events currently registered on the system.
	Count *int `mandatory:"true" json:"count"`
}

EventReport Summary about event occurrences on a system.

func (EventReport) String

func (m EventReport) String() string

func (EventReport) ValidateEnumValue

func (m EventReport) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EventSummary

type EventSummary struct {

	// OCID identifier of the event
	Id *string `mandatory:"true" json:"id"`

	// Unique OCI identifier of the instance where the event occurred
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// Type of the event.
	EventType EventTypeEnum `mandatory:"true" json:"eventType"`

	// human readable description of the event
	Summary *string `mandatory:"false" json:"summary"`

	// Event occurrence count. Number of time the same event happened on the system.
	Count *int `mandatory:"false" json:"count"`

	// Time of the occurrence of the event
	Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

EventSummary Summary of the Event.

func (EventSummary) String

func (m EventSummary) String() string

func (EventSummary) ValidateEnumValue

func (m EventSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EventTypeEnum

type EventTypeEnum string

EventTypeEnum Enum with underlying type: string

const (
	EventTypeKernelOops       EventTypeEnum = "KERNEL_OOPS"
	EventTypeKernelCrash      EventTypeEnum = "KERNEL_CRASH"
	EventTypeCrash            EventTypeEnum = "CRASH"
	EventTypeExploitAttempt   EventTypeEnum = "EXPLOIT_ATTEMPT"
	EventTypeCompliance       EventTypeEnum = "COMPLIANCE"
	EventTypeTuningSuggestion EventTypeEnum = "TUNING_SUGGESTION"
	EventTypeTuningApplied    EventTypeEnum = "TUNING_APPLIED"
	EventTypeSecurity         EventTypeEnum = "SECURITY"
	EventTypeError            EventTypeEnum = "ERROR"
	EventTypeWarning          EventTypeEnum = "WARNING"
)

Set of constants representing the allowable values for EventTypeEnum

func GetEventTypeEnumValues

func GetEventTypeEnumValues() []EventTypeEnum

GetEventTypeEnumValues Enumerates the set of values for EventTypeEnum

func GetMappingEventTypeEnum

func GetMappingEventTypeEnum(val string) (EventTypeEnum, bool)

GetMappingEventTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type GetErratumRequest

type GetErratumRequest struct {

	// The OCID of the erratum.
	ErratumId *string `mandatory:"true" contributesTo:"path" name:"erratumId"`

	// The client request ID for tracing.
	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
}

GetErratumRequest wrapper for the GetErratum operation

See also

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

func (GetErratumRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetErratumRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetErratumRequest) RetryPolicy

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

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

func (GetErratumRequest) String

func (request GetErratumRequest) String() string

func (GetErratumRequest) ValidateEnumValue

func (request GetErratumRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetErratumResponse

type GetErratumResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Erratum instance
	Erratum `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"`
}

GetErratumResponse wrapper for the GetErratum operation

func (GetErratumResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetErratumResponse) String

func (response GetErratumResponse) String() string

type GetEventContentRequest

type GetEventContentRequest struct {

	// Instance Oracle Cloud identifier (ocid)
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Unique Event identifier (OCID)
	EventId *string `mandatory:"true" contributesTo:"path" name:"eventId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The client request ID for tracing.
	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
}

GetEventContentRequest wrapper for the GetEventContent operation

See also

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

func (GetEventContentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetEventContentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetEventContentRequest) RetryPolicy

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

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

func (GetEventContentRequest) String

func (request GetEventContentRequest) String() string

func (GetEventContentRequest) ValidateEnumValue

func (request GetEventContentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetEventContentResponse

type GetEventContentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"body" encoding:"binary"`

	// 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"`
}

GetEventContentResponse wrapper for the GetEventContent operation

func (GetEventContentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetEventContentResponse) String

func (response GetEventContentResponse) String() string

type GetEventReportRequest

type GetEventReportRequest struct {

	// Instance Oracle Cloud identifier (ocid)
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// filter event occurrence. Selecting only those last occurred before given date in ISO 8601 format
	// Example: 2017-07-14T02:40:00.000Z
	LatestTimestampLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"latestTimestampLessThan"`

	// filter event occurrence. Selecting only those last occurred on or after given date in ISO 8601 format
	// Example: 2017-07-14T02:40:00.000Z
	LatestTimestampGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"latestTimestampGreaterThanOrEqualTo"`

	// The client request ID for tracing.
	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
}

GetEventReportRequest wrapper for the GetEventReport operation

See also

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

func (GetEventReportRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetEventReportRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetEventReportRequest) RetryPolicy

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

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

func (GetEventReportRequest) String

func (request GetEventReportRequest) String() string

func (GetEventReportRequest) ValidateEnumValue

func (request GetEventReportRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetEventReportResponse

type GetEventReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// identifier for the request
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetEventReportResponse wrapper for the GetEventReport operation

func (GetEventReportResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetEventReportResponse) String

func (response GetEventReportResponse) String() string

type GetEventRequest

type GetEventRequest struct {

	// Instance Oracle Cloud identifier (ocid)
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Unique Event identifier (OCID)
	EventId *string `mandatory:"true" contributesTo:"path" name:"eventId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The client request ID for tracing.
	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
}

GetEventRequest wrapper for the GetEvent operation

See also

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

func (GetEventRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetEventRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetEventRequest) RetryPolicy

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

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

func (GetEventRequest) String

func (request GetEventRequest) String() string

func (GetEventRequest) ValidateEnumValue

func (request GetEventRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetEventResponse

type GetEventResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Event instance
	Event `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"`
}

GetEventResponse wrapper for the GetEvent operation

func (GetEventResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetEventResponse) String

func (response GetEventResponse) String() string

type GetManagedInstanceGroupRequest

type GetManagedInstanceGroupRequest struct {

	// OCID for the managed instance group
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The client request ID for tracing.
	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
}

GetManagedInstanceGroupRequest wrapper for the GetManagedInstanceGroup operation

See also

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

func (GetManagedInstanceGroupRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetManagedInstanceGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetManagedInstanceGroupRequest) RetryPolicy

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

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

func (GetManagedInstanceGroupRequest) String

func (request GetManagedInstanceGroupRequest) String() string

func (GetManagedInstanceGroupRequest) ValidateEnumValue

func (request GetManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetManagedInstanceGroupResponse

type GetManagedInstanceGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedInstanceGroup instance
	ManagedInstanceGroup `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"`

	// A decimal number representing the number of seconds the client
	// should wait before polling this endpoint again.
	RetryAfter *float32 `presentIn:"header" name:"retry-after"`
}

GetManagedInstanceGroupResponse wrapper for the GetManagedInstanceGroup operation

func (GetManagedInstanceGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetManagedInstanceGroupResponse) String

func (response GetManagedInstanceGroupResponse) String() string

type GetManagedInstanceRequest

type GetManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// The client request ID for tracing.
	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
}

GetManagedInstanceRequest wrapper for the GetManagedInstance operation

See also

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

func (GetManagedInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetManagedInstanceRequest) RetryPolicy

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

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

func (GetManagedInstanceRequest) String

func (request GetManagedInstanceRequest) String() string

func (GetManagedInstanceRequest) ValidateEnumValue

func (request GetManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetManagedInstanceResponse

type GetManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedInstance instance
	ManagedInstance `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"`
}

GetManagedInstanceResponse wrapper for the GetManagedInstance operation

func (GetManagedInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetManagedInstanceResponse) String

func (response GetManagedInstanceResponse) String() string

type GetModuleStreamProfileRequest added in v65.7.0

type GetModuleStreamProfileRequest struct {

	// The OCID of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// The name of the module
	ModuleName *string `mandatory:"true" contributesTo:"path" name:"moduleName"`

	// The name of the stream of the containing module
	StreamName *string `mandatory:"true" contributesTo:"path" name:"streamName"`

	// The name of the profile of the containing module stream
	ProfileName *string `mandatory:"true" contributesTo:"path" name:"profileName"`

	// The client request ID for tracing.
	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
}

GetModuleStreamProfileRequest wrapper for the GetModuleStreamProfile operation

See also

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

func (GetModuleStreamProfileRequest) BinaryRequestBody added in v65.7.0

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

BinaryRequestBody implements the OCIRequest interface

func (GetModuleStreamProfileRequest) HTTPRequest added in v65.7.0

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

HTTPRequest implements the OCIRequest interface

func (GetModuleStreamProfileRequest) RetryPolicy added in v65.7.0

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

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

func (GetModuleStreamProfileRequest) String added in v65.7.0

func (request GetModuleStreamProfileRequest) String() string

func (GetModuleStreamProfileRequest) ValidateEnumValue added in v65.7.0

func (request GetModuleStreamProfileRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetModuleStreamProfileResponse added in v65.7.0

type GetModuleStreamProfileResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

GetModuleStreamProfileResponse wrapper for the GetModuleStreamProfile operation

func (GetModuleStreamProfileResponse) HTTPResponse added in v65.7.0

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

HTTPResponse implements the OCIResponse interface

func (GetModuleStreamProfileResponse) String added in v65.7.0

func (response GetModuleStreamProfileResponse) String() string

type GetModuleStreamRequest added in v65.7.0

type GetModuleStreamRequest struct {

	// The OCID of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// The name of the module
	ModuleName *string `mandatory:"true" contributesTo:"path" name:"moduleName"`

	// The name of the stream of the containing module
	StreamName *string `mandatory:"true" contributesTo:"path" name:"streamName"`

	// The client request ID for tracing.
	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
}

GetModuleStreamRequest wrapper for the GetModuleStream operation

See also

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

func (GetModuleStreamRequest) BinaryRequestBody added in v65.7.0

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

BinaryRequestBody implements the OCIRequest interface

func (GetModuleStreamRequest) HTTPRequest added in v65.7.0

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

HTTPRequest implements the OCIRequest interface

func (GetModuleStreamRequest) RetryPolicy added in v65.7.0

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

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

func (GetModuleStreamRequest) String added in v65.7.0

func (request GetModuleStreamRequest) String() string

func (GetModuleStreamRequest) ValidateEnumValue added in v65.7.0

func (request GetModuleStreamRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetModuleStreamResponse added in v65.7.0

type GetModuleStreamResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

GetModuleStreamResponse wrapper for the GetModuleStream operation

func (GetModuleStreamResponse) HTTPResponse added in v65.7.0

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

HTTPResponse implements the OCIResponse interface

func (GetModuleStreamResponse) String added in v65.7.0

func (response GetModuleStreamResponse) String() string

type GetScheduledJobRequest

type GetScheduledJobRequest struct {

	// The ID of the scheduled job.
	ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"`

	// The client request ID for tracing.
	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
}

GetScheduledJobRequest wrapper for the GetScheduledJob operation

See also

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

func (GetScheduledJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetScheduledJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetScheduledJobRequest) RetryPolicy

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

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

func (GetScheduledJobRequest) String

func (request GetScheduledJobRequest) String() string

func (GetScheduledJobRequest) ValidateEnumValue

func (request GetScheduledJobRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetScheduledJobResponse

type GetScheduledJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ScheduledJob instance
	ScheduledJob `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"`

	// A decimal number representing the number of seconds the client
	// should wait before polling this endpoint again.
	RetryAfter *float32 `presentIn:"header" name:"retry-after"`
}

GetScheduledJobResponse wrapper for the GetScheduledJob operation

func (GetScheduledJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetScheduledJobResponse) String

func (response GetScheduledJobResponse) String() string

type GetSoftwarePackageRequest

type GetSoftwarePackageRequest struct {

	// The OCID of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// The id of the software package.
	SoftwarePackageName *string `mandatory:"true" contributesTo:"path" name:"softwarePackageName"`

	// The client request ID for tracing.
	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
}

GetSoftwarePackageRequest wrapper for the GetSoftwarePackage operation

See also

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

func (GetSoftwarePackageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetSoftwarePackageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetSoftwarePackageRequest) RetryPolicy

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

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

func (GetSoftwarePackageRequest) String

func (request GetSoftwarePackageRequest) String() string

func (GetSoftwarePackageRequest) ValidateEnumValue

func (request GetSoftwarePackageRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetSoftwarePackageResponse

type GetSoftwarePackageResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SoftwarePackage instance
	SoftwarePackage `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"`
}

GetSoftwarePackageResponse wrapper for the GetSoftwarePackage operation

func (GetSoftwarePackageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetSoftwarePackageResponse) String

func (response GetSoftwarePackageResponse) String() string

type GetSoftwareSourceRequest

type GetSoftwareSourceRequest struct {

	// The OCID of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// The client request ID for tracing.
	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
}

GetSoftwareSourceRequest wrapper for the GetSoftwareSource operation

See also

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

func (GetSoftwareSourceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetSoftwareSourceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetSoftwareSourceRequest) RetryPolicy

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

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

func (GetSoftwareSourceRequest) String

func (request GetSoftwareSourceRequest) String() string

func (GetSoftwareSourceRequest) ValidateEnumValue

func (request GetSoftwareSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetSoftwareSourceResponse

type GetSoftwareSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SoftwareSource instance
	SoftwareSource `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"`

	// A decimal number representing the number of seconds the client
	// should wait before polling this endpoint again.
	RetryAfter *float32 `presentIn:"header" name:"retry-after"`
}

GetSoftwareSourceResponse wrapper for the GetSoftwareSource operation

func (GetSoftwareSourceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetSoftwareSourceResponse) String

func (response GetSoftwareSourceResponse) String() string

type GetWindowsUpdateRequest

type GetWindowsUpdateRequest struct {

	// The Windows Update
	WindowsUpdate *string `mandatory:"true" contributesTo:"path" name:"windowsUpdate"`

	// The client request ID for tracing.
	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
}

GetWindowsUpdateRequest wrapper for the GetWindowsUpdate operation

See also

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

func (GetWindowsUpdateRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWindowsUpdateRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWindowsUpdateRequest) RetryPolicy

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

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

func (GetWindowsUpdateRequest) String

func (request GetWindowsUpdateRequest) String() string

func (GetWindowsUpdateRequest) ValidateEnumValue

func (request GetWindowsUpdateRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWindowsUpdateResponse

type GetWindowsUpdateResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The WindowsUpdate instance
	WindowsUpdate `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"`
}

GetWindowsUpdateResponse wrapper for the GetWindowsUpdate operation

func (GetWindowsUpdateResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWindowsUpdateResponse) String

func (response GetWindowsUpdateResponse) String() string

type GetWorkRequestRequest

type GetWorkRequestRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The client request ID for tracing.
	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
}

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

func (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkRequestResponse

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The WorkRequest instance
	WorkRequest `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"`

	// A decimal number representing the number of seconds the client
	// should wait before polling this endpoint again.
	RetryAfter *float32 `presentIn:"header" name:"retry-after"`
}

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type Id

type Id struct {

	// unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// User friendly name
	DisplayName *string `mandatory:"true" json:"displayName"`
}

Id An id along with a name to simplify display for a user

func (Id) String

func (m Id) String() string

func (Id) ValidateEnumValue

func (m Id) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InstallAllPackageUpdatesOnManagedInstanceRequest

type InstallAllPackageUpdatesOnManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// The type of updates to be applied
	UpdateType InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum `mandatory:"false" contributesTo:"query" name:"updateType" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

InstallAllPackageUpdatesOnManagedInstanceRequest wrapper for the InstallAllPackageUpdatesOnManagedInstance operation

See also

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

func (InstallAllPackageUpdatesOnManagedInstanceRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (InstallAllPackageUpdatesOnManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (InstallAllPackageUpdatesOnManagedInstanceRequest) RetryPolicy

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

func (InstallAllPackageUpdatesOnManagedInstanceRequest) String

func (InstallAllPackageUpdatesOnManagedInstanceRequest) ValidateEnumValue

func (request InstallAllPackageUpdatesOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InstallAllPackageUpdatesOnManagedInstanceResponse

type InstallAllPackageUpdatesOnManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

InstallAllPackageUpdatesOnManagedInstanceResponse wrapper for the InstallAllPackageUpdatesOnManagedInstance operation

func (InstallAllPackageUpdatesOnManagedInstanceResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (InstallAllPackageUpdatesOnManagedInstanceResponse) String

type InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum

type InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum string

InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum Enum with underlying type: string

const (
	InstallAllPackageUpdatesOnManagedInstanceUpdateTypeSecurity    InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum = "SECURITY"
	InstallAllPackageUpdatesOnManagedInstanceUpdateTypeBugfix      InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum = "BUGFIX"
	InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnhancement InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum = "ENHANCEMENT"
	InstallAllPackageUpdatesOnManagedInstanceUpdateTypeOther       InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum = "OTHER"
	InstallAllPackageUpdatesOnManagedInstanceUpdateTypeKsplice     InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum = "KSPLICE"
	InstallAllPackageUpdatesOnManagedInstanceUpdateTypeAll         InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum = "ALL"
)

Set of constants representing the allowable values for InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum

func GetInstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnumValues

func GetInstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnumValues() []InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum

GetInstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnumValues Enumerates the set of values for InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum

func GetMappingInstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum

func GetMappingInstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum(val string) (InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum, bool)

GetMappingInstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type InstallAllUpdatesOnManagedInstanceGroupRequest

type InstallAllUpdatesOnManagedInstanceGroupRequest struct {

	// OCID for the managed instance group
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The type of updates to be applied
	UpdateType InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum `mandatory:"false" contributesTo:"query" name:"updateType" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

InstallAllUpdatesOnManagedInstanceGroupRequest wrapper for the InstallAllUpdatesOnManagedInstanceGroup operation

See also

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

func (InstallAllUpdatesOnManagedInstanceGroupRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (InstallAllUpdatesOnManagedInstanceGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (InstallAllUpdatesOnManagedInstanceGroupRequest) RetryPolicy

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

func (InstallAllUpdatesOnManagedInstanceGroupRequest) String

func (InstallAllUpdatesOnManagedInstanceGroupRequest) ValidateEnumValue

func (request InstallAllUpdatesOnManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InstallAllUpdatesOnManagedInstanceGroupResponse

type InstallAllUpdatesOnManagedInstanceGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

InstallAllUpdatesOnManagedInstanceGroupResponse wrapper for the InstallAllUpdatesOnManagedInstanceGroup operation

func (InstallAllUpdatesOnManagedInstanceGroupResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (InstallAllUpdatesOnManagedInstanceGroupResponse) String

type InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum

type InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum string

InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum Enum with underlying type: string

const (
	InstallAllUpdatesOnManagedInstanceGroupUpdateTypeSecurity    InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum = "SECURITY"
	InstallAllUpdatesOnManagedInstanceGroupUpdateTypeBugfix      InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum = "BUGFIX"
	InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnhancement InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum = "ENHANCEMENT"
	InstallAllUpdatesOnManagedInstanceGroupUpdateTypeOther       InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum = "OTHER"
	InstallAllUpdatesOnManagedInstanceGroupUpdateTypeKsplice     InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum = "KSPLICE"
	InstallAllUpdatesOnManagedInstanceGroupUpdateTypeAll         InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum = "ALL"
)

Set of constants representing the allowable values for InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum

func GetInstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnumValues

func GetInstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnumValues() []InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum

GetInstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnumValues Enumerates the set of values for InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum

func GetMappingInstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum

func GetMappingInstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum(val string) (InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum, bool)

GetMappingInstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type InstallAllWindowsUpdatesOnManagedInstanceRequest

type InstallAllWindowsUpdatesOnManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// The type of updates to be applied
	UpdateType InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum `mandatory:"false" contributesTo:"query" name:"updateType" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

InstallAllWindowsUpdatesOnManagedInstanceRequest wrapper for the InstallAllWindowsUpdatesOnManagedInstance operation

See also

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

func (InstallAllWindowsUpdatesOnManagedInstanceRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (InstallAllWindowsUpdatesOnManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (InstallAllWindowsUpdatesOnManagedInstanceRequest) RetryPolicy

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

func (InstallAllWindowsUpdatesOnManagedInstanceRequest) String

func (InstallAllWindowsUpdatesOnManagedInstanceRequest) ValidateEnumValue

func (request InstallAllWindowsUpdatesOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InstallAllWindowsUpdatesOnManagedInstanceResponse

type InstallAllWindowsUpdatesOnManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

InstallAllWindowsUpdatesOnManagedInstanceResponse wrapper for the InstallAllWindowsUpdatesOnManagedInstance operation

func (InstallAllWindowsUpdatesOnManagedInstanceResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (InstallAllWindowsUpdatesOnManagedInstanceResponse) String

type InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum

type InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum string

InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum Enum with underlying type: string

const (
	InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeSecurity    InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum = "SECURITY"
	InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeBugfix      InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum = "BUGFIX"
	InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnhancement InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum = "ENHANCEMENT"
	InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeOther       InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum = "OTHER"
	InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeKsplice     InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum = "KSPLICE"
	InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeAll         InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum = "ALL"
)

Set of constants representing the allowable values for InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum

func GetInstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnumValues

func GetInstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnumValues() []InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum

GetInstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnumValues Enumerates the set of values for InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum

func GetMappingInstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum

func GetMappingInstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum(val string) (InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum, bool)

GetMappingInstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type InstallModuleStreamProfileOnManagedInstanceRequest added in v65.7.0

type InstallModuleStreamProfileOnManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// The name of a module.
	ModuleName *string `mandatory:"true" contributesTo:"query" name:"moduleName"`

	// The client request ID for tracing.
	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"`

	// The name of the stream of the containing module.  This parameter
	// is required if a profileName is specified.
	StreamName *string `mandatory:"false" contributesTo:"query" name:"streamName"`

	// The name of the profile of the containing module stream
	ProfileName *string `mandatory:"false" contributesTo:"query" name:"profileName"`

	// 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
}

InstallModuleStreamProfileOnManagedInstanceRequest wrapper for the InstallModuleStreamProfileOnManagedInstance operation

See also

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

func (InstallModuleStreamProfileOnManagedInstanceRequest) BinaryRequestBody added in v65.7.0

BinaryRequestBody implements the OCIRequest interface

func (InstallModuleStreamProfileOnManagedInstanceRequest) HTTPRequest added in v65.7.0

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

HTTPRequest implements the OCIRequest interface

func (InstallModuleStreamProfileOnManagedInstanceRequest) RetryPolicy added in v65.7.0

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

func (InstallModuleStreamProfileOnManagedInstanceRequest) String added in v65.7.0

func (InstallModuleStreamProfileOnManagedInstanceRequest) ValidateEnumValue added in v65.7.0

func (request InstallModuleStreamProfileOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InstallModuleStreamProfileOnManagedInstanceResponse added in v65.7.0

type InstallModuleStreamProfileOnManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

InstallModuleStreamProfileOnManagedInstanceResponse wrapper for the InstallModuleStreamProfileOnManagedInstance operation

func (InstallModuleStreamProfileOnManagedInstanceResponse) HTTPResponse added in v65.7.0

HTTPResponse implements the OCIResponse interface

func (InstallModuleStreamProfileOnManagedInstanceResponse) String added in v65.7.0

type InstallPackageOnManagedInstanceRequest

type InstallPackageOnManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Package name
	SoftwarePackageName *string `mandatory:"true" contributesTo:"query" name:"softwarePackageName"`

	// The client request ID for tracing.
	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
}

InstallPackageOnManagedInstanceRequest wrapper for the InstallPackageOnManagedInstance operation

See also

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

func (InstallPackageOnManagedInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (InstallPackageOnManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (InstallPackageOnManagedInstanceRequest) RetryPolicy

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

func (InstallPackageOnManagedInstanceRequest) String

func (InstallPackageOnManagedInstanceRequest) ValidateEnumValue

func (request InstallPackageOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InstallPackageOnManagedInstanceResponse

type InstallPackageOnManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

InstallPackageOnManagedInstanceResponse wrapper for the InstallPackageOnManagedInstance operation

func (InstallPackageOnManagedInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (InstallPackageOnManagedInstanceResponse) String

type InstallPackageUpdateOnManagedInstanceRequest

type InstallPackageUpdateOnManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Package name
	SoftwarePackageName *string `mandatory:"true" contributesTo:"query" name:"softwarePackageName"`

	// The client request ID for tracing.
	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
}

InstallPackageUpdateOnManagedInstanceRequest wrapper for the InstallPackageUpdateOnManagedInstance operation

See also

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

func (InstallPackageUpdateOnManagedInstanceRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (InstallPackageUpdateOnManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (InstallPackageUpdateOnManagedInstanceRequest) RetryPolicy

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

func (InstallPackageUpdateOnManagedInstanceRequest) String

func (InstallPackageUpdateOnManagedInstanceRequest) ValidateEnumValue

func (request InstallPackageUpdateOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InstallPackageUpdateOnManagedInstanceResponse

type InstallPackageUpdateOnManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

InstallPackageUpdateOnManagedInstanceResponse wrapper for the InstallPackageUpdateOnManagedInstance operation

func (InstallPackageUpdateOnManagedInstanceResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (InstallPackageUpdateOnManagedInstanceResponse) String

type InstallWindowsUpdateOnManagedInstanceRequest

type InstallWindowsUpdateOnManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Unique identifier for the Windows update. NOTE - This is not an OCID,
	// but is a unique identifier assigned by Microsoft.
	// Example: `6981d463-cd91-4a26-b7c4-ea4ded9183ed`
	WindowsUpdateName *string `mandatory:"true" contributesTo:"query" name:"windowsUpdateName"`

	// The client request ID for tracing.
	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
}

InstallWindowsUpdateOnManagedInstanceRequest wrapper for the InstallWindowsUpdateOnManagedInstance operation

See also

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

func (InstallWindowsUpdateOnManagedInstanceRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (InstallWindowsUpdateOnManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (InstallWindowsUpdateOnManagedInstanceRequest) RetryPolicy

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

func (InstallWindowsUpdateOnManagedInstanceRequest) String

func (InstallWindowsUpdateOnManagedInstanceRequest) ValidateEnumValue

func (request InstallWindowsUpdateOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InstallWindowsUpdateOnManagedInstanceResponse

type InstallWindowsUpdateOnManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

InstallWindowsUpdateOnManagedInstanceResponse wrapper for the InstallWindowsUpdateOnManagedInstance operation

func (InstallWindowsUpdateOnManagedInstanceResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (InstallWindowsUpdateOnManagedInstanceResponse) String

type InstallablePackageSummary

type InstallablePackageSummary struct {

	// Package name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique identifier for the package. NOTE - This is not an OCID
	Name *string `mandatory:"true" json:"name"`

	// Type of the package
	Type *string `mandatory:"true" json:"type"`

	// Version of the package
	Version *string `mandatory:"true" json:"version"`

	// The architecture for which this package was built
	Architecture *string `mandatory:"false" json:"architecture"`

	// list of software sources that provide the software package
	SoftwareSources []SoftwareSourceId `mandatory:"false" json:"softwareSources"`
}

InstallablePackageSummary A software package available for install on a managed instance

func (InstallablePackageSummary) String

func (m InstallablePackageSummary) String() string

func (InstallablePackageSummary) ValidateEnumValue

func (m InstallablePackageSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InstalledPackageSummary

type InstalledPackageSummary struct {

	// Package name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique identifier for the package. NOTE - This is not an OCID
	Name *string `mandatory:"true" json:"name"`

	// Type of the package
	Type *string `mandatory:"true" json:"type"`

	// Version of the installed package
	Version *string `mandatory:"true" json:"version"`

	// The architecture for which this package was built
	Architecture *string `mandatory:"false" json:"architecture"`

	// Install time of the package
	InstallTime *string `mandatory:"false" json:"installTime"`

	// date the package was issued by a providing erratum (if available)
	Issued *string `mandatory:"false" json:"issued"`

	// list of software sources that provide the software package
	SoftwareSources []SoftwareSourceId `mandatory:"false" json:"softwareSources"`
}

InstalledPackageSummary A software package installed on a managed instance

func (InstalledPackageSummary) String

func (m InstalledPackageSummary) String() string

func (InstalledPackageSummary) ValidateEnumValue

func (m InstalledPackageSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InstalledWindowsUpdateSummary

type InstalledWindowsUpdateSummary struct {

	// Windows Update name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique identifier for the Windows update. NOTE - This is not an OCID,
	// but is a unique identifier assigned by Microsoft.
	// Example: `6981d463-cd91-4a26-b7c4-ea4ded9183ed`
	Name *string `mandatory:"true" json:"name"`

	// The purpose of this update.
	UpdateType UpdateTypesEnum `mandatory:"true" json:"updateType"`
}

InstalledWindowsUpdateSummary A Windows update installed on the Windows managed instance.

func (InstalledWindowsUpdateSummary) String

func (InstalledWindowsUpdateSummary) ValidateEnumValue

func (m InstalledWindowsUpdateSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type IntervalTypesEnum

type IntervalTypesEnum string

IntervalTypesEnum Enum with underlying type: string

const (
	IntervalTypesHour  IntervalTypesEnum = "HOUR"
	IntervalTypesDay   IntervalTypesEnum = "DAY"
	IntervalTypesWeek  IntervalTypesEnum = "WEEK"
	IntervalTypesMonth IntervalTypesEnum = "MONTH"
)

Set of constants representing the allowable values for IntervalTypesEnum

func GetIntervalTypesEnumValues

func GetIntervalTypesEnumValues() []IntervalTypesEnum

GetIntervalTypesEnumValues Enumerates the set of values for IntervalTypesEnum

func GetMappingIntervalTypesEnum

func GetMappingIntervalTypesEnum(val string) (IntervalTypesEnum, bool)

GetMappingIntervalTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type IsEligibleForInstallationEnum

type IsEligibleForInstallationEnum string

IsEligibleForInstallationEnum Enum with underlying type: string

const (
	IsEligibleForInstallationInstallable    IsEligibleForInstallationEnum = "INSTALLABLE"
	IsEligibleForInstallationNotInstallable IsEligibleForInstallationEnum = "NOT_INSTALLABLE"
	IsEligibleForInstallationUnknown        IsEligibleForInstallationEnum = "UNKNOWN"
)

Set of constants representing the allowable values for IsEligibleForInstallationEnum

func GetIsEligibleForInstallationEnumValues

func GetIsEligibleForInstallationEnumValues() []IsEligibleForInstallationEnum

GetIsEligibleForInstallationEnumValues Enumerates the set of values for IsEligibleForInstallationEnum

func GetMappingIsEligibleForInstallationEnum

func GetMappingIsEligibleForInstallationEnum(val string) (IsEligibleForInstallationEnum, bool)

GetMappingIsEligibleForInstallationEnum performs case Insensitive comparison on enum value and return the desired enum

type KernelCrashEvent

type KernelCrashEvent struct {

	// OCID identifier of the event
	Id *string `mandatory:"true" json:"id"`

	// OCI identifier of the instance where the event occurred
	InstanceId *string `mandatory:"false" json:"instanceId"`

	// OCI identifier of the compartement where the instance is
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// OCID identifier of the instance tenancy.
	TenancyId *string `mandatory:"false" json:"tenancyId"`

	// human readable description of the event
	Summary *string `mandatory:"false" json:"summary"`

	// Time of the occurrence of the event
	Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`

	// Unique ID used to group event with the same characteristics together.
	// The list of such groups of event can be retrieved via /recurringEvents/{EventFingerprint}
	EventFingerprint *string `mandatory:"false" json:"eventFingerprint"`

	// Event occurrence count. Number of time the event has happen on the system.
	Count *int `mandatory:"false" json:"count"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// reason of the crash
	Reason *string `mandatory:"false" json:"reason"`

	// First occurrence time of the event
	TimeFirstOccurred *common.SDKTime `mandatory:"false" json:"timeFirstOccurred"`

	Vmcore *KernelVmCoreInformation `mandatory:"false" json:"vmcore"`

	Content *EventContent `mandatory:"false" json:"content"`

	System *CrashEventSystemInformation `mandatory:"false" json:"system"`
}

KernelCrashEvent Information about a Kernel Crash.

func (KernelCrashEvent) GetCompartmentId

func (m KernelCrashEvent) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (KernelCrashEvent) GetCount

func (m KernelCrashEvent) GetCount() *int

GetCount returns Count

func (KernelCrashEvent) GetDefinedTags

func (m KernelCrashEvent) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (KernelCrashEvent) GetEventFingerprint

func (m KernelCrashEvent) GetEventFingerprint() *string

GetEventFingerprint returns EventFingerprint

func (KernelCrashEvent) GetFreeformTags

func (m KernelCrashEvent) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (KernelCrashEvent) GetId

func (m KernelCrashEvent) GetId() *string

GetId returns Id

func (KernelCrashEvent) GetInstanceId

func (m KernelCrashEvent) GetInstanceId() *string

GetInstanceId returns InstanceId

func (KernelCrashEvent) GetSummary

func (m KernelCrashEvent) GetSummary() *string

GetSummary returns Summary

func (KernelCrashEvent) GetSystemTags

func (m KernelCrashEvent) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (KernelCrashEvent) GetTenancyId

func (m KernelCrashEvent) GetTenancyId() *string

GetTenancyId returns TenancyId

func (KernelCrashEvent) GetTimestamp

func (m KernelCrashEvent) GetTimestamp() *common.SDKTime

GetTimestamp returns Timestamp

func (KernelCrashEvent) MarshalJSON

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

MarshalJSON marshals to json representation

func (KernelCrashEvent) String

func (m KernelCrashEvent) String() string

func (KernelCrashEvent) ValidateEnumValue

func (m KernelCrashEvent) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type KernelOopsEvent

type KernelOopsEvent struct {

	// OCID identifier of the event
	Id *string `mandatory:"true" json:"id"`

	// OCI identifier of the instance where the event occurred
	InstanceId *string `mandatory:"false" json:"instanceId"`

	// OCI identifier of the compartement where the instance is
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// OCID identifier of the instance tenancy.
	TenancyId *string `mandatory:"false" json:"tenancyId"`

	// human readable description of the event
	Summary *string `mandatory:"false" json:"summary"`

	// Time of the occurrence of the event
	Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`

	// Unique ID used to group event with the same characteristics together.
	// The list of such groups of event can be retrieved via /recurringEvents/{EventFingerprint}
	EventFingerprint *string `mandatory:"false" json:"eventFingerprint"`

	// Event occurrence count. Number of time the event has happen on the system.
	Count *int `mandatory:"false" json:"count"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// reason of the crash
	Reason *string `mandatory:"false" json:"reason"`

	// First occurrence time of the event
	TimeFirstOccurred *common.SDKTime `mandatory:"false" json:"timeFirstOccurred"`

	Vmcore *KernelVmCoreInformation `mandatory:"false" json:"vmcore"`

	Content *EventContent `mandatory:"false" json:"content"`

	System *CrashEventSystemInformation `mandatory:"false" json:"system"`
}

KernelOopsEvent Information about a Kernel Oops.

func (KernelOopsEvent) GetCompartmentId

func (m KernelOopsEvent) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (KernelOopsEvent) GetCount

func (m KernelOopsEvent) GetCount() *int

GetCount returns Count

func (KernelOopsEvent) GetDefinedTags

func (m KernelOopsEvent) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (KernelOopsEvent) GetEventFingerprint

func (m KernelOopsEvent) GetEventFingerprint() *string

GetEventFingerprint returns EventFingerprint

func (KernelOopsEvent) GetFreeformTags

func (m KernelOopsEvent) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (KernelOopsEvent) GetId

func (m KernelOopsEvent) GetId() *string

GetId returns Id

func (KernelOopsEvent) GetInstanceId

func (m KernelOopsEvent) GetInstanceId() *string

GetInstanceId returns InstanceId

func (KernelOopsEvent) GetSummary

func (m KernelOopsEvent) GetSummary() *string

GetSummary returns Summary

func (KernelOopsEvent) GetSystemTags

func (m KernelOopsEvent) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (KernelOopsEvent) GetTenancyId

func (m KernelOopsEvent) GetTenancyId() *string

GetTenancyId returns TenancyId

func (KernelOopsEvent) GetTimestamp

func (m KernelOopsEvent) GetTimestamp() *common.SDKTime

GetTimestamp returns Timestamp

func (KernelOopsEvent) MarshalJSON

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

MarshalJSON marshals to json representation

func (KernelOopsEvent) String

func (m KernelOopsEvent) String() string

func (KernelOopsEvent) ValidateEnumValue

func (m KernelOopsEvent) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type KernelVmCoreInformation

type KernelVmCoreInformation struct {

	// Kernel module responsible of the crash.
	Component *string `mandatory:"false" json:"component"`

	// Crash backtrace.
	Backtrace *string `mandatory:"false" json:"backtrace"`
}

KernelVmCoreInformation VMcore information.

func (KernelVmCoreInformation) String

func (m KernelVmCoreInformation) String() string

func (KernelVmCoreInformation) ValidateEnumValue

func (m KernelVmCoreInformation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type LifecycleStatesEnum

type LifecycleStatesEnum string

LifecycleStatesEnum Enum with underlying type: string

const (
	LifecycleStatesCreating LifecycleStatesEnum = "CREATING"
	LifecycleStatesUpdating LifecycleStatesEnum = "UPDATING"
	LifecycleStatesActive   LifecycleStatesEnum = "ACTIVE"
	LifecycleStatesDeleting LifecycleStatesEnum = "DELETING"
	LifecycleStatesDeleted  LifecycleStatesEnum = "DELETED"
	LifecycleStatesFailed   LifecycleStatesEnum = "FAILED"
)

Set of constants representing the allowable values for LifecycleStatesEnum

func GetLifecycleStatesEnumValues

func GetLifecycleStatesEnumValues() []LifecycleStatesEnum

GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum

func GetMappingLifecycleStatesEnum

func GetMappingLifecycleStatesEnum(val string) (LifecycleStatesEnum, bool)

GetMappingLifecycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAvailablePackagesForManagedInstanceRequest

type ListAvailablePackagesForManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListAvailablePackagesForManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListAvailablePackagesForManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListAvailablePackagesForManagedInstanceRequest wrapper for the ListAvailablePackagesForManagedInstance operation

See also

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

func (ListAvailablePackagesForManagedInstanceRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ListAvailablePackagesForManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAvailablePackagesForManagedInstanceRequest) RetryPolicy

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

func (ListAvailablePackagesForManagedInstanceRequest) String

func (ListAvailablePackagesForManagedInstanceRequest) ValidateEnumValue

func (request ListAvailablePackagesForManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListAvailablePackagesForManagedInstanceResponse

type ListAvailablePackagesForManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []InstallablePackageSummary instances
	Items []InstallablePackageSummary `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"`
}

ListAvailablePackagesForManagedInstanceResponse wrapper for the ListAvailablePackagesForManagedInstance operation

func (ListAvailablePackagesForManagedInstanceResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ListAvailablePackagesForManagedInstanceResponse) String

type ListAvailablePackagesForManagedInstanceSortByEnum

type ListAvailablePackagesForManagedInstanceSortByEnum string

ListAvailablePackagesForManagedInstanceSortByEnum Enum with underlying type: string

const (
	ListAvailablePackagesForManagedInstanceSortByTimecreated ListAvailablePackagesForManagedInstanceSortByEnum = "TIMECREATED"
	ListAvailablePackagesForManagedInstanceSortByDisplayname ListAvailablePackagesForManagedInstanceSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListAvailablePackagesForManagedInstanceSortByEnum

func GetListAvailablePackagesForManagedInstanceSortByEnumValues

func GetListAvailablePackagesForManagedInstanceSortByEnumValues() []ListAvailablePackagesForManagedInstanceSortByEnum

GetListAvailablePackagesForManagedInstanceSortByEnumValues Enumerates the set of values for ListAvailablePackagesForManagedInstanceSortByEnum

func GetMappingListAvailablePackagesForManagedInstanceSortByEnum

func GetMappingListAvailablePackagesForManagedInstanceSortByEnum(val string) (ListAvailablePackagesForManagedInstanceSortByEnum, bool)

GetMappingListAvailablePackagesForManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAvailablePackagesForManagedInstanceSortOrderEnum

type ListAvailablePackagesForManagedInstanceSortOrderEnum string

ListAvailablePackagesForManagedInstanceSortOrderEnum Enum with underlying type: string

const (
	ListAvailablePackagesForManagedInstanceSortOrderAsc  ListAvailablePackagesForManagedInstanceSortOrderEnum = "ASC"
	ListAvailablePackagesForManagedInstanceSortOrderDesc ListAvailablePackagesForManagedInstanceSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAvailablePackagesForManagedInstanceSortOrderEnum

func GetListAvailablePackagesForManagedInstanceSortOrderEnumValues

func GetListAvailablePackagesForManagedInstanceSortOrderEnumValues() []ListAvailablePackagesForManagedInstanceSortOrderEnum

GetListAvailablePackagesForManagedInstanceSortOrderEnumValues Enumerates the set of values for ListAvailablePackagesForManagedInstanceSortOrderEnum

func GetMappingListAvailablePackagesForManagedInstanceSortOrderEnum

func GetMappingListAvailablePackagesForManagedInstanceSortOrderEnum(val string) (ListAvailablePackagesForManagedInstanceSortOrderEnum, bool)

GetMappingListAvailablePackagesForManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAvailableSoftwareSourcesForManagedInstanceRequest

type ListAvailableSoftwareSourcesForManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListAvailableSoftwareSourcesForManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListAvailableSoftwareSourcesForManagedInstanceRequest wrapper for the ListAvailableSoftwareSourcesForManagedInstance operation

See also

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

func (ListAvailableSoftwareSourcesForManagedInstanceRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ListAvailableSoftwareSourcesForManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAvailableSoftwareSourcesForManagedInstanceRequest) RetryPolicy

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

func (ListAvailableSoftwareSourcesForManagedInstanceRequest) String

func (ListAvailableSoftwareSourcesForManagedInstanceRequest) ValidateEnumValue

func (request ListAvailableSoftwareSourcesForManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListAvailableSoftwareSourcesForManagedInstanceResponse

type ListAvailableSoftwareSourcesForManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []AvailableSoftwareSourceSummary instances
	Items []AvailableSoftwareSourceSummary `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"`
}

ListAvailableSoftwareSourcesForManagedInstanceResponse wrapper for the ListAvailableSoftwareSourcesForManagedInstance operation

func (ListAvailableSoftwareSourcesForManagedInstanceResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ListAvailableSoftwareSourcesForManagedInstanceResponse) String

type ListAvailableSoftwareSourcesForManagedInstanceSortByEnum

type ListAvailableSoftwareSourcesForManagedInstanceSortByEnum string

ListAvailableSoftwareSourcesForManagedInstanceSortByEnum Enum with underlying type: string

const (
	ListAvailableSoftwareSourcesForManagedInstanceSortByTimecreated ListAvailableSoftwareSourcesForManagedInstanceSortByEnum = "TIMECREATED"
	ListAvailableSoftwareSourcesForManagedInstanceSortByDisplayname ListAvailableSoftwareSourcesForManagedInstanceSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListAvailableSoftwareSourcesForManagedInstanceSortByEnum

func GetListAvailableSoftwareSourcesForManagedInstanceSortByEnumValues

func GetListAvailableSoftwareSourcesForManagedInstanceSortByEnumValues() []ListAvailableSoftwareSourcesForManagedInstanceSortByEnum

GetListAvailableSoftwareSourcesForManagedInstanceSortByEnumValues Enumerates the set of values for ListAvailableSoftwareSourcesForManagedInstanceSortByEnum

func GetMappingListAvailableSoftwareSourcesForManagedInstanceSortByEnum

func GetMappingListAvailableSoftwareSourcesForManagedInstanceSortByEnum(val string) (ListAvailableSoftwareSourcesForManagedInstanceSortByEnum, bool)

GetMappingListAvailableSoftwareSourcesForManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum

type ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum string

ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum Enum with underlying type: string

const (
	ListAvailableSoftwareSourcesForManagedInstanceSortOrderAsc  ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum = "ASC"
	ListAvailableSoftwareSourcesForManagedInstanceSortOrderDesc ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum

func GetListAvailableSoftwareSourcesForManagedInstanceSortOrderEnumValues

func GetListAvailableSoftwareSourcesForManagedInstanceSortOrderEnumValues() []ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum

GetListAvailableSoftwareSourcesForManagedInstanceSortOrderEnumValues Enumerates the set of values for ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum

func GetMappingListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum

func GetMappingListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum(val string) (ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum, bool)

GetMappingListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAvailableUpdatesForManagedInstanceRequest

type ListAvailableUpdatesForManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListAvailableUpdatesForManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListAvailableUpdatesForManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListAvailableUpdatesForManagedInstanceRequest wrapper for the ListAvailableUpdatesForManagedInstance operation

See also

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

func (ListAvailableUpdatesForManagedInstanceRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ListAvailableUpdatesForManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAvailableUpdatesForManagedInstanceRequest) RetryPolicy

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

func (ListAvailableUpdatesForManagedInstanceRequest) String

func (ListAvailableUpdatesForManagedInstanceRequest) ValidateEnumValue

func (request ListAvailableUpdatesForManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListAvailableUpdatesForManagedInstanceResponse

type ListAvailableUpdatesForManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []AvailableUpdateSummary instances
	Items []AvailableUpdateSummary `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"`
}

ListAvailableUpdatesForManagedInstanceResponse wrapper for the ListAvailableUpdatesForManagedInstance operation

func (ListAvailableUpdatesForManagedInstanceResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ListAvailableUpdatesForManagedInstanceResponse) String

type ListAvailableUpdatesForManagedInstanceSortByEnum

type ListAvailableUpdatesForManagedInstanceSortByEnum string

ListAvailableUpdatesForManagedInstanceSortByEnum Enum with underlying type: string

const (
	ListAvailableUpdatesForManagedInstanceSortByTimecreated ListAvailableUpdatesForManagedInstanceSortByEnum = "TIMECREATED"
	ListAvailableUpdatesForManagedInstanceSortByDisplayname ListAvailableUpdatesForManagedInstanceSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListAvailableUpdatesForManagedInstanceSortByEnum

func GetListAvailableUpdatesForManagedInstanceSortByEnumValues

func GetListAvailableUpdatesForManagedInstanceSortByEnumValues() []ListAvailableUpdatesForManagedInstanceSortByEnum

GetListAvailableUpdatesForManagedInstanceSortByEnumValues Enumerates the set of values for ListAvailableUpdatesForManagedInstanceSortByEnum

func GetMappingListAvailableUpdatesForManagedInstanceSortByEnum

func GetMappingListAvailableUpdatesForManagedInstanceSortByEnum(val string) (ListAvailableUpdatesForManagedInstanceSortByEnum, bool)

GetMappingListAvailableUpdatesForManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAvailableUpdatesForManagedInstanceSortOrderEnum

type ListAvailableUpdatesForManagedInstanceSortOrderEnum string

ListAvailableUpdatesForManagedInstanceSortOrderEnum Enum with underlying type: string

const (
	ListAvailableUpdatesForManagedInstanceSortOrderAsc  ListAvailableUpdatesForManagedInstanceSortOrderEnum = "ASC"
	ListAvailableUpdatesForManagedInstanceSortOrderDesc ListAvailableUpdatesForManagedInstanceSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAvailableUpdatesForManagedInstanceSortOrderEnum

func GetListAvailableUpdatesForManagedInstanceSortOrderEnumValues

func GetListAvailableUpdatesForManagedInstanceSortOrderEnumValues() []ListAvailableUpdatesForManagedInstanceSortOrderEnum

GetListAvailableUpdatesForManagedInstanceSortOrderEnumValues Enumerates the set of values for ListAvailableUpdatesForManagedInstanceSortOrderEnum

func GetMappingListAvailableUpdatesForManagedInstanceSortOrderEnum

func GetMappingListAvailableUpdatesForManagedInstanceSortOrderEnum(val string) (ListAvailableUpdatesForManagedInstanceSortOrderEnum, bool)

GetMappingListAvailableUpdatesForManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum

type ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum string

ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum Enum with underlying type: string

const (
	ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationInstallable    ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum = "INSTALLABLE"
	ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationNotInstallable ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum = "NOT_INSTALLABLE"
	ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationUnknown        ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum = "UNKNOWN"
)

Set of constants representing the allowable values for ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum

func GetListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnumValues

func GetListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnumValues() []ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum

GetListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnumValues Enumerates the set of values for ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum

func GetMappingListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum

func GetMappingListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum(val string) (ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum, bool)

GetMappingListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAvailableWindowsUpdatesForManagedInstanceRequest

type ListAvailableWindowsUpdatesForManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListAvailableWindowsUpdatesForManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Indicator of whether the update can be installed using OSMS.
	IsEligibleForInstallation ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum `mandatory:"false" contributesTo:"query" name:"isEligibleForInstallation" omitEmpty:"true"`

	// 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
}

ListAvailableWindowsUpdatesForManagedInstanceRequest wrapper for the ListAvailableWindowsUpdatesForManagedInstance operation

See also

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

func (ListAvailableWindowsUpdatesForManagedInstanceRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ListAvailableWindowsUpdatesForManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAvailableWindowsUpdatesForManagedInstanceRequest) RetryPolicy

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

func (ListAvailableWindowsUpdatesForManagedInstanceRequest) String

func (ListAvailableWindowsUpdatesForManagedInstanceRequest) ValidateEnumValue

func (request ListAvailableWindowsUpdatesForManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListAvailableWindowsUpdatesForManagedInstanceResponse

type ListAvailableWindowsUpdatesForManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []AvailableWindowsUpdateSummary instances
	Items []AvailableWindowsUpdateSummary `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"`
}

ListAvailableWindowsUpdatesForManagedInstanceResponse wrapper for the ListAvailableWindowsUpdatesForManagedInstance operation

func (ListAvailableWindowsUpdatesForManagedInstanceResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ListAvailableWindowsUpdatesForManagedInstanceResponse) String

type ListAvailableWindowsUpdatesForManagedInstanceSortByEnum

type ListAvailableWindowsUpdatesForManagedInstanceSortByEnum string

ListAvailableWindowsUpdatesForManagedInstanceSortByEnum Enum with underlying type: string

const (
	ListAvailableWindowsUpdatesForManagedInstanceSortByTimecreated ListAvailableWindowsUpdatesForManagedInstanceSortByEnum = "TIMECREATED"
	ListAvailableWindowsUpdatesForManagedInstanceSortByDisplayname ListAvailableWindowsUpdatesForManagedInstanceSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListAvailableWindowsUpdatesForManagedInstanceSortByEnum

func GetListAvailableWindowsUpdatesForManagedInstanceSortByEnumValues

func GetListAvailableWindowsUpdatesForManagedInstanceSortByEnumValues() []ListAvailableWindowsUpdatesForManagedInstanceSortByEnum

GetListAvailableWindowsUpdatesForManagedInstanceSortByEnumValues Enumerates the set of values for ListAvailableWindowsUpdatesForManagedInstanceSortByEnum

func GetMappingListAvailableWindowsUpdatesForManagedInstanceSortByEnum

func GetMappingListAvailableWindowsUpdatesForManagedInstanceSortByEnum(val string) (ListAvailableWindowsUpdatesForManagedInstanceSortByEnum, bool)

GetMappingListAvailableWindowsUpdatesForManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum

type ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum string

ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum Enum with underlying type: string

const (
	ListAvailableWindowsUpdatesForManagedInstanceSortOrderAsc  ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum = "ASC"
	ListAvailableWindowsUpdatesForManagedInstanceSortOrderDesc ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum

func GetListAvailableWindowsUpdatesForManagedInstanceSortOrderEnumValues

func GetListAvailableWindowsUpdatesForManagedInstanceSortOrderEnumValues() []ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum

GetListAvailableWindowsUpdatesForManagedInstanceSortOrderEnumValues Enumerates the set of values for ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum

func GetMappingListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum

func GetMappingListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum(val string) (ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum, bool)

GetMappingListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListErrataRequest

type ListErrataRequest struct {

	// The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The OCID of the erratum.
	ErratumId *string `mandatory:"false" contributesTo:"query" name:"erratumId"`

	// The assigned erratum name. It's unique and not changeable.
	// Example: `ELSA-2020-5804`
	AdvisoryName *string `mandatory:"false" contributesTo:"query" name:"advisoryName"`

	// The issue date after which to list all errata, in ISO 8601 format
	// Example: 2017-07-14T02:40:00.000Z
	TimeIssueDateStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIssueDateStart"`

	// The issue date before which to list all errata, in ISO 8601 format
	// Example: 2017-07-14T02:40:00.000Z
	TimeIssueDateEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIssueDateEnd"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListErrataSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort errata by. Only one sort order may be provided. Default order for ISSUEDATE is descending. Default order for ADVISORYNAME is ascending. If no value is specified ISSUEDATE is default.
	SortBy ListErrataSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListErrataRequest wrapper for the ListErrata operation

See also

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

func (ListErrataRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListErrataRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListErrataRequest) RetryPolicy

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

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

func (ListErrataRequest) String

func (request ListErrataRequest) String() string

func (ListErrataRequest) ValidateEnumValue

func (request ListErrataRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListErrataResponse

type ListErrataResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ErratumSummary instances
	Items []ErratumSummary `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"`
}

ListErrataResponse wrapper for the ListErrata operation

func (ListErrataResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListErrataResponse) String

func (response ListErrataResponse) String() string

type ListErrataSortByEnum

type ListErrataSortByEnum string

ListErrataSortByEnum Enum with underlying type: string

const (
	ListErrataSortByIssuedate    ListErrataSortByEnum = "ISSUEDATE"
	ListErrataSortByAdvisoryname ListErrataSortByEnum = "ADVISORYNAME"
)

Set of constants representing the allowable values for ListErrataSortByEnum

func GetListErrataSortByEnumValues

func GetListErrataSortByEnumValues() []ListErrataSortByEnum

GetListErrataSortByEnumValues Enumerates the set of values for ListErrataSortByEnum

func GetMappingListErrataSortByEnum

func GetMappingListErrataSortByEnum(val string) (ListErrataSortByEnum, bool)

GetMappingListErrataSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListErrataSortOrderEnum

type ListErrataSortOrderEnum string

ListErrataSortOrderEnum Enum with underlying type: string

const (
	ListErrataSortOrderAsc  ListErrataSortOrderEnum = "ASC"
	ListErrataSortOrderDesc ListErrataSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListErrataSortOrderEnum

func GetListErrataSortOrderEnumValues

func GetListErrataSortOrderEnumValues() []ListErrataSortOrderEnum

GetListErrataSortOrderEnumValues Enumerates the set of values for ListErrataSortOrderEnum

func GetMappingListErrataSortOrderEnum

func GetMappingListErrataSortOrderEnum(val string) (ListErrataSortOrderEnum, bool)

GetMappingListErrataSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListEventsEventTypeEnum

type ListEventsEventTypeEnum string

ListEventsEventTypeEnum Enum with underlying type: string

const (
	ListEventsEventTypeKernelOops       ListEventsEventTypeEnum = "KERNEL_OOPS"
	ListEventsEventTypeKernelCrash      ListEventsEventTypeEnum = "KERNEL_CRASH"
	ListEventsEventTypeCrash            ListEventsEventTypeEnum = "CRASH"
	ListEventsEventTypeExploitAttempt   ListEventsEventTypeEnum = "EXPLOIT_ATTEMPT"
	ListEventsEventTypeCompliance       ListEventsEventTypeEnum = "COMPLIANCE"
	ListEventsEventTypeTuningSuggestion ListEventsEventTypeEnum = "TUNING_SUGGESTION"
	ListEventsEventTypeTuningApplied    ListEventsEventTypeEnum = "TUNING_APPLIED"
	ListEventsEventTypeSecurity         ListEventsEventTypeEnum = "SECURITY"
	ListEventsEventTypeError            ListEventsEventTypeEnum = "ERROR"
	ListEventsEventTypeWarning          ListEventsEventTypeEnum = "WARNING"
)

Set of constants representing the allowable values for ListEventsEventTypeEnum

func GetListEventsEventTypeEnumValues

func GetListEventsEventTypeEnumValues() []ListEventsEventTypeEnum

GetListEventsEventTypeEnumValues Enumerates the set of values for ListEventsEventTypeEnum

func GetMappingListEventsEventTypeEnum

func GetMappingListEventsEventTypeEnum(val string) (ListEventsEventTypeEnum, bool)

GetMappingListEventsEventTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListEventsRequest

type ListEventsRequest struct {

	// Instance Oracle Cloud identifier (ocid)
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Unique event identifier (OCID)
	EventId *string `mandatory:"false" contributesTo:"query" name:"eventId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListEventsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListEventsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter to return only event of given type.
	EventType ListEventsEventTypeEnum `mandatory:"false" contributesTo:"query" name:"eventType" omitEmpty:"true"`

	// filter event occurrence. Selecting only those last occurred before given date in ISO 8601 format
	// Example: 2017-07-14T02:40:00.000Z
	LatestTimestampLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"latestTimestampLessThan"`

	// filter event occurrence. Selecting only those last occurred on or after given date in ISO 8601 format
	// Example: 2017-07-14T02:40:00.000Z
	LatestTimestampGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"latestTimestampGreaterThanOrEqualTo"`

	// 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
}

ListEventsRequest wrapper for the ListEvents operation

See also

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

func (ListEventsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListEventsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListEventsRequest) RetryPolicy

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

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

func (ListEventsRequest) String

func (request ListEventsRequest) String() string

func (ListEventsRequest) ValidateEnumValue

func (request ListEventsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListEventsResponse

type ListEventsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of EventCollection instances
	EventCollection `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"`
}

ListEventsResponse wrapper for the ListEvents operation

func (ListEventsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListEventsResponse) String

func (response ListEventsResponse) String() string

type ListEventsSortByEnum

type ListEventsSortByEnum string

ListEventsSortByEnum Enum with underlying type: string

const (
	ListEventsSortByTimecreated ListEventsSortByEnum = "TIMECREATED"
	ListEventsSortByDisplayname ListEventsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListEventsSortByEnum

func GetListEventsSortByEnumValues

func GetListEventsSortByEnumValues() []ListEventsSortByEnum

GetListEventsSortByEnumValues Enumerates the set of values for ListEventsSortByEnum

func GetMappingListEventsSortByEnum

func GetMappingListEventsSortByEnum(val string) (ListEventsSortByEnum, bool)

GetMappingListEventsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListEventsSortOrderEnum

type ListEventsSortOrderEnum string

ListEventsSortOrderEnum Enum with underlying type: string

const (
	ListEventsSortOrderAsc  ListEventsSortOrderEnum = "ASC"
	ListEventsSortOrderDesc ListEventsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListEventsSortOrderEnum

func GetListEventsSortOrderEnumValues

func GetListEventsSortOrderEnumValues() []ListEventsSortOrderEnum

GetListEventsSortOrderEnumValues Enumerates the set of values for ListEventsSortOrderEnum

func GetMappingListEventsSortOrderEnum

func GetMappingListEventsSortOrderEnum(val string) (ListEventsSortOrderEnum, bool)

GetMappingListEventsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedInstanceErrataRequest

type ListManagedInstanceErrataRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListManagedInstanceErrataSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListManagedInstanceErrataSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListManagedInstanceErrataRequest wrapper for the ListManagedInstanceErrata operation

See also

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

func (ListManagedInstanceErrataRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceErrataRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceErrataRequest) RetryPolicy

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

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

func (ListManagedInstanceErrataRequest) String

func (request ListManagedInstanceErrataRequest) String() string

func (ListManagedInstanceErrataRequest) ValidateEnumValue

func (request ListManagedInstanceErrataRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListManagedInstanceErrataResponse

type ListManagedInstanceErrataResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ErratumSummary instances
	Items []ErratumSummary `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"`
}

ListManagedInstanceErrataResponse wrapper for the ListManagedInstanceErrata operation

func (ListManagedInstanceErrataResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceErrataResponse) String

func (response ListManagedInstanceErrataResponse) String() string

type ListManagedInstanceErrataSortByEnum

type ListManagedInstanceErrataSortByEnum string

ListManagedInstanceErrataSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceErrataSortByTimecreated ListManagedInstanceErrataSortByEnum = "TIMECREATED"
	ListManagedInstanceErrataSortByDisplayname ListManagedInstanceErrataSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListManagedInstanceErrataSortByEnum

func GetListManagedInstanceErrataSortByEnumValues

func GetListManagedInstanceErrataSortByEnumValues() []ListManagedInstanceErrataSortByEnum

GetListManagedInstanceErrataSortByEnumValues Enumerates the set of values for ListManagedInstanceErrataSortByEnum

func GetMappingListManagedInstanceErrataSortByEnum

func GetMappingListManagedInstanceErrataSortByEnum(val string) (ListManagedInstanceErrataSortByEnum, bool)

GetMappingListManagedInstanceErrataSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedInstanceErrataSortOrderEnum

type ListManagedInstanceErrataSortOrderEnum string

ListManagedInstanceErrataSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceErrataSortOrderAsc  ListManagedInstanceErrataSortOrderEnum = "ASC"
	ListManagedInstanceErrataSortOrderDesc ListManagedInstanceErrataSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceErrataSortOrderEnum

func GetListManagedInstanceErrataSortOrderEnumValues

func GetListManagedInstanceErrataSortOrderEnumValues() []ListManagedInstanceErrataSortOrderEnum

GetListManagedInstanceErrataSortOrderEnumValues Enumerates the set of values for ListManagedInstanceErrataSortOrderEnum

func GetMappingListManagedInstanceErrataSortOrderEnum

func GetMappingListManagedInstanceErrataSortOrderEnum(val string) (ListManagedInstanceErrataSortOrderEnum, bool)

GetMappingListManagedInstanceErrataSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedInstanceGroupsLifecycleStateEnum

type ListManagedInstanceGroupsLifecycleStateEnum string

ListManagedInstanceGroupsLifecycleStateEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupsLifecycleStateCreating ListManagedInstanceGroupsLifecycleStateEnum = "CREATING"
	ListManagedInstanceGroupsLifecycleStateUpdating ListManagedInstanceGroupsLifecycleStateEnum = "UPDATING"
	ListManagedInstanceGroupsLifecycleStateActive   ListManagedInstanceGroupsLifecycleStateEnum = "ACTIVE"
	ListManagedInstanceGroupsLifecycleStateDeleting ListManagedInstanceGroupsLifecycleStateEnum = "DELETING"
	ListManagedInstanceGroupsLifecycleStateDeleted  ListManagedInstanceGroupsLifecycleStateEnum = "DELETED"
	ListManagedInstanceGroupsLifecycleStateFailed   ListManagedInstanceGroupsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListManagedInstanceGroupsLifecycleStateEnum

func GetListManagedInstanceGroupsLifecycleStateEnumValues

func GetListManagedInstanceGroupsLifecycleStateEnumValues() []ListManagedInstanceGroupsLifecycleStateEnum

GetListManagedInstanceGroupsLifecycleStateEnumValues Enumerates the set of values for ListManagedInstanceGroupsLifecycleStateEnum

func GetMappingListManagedInstanceGroupsLifecycleStateEnum

func GetMappingListManagedInstanceGroupsLifecycleStateEnum(val string) (ListManagedInstanceGroupsLifecycleStateEnum, bool)

GetMappingListManagedInstanceGroupsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedInstanceGroupsOsFamilyEnum

type ListManagedInstanceGroupsOsFamilyEnum string

ListManagedInstanceGroupsOsFamilyEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupsOsFamilyLinux   ListManagedInstanceGroupsOsFamilyEnum = "LINUX"
	ListManagedInstanceGroupsOsFamilyWindows ListManagedInstanceGroupsOsFamilyEnum = "WINDOWS"
	ListManagedInstanceGroupsOsFamilyAll     ListManagedInstanceGroupsOsFamilyEnum = "ALL"
)

Set of constants representing the allowable values for ListManagedInstanceGroupsOsFamilyEnum

func GetListManagedInstanceGroupsOsFamilyEnumValues

func GetListManagedInstanceGroupsOsFamilyEnumValues() []ListManagedInstanceGroupsOsFamilyEnum

GetListManagedInstanceGroupsOsFamilyEnumValues Enumerates the set of values for ListManagedInstanceGroupsOsFamilyEnum

func GetMappingListManagedInstanceGroupsOsFamilyEnum

func GetMappingListManagedInstanceGroupsOsFamilyEnum(val string) (ListManagedInstanceGroupsOsFamilyEnum, bool)

GetMappingListManagedInstanceGroupsOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedInstanceGroupsRequest

type ListManagedInstanceGroupsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListManagedInstanceGroupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListManagedInstanceGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The current lifecycle state for the object.
	LifecycleState ListManagedInstanceGroupsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The OS family for which to list resources.
	OsFamily ListManagedInstanceGroupsOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"`

	// 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
}

ListManagedInstanceGroupsRequest wrapper for the ListManagedInstanceGroups operation

See also

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

func (ListManagedInstanceGroupsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceGroupsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceGroupsRequest) RetryPolicy

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

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

func (ListManagedInstanceGroupsRequest) String

func (request ListManagedInstanceGroupsRequest) String() string

func (ListManagedInstanceGroupsRequest) ValidateEnumValue

func (request ListManagedInstanceGroupsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListManagedInstanceGroupsResponse

type ListManagedInstanceGroupsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ManagedInstanceGroupSummary instances
	Items []ManagedInstanceGroupSummary `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"`
}

ListManagedInstanceGroupsResponse wrapper for the ListManagedInstanceGroups operation

func (ListManagedInstanceGroupsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceGroupsResponse) String

func (response ListManagedInstanceGroupsResponse) String() string

type ListManagedInstanceGroupsSortByEnum

type ListManagedInstanceGroupsSortByEnum string

ListManagedInstanceGroupsSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupsSortByTimecreated ListManagedInstanceGroupsSortByEnum = "TIMECREATED"
	ListManagedInstanceGroupsSortByDisplayname ListManagedInstanceGroupsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListManagedInstanceGroupsSortByEnum

func GetListManagedInstanceGroupsSortByEnumValues

func GetListManagedInstanceGroupsSortByEnumValues() []ListManagedInstanceGroupsSortByEnum

GetListManagedInstanceGroupsSortByEnumValues Enumerates the set of values for ListManagedInstanceGroupsSortByEnum

func GetMappingListManagedInstanceGroupsSortByEnum

func GetMappingListManagedInstanceGroupsSortByEnum(val string) (ListManagedInstanceGroupsSortByEnum, bool)

GetMappingListManagedInstanceGroupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedInstanceGroupsSortOrderEnum

type ListManagedInstanceGroupsSortOrderEnum string

ListManagedInstanceGroupsSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupsSortOrderAsc  ListManagedInstanceGroupsSortOrderEnum = "ASC"
	ListManagedInstanceGroupsSortOrderDesc ListManagedInstanceGroupsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceGroupsSortOrderEnum

func GetListManagedInstanceGroupsSortOrderEnumValues

func GetListManagedInstanceGroupsSortOrderEnumValues() []ListManagedInstanceGroupsSortOrderEnum

GetListManagedInstanceGroupsSortOrderEnumValues Enumerates the set of values for ListManagedInstanceGroupsSortOrderEnum

func GetMappingListManagedInstanceGroupsSortOrderEnum

func GetMappingListManagedInstanceGroupsSortOrderEnum(val string) (ListManagedInstanceGroupsSortOrderEnum, bool)

GetMappingListManagedInstanceGroupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedInstancesOsFamilyEnum

type ListManagedInstancesOsFamilyEnum string

ListManagedInstancesOsFamilyEnum Enum with underlying type: string

const (
	ListManagedInstancesOsFamilyLinux   ListManagedInstancesOsFamilyEnum = "LINUX"
	ListManagedInstancesOsFamilyWindows ListManagedInstancesOsFamilyEnum = "WINDOWS"
	ListManagedInstancesOsFamilyAll     ListManagedInstancesOsFamilyEnum = "ALL"
)

Set of constants representing the allowable values for ListManagedInstancesOsFamilyEnum

func GetListManagedInstancesOsFamilyEnumValues

func GetListManagedInstancesOsFamilyEnumValues() []ListManagedInstancesOsFamilyEnum

GetListManagedInstancesOsFamilyEnumValues Enumerates the set of values for ListManagedInstancesOsFamilyEnum

func GetMappingListManagedInstancesOsFamilyEnum

func GetMappingListManagedInstancesOsFamilyEnum(val string) (ListManagedInstancesOsFamilyEnum, bool)

GetMappingListManagedInstancesOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedInstancesRequest

type ListManagedInstancesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListManagedInstancesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListManagedInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The OS family for which to list resources.
	OsFamily ListManagedInstancesOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"`

	// 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
}

ListManagedInstancesRequest wrapper for the ListManagedInstances operation

See also

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

func (ListManagedInstancesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstancesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstancesRequest) RetryPolicy

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

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

func (ListManagedInstancesRequest) String

func (request ListManagedInstancesRequest) String() string

func (ListManagedInstancesRequest) ValidateEnumValue

func (request ListManagedInstancesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListManagedInstancesResponse

type ListManagedInstancesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ManagedInstanceSummary instances
	Items []ManagedInstanceSummary `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"`
}

ListManagedInstancesResponse wrapper for the ListManagedInstances operation

func (ListManagedInstancesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListManagedInstancesResponse) String

func (response ListManagedInstancesResponse) String() string

type ListManagedInstancesSortByEnum

type ListManagedInstancesSortByEnum string

ListManagedInstancesSortByEnum Enum with underlying type: string

const (
	ListManagedInstancesSortByTimecreated ListManagedInstancesSortByEnum = "TIMECREATED"
	ListManagedInstancesSortByDisplayname ListManagedInstancesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListManagedInstancesSortByEnum

func GetListManagedInstancesSortByEnumValues

func GetListManagedInstancesSortByEnumValues() []ListManagedInstancesSortByEnum

GetListManagedInstancesSortByEnumValues Enumerates the set of values for ListManagedInstancesSortByEnum

func GetMappingListManagedInstancesSortByEnum

func GetMappingListManagedInstancesSortByEnum(val string) (ListManagedInstancesSortByEnum, bool)

GetMappingListManagedInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedInstancesSortOrderEnum

type ListManagedInstancesSortOrderEnum string

ListManagedInstancesSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstancesSortOrderAsc  ListManagedInstancesSortOrderEnum = "ASC"
	ListManagedInstancesSortOrderDesc ListManagedInstancesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstancesSortOrderEnum

func GetListManagedInstancesSortOrderEnumValues

func GetListManagedInstancesSortOrderEnumValues() []ListManagedInstancesSortOrderEnum

GetListManagedInstancesSortOrderEnumValues Enumerates the set of values for ListManagedInstancesSortOrderEnum

func GetMappingListManagedInstancesSortOrderEnum

func GetMappingListManagedInstancesSortOrderEnum(val string) (ListManagedInstancesSortOrderEnum, bool)

GetMappingListManagedInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum added in v65.7.0

type ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum string

ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum Enum with underlying type: string

const (
	ListModuleStreamProfilesOnManagedInstanceProfileStatusInstalled ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum = "INSTALLED"
	ListModuleStreamProfilesOnManagedInstanceProfileStatusAvailable ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum = "AVAILABLE"
)

Set of constants representing the allowable values for ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum

func GetListModuleStreamProfilesOnManagedInstanceProfileStatusEnumValues added in v65.7.0

func GetListModuleStreamProfilesOnManagedInstanceProfileStatusEnumValues() []ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum

GetListModuleStreamProfilesOnManagedInstanceProfileStatusEnumValues Enumerates the set of values for ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum

func GetMappingListModuleStreamProfilesOnManagedInstanceProfileStatusEnum added in v65.7.0

func GetMappingListModuleStreamProfilesOnManagedInstanceProfileStatusEnum(val string) (ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum, bool)

GetMappingListModuleStreamProfilesOnManagedInstanceProfileStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ListModuleStreamProfilesOnManagedInstanceRequest added in v65.7.0

type ListModuleStreamProfilesOnManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The name of a module.  This parameter is required if a
	// streamName is specified.
	ModuleName *string `mandatory:"false" contributesTo:"query" name:"moduleName"`

	// The name of the stream of the containing module.  This parameter
	// is required if a profileName is specified.
	StreamName *string `mandatory:"false" contributesTo:"query" name:"streamName"`

	// The name of the profile of the containing module stream
	ProfileName *string `mandatory:"false" contributesTo:"query" name:"profileName"`

	// The status of the profile.
	// A profile with the "INSTALLED" status indicates that the
	// profile has been installed.
	// A profile with the "AVAILABLE" status indicates that the
	// profile is not installed, but can be.
	ProfileStatus ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum `mandatory:"false" contributesTo:"query" name:"profileStatus" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListModuleStreamProfilesOnManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListModuleStreamProfilesOnManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListModuleStreamProfilesOnManagedInstanceRequest wrapper for the ListModuleStreamProfilesOnManagedInstance operation

See also

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

func (ListModuleStreamProfilesOnManagedInstanceRequest) BinaryRequestBody added in v65.7.0

BinaryRequestBody implements the OCIRequest interface

func (ListModuleStreamProfilesOnManagedInstanceRequest) HTTPRequest added in v65.7.0

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

HTTPRequest implements the OCIRequest interface

func (ListModuleStreamProfilesOnManagedInstanceRequest) RetryPolicy added in v65.7.0

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

func (ListModuleStreamProfilesOnManagedInstanceRequest) String added in v65.7.0

func (ListModuleStreamProfilesOnManagedInstanceRequest) ValidateEnumValue added in v65.7.0

func (request ListModuleStreamProfilesOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListModuleStreamProfilesOnManagedInstanceResponse added in v65.7.0

type ListModuleStreamProfilesOnManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

ListModuleStreamProfilesOnManagedInstanceResponse wrapper for the ListModuleStreamProfilesOnManagedInstance operation

func (ListModuleStreamProfilesOnManagedInstanceResponse) HTTPResponse added in v65.7.0

HTTPResponse implements the OCIResponse interface

func (ListModuleStreamProfilesOnManagedInstanceResponse) String added in v65.7.0

type ListModuleStreamProfilesOnManagedInstanceSortByEnum added in v65.7.0

type ListModuleStreamProfilesOnManagedInstanceSortByEnum string

ListModuleStreamProfilesOnManagedInstanceSortByEnum Enum with underlying type: string

const (
	ListModuleStreamProfilesOnManagedInstanceSortByTimecreated ListModuleStreamProfilesOnManagedInstanceSortByEnum = "TIMECREATED"
	ListModuleStreamProfilesOnManagedInstanceSortByDisplayname ListModuleStreamProfilesOnManagedInstanceSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListModuleStreamProfilesOnManagedInstanceSortByEnum

func GetListModuleStreamProfilesOnManagedInstanceSortByEnumValues added in v65.7.0

func GetListModuleStreamProfilesOnManagedInstanceSortByEnumValues() []ListModuleStreamProfilesOnManagedInstanceSortByEnum

GetListModuleStreamProfilesOnManagedInstanceSortByEnumValues Enumerates the set of values for ListModuleStreamProfilesOnManagedInstanceSortByEnum

func GetMappingListModuleStreamProfilesOnManagedInstanceSortByEnum added in v65.7.0

func GetMappingListModuleStreamProfilesOnManagedInstanceSortByEnum(val string) (ListModuleStreamProfilesOnManagedInstanceSortByEnum, bool)

GetMappingListModuleStreamProfilesOnManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListModuleStreamProfilesOnManagedInstanceSortOrderEnum added in v65.7.0

type ListModuleStreamProfilesOnManagedInstanceSortOrderEnum string

ListModuleStreamProfilesOnManagedInstanceSortOrderEnum Enum with underlying type: string

const (
	ListModuleStreamProfilesOnManagedInstanceSortOrderAsc  ListModuleStreamProfilesOnManagedInstanceSortOrderEnum = "ASC"
	ListModuleStreamProfilesOnManagedInstanceSortOrderDesc ListModuleStreamProfilesOnManagedInstanceSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListModuleStreamProfilesOnManagedInstanceSortOrderEnum

func GetListModuleStreamProfilesOnManagedInstanceSortOrderEnumValues added in v65.7.0

func GetListModuleStreamProfilesOnManagedInstanceSortOrderEnumValues() []ListModuleStreamProfilesOnManagedInstanceSortOrderEnum

GetListModuleStreamProfilesOnManagedInstanceSortOrderEnumValues Enumerates the set of values for ListModuleStreamProfilesOnManagedInstanceSortOrderEnum

func GetMappingListModuleStreamProfilesOnManagedInstanceSortOrderEnum added in v65.7.0

func GetMappingListModuleStreamProfilesOnManagedInstanceSortOrderEnum(val string) (ListModuleStreamProfilesOnManagedInstanceSortOrderEnum, bool)

GetMappingListModuleStreamProfilesOnManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListModuleStreamProfilesRequest added in v65.7.0

type ListModuleStreamProfilesRequest struct {

	// The OCID of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The name of a module.  This parameter is required if a
	// streamName is specified.
	ModuleName *string `mandatory:"false" contributesTo:"query" name:"moduleName"`

	// The name of the stream of the containing module.  This parameter
	// is required if a profileName is specified.
	StreamName *string `mandatory:"false" contributesTo:"query" name:"streamName"`

	// The name of the profile of the containing module stream
	ProfileName *string `mandatory:"false" contributesTo:"query" name:"profileName"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListModuleStreamProfilesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListModuleStreamProfilesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListModuleStreamProfilesRequest wrapper for the ListModuleStreamProfiles operation

See also

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

func (ListModuleStreamProfilesRequest) BinaryRequestBody added in v65.7.0

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

BinaryRequestBody implements the OCIRequest interface

func (ListModuleStreamProfilesRequest) HTTPRequest added in v65.7.0

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

HTTPRequest implements the OCIRequest interface

func (ListModuleStreamProfilesRequest) RetryPolicy added in v65.7.0

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

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

func (ListModuleStreamProfilesRequest) String added in v65.7.0

func (request ListModuleStreamProfilesRequest) String() string

func (ListModuleStreamProfilesRequest) ValidateEnumValue added in v65.7.0

func (request ListModuleStreamProfilesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListModuleStreamProfilesResponse added in v65.7.0

type ListModuleStreamProfilesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

ListModuleStreamProfilesResponse wrapper for the ListModuleStreamProfiles operation

func (ListModuleStreamProfilesResponse) HTTPResponse added in v65.7.0

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

HTTPResponse implements the OCIResponse interface

func (ListModuleStreamProfilesResponse) String added in v65.7.0

func (response ListModuleStreamProfilesResponse) String() string

type ListModuleStreamProfilesSortByEnum added in v65.7.0

type ListModuleStreamProfilesSortByEnum string

ListModuleStreamProfilesSortByEnum Enum with underlying type: string

const (
	ListModuleStreamProfilesSortByTimecreated ListModuleStreamProfilesSortByEnum = "TIMECREATED"
	ListModuleStreamProfilesSortByDisplayname ListModuleStreamProfilesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListModuleStreamProfilesSortByEnum

func GetListModuleStreamProfilesSortByEnumValues added in v65.7.0

func GetListModuleStreamProfilesSortByEnumValues() []ListModuleStreamProfilesSortByEnum

GetListModuleStreamProfilesSortByEnumValues Enumerates the set of values for ListModuleStreamProfilesSortByEnum

func GetMappingListModuleStreamProfilesSortByEnum added in v65.7.0

func GetMappingListModuleStreamProfilesSortByEnum(val string) (ListModuleStreamProfilesSortByEnum, bool)

GetMappingListModuleStreamProfilesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListModuleStreamProfilesSortOrderEnum added in v65.7.0

type ListModuleStreamProfilesSortOrderEnum string

ListModuleStreamProfilesSortOrderEnum Enum with underlying type: string

const (
	ListModuleStreamProfilesSortOrderAsc  ListModuleStreamProfilesSortOrderEnum = "ASC"
	ListModuleStreamProfilesSortOrderDesc ListModuleStreamProfilesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListModuleStreamProfilesSortOrderEnum

func GetListModuleStreamProfilesSortOrderEnumValues added in v65.7.0

func GetListModuleStreamProfilesSortOrderEnumValues() []ListModuleStreamProfilesSortOrderEnum

GetListModuleStreamProfilesSortOrderEnumValues Enumerates the set of values for ListModuleStreamProfilesSortOrderEnum

func GetMappingListModuleStreamProfilesSortOrderEnum added in v65.7.0

func GetMappingListModuleStreamProfilesSortOrderEnum(val string) (ListModuleStreamProfilesSortOrderEnum, bool)

GetMappingListModuleStreamProfilesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListModuleStreamsOnManagedInstanceRequest added in v65.7.0

type ListModuleStreamsOnManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The name of a module.  This parameter is required if a
	// streamName is specified.
	ModuleName *string `mandatory:"false" contributesTo:"query" name:"moduleName"`

	// The name of the stream of the containing module.  This parameter
	// is required if a profileName is specified.
	StreamName *string `mandatory:"false" contributesTo:"query" name:"streamName"`

	// The status of the stream
	// A stream with the "ENABLED" status can be used as a source for installing
	// profiles.  Streams with this status are also "ACTIVE".
	// A stream with the "DISABLED" status cannot be the source for installing
	// profiles.  To install profiles and packages from this stream, it must be
	// enabled.
	// A stream with the "ACTIVE" status can be used as a source for installing
	// profiles.  The packages that comprise the stream are also used when a
	// matching package is installed directly.  In general, a stream can have
	// this status if it is the default stream for the module and no stream has
	// been explicitly enabled.
	StreamStatus ListModuleStreamsOnManagedInstanceStreamStatusEnum `mandatory:"false" contributesTo:"query" name:"streamStatus" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListModuleStreamsOnManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListModuleStreamsOnManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListModuleStreamsOnManagedInstanceRequest wrapper for the ListModuleStreamsOnManagedInstance operation

See also

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

func (ListModuleStreamsOnManagedInstanceRequest) BinaryRequestBody added in v65.7.0

BinaryRequestBody implements the OCIRequest interface

func (ListModuleStreamsOnManagedInstanceRequest) HTTPRequest added in v65.7.0

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

HTTPRequest implements the OCIRequest interface

func (ListModuleStreamsOnManagedInstanceRequest) RetryPolicy added in v65.7.0

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

func (ListModuleStreamsOnManagedInstanceRequest) String added in v65.7.0

func (ListModuleStreamsOnManagedInstanceRequest) ValidateEnumValue added in v65.7.0

func (request ListModuleStreamsOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListModuleStreamsOnManagedInstanceResponse added in v65.7.0

type ListModuleStreamsOnManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

ListModuleStreamsOnManagedInstanceResponse wrapper for the ListModuleStreamsOnManagedInstance operation

func (ListModuleStreamsOnManagedInstanceResponse) HTTPResponse added in v65.7.0

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

HTTPResponse implements the OCIResponse interface

func (ListModuleStreamsOnManagedInstanceResponse) String added in v65.7.0

type ListModuleStreamsOnManagedInstanceSortByEnum added in v65.7.0

type ListModuleStreamsOnManagedInstanceSortByEnum string

ListModuleStreamsOnManagedInstanceSortByEnum Enum with underlying type: string

const (
	ListModuleStreamsOnManagedInstanceSortByTimecreated ListModuleStreamsOnManagedInstanceSortByEnum = "TIMECREATED"
	ListModuleStreamsOnManagedInstanceSortByDisplayname ListModuleStreamsOnManagedInstanceSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListModuleStreamsOnManagedInstanceSortByEnum

func GetListModuleStreamsOnManagedInstanceSortByEnumValues added in v65.7.0

func GetListModuleStreamsOnManagedInstanceSortByEnumValues() []ListModuleStreamsOnManagedInstanceSortByEnum

GetListModuleStreamsOnManagedInstanceSortByEnumValues Enumerates the set of values for ListModuleStreamsOnManagedInstanceSortByEnum

func GetMappingListModuleStreamsOnManagedInstanceSortByEnum added in v65.7.0

func GetMappingListModuleStreamsOnManagedInstanceSortByEnum(val string) (ListModuleStreamsOnManagedInstanceSortByEnum, bool)

GetMappingListModuleStreamsOnManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListModuleStreamsOnManagedInstanceSortOrderEnum added in v65.7.0

type ListModuleStreamsOnManagedInstanceSortOrderEnum string

ListModuleStreamsOnManagedInstanceSortOrderEnum Enum with underlying type: string

const (
	ListModuleStreamsOnManagedInstanceSortOrderAsc  ListModuleStreamsOnManagedInstanceSortOrderEnum = "ASC"
	ListModuleStreamsOnManagedInstanceSortOrderDesc ListModuleStreamsOnManagedInstanceSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListModuleStreamsOnManagedInstanceSortOrderEnum

func GetListModuleStreamsOnManagedInstanceSortOrderEnumValues added in v65.7.0

func GetListModuleStreamsOnManagedInstanceSortOrderEnumValues() []ListModuleStreamsOnManagedInstanceSortOrderEnum

GetListModuleStreamsOnManagedInstanceSortOrderEnumValues Enumerates the set of values for ListModuleStreamsOnManagedInstanceSortOrderEnum

func GetMappingListModuleStreamsOnManagedInstanceSortOrderEnum added in v65.7.0

func GetMappingListModuleStreamsOnManagedInstanceSortOrderEnum(val string) (ListModuleStreamsOnManagedInstanceSortOrderEnum, bool)

GetMappingListModuleStreamsOnManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListModuleStreamsOnManagedInstanceStreamStatusEnum added in v65.7.0

type ListModuleStreamsOnManagedInstanceStreamStatusEnum string

ListModuleStreamsOnManagedInstanceStreamStatusEnum Enum with underlying type: string

const (
	ListModuleStreamsOnManagedInstanceStreamStatusEnabled  ListModuleStreamsOnManagedInstanceStreamStatusEnum = "ENABLED"
	ListModuleStreamsOnManagedInstanceStreamStatusDisabled ListModuleStreamsOnManagedInstanceStreamStatusEnum = "DISABLED"
	ListModuleStreamsOnManagedInstanceStreamStatusActive   ListModuleStreamsOnManagedInstanceStreamStatusEnum = "ACTIVE"
)

Set of constants representing the allowable values for ListModuleStreamsOnManagedInstanceStreamStatusEnum

func GetListModuleStreamsOnManagedInstanceStreamStatusEnumValues added in v65.7.0

func GetListModuleStreamsOnManagedInstanceStreamStatusEnumValues() []ListModuleStreamsOnManagedInstanceStreamStatusEnum

GetListModuleStreamsOnManagedInstanceStreamStatusEnumValues Enumerates the set of values for ListModuleStreamsOnManagedInstanceStreamStatusEnum

func GetMappingListModuleStreamsOnManagedInstanceStreamStatusEnum added in v65.7.0

func GetMappingListModuleStreamsOnManagedInstanceStreamStatusEnum(val string) (ListModuleStreamsOnManagedInstanceStreamStatusEnum, bool)

GetMappingListModuleStreamsOnManagedInstanceStreamStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ListModuleStreamsRequest added in v65.7.0

type ListModuleStreamsRequest struct {

	// The OCID of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The name of a module.  This parameter is required if a
	// streamName is specified.
	ModuleName *string `mandatory:"false" contributesTo:"query" name:"moduleName"`

	// The name of the stream of the containing module.  This parameter
	// is required if a profileName is specified.
	StreamName *string `mandatory:"false" contributesTo:"query" name:"streamName"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListModuleStreamsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListModuleStreamsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListModuleStreamsRequest wrapper for the ListModuleStreams operation

See also

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

func (ListModuleStreamsRequest) BinaryRequestBody added in v65.7.0

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

BinaryRequestBody implements the OCIRequest interface

func (ListModuleStreamsRequest) HTTPRequest added in v65.7.0

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

HTTPRequest implements the OCIRequest interface

func (ListModuleStreamsRequest) RetryPolicy added in v65.7.0

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

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

func (ListModuleStreamsRequest) String added in v65.7.0

func (request ListModuleStreamsRequest) String() string

func (ListModuleStreamsRequest) ValidateEnumValue added in v65.7.0

func (request ListModuleStreamsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListModuleStreamsResponse added in v65.7.0

type ListModuleStreamsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

ListModuleStreamsResponse wrapper for the ListModuleStreams operation

func (ListModuleStreamsResponse) HTTPResponse added in v65.7.0

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

HTTPResponse implements the OCIResponse interface

func (ListModuleStreamsResponse) String added in v65.7.0

func (response ListModuleStreamsResponse) String() string

type ListModuleStreamsSortByEnum added in v65.7.0

type ListModuleStreamsSortByEnum string

ListModuleStreamsSortByEnum Enum with underlying type: string

const (
	ListModuleStreamsSortByTimecreated ListModuleStreamsSortByEnum = "TIMECREATED"
	ListModuleStreamsSortByDisplayname ListModuleStreamsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListModuleStreamsSortByEnum

func GetListModuleStreamsSortByEnumValues added in v65.7.0

func GetListModuleStreamsSortByEnumValues() []ListModuleStreamsSortByEnum

GetListModuleStreamsSortByEnumValues Enumerates the set of values for ListModuleStreamsSortByEnum

func GetMappingListModuleStreamsSortByEnum added in v65.7.0

func GetMappingListModuleStreamsSortByEnum(val string) (ListModuleStreamsSortByEnum, bool)

GetMappingListModuleStreamsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListModuleStreamsSortOrderEnum added in v65.7.0

type ListModuleStreamsSortOrderEnum string

ListModuleStreamsSortOrderEnum Enum with underlying type: string

const (
	ListModuleStreamsSortOrderAsc  ListModuleStreamsSortOrderEnum = "ASC"
	ListModuleStreamsSortOrderDesc ListModuleStreamsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListModuleStreamsSortOrderEnum

func GetListModuleStreamsSortOrderEnumValues added in v65.7.0

func GetListModuleStreamsSortOrderEnumValues() []ListModuleStreamsSortOrderEnum

GetListModuleStreamsSortOrderEnumValues Enumerates the set of values for ListModuleStreamsSortOrderEnum

func GetMappingListModuleStreamsSortOrderEnum added in v65.7.0

func GetMappingListModuleStreamsSortOrderEnum(val string) (ListModuleStreamsSortOrderEnum, bool)

GetMappingListModuleStreamsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListPackagesInstalledOnManagedInstanceRequest

type ListPackagesInstalledOnManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListPackagesInstalledOnManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListPackagesInstalledOnManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListPackagesInstalledOnManagedInstanceRequest wrapper for the ListPackagesInstalledOnManagedInstance operation

See also

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

func (ListPackagesInstalledOnManagedInstanceRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ListPackagesInstalledOnManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListPackagesInstalledOnManagedInstanceRequest) RetryPolicy

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

func (ListPackagesInstalledOnManagedInstanceRequest) String

func (ListPackagesInstalledOnManagedInstanceRequest) ValidateEnumValue

func (request ListPackagesInstalledOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListPackagesInstalledOnManagedInstanceResponse

type ListPackagesInstalledOnManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []InstalledPackageSummary instances
	Items []InstalledPackageSummary `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"`
}

ListPackagesInstalledOnManagedInstanceResponse wrapper for the ListPackagesInstalledOnManagedInstance operation

func (ListPackagesInstalledOnManagedInstanceResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ListPackagesInstalledOnManagedInstanceResponse) String

type ListPackagesInstalledOnManagedInstanceSortByEnum

type ListPackagesInstalledOnManagedInstanceSortByEnum string

ListPackagesInstalledOnManagedInstanceSortByEnum Enum with underlying type: string

const (
	ListPackagesInstalledOnManagedInstanceSortByTimecreated ListPackagesInstalledOnManagedInstanceSortByEnum = "TIMECREATED"
	ListPackagesInstalledOnManagedInstanceSortByDisplayname ListPackagesInstalledOnManagedInstanceSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListPackagesInstalledOnManagedInstanceSortByEnum

func GetListPackagesInstalledOnManagedInstanceSortByEnumValues

func GetListPackagesInstalledOnManagedInstanceSortByEnumValues() []ListPackagesInstalledOnManagedInstanceSortByEnum

GetListPackagesInstalledOnManagedInstanceSortByEnumValues Enumerates the set of values for ListPackagesInstalledOnManagedInstanceSortByEnum

func GetMappingListPackagesInstalledOnManagedInstanceSortByEnum

func GetMappingListPackagesInstalledOnManagedInstanceSortByEnum(val string) (ListPackagesInstalledOnManagedInstanceSortByEnum, bool)

GetMappingListPackagesInstalledOnManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListPackagesInstalledOnManagedInstanceSortOrderEnum

type ListPackagesInstalledOnManagedInstanceSortOrderEnum string

ListPackagesInstalledOnManagedInstanceSortOrderEnum Enum with underlying type: string

const (
	ListPackagesInstalledOnManagedInstanceSortOrderAsc  ListPackagesInstalledOnManagedInstanceSortOrderEnum = "ASC"
	ListPackagesInstalledOnManagedInstanceSortOrderDesc ListPackagesInstalledOnManagedInstanceSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPackagesInstalledOnManagedInstanceSortOrderEnum

func GetListPackagesInstalledOnManagedInstanceSortOrderEnumValues

func GetListPackagesInstalledOnManagedInstanceSortOrderEnumValues() []ListPackagesInstalledOnManagedInstanceSortOrderEnum

GetListPackagesInstalledOnManagedInstanceSortOrderEnumValues Enumerates the set of values for ListPackagesInstalledOnManagedInstanceSortOrderEnum

func GetMappingListPackagesInstalledOnManagedInstanceSortOrderEnum

func GetMappingListPackagesInstalledOnManagedInstanceSortOrderEnum(val string) (ListPackagesInstalledOnManagedInstanceSortOrderEnum, bool)

GetMappingListPackagesInstalledOnManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRelatedEventsRequest

type ListRelatedEventsRequest struct {

	// Event fingerprint identifier
	EventFingerprint *string `mandatory:"true" contributesTo:"query" name:"eventFingerprint"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListRelatedEventsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for id is descending.
	SortBy ListRelatedEventsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// filter event occurrence. Selecting only those last occurred before given date in ISO 8601 format
	// Example: 2017-07-14T02:40:00.000Z
	LatestTimestampLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"latestTimestampLessThan"`

	// filter event occurrence. Selecting only those last occurred on or after given date in ISO 8601 format
	// Example: 2017-07-14T02:40:00.000Z
	LatestTimestampGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"latestTimestampGreaterThanOrEqualTo"`

	// 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
}

ListRelatedEventsRequest wrapper for the ListRelatedEvents operation

See also

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

func (ListRelatedEventsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListRelatedEventsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListRelatedEventsRequest) RetryPolicy

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

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

func (ListRelatedEventsRequest) String

func (request ListRelatedEventsRequest) String() string

func (ListRelatedEventsRequest) ValidateEnumValue

func (request ListRelatedEventsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListRelatedEventsResponse

type ListRelatedEventsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of RelatedEventCollection instances
	RelatedEventCollection `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"`
}

ListRelatedEventsResponse wrapper for the ListRelatedEvents operation

func (ListRelatedEventsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListRelatedEventsResponse) String

func (response ListRelatedEventsResponse) String() string

type ListRelatedEventsSortByEnum

type ListRelatedEventsSortByEnum string

ListRelatedEventsSortByEnum Enum with underlying type: string

const (
	ListRelatedEventsSortByInstanceid       ListRelatedEventsSortByEnum = "instanceId"
	ListRelatedEventsSortById               ListRelatedEventsSortByEnum = "id"
	ListRelatedEventsSortByEventfingerprint ListRelatedEventsSortByEnum = "eventFingerprint"
)

Set of constants representing the allowable values for ListRelatedEventsSortByEnum

func GetListRelatedEventsSortByEnumValues

func GetListRelatedEventsSortByEnumValues() []ListRelatedEventsSortByEnum

GetListRelatedEventsSortByEnumValues Enumerates the set of values for ListRelatedEventsSortByEnum

func GetMappingListRelatedEventsSortByEnum

func GetMappingListRelatedEventsSortByEnum(val string) (ListRelatedEventsSortByEnum, bool)

GetMappingListRelatedEventsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRelatedEventsSortOrderEnum

type ListRelatedEventsSortOrderEnum string

ListRelatedEventsSortOrderEnum Enum with underlying type: string

const (
	ListRelatedEventsSortOrderAsc  ListRelatedEventsSortOrderEnum = "ASC"
	ListRelatedEventsSortOrderDesc ListRelatedEventsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListRelatedEventsSortOrderEnum

func GetListRelatedEventsSortOrderEnumValues

func GetListRelatedEventsSortOrderEnumValues() []ListRelatedEventsSortOrderEnum

GetListRelatedEventsSortOrderEnumValues Enumerates the set of values for ListRelatedEventsSortOrderEnum

func GetMappingListRelatedEventsSortOrderEnum

func GetMappingListRelatedEventsSortOrderEnum(val string) (ListRelatedEventsSortOrderEnum, bool)

GetMappingListRelatedEventsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListScheduledJobsLifecycleStateEnum

type ListScheduledJobsLifecycleStateEnum string

ListScheduledJobsLifecycleStateEnum Enum with underlying type: string

const (
	ListScheduledJobsLifecycleStateCreating ListScheduledJobsLifecycleStateEnum = "CREATING"
	ListScheduledJobsLifecycleStateUpdating ListScheduledJobsLifecycleStateEnum = "UPDATING"
	ListScheduledJobsLifecycleStateActive   ListScheduledJobsLifecycleStateEnum = "ACTIVE"
	ListScheduledJobsLifecycleStateDeleting ListScheduledJobsLifecycleStateEnum = "DELETING"
	ListScheduledJobsLifecycleStateDeleted  ListScheduledJobsLifecycleStateEnum = "DELETED"
	ListScheduledJobsLifecycleStateFailed   ListScheduledJobsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListScheduledJobsLifecycleStateEnum

func GetListScheduledJobsLifecycleStateEnumValues

func GetListScheduledJobsLifecycleStateEnumValues() []ListScheduledJobsLifecycleStateEnum

GetListScheduledJobsLifecycleStateEnumValues Enumerates the set of values for ListScheduledJobsLifecycleStateEnum

func GetMappingListScheduledJobsLifecycleStateEnum

func GetMappingListScheduledJobsLifecycleStateEnum(val string) (ListScheduledJobsLifecycleStateEnum, bool)

GetMappingListScheduledJobsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListScheduledJobsOperationTypeEnum

type ListScheduledJobsOperationTypeEnum string

ListScheduledJobsOperationTypeEnum Enum with underlying type: string

const (
	ListScheduledJobsOperationTypeInstall                    ListScheduledJobsOperationTypeEnum = "INSTALL"
	ListScheduledJobsOperationTypeUpdate                     ListScheduledJobsOperationTypeEnum = "UPDATE"
	ListScheduledJobsOperationTypeRemove                     ListScheduledJobsOperationTypeEnum = "REMOVE"
	ListScheduledJobsOperationTypeUpdateall                  ListScheduledJobsOperationTypeEnum = "UPDATEALL"
	ListScheduledJobsOperationTypeEnablemodulestream         ListScheduledJobsOperationTypeEnum = "ENABLEMODULESTREAM"
	ListScheduledJobsOperationTypeDisablemodulestream        ListScheduledJobsOperationTypeEnum = "DISABLEMODULESTREAM"
	ListScheduledJobsOperationTypeSwitchmodulestream         ListScheduledJobsOperationTypeEnum = "SWITCHMODULESTREAM"
	ListScheduledJobsOperationTypeInstallmodulestreamprofile ListScheduledJobsOperationTypeEnum = "INSTALLMODULESTREAMPROFILE"
	ListScheduledJobsOperationTypeRemovemodulestreamprofile  ListScheduledJobsOperationTypeEnum = "REMOVEMODULESTREAMPROFILE"
	ListScheduledJobsOperationTypeCompound                   ListScheduledJobsOperationTypeEnum = "COMPOUND"
)

Set of constants representing the allowable values for ListScheduledJobsOperationTypeEnum

func GetListScheduledJobsOperationTypeEnumValues

func GetListScheduledJobsOperationTypeEnumValues() []ListScheduledJobsOperationTypeEnum

GetListScheduledJobsOperationTypeEnumValues Enumerates the set of values for ListScheduledJobsOperationTypeEnum

func GetMappingListScheduledJobsOperationTypeEnum

func GetMappingListScheduledJobsOperationTypeEnum(val string) (ListScheduledJobsOperationTypeEnum, bool)

GetMappingListScheduledJobsOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListScheduledJobsOsFamilyEnum

type ListScheduledJobsOsFamilyEnum string

ListScheduledJobsOsFamilyEnum Enum with underlying type: string

const (
	ListScheduledJobsOsFamilyLinux   ListScheduledJobsOsFamilyEnum = "LINUX"
	ListScheduledJobsOsFamilyWindows ListScheduledJobsOsFamilyEnum = "WINDOWS"
	ListScheduledJobsOsFamilyAll     ListScheduledJobsOsFamilyEnum = "ALL"
)

Set of constants representing the allowable values for ListScheduledJobsOsFamilyEnum

func GetListScheduledJobsOsFamilyEnumValues

func GetListScheduledJobsOsFamilyEnumValues() []ListScheduledJobsOsFamilyEnum

GetListScheduledJobsOsFamilyEnumValues Enumerates the set of values for ListScheduledJobsOsFamilyEnum

func GetMappingListScheduledJobsOsFamilyEnum

func GetMappingListScheduledJobsOsFamilyEnum(val string) (ListScheduledJobsOsFamilyEnum, bool)

GetMappingListScheduledJobsOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum

type ListScheduledJobsRequest

type ListScheduledJobsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The ID of the managed instance for which to list resources.
	ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"`

	// The ID of the managed instace group for which to list resources.
	ManagedInstanceGroupId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceGroupId"`

	// The operation type for which to list resources
	OperationType ListScheduledJobsOperationTypeEnum `mandatory:"false" contributesTo:"query" name:"operationType" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListScheduledJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListScheduledJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The current lifecycle state for the object.
	LifecycleState ListScheduledJobsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The OS family for which to list resources.
	OsFamily ListScheduledJobsOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"`

	// If true, will only filter out restricted Autonomous Linux Scheduled Job
	IsRestricted *bool `mandatory:"false" contributesTo:"query" name:"isRestricted"`

	// 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
}

ListScheduledJobsRequest wrapper for the ListScheduledJobs operation

See also

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

func (ListScheduledJobsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListScheduledJobsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListScheduledJobsRequest) RetryPolicy

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

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

func (ListScheduledJobsRequest) String

func (request ListScheduledJobsRequest) String() string

func (ListScheduledJobsRequest) ValidateEnumValue

func (request ListScheduledJobsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListScheduledJobsResponse

type ListScheduledJobsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ScheduledJobSummary instances
	Items []ScheduledJobSummary `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"`
}

ListScheduledJobsResponse wrapper for the ListScheduledJobs operation

func (ListScheduledJobsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListScheduledJobsResponse) String

func (response ListScheduledJobsResponse) String() string

type ListScheduledJobsSortByEnum

type ListScheduledJobsSortByEnum string

ListScheduledJobsSortByEnum Enum with underlying type: string

const (
	ListScheduledJobsSortByTimecreated ListScheduledJobsSortByEnum = "TIMECREATED"
	ListScheduledJobsSortByDisplayname ListScheduledJobsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListScheduledJobsSortByEnum

func GetListScheduledJobsSortByEnumValues

func GetListScheduledJobsSortByEnumValues() []ListScheduledJobsSortByEnum

GetListScheduledJobsSortByEnumValues Enumerates the set of values for ListScheduledJobsSortByEnum

func GetMappingListScheduledJobsSortByEnum

func GetMappingListScheduledJobsSortByEnum(val string) (ListScheduledJobsSortByEnum, bool)

GetMappingListScheduledJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListScheduledJobsSortOrderEnum

type ListScheduledJobsSortOrderEnum string

ListScheduledJobsSortOrderEnum Enum with underlying type: string

const (
	ListScheduledJobsSortOrderAsc  ListScheduledJobsSortOrderEnum = "ASC"
	ListScheduledJobsSortOrderDesc ListScheduledJobsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListScheduledJobsSortOrderEnum

func GetListScheduledJobsSortOrderEnumValues

func GetListScheduledJobsSortOrderEnumValues() []ListScheduledJobsSortOrderEnum

GetListScheduledJobsSortOrderEnumValues Enumerates the set of values for ListScheduledJobsSortOrderEnum

func GetMappingListScheduledJobsSortOrderEnum

func GetMappingListScheduledJobsSortOrderEnum(val string) (ListScheduledJobsSortOrderEnum, bool)

GetMappingListScheduledJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSoftwareSourcePackagesRequest

type ListSoftwareSourcePackagesRequest struct {

	// The OCID of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListSoftwareSourcePackagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListSoftwareSourcePackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListSoftwareSourcePackagesRequest wrapper for the ListSoftwareSourcePackages operation

See also

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

func (ListSoftwareSourcePackagesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListSoftwareSourcePackagesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListSoftwareSourcePackagesRequest) RetryPolicy

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

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

func (ListSoftwareSourcePackagesRequest) String

func (request ListSoftwareSourcePackagesRequest) String() string

func (ListSoftwareSourcePackagesRequest) ValidateEnumValue

func (request ListSoftwareSourcePackagesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListSoftwareSourcePackagesResponse

type ListSoftwareSourcePackagesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []SoftwarePackageSummary instances
	Items []SoftwarePackageSummary `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"`
}

ListSoftwareSourcePackagesResponse wrapper for the ListSoftwareSourcePackages operation

func (ListSoftwareSourcePackagesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListSoftwareSourcePackagesResponse) String

func (response ListSoftwareSourcePackagesResponse) String() string

type ListSoftwareSourcePackagesSortByEnum

type ListSoftwareSourcePackagesSortByEnum string

ListSoftwareSourcePackagesSortByEnum Enum with underlying type: string

const (
	ListSoftwareSourcePackagesSortByTimecreated ListSoftwareSourcePackagesSortByEnum = "TIMECREATED"
	ListSoftwareSourcePackagesSortByDisplayname ListSoftwareSourcePackagesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListSoftwareSourcePackagesSortByEnum

func GetListSoftwareSourcePackagesSortByEnumValues

func GetListSoftwareSourcePackagesSortByEnumValues() []ListSoftwareSourcePackagesSortByEnum

GetListSoftwareSourcePackagesSortByEnumValues Enumerates the set of values for ListSoftwareSourcePackagesSortByEnum

func GetMappingListSoftwareSourcePackagesSortByEnum

func GetMappingListSoftwareSourcePackagesSortByEnum(val string) (ListSoftwareSourcePackagesSortByEnum, bool)

GetMappingListSoftwareSourcePackagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSoftwareSourcePackagesSortOrderEnum

type ListSoftwareSourcePackagesSortOrderEnum string

ListSoftwareSourcePackagesSortOrderEnum Enum with underlying type: string

const (
	ListSoftwareSourcePackagesSortOrderAsc  ListSoftwareSourcePackagesSortOrderEnum = "ASC"
	ListSoftwareSourcePackagesSortOrderDesc ListSoftwareSourcePackagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSoftwareSourcePackagesSortOrderEnum

func GetListSoftwareSourcePackagesSortOrderEnumValues

func GetListSoftwareSourcePackagesSortOrderEnumValues() []ListSoftwareSourcePackagesSortOrderEnum

GetListSoftwareSourcePackagesSortOrderEnumValues Enumerates the set of values for ListSoftwareSourcePackagesSortOrderEnum

func GetMappingListSoftwareSourcePackagesSortOrderEnum

func GetMappingListSoftwareSourcePackagesSortOrderEnum(val string) (ListSoftwareSourcePackagesSortOrderEnum, bool)

GetMappingListSoftwareSourcePackagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSoftwareSourcesLifecycleStateEnum

type ListSoftwareSourcesLifecycleStateEnum string

ListSoftwareSourcesLifecycleStateEnum Enum with underlying type: string

const (
	ListSoftwareSourcesLifecycleStateCreating ListSoftwareSourcesLifecycleStateEnum = "CREATING"
	ListSoftwareSourcesLifecycleStateUpdating ListSoftwareSourcesLifecycleStateEnum = "UPDATING"
	ListSoftwareSourcesLifecycleStateActive   ListSoftwareSourcesLifecycleStateEnum = "ACTIVE"
	ListSoftwareSourcesLifecycleStateDeleting ListSoftwareSourcesLifecycleStateEnum = "DELETING"
	ListSoftwareSourcesLifecycleStateDeleted  ListSoftwareSourcesLifecycleStateEnum = "DELETED"
	ListSoftwareSourcesLifecycleStateFailed   ListSoftwareSourcesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListSoftwareSourcesLifecycleStateEnum

func GetListSoftwareSourcesLifecycleStateEnumValues

func GetListSoftwareSourcesLifecycleStateEnumValues() []ListSoftwareSourcesLifecycleStateEnum

GetListSoftwareSourcesLifecycleStateEnumValues Enumerates the set of values for ListSoftwareSourcesLifecycleStateEnum

func GetMappingListSoftwareSourcesLifecycleStateEnum

func GetMappingListSoftwareSourcesLifecycleStateEnum(val string) (ListSoftwareSourcesLifecycleStateEnum, bool)

GetMappingListSoftwareSourcesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSoftwareSourcesRequest

type ListSoftwareSourcesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListSoftwareSourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListSoftwareSourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The current lifecycle state for the object.
	LifecycleState ListSoftwareSourcesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListSoftwareSourcesRequest wrapper for the ListSoftwareSources operation

See also

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

func (ListSoftwareSourcesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListSoftwareSourcesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListSoftwareSourcesRequest) RetryPolicy

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

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

func (ListSoftwareSourcesRequest) String

func (request ListSoftwareSourcesRequest) String() string

func (ListSoftwareSourcesRequest) ValidateEnumValue

func (request ListSoftwareSourcesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListSoftwareSourcesResponse

type ListSoftwareSourcesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []SoftwareSourceSummary instances
	Items []SoftwareSourceSummary `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"`
}

ListSoftwareSourcesResponse wrapper for the ListSoftwareSources operation

func (ListSoftwareSourcesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListSoftwareSourcesResponse) String

func (response ListSoftwareSourcesResponse) String() string

type ListSoftwareSourcesSortByEnum

type ListSoftwareSourcesSortByEnum string

ListSoftwareSourcesSortByEnum Enum with underlying type: string

const (
	ListSoftwareSourcesSortByTimecreated ListSoftwareSourcesSortByEnum = "TIMECREATED"
	ListSoftwareSourcesSortByDisplayname ListSoftwareSourcesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListSoftwareSourcesSortByEnum

func GetListSoftwareSourcesSortByEnumValues

func GetListSoftwareSourcesSortByEnumValues() []ListSoftwareSourcesSortByEnum

GetListSoftwareSourcesSortByEnumValues Enumerates the set of values for ListSoftwareSourcesSortByEnum

func GetMappingListSoftwareSourcesSortByEnum

func GetMappingListSoftwareSourcesSortByEnum(val string) (ListSoftwareSourcesSortByEnum, bool)

GetMappingListSoftwareSourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSoftwareSourcesSortOrderEnum

type ListSoftwareSourcesSortOrderEnum string

ListSoftwareSourcesSortOrderEnum Enum with underlying type: string

const (
	ListSoftwareSourcesSortOrderAsc  ListSoftwareSourcesSortOrderEnum = "ASC"
	ListSoftwareSourcesSortOrderDesc ListSoftwareSourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSoftwareSourcesSortOrderEnum

func GetListSoftwareSourcesSortOrderEnumValues

func GetListSoftwareSourcesSortOrderEnumValues() []ListSoftwareSourcesSortOrderEnum

GetListSoftwareSourcesSortOrderEnumValues Enumerates the set of values for ListSoftwareSourcesSortOrderEnum

func GetMappingListSoftwareSourcesSortOrderEnum

func GetMappingListSoftwareSourcesSortOrderEnum(val string) (ListSoftwareSourcesSortOrderEnum, bool)

GetMappingListSoftwareSourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUpcomingScheduledJobsLifecycleStateEnum

type ListUpcomingScheduledJobsLifecycleStateEnum string

ListUpcomingScheduledJobsLifecycleStateEnum Enum with underlying type: string

const (
	ListUpcomingScheduledJobsLifecycleStateCreating ListUpcomingScheduledJobsLifecycleStateEnum = "CREATING"
	ListUpcomingScheduledJobsLifecycleStateUpdating ListUpcomingScheduledJobsLifecycleStateEnum = "UPDATING"
	ListUpcomingScheduledJobsLifecycleStateActive   ListUpcomingScheduledJobsLifecycleStateEnum = "ACTIVE"
	ListUpcomingScheduledJobsLifecycleStateDeleting ListUpcomingScheduledJobsLifecycleStateEnum = "DELETING"
	ListUpcomingScheduledJobsLifecycleStateDeleted  ListUpcomingScheduledJobsLifecycleStateEnum = "DELETED"
	ListUpcomingScheduledJobsLifecycleStateFailed   ListUpcomingScheduledJobsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListUpcomingScheduledJobsLifecycleStateEnum

func GetListUpcomingScheduledJobsLifecycleStateEnumValues

func GetListUpcomingScheduledJobsLifecycleStateEnumValues() []ListUpcomingScheduledJobsLifecycleStateEnum

GetListUpcomingScheduledJobsLifecycleStateEnumValues Enumerates the set of values for ListUpcomingScheduledJobsLifecycleStateEnum

func GetMappingListUpcomingScheduledJobsLifecycleStateEnum

func GetMappingListUpcomingScheduledJobsLifecycleStateEnum(val string) (ListUpcomingScheduledJobsLifecycleStateEnum, bool)

GetMappingListUpcomingScheduledJobsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUpcomingScheduledJobsOsFamilyEnum

type ListUpcomingScheduledJobsOsFamilyEnum string

ListUpcomingScheduledJobsOsFamilyEnum Enum with underlying type: string

const (
	ListUpcomingScheduledJobsOsFamilyLinux   ListUpcomingScheduledJobsOsFamilyEnum = "LINUX"
	ListUpcomingScheduledJobsOsFamilyWindows ListUpcomingScheduledJobsOsFamilyEnum = "WINDOWS"
	ListUpcomingScheduledJobsOsFamilyAll     ListUpcomingScheduledJobsOsFamilyEnum = "ALL"
)

Set of constants representing the allowable values for ListUpcomingScheduledJobsOsFamilyEnum

func GetListUpcomingScheduledJobsOsFamilyEnumValues

func GetListUpcomingScheduledJobsOsFamilyEnumValues() []ListUpcomingScheduledJobsOsFamilyEnum

GetListUpcomingScheduledJobsOsFamilyEnumValues Enumerates the set of values for ListUpcomingScheduledJobsOsFamilyEnum

func GetMappingListUpcomingScheduledJobsOsFamilyEnum

func GetMappingListUpcomingScheduledJobsOsFamilyEnum(val string) (ListUpcomingScheduledJobsOsFamilyEnum, bool)

GetMappingListUpcomingScheduledJobsOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUpcomingScheduledJobsRequest

type ListUpcomingScheduledJobsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The cut-off time before which to list all upcoming schedules, in ISO 8601 format
	// Example: 2017-07-14T02:40:00.000Z
	TimeEnd *common.SDKTime `mandatory:"true" contributesTo:"query" name:"timeEnd"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListUpcomingScheduledJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListUpcomingScheduledJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The name of the tag.
	TagName *string `mandatory:"false" contributesTo:"query" name:"tagName"`

	// The value for the tag.
	TagValue *string `mandatory:"false" contributesTo:"query" name:"tagValue"`

	// The current lifecycle state for the object.
	LifecycleState ListUpcomingScheduledJobsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The OS family for which to list resources.
	OsFamily ListUpcomingScheduledJobsOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"`

	// 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
}

ListUpcomingScheduledJobsRequest wrapper for the ListUpcomingScheduledJobs operation

See also

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

func (ListUpcomingScheduledJobsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListUpcomingScheduledJobsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListUpcomingScheduledJobsRequest) RetryPolicy

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

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

func (ListUpcomingScheduledJobsRequest) String

func (request ListUpcomingScheduledJobsRequest) String() string

func (ListUpcomingScheduledJobsRequest) ValidateEnumValue

func (request ListUpcomingScheduledJobsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListUpcomingScheduledJobsResponse

type ListUpcomingScheduledJobsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ScheduledJobSummary instances
	Items []ScheduledJobSummary `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"`
}

ListUpcomingScheduledJobsResponse wrapper for the ListUpcomingScheduledJobs operation

func (ListUpcomingScheduledJobsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListUpcomingScheduledJobsResponse) String

func (response ListUpcomingScheduledJobsResponse) String() string

type ListUpcomingScheduledJobsSortByEnum

type ListUpcomingScheduledJobsSortByEnum string

ListUpcomingScheduledJobsSortByEnum Enum with underlying type: string

const (
	ListUpcomingScheduledJobsSortByTimecreated ListUpcomingScheduledJobsSortByEnum = "TIMECREATED"
	ListUpcomingScheduledJobsSortByDisplayname ListUpcomingScheduledJobsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListUpcomingScheduledJobsSortByEnum

func GetListUpcomingScheduledJobsSortByEnumValues

func GetListUpcomingScheduledJobsSortByEnumValues() []ListUpcomingScheduledJobsSortByEnum

GetListUpcomingScheduledJobsSortByEnumValues Enumerates the set of values for ListUpcomingScheduledJobsSortByEnum

func GetMappingListUpcomingScheduledJobsSortByEnum

func GetMappingListUpcomingScheduledJobsSortByEnum(val string) (ListUpcomingScheduledJobsSortByEnum, bool)

GetMappingListUpcomingScheduledJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUpcomingScheduledJobsSortOrderEnum

type ListUpcomingScheduledJobsSortOrderEnum string

ListUpcomingScheduledJobsSortOrderEnum Enum with underlying type: string

const (
	ListUpcomingScheduledJobsSortOrderAsc  ListUpcomingScheduledJobsSortOrderEnum = "ASC"
	ListUpcomingScheduledJobsSortOrderDesc ListUpcomingScheduledJobsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListUpcomingScheduledJobsSortOrderEnum

func GetListUpcomingScheduledJobsSortOrderEnumValues

func GetListUpcomingScheduledJobsSortOrderEnumValues() []ListUpcomingScheduledJobsSortOrderEnum

GetListUpcomingScheduledJobsSortOrderEnumValues Enumerates the set of values for ListUpcomingScheduledJobsSortOrderEnum

func GetMappingListUpcomingScheduledJobsSortOrderEnum

func GetMappingListUpcomingScheduledJobsSortOrderEnum(val string) (ListUpcomingScheduledJobsSortOrderEnum, bool)

GetMappingListUpcomingScheduledJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWindowsUpdatesInstalledOnManagedInstanceRequest

type ListWindowsUpdatesInstalledOnManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListWindowsUpdatesInstalledOnManagedInstanceRequest wrapper for the ListWindowsUpdatesInstalledOnManagedInstance operation

See also

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

func (ListWindowsUpdatesInstalledOnManagedInstanceRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ListWindowsUpdatesInstalledOnManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWindowsUpdatesInstalledOnManagedInstanceRequest) RetryPolicy

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

func (ListWindowsUpdatesInstalledOnManagedInstanceRequest) String

func (ListWindowsUpdatesInstalledOnManagedInstanceRequest) ValidateEnumValue

func (request ListWindowsUpdatesInstalledOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWindowsUpdatesInstalledOnManagedInstanceResponse

type ListWindowsUpdatesInstalledOnManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []InstalledWindowsUpdateSummary instances
	Items []InstalledWindowsUpdateSummary `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"`
}

ListWindowsUpdatesInstalledOnManagedInstanceResponse wrapper for the ListWindowsUpdatesInstalledOnManagedInstance operation

func (ListWindowsUpdatesInstalledOnManagedInstanceResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ListWindowsUpdatesInstalledOnManagedInstanceResponse) String

type ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum

type ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum string

ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum Enum with underlying type: string

const (
	ListWindowsUpdatesInstalledOnManagedInstanceSortByTimecreated ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum = "TIMECREATED"
	ListWindowsUpdatesInstalledOnManagedInstanceSortByDisplayname ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum

func GetListWindowsUpdatesInstalledOnManagedInstanceSortByEnumValues

func GetListWindowsUpdatesInstalledOnManagedInstanceSortByEnumValues() []ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum

GetListWindowsUpdatesInstalledOnManagedInstanceSortByEnumValues Enumerates the set of values for ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum

func GetMappingListWindowsUpdatesInstalledOnManagedInstanceSortByEnum

func GetMappingListWindowsUpdatesInstalledOnManagedInstanceSortByEnum(val string) (ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum, bool)

GetMappingListWindowsUpdatesInstalledOnManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum

type ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum string

ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum Enum with underlying type: string

const (
	ListWindowsUpdatesInstalledOnManagedInstanceSortOrderAsc  ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum = "ASC"
	ListWindowsUpdatesInstalledOnManagedInstanceSortOrderDesc ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum

func GetListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnumValues

func GetListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnumValues() []ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum

GetListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnumValues Enumerates the set of values for ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum

func GetMappingListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum

func GetMappingListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum(val string) (ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum, bool)

GetMappingListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWindowsUpdatesRequest

type ListWindowsUpdatesRequest struct {

	// The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWindowsUpdatesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListWindowsUpdatesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListWindowsUpdatesRequest wrapper for the ListWindowsUpdates operation

See also

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

func (ListWindowsUpdatesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWindowsUpdatesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWindowsUpdatesRequest) RetryPolicy

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

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

func (ListWindowsUpdatesRequest) String

func (request ListWindowsUpdatesRequest) String() string

func (ListWindowsUpdatesRequest) ValidateEnumValue

func (request ListWindowsUpdatesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWindowsUpdatesResponse

type ListWindowsUpdatesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []WindowsUpdateSummary instances
	Items []WindowsUpdateSummary `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"`
}

ListWindowsUpdatesResponse wrapper for the ListWindowsUpdates operation

func (ListWindowsUpdatesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWindowsUpdatesResponse) String

func (response ListWindowsUpdatesResponse) String() string

type ListWindowsUpdatesSortByEnum

type ListWindowsUpdatesSortByEnum string

ListWindowsUpdatesSortByEnum Enum with underlying type: string

const (
	ListWindowsUpdatesSortByTimecreated ListWindowsUpdatesSortByEnum = "TIMECREATED"
	ListWindowsUpdatesSortByDisplayname ListWindowsUpdatesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListWindowsUpdatesSortByEnum

func GetListWindowsUpdatesSortByEnumValues

func GetListWindowsUpdatesSortByEnumValues() []ListWindowsUpdatesSortByEnum

GetListWindowsUpdatesSortByEnumValues Enumerates the set of values for ListWindowsUpdatesSortByEnum

func GetMappingListWindowsUpdatesSortByEnum

func GetMappingListWindowsUpdatesSortByEnum(val string) (ListWindowsUpdatesSortByEnum, bool)

GetMappingListWindowsUpdatesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWindowsUpdatesSortOrderEnum

type ListWindowsUpdatesSortOrderEnum string

ListWindowsUpdatesSortOrderEnum Enum with underlying type: string

const (
	ListWindowsUpdatesSortOrderAsc  ListWindowsUpdatesSortOrderEnum = "ASC"
	ListWindowsUpdatesSortOrderDesc ListWindowsUpdatesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWindowsUpdatesSortOrderEnum

func GetListWindowsUpdatesSortOrderEnumValues

func GetListWindowsUpdatesSortOrderEnumValues() []ListWindowsUpdatesSortOrderEnum

GetListWindowsUpdatesSortOrderEnumValues Enumerates the set of values for ListWindowsUpdatesSortOrderEnum

func GetMappingListWindowsUpdatesSortOrderEnum

func GetMappingListWindowsUpdatesSortOrderEnum(val string) (ListWindowsUpdatesSortOrderEnum, bool)

GetMappingListWindowsUpdatesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsRequest

type ListWorkRequestErrorsRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestErrorsResponse

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []WorkRequestError instances
	Items []WorkRequestError `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"`

	// A decimal number representing the number of seconds the client
	// should wait before polling this endpoint again.
	RetryAfter *float32 `presentIn:"header" name:"retry-after"`
}

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

type ListWorkRequestErrorsSortByEnum string

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "TIMECREATED"
	ListWorkRequestErrorsSortByDisplayname ListWorkRequestErrorsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsSortOrderEnum

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
	ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsRequest

type ListWorkRequestLogsRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestLogsResponse

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []WorkRequestLogEntry instances
	Items []WorkRequestLogEntry `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"`

	// A decimal number representing the number of seconds the client
	// should wait before polling this endpoint again.
	RetryAfter *float32 `presentIn:"header" name:"retry-after"`
}

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

type ListWorkRequestLogsSortByEnum string

ListWorkRequestLogsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "TIMECREATED"
	ListWorkRequestLogsSortByDisplayname ListWorkRequestLogsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsSortOrderEnum

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
	ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsOsFamilyEnum

type ListWorkRequestsOsFamilyEnum string

ListWorkRequestsOsFamilyEnum Enum with underlying type: string

const (
	ListWorkRequestsOsFamilyLinux   ListWorkRequestsOsFamilyEnum = "LINUX"
	ListWorkRequestsOsFamilyWindows ListWorkRequestsOsFamilyEnum = "WINDOWS"
	ListWorkRequestsOsFamilyAll     ListWorkRequestsOsFamilyEnum = "ALL"
)

Set of constants representing the allowable values for ListWorkRequestsOsFamilyEnum

func GetListWorkRequestsOsFamilyEnumValues

func GetListWorkRequestsOsFamilyEnumValues() []ListWorkRequestsOsFamilyEnum

GetListWorkRequestsOsFamilyEnumValues Enumerates the set of values for ListWorkRequestsOsFamilyEnum

func GetMappingListWorkRequestsOsFamilyEnum

func GetMappingListWorkRequestsOsFamilyEnum(val string) (ListWorkRequestsOsFamilyEnum, bool)

GetMappingListWorkRequestsOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsRequest

type ListWorkRequestsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The ID of the managed instance for which to list resources.
	ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The OS family for which to list resources.
	OsFamily ListWorkRequestsOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"`

	// 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
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

func (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResponse

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []WorkRequestSummary instances
	Items []WorkRequestSummary `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"`
}

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByTimecreated ListWorkRequestsSortByEnum = "TIMECREATED"
	ListWorkRequestsSortByDisplayname ListWorkRequestsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsSortOrderEnum

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
	ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ManageModuleStreamsOnManagedInstanceDetails added in v65.7.0

type ManageModuleStreamsOnManagedInstanceDetails struct {

	// Indicates if this operation is a dry run or if the operation
	// should be commited.  If set to true, the result of the operation
	// will be evaluated but not committed.  If set to false, the
	// operation is committed to the managed instance.  The default is
	// false.
	IsDryRun *bool `mandatory:"false" json:"isDryRun"`

	// The set of module streams to enable.
	Enable []ModuleStreamDetails `mandatory:"false" json:"enable"`

	// The set of module streams to disable.
	Disable []ModuleStreamDetails `mandatory:"false" json:"disable"`

	// The set of module stream profiles to install.
	Install []ModuleStreamProfileDetails `mandatory:"false" json:"install"`

	// The set of module stream profiles to remove.
	Remove []ModuleStreamProfileDetails `mandatory:"false" json:"remove"`
}

ManageModuleStreamsOnManagedInstanceDetails The set of changes to make to the state of the modules, streams, and profiles on a managed instance

func (ManageModuleStreamsOnManagedInstanceDetails) String added in v65.7.0

func (ManageModuleStreamsOnManagedInstanceDetails) ValidateEnumValue added in v65.7.0

func (m ManageModuleStreamsOnManagedInstanceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManageModuleStreamsOnManagedInstanceRequest added in v65.7.0

type ManageModuleStreamsOnManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// A description of an operation to perform against the modules, streams, and profiles of a managed instance
	ManageModuleStreamsOnManagedInstanceDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

ManageModuleStreamsOnManagedInstanceRequest wrapper for the ManageModuleStreamsOnManagedInstance operation

See also

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

func (ManageModuleStreamsOnManagedInstanceRequest) BinaryRequestBody added in v65.7.0

BinaryRequestBody implements the OCIRequest interface

func (ManageModuleStreamsOnManagedInstanceRequest) HTTPRequest added in v65.7.0

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

HTTPRequest implements the OCIRequest interface

func (ManageModuleStreamsOnManagedInstanceRequest) RetryPolicy added in v65.7.0

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

func (ManageModuleStreamsOnManagedInstanceRequest) String added in v65.7.0

func (ManageModuleStreamsOnManagedInstanceRequest) ValidateEnumValue added in v65.7.0

func (request ManageModuleStreamsOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManageModuleStreamsOnManagedInstanceResponse added in v65.7.0

type ManageModuleStreamsOnManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

ManageModuleStreamsOnManagedInstanceResponse wrapper for the ManageModuleStreamsOnManagedInstance operation

func (ManageModuleStreamsOnManagedInstanceResponse) HTTPResponse added in v65.7.0

HTTPResponse implements the OCIResponse interface

func (ManageModuleStreamsOnManagedInstanceResponse) String added in v65.7.0

type ManagedInstance

type ManagedInstance struct {

	// Managed Instance identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// OCID for the managed instance
	Id *string `mandatory:"true" json:"id"`

	// OCID for the Compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Information specified by the user about the managed instance
	Description *string `mandatory:"false" json:"description"`

	// Time at which the instance last checked in
	LastCheckin *string `mandatory:"false" json:"lastCheckin"`

	// Time at which the instance last booted
	LastBoot *string `mandatory:"false" json:"lastBoot"`

	// Number of updates available to be installed
	UpdatesAvailable *int `mandatory:"false" json:"updatesAvailable"`

	// Operating System Name
	OsName *string `mandatory:"false" json:"osName"`

	// Operating System Version
	OsVersion *string `mandatory:"false" json:"osVersion"`

	// Operating System Kernel Version
	OsKernelVersion *string `mandatory:"false" json:"osKernelVersion"`

	// status of the managed instance.
	Status ManagedInstanceStatusEnum `mandatory:"false" json:"status,omitempty"`

	// the parent (base) Software Source attached to the Managed Instance
	ParentSoftwareSource *SoftwareSourceId `mandatory:"false" json:"parentSoftwareSource"`

	// list of child Software Sources attached to the Managed Instance
	ChildSoftwareSources []SoftwareSourceId `mandatory:"false" json:"childSoftwareSources"`

	// The ids of the managed instance groups of which this instance is a
	// member.
	ManagedInstanceGroups []Id `mandatory:"false" json:"managedInstanceGroups"`

	// The Operating System type of the managed instance.
	OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"`

	// Indicates whether a reboot is required to complete installation of updates.
	IsRebootRequired *bool `mandatory:"false" json:"isRebootRequired"`

	// OCID of the ONS topic used to send notification to users
	NotificationTopicId *string `mandatory:"false" json:"notificationTopicId"`

	// The ksplice effective kernel version
	KspliceEffectiveKernelVersion *string `mandatory:"false" json:"kspliceEffectiveKernelVersion"`

	// True if user allow data collection for this instance
	IsDataCollectionAuthorized *bool `mandatory:"false" json:"isDataCollectionAuthorized"`

	// if present, indicates the Managed Instance is an autonomous instance. Holds all the Autonomous specific information
	Autonomous *AutonomousSettings `mandatory:"false" json:"autonomous"`

	// Number of security type updates available to be installed
	SecurityUpdatesAvailable *int `mandatory:"false" json:"securityUpdatesAvailable"`

	// Number of bug fix type updates available to be installed
	BugUpdatesAvailable *int `mandatory:"false" json:"bugUpdatesAvailable"`

	// Number of enhancement type updates available to be installed
	EnhancementUpdatesAvailable *int `mandatory:"false" json:"enhancementUpdatesAvailable"`

	// Number of non-classified updates available to be installed
	OtherUpdatesAvailable *int `mandatory:"false" json:"otherUpdatesAvailable"`

	// Number of scheduled jobs associated with this instance
	ScheduledJobCount *int `mandatory:"false" json:"scheduledJobCount"`

	// Number of work requests associated with this instance
	WorkRequestCount *int `mandatory:"false" json:"workRequestCount"`
}

ManagedInstance Detail information for an OCI Compute instance that is being managed

func (ManagedInstance) String

func (m ManagedInstance) String() string

func (ManagedInstance) ValidateEnumValue

func (m ManagedInstance) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedInstanceGroup

type ManagedInstanceGroup struct {

	// Managed Instance Group identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// OCID for the managed instance group
	Id *string `mandatory:"true" json:"id"`

	// OCID for the Compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Information specified by the user about the managed instance group
	Description *string `mandatory:"false" json:"description"`

	// list of Managed Instances in the group
	ManagedInstances []Id `mandatory:"false" json:"managedInstances"`

	// The current state of the Software Source.
	LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The Operating System type of the managed instance.
	OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"`
}

ManagedInstanceGroup Detail information for a managed instance group

func (ManagedInstanceGroup) String

func (m ManagedInstanceGroup) String() string

func (ManagedInstanceGroup) ValidateEnumValue

func (m ManagedInstanceGroup) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedInstanceGroupSummary

type ManagedInstanceGroupSummary struct {

	// user settable name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// OCID for the managed instance group
	Id *string `mandatory:"true" json:"id"`

	// OCID for the Compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Information specified by the user about the managed instance group
	Description *string `mandatory:"false" json:"description"`

	// Number of managed instances in this managed instance group
	ManagedInstanceCount *int `mandatory:"false" json:"managedInstanceCount"`

	// The current state of the Software Source.
	LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The Operating System type of the managed instance.
	OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"`
}

ManagedInstanceGroupSummary An group of managed instances that will be managed together

func (ManagedInstanceGroupSummary) String

func (ManagedInstanceGroupSummary) ValidateEnumValue

func (m ManagedInstanceGroupSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedInstanceStatusEnum

type ManagedInstanceStatusEnum string

ManagedInstanceStatusEnum Enum with underlying type: string

const (
	ManagedInstanceStatusNormal      ManagedInstanceStatusEnum = "NORMAL"
	ManagedInstanceStatusUnreachable ManagedInstanceStatusEnum = "UNREACHABLE"
	ManagedInstanceStatusError       ManagedInstanceStatusEnum = "ERROR"
	ManagedInstanceStatusWarning     ManagedInstanceStatusEnum = "WARNING"
)

Set of constants representing the allowable values for ManagedInstanceStatusEnum

func GetManagedInstanceStatusEnumValues

func GetManagedInstanceStatusEnumValues() []ManagedInstanceStatusEnum

GetManagedInstanceStatusEnumValues Enumerates the set of values for ManagedInstanceStatusEnum

func GetMappingManagedInstanceStatusEnum

func GetMappingManagedInstanceStatusEnum(val string) (ManagedInstanceStatusEnum, bool)

GetMappingManagedInstanceStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ManagedInstanceSummary

type ManagedInstanceSummary struct {

	// user settable name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// OCID for the managed instance
	Id *string `mandatory:"true" json:"id"`

	// OCID for the Compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Time at which the instance last checked in
	LastCheckin *string `mandatory:"false" json:"lastCheckin"`

	// Time at which the instance last booted
	LastBoot *string `mandatory:"false" json:"lastBoot"`

	// Number of updates available to be installed
	UpdatesAvailable *int `mandatory:"false" json:"updatesAvailable"`

	// Information specified by the user about the managed instance
	Description *string `mandatory:"false" json:"description"`

	// status of the managed instance.
	Status ManagedInstanceSummaryStatusEnum `mandatory:"false" json:"status,omitempty"`

	// The Operating System type of the managed instance.
	OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"`

	// Indicates whether a reboot is required to complete installation of updates.
	IsRebootRequired *bool `mandatory:"false" json:"isRebootRequired"`
}

ManagedInstanceSummary An OCI Compute instance that is being managed

func (ManagedInstanceSummary) String

func (m ManagedInstanceSummary) String() string

func (ManagedInstanceSummary) ValidateEnumValue

func (m ManagedInstanceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedInstanceSummaryStatusEnum

type ManagedInstanceSummaryStatusEnum string

ManagedInstanceSummaryStatusEnum Enum with underlying type: string

const (
	ManagedInstanceSummaryStatusNormal      ManagedInstanceSummaryStatusEnum = "NORMAL"
	ManagedInstanceSummaryStatusUnreachable ManagedInstanceSummaryStatusEnum = "UNREACHABLE"
	ManagedInstanceSummaryStatusError       ManagedInstanceSummaryStatusEnum = "ERROR"
	ManagedInstanceSummaryStatusWarning     ManagedInstanceSummaryStatusEnum = "WARNING"
)

Set of constants representing the allowable values for ManagedInstanceSummaryStatusEnum

func GetManagedInstanceSummaryStatusEnumValues

func GetManagedInstanceSummaryStatusEnumValues() []ManagedInstanceSummaryStatusEnum

GetManagedInstanceSummaryStatusEnumValues Enumerates the set of values for ManagedInstanceSummaryStatusEnum

func GetMappingManagedInstanceSummaryStatusEnum

func GetMappingManagedInstanceSummaryStatusEnum(val string) (ManagedInstanceSummaryStatusEnum, bool)

GetMappingManagedInstanceSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ModuleStream added in v65.7.0

type ModuleStream struct {

	// The name of the module that contains the stream
	ModuleName *string `mandatory:"true" json:"moduleName"`

	// The name of the stream
	StreamName *string `mandatory:"true" json:"streamName"`

	// Indicates if this stream is the default for its module.
	IsDefault *bool `mandatory:"false" json:"isDefault"`

	// The OCID of the software source that provides this module stream.
	SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"`

	// The architecture for which the packages in this module stream were built
	Architecture *string `mandatory:"false" json:"architecture"`

	// A description of the contents of the module stream
	Description *string `mandatory:"false" json:"description"`

	// A list of profiles that are part of the stream.  Each element in
	// the list is the name of a profile.  The name is suitable to use as
	// an argument to other OS Management APIs that interact directly with
	// module stream profiles.  However, it is not URL encoded.
	Profiles []string `mandatory:"false" json:"profiles"`

	// A list of packages that are contained by the stream.  Each element
	// in the list is the name of a package.  The name is suitable to use
	// as an argument to other OS Management APIs that interact directly
	// with packages.
	Packages []string `mandatory:"false" json:"packages"`
}

ModuleStream A module stream provided by a software source

func (ModuleStream) String added in v65.7.0

func (m ModuleStream) String() string

func (ModuleStream) ValidateEnumValue added in v65.7.0

func (m ModuleStream) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModuleStreamDetails added in v65.7.0

type ModuleStreamDetails struct {

	// The name of a module
	ModuleName *string `mandatory:"true" json:"moduleName"`

	// The name of a stream of the specified module
	StreamName *string `mandatory:"true" json:"streamName"`
}

ModuleStreamDetails Updatable information for a module stream

func (ModuleStreamDetails) String added in v65.7.0

func (m ModuleStreamDetails) String() string

func (ModuleStreamDetails) ValidateEnumValue added in v65.7.0

func (m ModuleStreamDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModuleStreamOnManagedInstanceSummary added in v65.7.0

type ModuleStreamOnManagedInstanceSummary struct {

	// The name of the module that contains the stream.
	ModuleName *string `mandatory:"true" json:"moduleName"`

	// The name of the stream.
	StreamName *string `mandatory:"true" json:"streamName"`

	// The status of the stream
	// A stream with the "ENABLED" status can be used as a source for installing
	// profiles.  Streams with this status are also "ACTIVE".
	// A stream with the "DISABLED" status cannot be the source for installing
	// profiles.  To install profiles and packages from this stream, it must be
	// enabled.
	// A stream with the "ACTIVE" status can be used as a source for installing
	// profiles.  The packages that comprise the stream are also used when a
	// matching package is installed directly.  In general, a stream can have
	// this status if it is the default stream for the module and no stream has
	// been explicitly enabled.
	Status ModuleStreamOnManagedInstanceSummaryStatusEnum `mandatory:"true" json:"status"`

	// The set of profiles that the module stream contains.
	Profiles []ModuleStreamProfileOnManagedInstanceSummary `mandatory:"false" json:"profiles"`

	// The OCID of the software source that provides this module stream.
	SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"`

	// The date and time of the last status change for this profile, as
	// described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
	// section 14.29.
	TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"`
}

ModuleStreamOnManagedInstanceSummary Summary information pertaining to a module stream on a managed instance

func (ModuleStreamOnManagedInstanceSummary) String added in v65.7.0

func (ModuleStreamOnManagedInstanceSummary) ValidateEnumValue added in v65.7.0

func (m ModuleStreamOnManagedInstanceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModuleStreamOnManagedInstanceSummaryStatusEnum added in v65.7.0

type ModuleStreamOnManagedInstanceSummaryStatusEnum string

ModuleStreamOnManagedInstanceSummaryStatusEnum Enum with underlying type: string

const (
	ModuleStreamOnManagedInstanceSummaryStatusEnabled  ModuleStreamOnManagedInstanceSummaryStatusEnum = "ENABLED"
	ModuleStreamOnManagedInstanceSummaryStatusDisabled ModuleStreamOnManagedInstanceSummaryStatusEnum = "DISABLED"
	ModuleStreamOnManagedInstanceSummaryStatusActive   ModuleStreamOnManagedInstanceSummaryStatusEnum = "ACTIVE"
)

Set of constants representing the allowable values for ModuleStreamOnManagedInstanceSummaryStatusEnum

func GetMappingModuleStreamOnManagedInstanceSummaryStatusEnum added in v65.7.0

func GetMappingModuleStreamOnManagedInstanceSummaryStatusEnum(val string) (ModuleStreamOnManagedInstanceSummaryStatusEnum, bool)

GetMappingModuleStreamOnManagedInstanceSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetModuleStreamOnManagedInstanceSummaryStatusEnumValues added in v65.7.0

func GetModuleStreamOnManagedInstanceSummaryStatusEnumValues() []ModuleStreamOnManagedInstanceSummaryStatusEnum

GetModuleStreamOnManagedInstanceSummaryStatusEnumValues Enumerates the set of values for ModuleStreamOnManagedInstanceSummaryStatusEnum

type ModuleStreamProfile added in v65.7.0

type ModuleStreamProfile struct {

	// The name of the module that contains the stream profile
	ModuleName *string `mandatory:"true" json:"moduleName"`

	// The name of the stream that contains the profile
	StreamName *string `mandatory:"true" json:"streamName"`

	// The name of the profile
	ProfileName *string `mandatory:"true" json:"profileName"`

	// A list of packages that constitute the profile.  Each element
	// in the list is the name of a package.  The name is suitable to
	// use as an argument to other OS Management APIs that interact
	// directly with packages.
	Packages []string `mandatory:"true" json:"packages"`

	// Indicates if this profile is the default for its module stream.
	IsDefault *bool `mandatory:"false" json:"isDefault"`

	// A description of the contents of the module stream profile
	Description *string `mandatory:"false" json:"description"`
}

ModuleStreamProfile A module stream profile provided by a software source

func (ModuleStreamProfile) String added in v65.7.0

func (m ModuleStreamProfile) String() string

func (ModuleStreamProfile) ValidateEnumValue added in v65.7.0

func (m ModuleStreamProfile) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModuleStreamProfileDetails added in v65.7.0

type ModuleStreamProfileDetails struct {

	// The name of a module
	ModuleName *string `mandatory:"true" json:"moduleName"`

	// The name of a stream of the specified module
	StreamName *string `mandatory:"true" json:"streamName"`

	// The name of a profile of the specified module stream
	ProfileName *string `mandatory:"true" json:"profileName"`
}

ModuleStreamProfileDetails Updatable information for a module stream profile

func (ModuleStreamProfileDetails) String added in v65.7.0

func (ModuleStreamProfileDetails) ValidateEnumValue added in v65.7.0

func (m ModuleStreamProfileDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModuleStreamProfileOnManagedInstanceSummary added in v65.7.0

type ModuleStreamProfileOnManagedInstanceSummary struct {

	// The name of the module that contains the stream profile
	ModuleName *string `mandatory:"true" json:"moduleName"`

	// The name of the stream that contains the profile
	StreamName *string `mandatory:"true" json:"streamName"`

	// The name of the profile
	ProfileName *string `mandatory:"true" json:"profileName"`

	// The status of the profile.
	// A profile with the "INSTALLED" status indicates that the profile has been
	// installed.
	// A profile with the "AVAILABLE" status indicates that the profile is
	// not installed, but can be.
	Status ModuleStreamProfileOnManagedInstanceSummaryStatusEnum `mandatory:"true" json:"status"`

	// The date and time of the last status change for this profile, as
	// described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
	// section 14.29.
	TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"`
}

ModuleStreamProfileOnManagedInstanceSummary Summary information pertaining to a module stream profile on a managed instance

func (ModuleStreamProfileOnManagedInstanceSummary) String added in v65.7.0

func (ModuleStreamProfileOnManagedInstanceSummary) ValidateEnumValue added in v65.7.0

func (m ModuleStreamProfileOnManagedInstanceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModuleStreamProfileOnManagedInstanceSummaryStatusEnum added in v65.7.0

type ModuleStreamProfileOnManagedInstanceSummaryStatusEnum string

ModuleStreamProfileOnManagedInstanceSummaryStatusEnum Enum with underlying type: string

const (
	ModuleStreamProfileOnManagedInstanceSummaryStatusInstalled ModuleStreamProfileOnManagedInstanceSummaryStatusEnum = "INSTALLED"
	ModuleStreamProfileOnManagedInstanceSummaryStatusAvailable ModuleStreamProfileOnManagedInstanceSummaryStatusEnum = "AVAILABLE"
)

Set of constants representing the allowable values for ModuleStreamProfileOnManagedInstanceSummaryStatusEnum

func GetMappingModuleStreamProfileOnManagedInstanceSummaryStatusEnum added in v65.7.0

func GetMappingModuleStreamProfileOnManagedInstanceSummaryStatusEnum(val string) (ModuleStreamProfileOnManagedInstanceSummaryStatusEnum, bool)

GetMappingModuleStreamProfileOnManagedInstanceSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetModuleStreamProfileOnManagedInstanceSummaryStatusEnumValues added in v65.7.0

func GetModuleStreamProfileOnManagedInstanceSummaryStatusEnumValues() []ModuleStreamProfileOnManagedInstanceSummaryStatusEnum

GetModuleStreamProfileOnManagedInstanceSummaryStatusEnumValues Enumerates the set of values for ModuleStreamProfileOnManagedInstanceSummaryStatusEnum

type ModuleStreamProfileSummary added in v65.7.0

type ModuleStreamProfileSummary struct {

	// The name of the module that contains the stream profile
	ModuleName *string `mandatory:"true" json:"moduleName"`

	// The name of the stream that contains the profile
	StreamName *string `mandatory:"true" json:"streamName"`

	// The name of the profile
	ProfileName *string `mandatory:"true" json:"profileName"`
}

ModuleStreamProfileSummary Summary information pertaining to a module stream profile provided by a software source

func (ModuleStreamProfileSummary) String added in v65.7.0

func (ModuleStreamProfileSummary) ValidateEnumValue added in v65.7.0

func (m ModuleStreamProfileSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModuleStreamSummary added in v65.7.0

type ModuleStreamSummary struct {

	// The name of the module that contains the stream.
	ModuleName *string `mandatory:"true" json:"moduleName"`

	// The name of the stream.
	StreamName *string `mandatory:"true" json:"streamName"`

	// The OCID of the software source that provides this module stream.
	SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"`
}

ModuleStreamSummary Summary information pertaining to a module stream provided by a software source

func (ModuleStreamSummary) String added in v65.7.0

func (m ModuleStreamSummary) String() string

func (ModuleStreamSummary) ValidateEnumValue added in v65.7.0

func (m ModuleStreamSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OperationStatusEnum

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
	OperationStatusFailed     OperationStatusEnum = "FAILED"
	OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
	OperationStatusCancelling OperationStatusEnum = "CANCELLING"
	OperationStatusCanceled   OperationStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypesEnum

type OperationTypesEnum string

OperationTypesEnum Enum with underlying type: string

const (
	OperationTypesInstall                    OperationTypesEnum = "INSTALL"
	OperationTypesUpdate                     OperationTypesEnum = "UPDATE"
	OperationTypesRemove                     OperationTypesEnum = "REMOVE"
	OperationTypesUpdateall                  OperationTypesEnum = "UPDATEALL"
	OperationTypesEnablemodulestream         OperationTypesEnum = "ENABLEMODULESTREAM"
	OperationTypesDisablemodulestream        OperationTypesEnum = "DISABLEMODULESTREAM"
	OperationTypesSwitchmodulestream         OperationTypesEnum = "SWITCHMODULESTREAM"
	OperationTypesInstallmodulestreamprofile OperationTypesEnum = "INSTALLMODULESTREAMPROFILE"
	OperationTypesRemovemodulestreamprofile  OperationTypesEnum = "REMOVEMODULESTREAMPROFILE"
	OperationTypesCompound                   OperationTypesEnum = "COMPOUND"
)

Set of constants representing the allowable values for OperationTypesEnum

func GetMappingOperationTypesEnum

func GetMappingOperationTypesEnum(val string) (OperationTypesEnum, bool)

GetMappingOperationTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationTypesEnumValues

func GetOperationTypesEnumValues() []OperationTypesEnum

GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum

type OsFamiliesEnum

type OsFamiliesEnum string

OsFamiliesEnum Enum with underlying type: string

const (
	OsFamiliesLinux   OsFamiliesEnum = "LINUX"
	OsFamiliesWindows OsFamiliesEnum = "WINDOWS"
	OsFamiliesAll     OsFamiliesEnum = "ALL"
)

Set of constants representing the allowable values for OsFamiliesEnum

func GetMappingOsFamiliesEnum

func GetMappingOsFamiliesEnum(val string) (OsFamiliesEnum, bool)

GetMappingOsFamiliesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOsFamiliesEnumValues

func GetOsFamiliesEnumValues() []OsFamiliesEnum

GetOsFamiliesEnumValues Enumerates the set of values for OsFamiliesEnum

type OsManagementClient

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

OsManagementClient a client for OsManagement

func NewOsManagementClientWithConfigurationProvider

func NewOsManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OsManagementClient, err error)

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

func NewOsManagementClientWithOboToken

func NewOsManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OsManagementClient, err error)

NewOsManagementClientWithOboToken Creates a new default OsManagement 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 (OsManagementClient) AddPackagesToSoftwareSource

func (client OsManagementClient) AddPackagesToSoftwareSource(ctx context.Context, request AddPackagesToSoftwareSourceRequest) (response AddPackagesToSoftwareSourceResponse, err error)

AddPackagesToSoftwareSource Adds a given list of Software Packages to a specific Software Source.

See also

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

func (OsManagementClient) AttachChildSoftwareSourceToManagedInstance

func (client OsManagementClient) AttachChildSoftwareSourceToManagedInstance(ctx context.Context, request AttachChildSoftwareSourceToManagedInstanceRequest) (response AttachChildSoftwareSourceToManagedInstanceResponse, err error)

AttachChildSoftwareSourceToManagedInstance Adds a child software source to a managed instance. After the software source has been added, then packages from that software source can be installed on the managed instance.

See also

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

func (OsManagementClient) AttachManagedInstanceToManagedInstanceGroup

func (client OsManagementClient) AttachManagedInstanceToManagedInstanceGroup(ctx context.Context, request AttachManagedInstanceToManagedInstanceGroupRequest) (response AttachManagedInstanceToManagedInstanceGroupResponse, err error)

AttachManagedInstanceToManagedInstanceGroup Adds a Managed Instance to a Managed Instance Group. After the Managed Instance has been added, then operations can be performed on the Managed Instance Group which will then apply to all Managed Instances in the group.

See also

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

func (OsManagementClient) AttachParentSoftwareSourceToManagedInstance

func (client OsManagementClient) AttachParentSoftwareSourceToManagedInstance(ctx context.Context, request AttachParentSoftwareSourceToManagedInstanceRequest) (response AttachParentSoftwareSourceToManagedInstanceResponse, err error)

AttachParentSoftwareSourceToManagedInstance Adds a parent software source to a managed instance. After the software source has been added, then packages from that software source can be installed on the managed instance. Software sources that have this software source as a parent will be able to be added to this managed instance.

See also

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

func (OsManagementClient) ChangeManagedInstanceGroupCompartment

func (client OsManagementClient) ChangeManagedInstanceGroupCompartment(ctx context.Context, request ChangeManagedInstanceGroupCompartmentRequest) (response ChangeManagedInstanceGroupCompartmentResponse, err error)

ChangeManagedInstanceGroupCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.

See also

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

func (OsManagementClient) ChangeScheduledJobCompartment

func (client OsManagementClient) ChangeScheduledJobCompartment(ctx context.Context, request ChangeScheduledJobCompartmentRequest) (response ChangeScheduledJobCompartmentResponse, err error)

ChangeScheduledJobCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.

See also

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

func (OsManagementClient) ChangeSoftwareSourceCompartment

func (client OsManagementClient) ChangeSoftwareSourceCompartment(ctx context.Context, request ChangeSoftwareSourceCompartmentRequest) (response ChangeSoftwareSourceCompartmentResponse, err error)

ChangeSoftwareSourceCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.

See also

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

func (*OsManagementClient) ConfigurationProvider

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

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

func (OsManagementClient) CreateManagedInstanceGroup

func (client OsManagementClient) CreateManagedInstanceGroup(ctx context.Context, request CreateManagedInstanceGroupRequest) (response CreateManagedInstanceGroupResponse, err error)

CreateManagedInstanceGroup Creates a new Managed Instance Group on the management system. This will not contain any managed instances after it is first created, and they must be added later.

See also

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

func (OsManagementClient) CreateScheduledJob

func (client OsManagementClient) CreateScheduledJob(ctx context.Context, request CreateScheduledJobRequest) (response CreateScheduledJobResponse, err error)

CreateScheduledJob Creates a new Scheduled Job to perform a specific package operation on a set of managed instances or managed instance groups. Can be created as a one-time execution in the future, or as a recurring execution that repeats on a defined interval.

See also

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

func (OsManagementClient) CreateSoftwareSource

func (client OsManagementClient) CreateSoftwareSource(ctx context.Context, request CreateSoftwareSourceRequest) (response CreateSoftwareSourceResponse, err error)

CreateSoftwareSource Creates a new custom Software Source on the management system. This will not contain any packages after it is first created, and they must be added later.

See also

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

func (OsManagementClient) DeleteManagedInstanceGroup

func (client OsManagementClient) DeleteManagedInstanceGroup(ctx context.Context, request DeleteManagedInstanceGroupRequest) (response DeleteManagedInstanceGroupResponse, err error)

DeleteManagedInstanceGroup Deletes a Managed Instance Group from the management system

See also

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

func (OsManagementClient) DeleteScheduledJob

func (client OsManagementClient) DeleteScheduledJob(ctx context.Context, request DeleteScheduledJobRequest) (response DeleteScheduledJobResponse, err error)

DeleteScheduledJob Cancels an existing Scheduled Job on the management system

See also

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

func (OsManagementClient) DeleteSoftwareSource

func (client OsManagementClient) DeleteSoftwareSource(ctx context.Context, request DeleteSoftwareSourceRequest) (response DeleteSoftwareSourceResponse, err error)

DeleteSoftwareSource Deletes a custom Software Source on the management system

See also

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

func (OsManagementClient) DetachChildSoftwareSourceFromManagedInstance

func (client OsManagementClient) DetachChildSoftwareSourceFromManagedInstance(ctx context.Context, request DetachChildSoftwareSourceFromManagedInstanceRequest) (response DetachChildSoftwareSourceFromManagedInstanceResponse, err error)

DetachChildSoftwareSourceFromManagedInstance Removes a child software source from a managed instance. Packages will no longer be able to be installed from these software sources.

See also

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

func (OsManagementClient) DetachManagedInstanceFromManagedInstanceGroup

func (client OsManagementClient) DetachManagedInstanceFromManagedInstanceGroup(ctx context.Context, request DetachManagedInstanceFromManagedInstanceGroupRequest) (response DetachManagedInstanceFromManagedInstanceGroupResponse, err error)

DetachManagedInstanceFromManagedInstanceGroup Removes a Managed Instance from a Managed Instance Group.

See also

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

func (OsManagementClient) DetachParentSoftwareSourceFromManagedInstance

func (client OsManagementClient) DetachParentSoftwareSourceFromManagedInstance(ctx context.Context, request DetachParentSoftwareSourceFromManagedInstanceRequest) (response DetachParentSoftwareSourceFromManagedInstanceResponse, err error)

DetachParentSoftwareSourceFromManagedInstance Removes a software source from a managed instance. All child software sources will also be removed from the managed instance. Packages will no longer be able to be installed from these software sources.

See also

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

func (OsManagementClient) DisableModuleStreamOnManagedInstance added in v65.7.0

func (client OsManagementClient) DisableModuleStreamOnManagedInstance(ctx context.Context, request DisableModuleStreamOnManagedInstanceRequest) (response DisableModuleStreamOnManagedInstanceResponse, err error)

DisableModuleStreamOnManagedInstance Disables a module stream on a managed instance. After the stream is disabled, it is no longer possible to install the profiles that are contained by the stream. All installed profiles must be removed prior to disabling a module stream.

See also

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

func (OsManagementClient) EnableModuleStreamOnManagedInstance added in v65.7.0

func (client OsManagementClient) EnableModuleStreamOnManagedInstance(ctx context.Context, request EnableModuleStreamOnManagedInstanceRequest) (response EnableModuleStreamOnManagedInstanceResponse, err error)

EnableModuleStreamOnManagedInstance Enables a module stream on a managed instance. After the stream is enabled, it is possible to install the profiles that are contained by the stream. Enabling a stream that is already enabled will succeed. Attempting to enable a different stream for a module that already has a stream enabled results in an error.

See also

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

func (OsManagementClient) GetErratum

func (client OsManagementClient) GetErratum(ctx context.Context, request GetErratumRequest) (response GetErratumResponse, err error)

GetErratum Returns a specific erratum.

See also

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

func (OsManagementClient) GetManagedInstance

func (client OsManagementClient) GetManagedInstance(ctx context.Context, request GetManagedInstanceRequest) (response GetManagedInstanceResponse, err error)

GetManagedInstance Returns a specific Managed Instance.

See also

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

func (OsManagementClient) GetManagedInstanceGroup

func (client OsManagementClient) GetManagedInstanceGroup(ctx context.Context, request GetManagedInstanceGroupRequest) (response GetManagedInstanceGroupResponse, err error)

GetManagedInstanceGroup Returns a specific Managed Instance Group.

See also

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

func (OsManagementClient) GetModuleStream added in v65.7.0

func (client OsManagementClient) GetModuleStream(ctx context.Context, request GetModuleStreamRequest) (response GetModuleStreamResponse, err error)

GetModuleStream Retrieve a detailed description of a module stream from a software source.

See also

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

func (OsManagementClient) GetModuleStreamProfile added in v65.7.0

func (client OsManagementClient) GetModuleStreamProfile(ctx context.Context, request GetModuleStreamProfileRequest) (response GetModuleStreamProfileResponse, err error)

GetModuleStreamProfile Retrieve a detailed description of a module stream profile from a software source.

See also

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

func (OsManagementClient) GetScheduledJob

func (client OsManagementClient) GetScheduledJob(ctx context.Context, request GetScheduledJobRequest) (response GetScheduledJobResponse, err error)

GetScheduledJob Gets the detailed information for the Scheduled Job with the given ID.

See also

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

func (OsManagementClient) GetSoftwarePackage

func (client OsManagementClient) GetSoftwarePackage(ctx context.Context, request GetSoftwarePackageRequest) (response GetSoftwarePackageResponse, err error)

GetSoftwarePackage Returns a specific Software Package.

See also

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

func (OsManagementClient) GetSoftwareSource

func (client OsManagementClient) GetSoftwareSource(ctx context.Context, request GetSoftwareSourceRequest) (response GetSoftwareSourceResponse, err error)

GetSoftwareSource Returns a specific Software Source.

See also

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

func (OsManagementClient) GetWindowsUpdate

func (client OsManagementClient) GetWindowsUpdate(ctx context.Context, request GetWindowsUpdateRequest) (response GetWindowsUpdateResponse, err error)

GetWindowsUpdate Returns a Windows Update object.

See also

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

func (OsManagementClient) GetWorkRequest

func (client OsManagementClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the detailed information for the work request with the given ID.

See also

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

func (OsManagementClient) InstallAllPackageUpdatesOnManagedInstance

func (client OsManagementClient) InstallAllPackageUpdatesOnManagedInstance(ctx context.Context, request InstallAllPackageUpdatesOnManagedInstanceRequest) (response InstallAllPackageUpdatesOnManagedInstanceResponse, err error)

InstallAllPackageUpdatesOnManagedInstance Install all of the available package updates for the managed instance.

See also

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

func (OsManagementClient) InstallAllUpdatesOnManagedInstanceGroup

func (client OsManagementClient) InstallAllUpdatesOnManagedInstanceGroup(ctx context.Context, request InstallAllUpdatesOnManagedInstanceGroupRequest) (response InstallAllUpdatesOnManagedInstanceGroupResponse, err error)

InstallAllUpdatesOnManagedInstanceGroup Install all of the available updates for the Managed Instance Group.

See also

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

func (OsManagementClient) InstallAllWindowsUpdatesOnManagedInstance

func (client OsManagementClient) InstallAllWindowsUpdatesOnManagedInstance(ctx context.Context, request InstallAllWindowsUpdatesOnManagedInstanceRequest) (response InstallAllWindowsUpdatesOnManagedInstanceResponse, err error)

InstallAllWindowsUpdatesOnManagedInstance Install all of the available Windows updates for the managed instance.

See also

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

func (OsManagementClient) InstallModuleStreamProfileOnManagedInstance added in v65.7.0

func (client OsManagementClient) InstallModuleStreamProfileOnManagedInstance(ctx context.Context, request InstallModuleStreamProfileOnManagedInstanceRequest) (response InstallModuleStreamProfileOnManagedInstanceResponse, err error)

InstallModuleStreamProfileOnManagedInstance Installs a profile for an module stream. The stream must be enabled before a profile can be installed. If a module stream defines multiple profiles, each one can be installed independently.

See also

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

func (OsManagementClient) InstallPackageOnManagedInstance

func (client OsManagementClient) InstallPackageOnManagedInstance(ctx context.Context, request InstallPackageOnManagedInstanceRequest) (response InstallPackageOnManagedInstanceResponse, err error)

InstallPackageOnManagedInstance Installs a package on a managed instance.

See also

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

func (OsManagementClient) InstallPackageUpdateOnManagedInstance

func (client OsManagementClient) InstallPackageUpdateOnManagedInstance(ctx context.Context, request InstallPackageUpdateOnManagedInstanceRequest) (response InstallPackageUpdateOnManagedInstanceResponse, err error)

InstallPackageUpdateOnManagedInstance Updates a package on a managed instance.

See also

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

func (OsManagementClient) InstallWindowsUpdateOnManagedInstance

func (client OsManagementClient) InstallWindowsUpdateOnManagedInstance(ctx context.Context, request InstallWindowsUpdateOnManagedInstanceRequest) (response InstallWindowsUpdateOnManagedInstanceResponse, err error)

InstallWindowsUpdateOnManagedInstance Installs a Windows update on a managed instance.

See also

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

func (OsManagementClient) ListAvailablePackagesForManagedInstance

func (client OsManagementClient) ListAvailablePackagesForManagedInstance(ctx context.Context, request ListAvailablePackagesForManagedInstanceRequest) (response ListAvailablePackagesForManagedInstanceResponse, err error)

ListAvailablePackagesForManagedInstance Returns a list of packages available for install on the Managed Instance.

See also

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

func (OsManagementClient) ListAvailableSoftwareSourcesForManagedInstance

func (client OsManagementClient) ListAvailableSoftwareSourcesForManagedInstance(ctx context.Context, request ListAvailableSoftwareSourcesForManagedInstanceRequest) (response ListAvailableSoftwareSourcesForManagedInstanceResponse, err error)

ListAvailableSoftwareSourcesForManagedInstance Returns a list of available software sources for a Managed Instance.

See also

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

func (OsManagementClient) ListAvailableUpdatesForManagedInstance

func (client OsManagementClient) ListAvailableUpdatesForManagedInstance(ctx context.Context, request ListAvailableUpdatesForManagedInstanceRequest) (response ListAvailableUpdatesForManagedInstanceResponse, err error)

ListAvailableUpdatesForManagedInstance Returns a list of available updates for a Managed Instance.

See also

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

func (OsManagementClient) ListAvailableWindowsUpdatesForManagedInstance

func (client OsManagementClient) ListAvailableWindowsUpdatesForManagedInstance(ctx context.Context, request ListAvailableWindowsUpdatesForManagedInstanceRequest) (response ListAvailableWindowsUpdatesForManagedInstanceResponse, err error)

ListAvailableWindowsUpdatesForManagedInstance Returns a list of available Windows updates for a Managed Instance. This is only applicable to Windows instances.

See also

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

func (OsManagementClient) ListErrata

func (client OsManagementClient) ListErrata(ctx context.Context, request ListErrataRequest) (response ListErrataResponse, err error)

ListErrata Returns a list of all of the currently available Errata in the system

See also

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

func (OsManagementClient) ListManagedInstanceErrata

func (client OsManagementClient) ListManagedInstanceErrata(ctx context.Context, request ListManagedInstanceErrataRequest) (response ListManagedInstanceErrataResponse, err error)

ListManagedInstanceErrata Returns a list of errata relevant to the Managed Instance.

See also

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

func (OsManagementClient) ListManagedInstanceGroups

func (client OsManagementClient) ListManagedInstanceGroups(ctx context.Context, request ListManagedInstanceGroupsRequest) (response ListManagedInstanceGroupsResponse, err error)

ListManagedInstanceGroups Returns a list of all Managed Instance Groups.

See also

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

func (OsManagementClient) ListManagedInstances

func (client OsManagementClient) ListManagedInstances(ctx context.Context, request ListManagedInstancesRequest) (response ListManagedInstancesResponse, err error)

ListManagedInstances Returns a list of all Managed Instances.

See also

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

func (OsManagementClient) ListModuleStreamProfiles added in v65.7.0

func (client OsManagementClient) ListModuleStreamProfiles(ctx context.Context, request ListModuleStreamProfilesRequest) (response ListModuleStreamProfilesResponse, err error)

ListModuleStreamProfiles Retrieve a list of module stream profiles from a software source. Filters may be applied to select a subset of module stream profiles based on the filter criteria. The "moduleName", "streamName", and "profileName" attributes combine to form a set of filters on the list of module stream profiles. If a "moduleName" is provided, only profiles that belong to that module are returned. If both a "moduleName" and "streamName" are given, only profiles belonging to that module stream are returned. Finally, if all three are given then only the particular profile indicated by the triple is returned. It is not valid to supply a "streamName" without a "moduleName". It is also not valid to supply a "profileName" without a "streamName".

See also

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

func (OsManagementClient) ListModuleStreamProfilesOnManagedInstance added in v65.7.0

func (client OsManagementClient) ListModuleStreamProfilesOnManagedInstance(ctx context.Context, request ListModuleStreamProfilesOnManagedInstanceRequest) (response ListModuleStreamProfilesOnManagedInstanceResponse, err error)

ListModuleStreamProfilesOnManagedInstance Retrieve a list of module stream profiles, along with a summary of their of their status, from a managed instance. Filters may be applied to select a subset of profiles based on the filter criteria. The "moduleName", "streamName", and "profileName" attributes combine to form a set of filters on the list of module stream profiles. If a "modulName" is provided, only profiles that belong to that module are returned. If both a "moduleName" and "streamName" are given, only profiles belonging to that module stream are returned. Finally, if all three are given then only the particular profile indicated by the triple is returned. It is not valid to supply a "streamName" without a "moduleName". It is also not valid to supply a "profileName" without a "streamName". The "status" attribute filters against the state of a module stream profile. Valid values are "INSTALLED" and "AVAILABLE". If the attribute is set to "INSTALLED", only module stream profiles that are installed are included in the result set. If the attribute is set to "AVAILABLE", only module stream profiles that are not installed are included in the result set. If the attribute is not defined, the request is not subject to this filter. When sorting by display name, the result set is sorted first by module name, then by stream name, and finally by profile name.

See also

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

func (OsManagementClient) ListModuleStreams added in v65.7.0

func (client OsManagementClient) ListModuleStreams(ctx context.Context, request ListModuleStreamsRequest) (response ListModuleStreamsResponse, err error)

ListModuleStreams Retrieve a list of module streams from a software source. Filters may be applied to select a subset of module streams based on the filter criteria. The 'moduleName' attribute filters against the name of a module. It accepts strings of the format "<module>". If this attribute is defined, only streams that belong to the specified module are included in the result set. If it is not defined, the request is not subject to this filter. The 'streamName' attribute filters against the name of a stream of a module. If this attribute is defined, only the particular module stream that matches both the module and stream names is included in the result set. It is not valid to supply 'streamName' without also supplying a 'moduleName'. When sorting by display name, the result set is sorted first by module name, then by stream name.

See also

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

func (OsManagementClient) ListModuleStreamsOnManagedInstance added in v65.7.0

func (client OsManagementClient) ListModuleStreamsOnManagedInstance(ctx context.Context, request ListModuleStreamsOnManagedInstanceRequest) (response ListModuleStreamsOnManagedInstanceResponse, err error)

ListModuleStreamsOnManagedInstance Retrieve a list of module streams, along with a summary of their status, from a managed instance. Filters may be applied to select a subset of module streams based on the filter criteria. The 'moduleName' attribute filters against the name of a module. It accepts strings of the format "<module>". If this attribute is defined, only streams that belong to the specified module are included in the result set. If it is not defined, the request is not subject to this filter. The "status" attribute filters against the state of a module stream. Valid values are "ENABLED", "DISABLED", and "ACTIVE". If the attribute is set to "ENABLED", only module streams that are enabled are included in the result set. If the attribute is set to "DISABLED", only module streams that are not enabled are included in the result set. If the attribute is set to "ACTIVE", only module streams that are active are included in the result set. If the attribute is not defined, the request is not subject to this filter. When sorting by the display name, the result set is sorted first by the module name and then by the stream name.

See also

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

func (OsManagementClient) ListPackagesInstalledOnManagedInstance

func (client OsManagementClient) ListPackagesInstalledOnManagedInstance(ctx context.Context, request ListPackagesInstalledOnManagedInstanceRequest) (response ListPackagesInstalledOnManagedInstanceResponse, err error)

ListPackagesInstalledOnManagedInstance Returns a list of installed packages on the Managed Instance.

See also

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

func (OsManagementClient) ListScheduledJobs

func (client OsManagementClient) ListScheduledJobs(ctx context.Context, request ListScheduledJobsRequest) (response ListScheduledJobsResponse, err error)

ListScheduledJobs Returns a list of all of the currently active Scheduled Jobs in the system

See also

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

func (OsManagementClient) ListSoftwareSourcePackages

func (client OsManagementClient) ListSoftwareSourcePackages(ctx context.Context, request ListSoftwareSourcePackagesRequest) (response ListSoftwareSourcePackagesResponse, err error)

ListSoftwareSourcePackages Lists Software Packages in a Software Source

See also

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

func (OsManagementClient) ListSoftwareSources

func (client OsManagementClient) ListSoftwareSources(ctx context.Context, request ListSoftwareSourcesRequest) (response ListSoftwareSourcesResponse, err error)

ListSoftwareSources Returns a list of all Software Sources.

See also

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

func (OsManagementClient) ListUpcomingScheduledJobs

func (client OsManagementClient) ListUpcomingScheduledJobs(ctx context.Context, request ListUpcomingScheduledJobsRequest) (response ListUpcomingScheduledJobsResponse, err error)

ListUpcomingScheduledJobs Returns a list of all of the Scheduled Jobs whose next execution time is at or before the specified time.

See also

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

func (OsManagementClient) ListWindowsUpdates

func (client OsManagementClient) ListWindowsUpdates(ctx context.Context, request ListWindowsUpdatesRequest) (response ListWindowsUpdatesResponse, err error)

ListWindowsUpdates Returns a list of Windows Updates.

See also

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

func (OsManagementClient) ListWindowsUpdatesInstalledOnManagedInstance

func (client OsManagementClient) ListWindowsUpdatesInstalledOnManagedInstance(ctx context.Context, request ListWindowsUpdatesInstalledOnManagedInstanceRequest) (response ListWindowsUpdatesInstalledOnManagedInstanceResponse, err error)

ListWindowsUpdatesInstalledOnManagedInstance Returns a list of installed Windows updates for a Managed Instance. This is only applicable to Windows instances.

See also

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

func (OsManagementClient) ListWorkRequestErrors

func (client OsManagementClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Gets the errors for the work request with the given ID.

See also

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

func (OsManagementClient) ListWorkRequestLogs

func (client OsManagementClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Lists the log entries for the work request with the given ID.

See also

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

func (OsManagementClient) ListWorkRequests

func (client OsManagementClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the work requests in a compartment.

See also

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

func (OsManagementClient) ManageModuleStreamsOnManagedInstance added in v65.7.0

func (client OsManagementClient) ManageModuleStreamsOnManagedInstance(ctx context.Context, request ManageModuleStreamsOnManagedInstanceRequest) (response ManageModuleStreamsOnManagedInstanceResponse, err error)

ManageModuleStreamsOnManagedInstance Perform an operation involving modules, streams, and profiles on a managed instance. Each operation may enable or disable an arbitrary amount of module streams, and install or remove an arbitrary number of module stream profiles. When the operation is complete, the state of the modules, streams, and profiles on the managed instance will match the state indicated in the operation. Each module stream specified in the list of module streams to enable will be in the "ENABLED" state upon completion of the operation. If there was already a stream of that module enabled, any work required to switch from the current stream to the new stream is performed implicitly. Each module stream specified in the list of module streams to disable will be in the "DISABLED" state upon completion of the operation. Any profiles that are installed for the module stream will be removed as part of the operation. Each module stream profile specified in the list of profiles to install will be in the "INSTALLED" state upon completion of the operation, indicating that any packages that are part of the profile are installed on the managed instance. If the module stream containing the profile is not enabled, it will be enabled as part of the operation. There is an exception when attempting to install a stream of a profile when another stream of the same module is enabled. It is an error to attempt to install a profile of another module stream, unless enabling the new module stream is explicitly included in this operation. Each module stream profile specified in the list of profiles to remove will be in the "AVAILABLE" state upon completion of the operation. The status of packages within the profile after the operation is complete is defined by the package manager on the managed instance. Operations that contain one or more elements that are not allowed are rejected. The result of this request is a WorkRequest object. The returned WorkRequest is the parent of a structure of other WorkRequests. Taken as a whole, this structure indicates the entire set of work to be performed to complete the operation. This interface can also be used to perform a dry run of the operation rather than committing it to a managed instance. If a dry run is requested, the OS Management Service will evaluate the operation against the current module, stream, and profile state on the managed instance. It will calculate the impact of the operation on all modules, streams, and profiles on the managed instance, including those that are implicitly impacted by the operation. The WorkRequest resulting from a dry run behaves differently than a WorkRequest resulting from a committable operation. Dry run WorkRequests are always singletons and never have children. The impact of the operation is returned using the log and error facilities of WorkRequests. The impact of operations that are allowed by the OS Management Service are communicated as one or more work request log entries. Operations that are not allowed by the OS Management Service are communicated as one or more work requst error entries. Each entry, for either logs or errors, contains a structured message containing the results of one or more operations.

See also

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

func (OsManagementClient) RemoveModuleStreamProfileFromManagedInstance added in v65.7.0

func (client OsManagementClient) RemoveModuleStreamProfileFromManagedInstance(ctx context.Context, request RemoveModuleStreamProfileFromManagedInstanceRequest) (response RemoveModuleStreamProfileFromManagedInstanceResponse, err error)

RemoveModuleStreamProfileFromManagedInstance Removes a profile for a module stream that is installed on a managed instance. If a module stream is provided, rather than a fully qualified profile, all profiles that have been installed for the module stream will be removed.

See also

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

func (OsManagementClient) RemovePackageFromManagedInstance

func (client OsManagementClient) RemovePackageFromManagedInstance(ctx context.Context, request RemovePackageFromManagedInstanceRequest) (response RemovePackageFromManagedInstanceResponse, err error)

RemovePackageFromManagedInstance Removes an installed package from a managed instance.

See also

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

func (OsManagementClient) RemovePackagesFromSoftwareSource

func (client OsManagementClient) RemovePackagesFromSoftwareSource(ctx context.Context, request RemovePackagesFromSoftwareSourceRequest) (response RemovePackagesFromSoftwareSourceResponse, err error)

RemovePackagesFromSoftwareSource Removes a given list of Software Packages from a specific Software Source.

See also

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

func (OsManagementClient) RunScheduledJobNow

func (client OsManagementClient) RunScheduledJobNow(ctx context.Context, request RunScheduledJobNowRequest) (response RunScheduledJobNowResponse, err error)

RunScheduledJobNow This will trigger an already created Scheduled Job to being executing immediately instead of waiting for its next regularly scheduled time.

See also

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

func (OsManagementClient) SearchSoftwarePackages

func (client OsManagementClient) SearchSoftwarePackages(ctx context.Context, request SearchSoftwarePackagesRequest) (response SearchSoftwarePackagesResponse, err error)

SearchSoftwarePackages Searches all of the available Software Sources and returns any/all Software Packages matching the search criteria.

See also

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

func (*OsManagementClient) SetRegion

func (client *OsManagementClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (OsManagementClient) SkipNextScheduledJobExecution

func (client OsManagementClient) SkipNextScheduledJobExecution(ctx context.Context, request SkipNextScheduledJobExecutionRequest) (response SkipNextScheduledJobExecutionResponse, err error)

SkipNextScheduledJobExecution This will force an already created Scheduled Job to skip its next regularly scheduled execution

See also

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

func (OsManagementClient) SwitchModuleStreamOnManagedInstance added in v65.7.0

func (client OsManagementClient) SwitchModuleStreamOnManagedInstance(ctx context.Context, request SwitchModuleStreamOnManagedInstanceRequest) (response SwitchModuleStreamOnManagedInstanceResponse, err error)

SwitchModuleStreamOnManagedInstance Enables a new stream for a module that already has a stream enabled. If any profiles or packages from the original module are installed, switching to a new stream will remove the existing packages and install their counterparts in the new stream.

See also

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

func (OsManagementClient) UpdateManagedInstance

func (client OsManagementClient) UpdateManagedInstance(ctx context.Context, request UpdateManagedInstanceRequest) (response UpdateManagedInstanceResponse, err error)

UpdateManagedInstance Updates a specific Managed Instance.

See also

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

func (OsManagementClient) UpdateManagedInstanceGroup

func (client OsManagementClient) UpdateManagedInstanceGroup(ctx context.Context, request UpdateManagedInstanceGroupRequest) (response UpdateManagedInstanceGroupResponse, err error)

UpdateManagedInstanceGroup Updates a specific Managed Instance Group.

See also

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

func (OsManagementClient) UpdateScheduledJob

func (client OsManagementClient) UpdateScheduledJob(ctx context.Context, request UpdateScheduledJobRequest) (response UpdateScheduledJobResponse, err error)

UpdateScheduledJob Updates an existing Scheduled Job on the management system.

See also

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

func (OsManagementClient) UpdateSoftwareSource

func (client OsManagementClient) UpdateSoftwareSource(ctx context.Context, request UpdateSoftwareSourceRequest) (response UpdateSoftwareSourceResponse, err error)

UpdateSoftwareSource Updates an existing custom Software Source on the management system.

See also

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

type PackageName

type PackageName struct {

	// package identifier
	Name *string `mandatory:"true" json:"name"`
}

PackageName Identifying information for the specified package

func (PackageName) String

func (m PackageName) String() string

func (PackageName) ValidateEnumValue

func (m PackageName) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PackageUpdateTypesEnum

type PackageUpdateTypesEnum string

PackageUpdateTypesEnum Enum with underlying type: string

const (
	PackageUpdateTypesSecurity    PackageUpdateTypesEnum = "SECURITY"
	PackageUpdateTypesBugfix      PackageUpdateTypesEnum = "BUGFIX"
	PackageUpdateTypesEnhancement PackageUpdateTypesEnum = "ENHANCEMENT"
	PackageUpdateTypesOther       PackageUpdateTypesEnum = "OTHER"
	PackageUpdateTypesKsplice     PackageUpdateTypesEnum = "KSPLICE"
	PackageUpdateTypesAll         PackageUpdateTypesEnum = "ALL"
)

Set of constants representing the allowable values for PackageUpdateTypesEnum

func GetMappingPackageUpdateTypesEnum

func GetMappingPackageUpdateTypesEnum(val string) (PackageUpdateTypesEnum, bool)

GetMappingPackageUpdateTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPackageUpdateTypesEnumValues

func GetPackageUpdateTypesEnumValues() []PackageUpdateTypesEnum

GetPackageUpdateTypesEnumValues Enumerates the set of values for PackageUpdateTypesEnum

type Recurrence

type Recurrence struct {

	// the interval period for the recurrence
	IntervalType RecurrenceIntervalTypeEnum `mandatory:"true" json:"intervalType"`

	// the value for the interval period for the recurrence
	IntervalValue *string `mandatory:"true" json:"intervalValue"`
}

Recurrence An object for representing a recurrence time interval

func (Recurrence) String

func (m Recurrence) String() string

func (Recurrence) ValidateEnumValue

func (m Recurrence) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RecurrenceIntervalTypeEnum

type RecurrenceIntervalTypeEnum string

RecurrenceIntervalTypeEnum Enum with underlying type: string

const (
	RecurrenceIntervalTypeMinutes RecurrenceIntervalTypeEnum = "MINUTES"
	RecurrenceIntervalTypeHours   RecurrenceIntervalTypeEnum = "HOURS"
	RecurrenceIntervalTypeDays    RecurrenceIntervalTypeEnum = "DAYS"
	RecurrenceIntervalTypeWeeks   RecurrenceIntervalTypeEnum = "WEEKS"
)

Set of constants representing the allowable values for RecurrenceIntervalTypeEnum

func GetMappingRecurrenceIntervalTypeEnum

func GetMappingRecurrenceIntervalTypeEnum(val string) (RecurrenceIntervalTypeEnum, bool)

GetMappingRecurrenceIntervalTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRecurrenceIntervalTypeEnumValues

func GetRecurrenceIntervalTypeEnumValues() []RecurrenceIntervalTypeEnum

GetRecurrenceIntervalTypeEnumValues Enumerates the set of values for RecurrenceIntervalTypeEnum

type RelatedEventCollection

type RelatedEventCollection struct {

	// List of event occurrence.
	Items []RelatedEventSummary `mandatory:"true" json:"items"`
}

RelatedEventCollection Results of a event occurence search. Contains RelatedEventSummary.

func (RelatedEventCollection) String

func (m RelatedEventCollection) String() string

func (RelatedEventCollection) ValidateEnumValue

func (m RelatedEventCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RelatedEventSummary

type RelatedEventSummary struct {

	// OCID identifier of the event
	Id *string `mandatory:"true" json:"id"`

	// OCID identifier of the instance
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// time occurence
	Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`
}

RelatedEventSummary Event occurrence on managed instances.

func (RelatedEventSummary) String

func (m RelatedEventSummary) String() string

func (RelatedEventSummary) ValidateEnumValue

func (m RelatedEventSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveModuleStreamProfileFromManagedInstanceRequest added in v65.7.0

type RemoveModuleStreamProfileFromManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// The name of a module.
	ModuleName *string `mandatory:"true" contributesTo:"query" name:"moduleName"`

	// The client request ID for tracing.
	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"`

	// The name of the stream of the containing module.  This parameter
	// is required if a profileName is specified.
	StreamName *string `mandatory:"false" contributesTo:"query" name:"streamName"`

	// The name of the profile of the containing module stream
	ProfileName *string `mandatory:"false" contributesTo:"query" name:"profileName"`

	// 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
}

RemoveModuleStreamProfileFromManagedInstanceRequest wrapper for the RemoveModuleStreamProfileFromManagedInstance operation

See also

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

func (RemoveModuleStreamProfileFromManagedInstanceRequest) BinaryRequestBody added in v65.7.0

BinaryRequestBody implements the OCIRequest interface

func (RemoveModuleStreamProfileFromManagedInstanceRequest) HTTPRequest added in v65.7.0

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

HTTPRequest implements the OCIRequest interface

func (RemoveModuleStreamProfileFromManagedInstanceRequest) RetryPolicy added in v65.7.0

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

func (RemoveModuleStreamProfileFromManagedInstanceRequest) String added in v65.7.0

func (RemoveModuleStreamProfileFromManagedInstanceRequest) ValidateEnumValue added in v65.7.0

func (request RemoveModuleStreamProfileFromManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveModuleStreamProfileFromManagedInstanceResponse added in v65.7.0

type RemoveModuleStreamProfileFromManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

RemoveModuleStreamProfileFromManagedInstanceResponse wrapper for the RemoveModuleStreamProfileFromManagedInstance operation

func (RemoveModuleStreamProfileFromManagedInstanceResponse) HTTPResponse added in v65.7.0

HTTPResponse implements the OCIResponse interface

func (RemoveModuleStreamProfileFromManagedInstanceResponse) String added in v65.7.0

type RemovePackageFromManagedInstanceRequest

type RemovePackageFromManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Package name
	SoftwarePackageName *string `mandatory:"true" contributesTo:"query" name:"softwarePackageName"`

	// The client request ID for tracing.
	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
}

RemovePackageFromManagedInstanceRequest wrapper for the RemovePackageFromManagedInstance operation

See also

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

func (RemovePackageFromManagedInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (RemovePackageFromManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RemovePackageFromManagedInstanceRequest) RetryPolicy

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

func (RemovePackageFromManagedInstanceRequest) String

func (RemovePackageFromManagedInstanceRequest) ValidateEnumValue

func (request RemovePackageFromManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemovePackageFromManagedInstanceResponse

type RemovePackageFromManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

RemovePackageFromManagedInstanceResponse wrapper for the RemovePackageFromManagedInstance operation

func (RemovePackageFromManagedInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RemovePackageFromManagedInstanceResponse) String

type RemovePackagesFromSoftwareSourceDetails

type RemovePackagesFromSoftwareSourceDetails struct {

	// the list of package names
	PackageNames []string `mandatory:"true" json:"packageNames"`
}

RemovePackagesFromSoftwareSourceDetails List of software package names

func (RemovePackagesFromSoftwareSourceDetails) String

func (RemovePackagesFromSoftwareSourceDetails) ValidateEnumValue

func (m RemovePackagesFromSoftwareSourceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemovePackagesFromSoftwareSourceRequest

type RemovePackagesFromSoftwareSourceRequest struct {

	// The OCID of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// A list of package identifiers
	RemovePackagesFromSoftwareSourceDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

RemovePackagesFromSoftwareSourceRequest wrapper for the RemovePackagesFromSoftwareSource operation

See also

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

func (RemovePackagesFromSoftwareSourceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (RemovePackagesFromSoftwareSourceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RemovePackagesFromSoftwareSourceRequest) RetryPolicy

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

func (RemovePackagesFromSoftwareSourceRequest) String

func (RemovePackagesFromSoftwareSourceRequest) ValidateEnumValue

func (request RemovePackagesFromSoftwareSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemovePackagesFromSoftwareSourceResponse

type RemovePackagesFromSoftwareSourceResponse 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"`
}

RemovePackagesFromSoftwareSourceResponse wrapper for the RemovePackagesFromSoftwareSource operation

func (RemovePackagesFromSoftwareSourceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RemovePackagesFromSoftwareSourceResponse) String

type RunScheduledJobNowRequest

type RunScheduledJobNowRequest struct {

	// The ID of the scheduled job.
	ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"`

	// The client request ID for tracing.
	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"`

	// 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
}

RunScheduledJobNowRequest wrapper for the RunScheduledJobNow operation

See also

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

func (RunScheduledJobNowRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (RunScheduledJobNowRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RunScheduledJobNowRequest) RetryPolicy

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

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

func (RunScheduledJobNowRequest) String

func (request RunScheduledJobNowRequest) String() string

func (RunScheduledJobNowRequest) ValidateEnumValue

func (request RunScheduledJobNowRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RunScheduledJobNowResponse

type RunScheduledJobNowResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// 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"`
}

RunScheduledJobNowResponse wrapper for the RunScheduledJobNow operation

func (RunScheduledJobNowResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RunScheduledJobNowResponse) String

func (response RunScheduledJobNowResponse) String() string

type ScheduleTypesEnum

type ScheduleTypesEnum string

ScheduleTypesEnum Enum with underlying type: string

const (
	ScheduleTypesOnetime   ScheduleTypesEnum = "ONETIME"
	ScheduleTypesRecurring ScheduleTypesEnum = "RECURRING"
)

Set of constants representing the allowable values for ScheduleTypesEnum

func GetMappingScheduleTypesEnum

func GetMappingScheduleTypesEnum(val string) (ScheduleTypesEnum, bool)

GetMappingScheduleTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetScheduleTypesEnumValues

func GetScheduleTypesEnumValues() []ScheduleTypesEnum

GetScheduleTypesEnumValues Enumerates the set of values for ScheduleTypesEnum

type ScheduledJob

type ScheduledJob struct {

	// OCID for the Scheduled Job
	Id *string `mandatory:"true" json:"id"`

	// Scheduled Job name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// OCID for the Compartment
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Details describing the Scheduled Job.
	Description *string `mandatory:"false" json:"description"`

	// the type of scheduling this Scheduled Job follows
	ScheduleType ScheduleTypesEnum `mandatory:"false" json:"scheduleType,omitempty"`

	// the time of the next execution of this Scheduled Job
	TimeNextExecution *common.SDKTime `mandatory:"false" json:"timeNextExecution"`

	// the time of the last execution of this Scheduled Job
	TimeLastExecution *common.SDKTime `mandatory:"false" json:"timeLastExecution"`

	// the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)
	IntervalType IntervalTypesEnum `mandatory:"false" json:"intervalType,omitempty"`

	// the value for the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)
	IntervalValue *string `mandatory:"false" json:"intervalValue"`

	// the list of managed instances this scheduled job operates on (mutually exclusive with managedInstanceGroups)
	ManagedInstances []Id `mandatory:"false" json:"managedInstances"`

	// the list of managed instance groups this scheduled job operates on (mutually exclusive with managedInstances)
	ManagedInstanceGroups []Id `mandatory:"false" json:"managedInstanceGroups"`

	// the type of operation this Scheduled Job performs
	OperationType OperationTypesEnum `mandatory:"false" json:"operationType,omitempty"`

	// Type of the update (only if operation type is UPDATEALL)
	UpdateType PackageUpdateTypesEnum `mandatory:"false" json:"updateType,omitempty"`

	// the names of the updates (only if operation type is INSTALL/UPDATE/REMOVE)
	PackageNames []PackageName `mandatory:"false" json:"packageNames"`

	// list of Work Requests associated with this Scheduled Job
	WorkRequests []Id `mandatory:"false" json:"workRequests"`

	// The current state of the Scheduled Job.
	LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The unique names of the Windows Updates (only if operation type is INSTALL).
	// This is only applicable when the osFamily is for Windows managed instances.
	UpdateNames []string `mandatory:"false" json:"updateNames"`

	// The Operating System type of the managed instance.
	OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"`

	// true, if the schedule job has its update capabilities restricted. (Used to track Autonomous Scheduled Job)
	IsRestricted *bool `mandatory:"false" json:"isRestricted"`
}

ScheduledJob Detailed information about a Scheduled Job

func (ScheduledJob) String

func (m ScheduledJob) String() string

func (ScheduledJob) ValidateEnumValue

func (m ScheduledJob) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduledJobSummary

type ScheduledJobSummary struct {

	// OCID for the Scheduled Job
	Id *string `mandatory:"true" json:"id"`

	// Scheduled Job name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// OCID for the Compartment
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// the type of scheduling this Scheduled Job follows
	ScheduleType ScheduleTypesEnum `mandatory:"false" json:"scheduleType,omitempty"`

	// the time/date of the next scheduled execution of this Scheduled Job
	TimeNextExecution *common.SDKTime `mandatory:"false" json:"timeNextExecution"`

	// the time/date of the last execution of this Scheduled Job
	TimeLastExecution *common.SDKTime `mandatory:"false" json:"timeLastExecution"`

	// the list of managed instances this scheduled job operates on (mutually exclusive with managedInstanceGroups)
	ManagedInstances []Id `mandatory:"false" json:"managedInstances"`

	// the list of managed instance groups this scheduled job operates on (mutually exclusive with managedInstances)
	ManagedInstanceGroups []Id `mandatory:"false" json:"managedInstanceGroups"`

	// the type of operation this Scheduled Job performs
	OperationType OperationTypesEnum `mandatory:"false" json:"operationType,omitempty"`

	// The current state of the Scheduled Job.
	LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The Operating System type of the managed instance.
	OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"`

	// true, if the schedule job has its update capabilities restricted. (Used to track Autonomous Scheduled Job)
	IsRestricted *bool `mandatory:"false" json:"isRestricted"`
}

ScheduledJobSummary Basic information about a Scheduled Job

func (ScheduledJobSummary) String

func (m ScheduledJobSummary) String() string

func (ScheduledJobSummary) ValidateEnumValue

func (m ScheduledJobSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SearchSoftwarePackagesRequest

type SearchSoftwarePackagesRequest struct {

	// the identifier for the software package (not an OCID)
	SoftwarePackageName *string `mandatory:"false" contributesTo:"query" name:"softwarePackageName"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Example: `My new resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The name of the CVE as published.
	// Example: `CVE-2006-4535`
	CveName *string `mandatory:"false" contributesTo:"query" name:"cveName"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder SearchSoftwarePackagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
	SortBy SearchSoftwarePackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

SearchSoftwarePackagesRequest wrapper for the SearchSoftwarePackages operation

See also

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

func (SearchSoftwarePackagesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (SearchSoftwarePackagesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (SearchSoftwarePackagesRequest) RetryPolicy

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

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

func (SearchSoftwarePackagesRequest) String

func (request SearchSoftwarePackagesRequest) String() string

func (SearchSoftwarePackagesRequest) ValidateEnumValue

func (request SearchSoftwarePackagesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SearchSoftwarePackagesResponse

type SearchSoftwarePackagesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []SoftwarePackageSearchSummary instances
	Items []SoftwarePackageSearchSummary `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"`
}

SearchSoftwarePackagesResponse wrapper for the SearchSoftwarePackages operation

func (SearchSoftwarePackagesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SearchSoftwarePackagesResponse) String

func (response SearchSoftwarePackagesResponse) String() string

type SearchSoftwarePackagesSortByEnum

type SearchSoftwarePackagesSortByEnum string

SearchSoftwarePackagesSortByEnum Enum with underlying type: string

const (
	SearchSoftwarePackagesSortByTimecreated SearchSoftwarePackagesSortByEnum = "TIMECREATED"
	SearchSoftwarePackagesSortByDisplayname SearchSoftwarePackagesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for SearchSoftwarePackagesSortByEnum

func GetMappingSearchSoftwarePackagesSortByEnum

func GetMappingSearchSoftwarePackagesSortByEnum(val string) (SearchSoftwarePackagesSortByEnum, bool)

GetMappingSearchSoftwarePackagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSearchSoftwarePackagesSortByEnumValues

func GetSearchSoftwarePackagesSortByEnumValues() []SearchSoftwarePackagesSortByEnum

GetSearchSoftwarePackagesSortByEnumValues Enumerates the set of values for SearchSoftwarePackagesSortByEnum

type SearchSoftwarePackagesSortOrderEnum

type SearchSoftwarePackagesSortOrderEnum string

SearchSoftwarePackagesSortOrderEnum Enum with underlying type: string

const (
	SearchSoftwarePackagesSortOrderAsc  SearchSoftwarePackagesSortOrderEnum = "ASC"
	SearchSoftwarePackagesSortOrderDesc SearchSoftwarePackagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for SearchSoftwarePackagesSortOrderEnum

func GetMappingSearchSoftwarePackagesSortOrderEnum

func GetMappingSearchSoftwarePackagesSortOrderEnum(val string) (SearchSoftwarePackagesSortOrderEnum, bool)

GetMappingSearchSoftwarePackagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSearchSoftwarePackagesSortOrderEnumValues

func GetSearchSoftwarePackagesSortOrderEnumValues() []SearchSoftwarePackagesSortOrderEnum

GetSearchSoftwarePackagesSortOrderEnumValues Enumerates the set of values for SearchSoftwarePackagesSortOrderEnum

type SkipNextScheduledJobExecutionRequest

type SkipNextScheduledJobExecutionRequest struct {

	// The ID of the scheduled job.
	ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"`

	// The client request ID for tracing.
	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"`

	// 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
}

SkipNextScheduledJobExecutionRequest wrapper for the SkipNextScheduledJobExecution operation

See also

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

func (SkipNextScheduledJobExecutionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (SkipNextScheduledJobExecutionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (SkipNextScheduledJobExecutionRequest) RetryPolicy

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

func (SkipNextScheduledJobExecutionRequest) String

func (SkipNextScheduledJobExecutionRequest) ValidateEnumValue

func (request SkipNextScheduledJobExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SkipNextScheduledJobExecutionResponse

type SkipNextScheduledJobExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// 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"`
}

SkipNextScheduledJobExecutionResponse wrapper for the SkipNextScheduledJobExecution operation

func (SkipNextScheduledJobExecutionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SkipNextScheduledJobExecutionResponse) String

type SoftwarePackage

type SoftwarePackage struct {

	// Package name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique identifier for the package. NOTE - This is not an OCID
	Name *string `mandatory:"true" json:"name"`

	// Type of the package
	Type *string `mandatory:"true" json:"type"`

	// Version of the package
	Version *string `mandatory:"true" json:"version"`

	// the architecture for which this software was built
	Architecture *string `mandatory:"false" json:"architecture"`

	// date of the last update to the package
	LastModifiedDate *string `mandatory:"false" json:"lastModifiedDate"`

	// checksum of the package
	Checksum *string `mandatory:"false" json:"checksum"`

	// type of the checksum
	ChecksumType *string `mandatory:"false" json:"checksumType"`

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

	// size of the package in bytes
	SizeInBytes *int64 `mandatory:"false" json:"sizeInBytes"`

	// list of dependencies for the software package
	Dependencies []SoftwarePackageDependency `mandatory:"false" json:"dependencies"`

	// list of files for the software package
	Files []SoftwarePackageFile `mandatory:"false" json:"files"`

	// list of software sources that provide the software package
	SoftwareSources []SoftwareSourceId `mandatory:"false" json:"softwareSources"`
}

SoftwarePackage The details for a software package

func (SoftwarePackage) String

func (m SoftwarePackage) String() string

func (SoftwarePackage) ValidateEnumValue

func (m SoftwarePackage) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SoftwarePackageDependency

type SoftwarePackageDependency struct {

	// the software package's dependency
	Dependency *string `mandatory:"false" json:"dependency"`

	// the type of the dependency
	DependencyType *string `mandatory:"false" json:"dependencyType"`

	// the modifier for the dependency
	DependencyModifier *string `mandatory:"false" json:"dependencyModifier"`
}

SoftwarePackageDependency A dependency for a software package

func (SoftwarePackageDependency) String

func (m SoftwarePackageDependency) String() string

func (SoftwarePackageDependency) ValidateEnumValue

func (m SoftwarePackageDependency) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SoftwarePackageFile

type SoftwarePackageFile struct {

	// file path
	Path *string `mandatory:"false" json:"path"`

	// type of the file
	Type *string `mandatory:"false" json:"type"`

	// The date and time of the last modification to this file, as described
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
	TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"`

	// checksum of the file
	Checksum *string `mandatory:"false" json:"checksum"`

	// type of the checksum
	ChecksumType *string `mandatory:"false" json:"checksumType"`

	// size of the file in bytes
	SizeInBytes *int64 `mandatory:"false" json:"sizeInBytes"`
}

SoftwarePackageFile A file associated with a package

func (SoftwarePackageFile) String

func (m SoftwarePackageFile) String() string

func (SoftwarePackageFile) ValidateEnumValue

func (m SoftwarePackageFile) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SoftwarePackageSearchSummary

type SoftwarePackageSearchSummary struct {

	// Package name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique identifier for the package. NOTE - This is not an OCID
	Name *string `mandatory:"true" json:"name"`

	// Type of the package
	Type *string `mandatory:"true" json:"type"`

	// Version of the package
	Version *string `mandatory:"true" json:"version"`

	// the architecture for which this software was built
	Architecture *string `mandatory:"false" json:"architecture"`

	// a summary description of the software package
	Summary *string `mandatory:"false" json:"summary"`

	// Type of the erratum.
	AdvisoryType UpdateTypesEnum `mandatory:"false" json:"advisoryType,omitempty"`

	// List of errata containing this software package
	Errata []Id `mandatory:"false" json:"errata"`

	// list of software sources that provide the software package
	SoftwareSources []SoftwareSourceId `mandatory:"false" json:"softwareSources"`
}

SoftwarePackageSearchSummary Summary information for a software package

func (SoftwarePackageSearchSummary) String

func (SoftwarePackageSearchSummary) ValidateEnumValue

func (m SoftwarePackageSearchSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SoftwarePackageSummary

type SoftwarePackageSummary struct {

	// Package name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique identifier for the package. NOTE - This is not an OCID
	Name *string `mandatory:"true" json:"name"`

	// Type of the package
	Type *string `mandatory:"true" json:"type"`

	// Version of the package
	Version *string `mandatory:"true" json:"version"`

	// the architecture for which this software was built
	Architecture *string `mandatory:"false" json:"architecture"`

	// checksum of the package
	Checksum *string `mandatory:"false" json:"checksum"`

	// type of the checksum
	ChecksumType *string `mandatory:"false" json:"checksumType"`
}

SoftwarePackageSummary Summary information for a software package

func (SoftwarePackageSummary) String

func (m SoftwarePackageSummary) String() string

func (SoftwarePackageSummary) ValidateEnumValue

func (m SoftwarePackageSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SoftwareSource

type SoftwareSource struct {

	// OCID for the Software Source
	Id *string `mandatory:"true" json:"id"`

	// OCID for the Compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// User friendly name for the software source
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Type of the Software Source
	RepoType *string `mandatory:"true" json:"repoType"`

	// URL for the repostiory
	Url *string `mandatory:"true" json:"url"`

	// Information specified by the user about the software source
	Description *string `mandatory:"false" json:"description"`

	// The architecture type supported by the Software Source
	ArchType ArchTypesEnum `mandatory:"false" json:"archType,omitempty"`

	// OCID for the parent software source, if there is one
	ParentId *string `mandatory:"false" json:"parentId"`

	// Display name the parent software source, if there is one
	ParentName *string `mandatory:"false" json:"parentName"`

	// The yum repository checksum type used by this software source
	ChecksumType ChecksumTypesEnum `mandatory:"false" json:"checksumType,omitempty"`

	// Name of the person maintaining this software source
	MaintainerName *string `mandatory:"false" json:"maintainerName"`

	// Email address of the person maintaining this software source
	MaintainerEmail *string `mandatory:"false" json:"maintainerEmail"`

	// Phone number of the person maintaining this software source
	MaintainerPhone *string `mandatory:"false" json:"maintainerPhone"`

	// URL of the GPG key for this software source
	GpgKeyUrl *string `mandatory:"false" json:"gpgKeyUrl"`

	// ID of the GPG key for this software source
	GpgKeyId *string `mandatory:"false" json:"gpgKeyId"`

	// Fingerprint of the GPG key for this software source
	GpgKeyFingerprint *string `mandatory:"false" json:"gpgKeyFingerprint"`

	// status of the software source.
	Status SoftwareSourceStatusEnum `mandatory:"false" json:"status,omitempty"`

	// The current state of the Software Source.
	LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Number of packages
	Packages *int `mandatory:"false" json:"packages"`

	// list of the Managed Instances associated with this Software Sources
	AssociatedManagedInstances []Id `mandatory:"false" json:"associatedManagedInstances"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

SoftwareSource A software source contains a collection of packages

func (SoftwareSource) String

func (m SoftwareSource) String() string

func (SoftwareSource) ValidateEnumValue

func (m SoftwareSource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SoftwareSourceId

type SoftwareSourceId struct {

	// software source identifier
	Id *string `mandatory:"true" json:"id"`

	// software source name
	Name *string `mandatory:"false" json:"name"`
}

SoftwareSourceId Identifying information for the specified software source

func (SoftwareSourceId) String

func (m SoftwareSourceId) String() string

func (SoftwareSourceId) ValidateEnumValue

func (m SoftwareSourceId) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SoftwareSourceStatusEnum

type SoftwareSourceStatusEnum string

SoftwareSourceStatusEnum Enum with underlying type: string

const (
	SoftwareSourceStatusNormal      SoftwareSourceStatusEnum = "NORMAL"
	SoftwareSourceStatusUnreachable SoftwareSourceStatusEnum = "UNREACHABLE"
	SoftwareSourceStatusError       SoftwareSourceStatusEnum = "ERROR"
	SoftwareSourceStatusWarning     SoftwareSourceStatusEnum = "WARNING"
)

Set of constants representing the allowable values for SoftwareSourceStatusEnum

func GetMappingSoftwareSourceStatusEnum

func GetMappingSoftwareSourceStatusEnum(val string) (SoftwareSourceStatusEnum, bool)

GetMappingSoftwareSourceStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSoftwareSourceStatusEnumValues

func GetSoftwareSourceStatusEnumValues() []SoftwareSourceStatusEnum

GetSoftwareSourceStatusEnumValues Enumerates the set of values for SoftwareSourceStatusEnum

type SoftwareSourceSummary

type SoftwareSourceSummary struct {

	// OCID for the Software Source
	Id *string `mandatory:"true" json:"id"`

	// OCID for the Compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// User friendly name for the software source
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Type of the Software Source
	RepoType *string `mandatory:"true" json:"repoType"`

	// Information specified by the user about the software source
	Description *string `mandatory:"false" json:"description"`

	// status of the software source.
	Status SoftwareSourceSummaryStatusEnum `mandatory:"false" json:"status,omitempty"`

	// Number of packages
	Packages *int `mandatory:"false" json:"packages"`

	// The current state of the software source.
	LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// OCID for the parent software source, if there is one
	ParentId *string `mandatory:"false" json:"parentId"`

	// Display name the parent software source, if there is one
	ParentName *string `mandatory:"false" json:"parentName"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

SoftwareSourceSummary A software source contains a collection of packages

func (SoftwareSourceSummary) String

func (m SoftwareSourceSummary) String() string

func (SoftwareSourceSummary) ValidateEnumValue

func (m SoftwareSourceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SoftwareSourceSummaryStatusEnum

type SoftwareSourceSummaryStatusEnum string

SoftwareSourceSummaryStatusEnum Enum with underlying type: string

const (
	SoftwareSourceSummaryStatusNormal      SoftwareSourceSummaryStatusEnum = "NORMAL"
	SoftwareSourceSummaryStatusUnreachable SoftwareSourceSummaryStatusEnum = "UNREACHABLE"
	SoftwareSourceSummaryStatusError       SoftwareSourceSummaryStatusEnum = "ERROR"
	SoftwareSourceSummaryStatusWarning     SoftwareSourceSummaryStatusEnum = "WARNING"
)

Set of constants representing the allowable values for SoftwareSourceSummaryStatusEnum

func GetMappingSoftwareSourceSummaryStatusEnum

func GetMappingSoftwareSourceSummaryStatusEnum(val string) (SoftwareSourceSummaryStatusEnum, bool)

GetMappingSoftwareSourceSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSoftwareSourceSummaryStatusEnumValues

func GetSoftwareSourceSummaryStatusEnumValues() []SoftwareSourceSummaryStatusEnum

GetSoftwareSourceSummaryStatusEnumValues Enumerates the set of values for SoftwareSourceSummaryStatusEnum

type SwitchModuleStreamOnManagedInstanceRequest added in v65.7.0

type SwitchModuleStreamOnManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// The name of a module.
	ModuleName *string `mandatory:"true" contributesTo:"query" name:"moduleName"`

	// The client request ID for tracing.
	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"`

	// The name of the stream of the containing module.  This parameter
	// is required if a profileName is specified.
	StreamName *string `mandatory:"false" contributesTo:"query" name:"streamName"`

	// 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
}

SwitchModuleStreamOnManagedInstanceRequest wrapper for the SwitchModuleStreamOnManagedInstance operation

See also

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

func (SwitchModuleStreamOnManagedInstanceRequest) BinaryRequestBody added in v65.7.0

BinaryRequestBody implements the OCIRequest interface

func (SwitchModuleStreamOnManagedInstanceRequest) HTTPRequest added in v65.7.0

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

HTTPRequest implements the OCIRequest interface

func (SwitchModuleStreamOnManagedInstanceRequest) RetryPolicy added in v65.7.0

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

func (SwitchModuleStreamOnManagedInstanceRequest) String added in v65.7.0

func (SwitchModuleStreamOnManagedInstanceRequest) ValidateEnumValue added in v65.7.0

func (request SwitchModuleStreamOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SwitchModuleStreamOnManagedInstanceResponse added in v65.7.0

type SwitchModuleStreamOnManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request.
	// You can use this to query the status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

SwitchModuleStreamOnManagedInstanceResponse wrapper for the SwitchModuleStreamOnManagedInstance operation

func (SwitchModuleStreamOnManagedInstanceResponse) HTTPResponse added in v65.7.0

HTTPResponse implements the OCIResponse interface

func (SwitchModuleStreamOnManagedInstanceResponse) String added in v65.7.0

type UpdateEventDetails

type UpdateEventDetails struct {

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateEventDetails Information for updating an event associated with a managed instance

func (UpdateEventDetails) String

func (m UpdateEventDetails) String() string

func (UpdateEventDetails) ValidateEnumValue

func (m UpdateEventDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateEventRequest

type UpdateEventRequest struct {

	// Instance Oracle Cloud identifier (ocid)
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Unique Event identifier (OCID)
	EventId *string `mandatory:"true" contributesTo:"path" name:"eventId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Details about the event to update
	UpdateEventDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

UpdateEventRequest wrapper for the UpdateEvent operation

See also

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

func (UpdateEventRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateEventRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateEventRequest) RetryPolicy

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

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

func (UpdateEventRequest) String

func (request UpdateEventRequest) String() string

func (UpdateEventRequest) ValidateEnumValue

func (request UpdateEventRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateEventResponse

type UpdateEventResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Event instance
	Event `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"`
}

UpdateEventResponse wrapper for the UpdateEvent operation

func (UpdateEventResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateEventResponse) String

func (response UpdateEventResponse) String() string

type UpdateManagedInstanceDetails

type UpdateManagedInstanceDetails struct {

	// OCID of the ONS topic used to send notification to users
	NotificationTopicId *string `mandatory:"false" json:"notificationTopicId"`

	// True if user allow data collection for this instance
	IsDataCollectionAuthorized *bool `mandatory:"false" json:"isDataCollectionAuthorized"`
}

UpdateManagedInstanceDetails Information to update a managed instance

func (UpdateManagedInstanceDetails) String

func (UpdateManagedInstanceDetails) ValidateEnumValue

func (m UpdateManagedInstanceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateManagedInstanceGroupDetails

type UpdateManagedInstanceGroupDetails struct {

	// Managed Instance Group identifier
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Information specified by the user about the managed instance group
	Description *string `mandatory:"false" json:"description"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateManagedInstanceGroupDetails Information for updating a managed instance group

func (UpdateManagedInstanceGroupDetails) String

func (UpdateManagedInstanceGroupDetails) ValidateEnumValue

func (m UpdateManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateManagedInstanceGroupRequest

type UpdateManagedInstanceGroupRequest struct {

	// OCID for the managed instance group
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// Details about a Managed Instance Group to update
	UpdateManagedInstanceGroupDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

UpdateManagedInstanceGroupRequest wrapper for the UpdateManagedInstanceGroup operation

See also

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

func (UpdateManagedInstanceGroupRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateManagedInstanceGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateManagedInstanceGroupRequest) RetryPolicy

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

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

func (UpdateManagedInstanceGroupRequest) String

func (request UpdateManagedInstanceGroupRequest) String() string

func (UpdateManagedInstanceGroupRequest) ValidateEnumValue

func (request UpdateManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateManagedInstanceGroupResponse

type UpdateManagedInstanceGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedInstanceGroup instance
	ManagedInstanceGroup `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"`
}

UpdateManagedInstanceGroupResponse wrapper for the UpdateManagedInstanceGroup operation

func (UpdateManagedInstanceGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateManagedInstanceGroupResponse) String

func (response UpdateManagedInstanceGroupResponse) String() string

type UpdateManagedInstanceRequest

type UpdateManagedInstanceRequest struct {

	// OCID for the managed instance
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Details about a Managed Instance to update
	UpdateManagedInstanceDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

UpdateManagedInstanceRequest wrapper for the UpdateManagedInstance operation

See also

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

func (UpdateManagedInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateManagedInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateManagedInstanceRequest) RetryPolicy

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

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

func (UpdateManagedInstanceRequest) String

func (request UpdateManagedInstanceRequest) String() string

func (UpdateManagedInstanceRequest) ValidateEnumValue

func (request UpdateManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateManagedInstanceResponse

type UpdateManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedInstance instance
	ManagedInstance `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"`
}

UpdateManagedInstanceResponse wrapper for the UpdateManagedInstance operation

func (UpdateManagedInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateManagedInstanceResponse) String

func (response UpdateManagedInstanceResponse) String() string

type UpdateModuleDetails added in v65.7.0

type UpdateModuleDetails struct {

	// The name of a module
	ModuleName *string `mandatory:"true" json:"moduleName"`

	// The streams of the module
	Streams []UpdateModuleStreamDetails `mandatory:"false" json:"streams"`
}

UpdateModuleDetails A description of a module and its stream

func (UpdateModuleDetails) String added in v65.7.0

func (m UpdateModuleDetails) String() string

func (UpdateModuleDetails) ValidateEnumValue added in v65.7.0

func (m UpdateModuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateModuleStreamDetails added in v65.7.0

type UpdateModuleStreamDetails struct {

	// The name of the stream of the parent module
	StreamName *string `mandatory:"true" json:"streamName"`

	// The status of the stream
	// A stream with the "ENABLED" status can be used as a source for installing
	// profiles.  Streams with this status are also "ACTIVE".
	// A stream with the "DISABLED" status cannot be the source for installing
	// profiles.  To install profiles and packages from this stream, it must be
	// enabled.
	// A stream with the "ACTIVE" status can be used as a source for installing
	// profiles.  The packages that comprise the stream are also used when a
	// matching package is installed directly.  In general, a stream can have
	// this status if it is the default stream for the module and no stream has
	// been explicitly enabled.
	Status UpdateModuleStreamDetailsStatusEnum `mandatory:"true" json:"status"`

	// The date and time of the last status change for this object, as
	// described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
	// section 14.29.
	TimeModified *common.SDKTime `mandatory:"true" json:"timeModified"`

	// The name of the software source that publishes this stream.
	SoftwareSourceName *string `mandatory:"false" json:"softwareSourceName"`

	// The URL of the software source that publishes this stream.
	SoftwareSourceUrl *string `mandatory:"false" json:"softwareSourceUrl"`

	// Indicates if the module stream is the default
	IsDefault *bool `mandatory:"false" json:"isDefault"`

	// The profiles of the stream
	Profiles []UpdateModuleStreamProfileDetails `mandatory:"false" json:"profiles"`
}

UpdateModuleStreamDetails Information detailing the state of a module stream

func (UpdateModuleStreamDetails) String added in v65.7.0

func (m UpdateModuleStreamDetails) String() string

func (UpdateModuleStreamDetails) ValidateEnumValue added in v65.7.0

func (m UpdateModuleStreamDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateModuleStreamDetailsStatusEnum added in v65.7.0

type UpdateModuleStreamDetailsStatusEnum string

UpdateModuleStreamDetailsStatusEnum Enum with underlying type: string

const (
	UpdateModuleStreamDetailsStatusEnabled  UpdateModuleStreamDetailsStatusEnum = "ENABLED"
	UpdateModuleStreamDetailsStatusDisabled UpdateModuleStreamDetailsStatusEnum = "DISABLED"
	UpdateModuleStreamDetailsStatusActive   UpdateModuleStreamDetailsStatusEnum = "ACTIVE"
)

Set of constants representing the allowable values for UpdateModuleStreamDetailsStatusEnum

func GetMappingUpdateModuleStreamDetailsStatusEnum added in v65.7.0

func GetMappingUpdateModuleStreamDetailsStatusEnum(val string) (UpdateModuleStreamDetailsStatusEnum, bool)

GetMappingUpdateModuleStreamDetailsStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateModuleStreamDetailsStatusEnumValues added in v65.7.0

func GetUpdateModuleStreamDetailsStatusEnumValues() []UpdateModuleStreamDetailsStatusEnum

GetUpdateModuleStreamDetailsStatusEnumValues Enumerates the set of values for UpdateModuleStreamDetailsStatusEnum

type UpdateModuleStreamProfileDetails added in v65.7.0

type UpdateModuleStreamProfileDetails struct {

	// The name of the profile of the parent stream
	ProfileName *string `mandatory:"true" json:"profileName"`

	// The status of the profile.
	// A profile with the "INSTALLED" status indicates that the
	// profile has been installed.
	// A profile with the "AVAILABLE" status indicates that the
	// profile is not installed, but can be.
	Status UpdateModuleStreamProfileDetailsStatusEnum `mandatory:"true" json:"status"`

	// The date and time of the last status change for this object, as
	// described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
	// section 14.29.
	TimeModified *common.SDKTime `mandatory:"true" json:"timeModified"`

	// Indicates if the module stream profile is the default
	IsDefault *bool `mandatory:"false" json:"isDefault"`
}

UpdateModuleStreamProfileDetails Information detailing the state of a module stream profile

func (UpdateModuleStreamProfileDetails) String added in v65.7.0

func (UpdateModuleStreamProfileDetails) ValidateEnumValue added in v65.7.0

func (m UpdateModuleStreamProfileDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateModuleStreamProfileDetailsStatusEnum added in v65.7.0

type UpdateModuleStreamProfileDetailsStatusEnum string

UpdateModuleStreamProfileDetailsStatusEnum Enum with underlying type: string

const (
	UpdateModuleStreamProfileDetailsStatusInstalled UpdateModuleStreamProfileDetailsStatusEnum = "INSTALLED"
	UpdateModuleStreamProfileDetailsStatusAvailable UpdateModuleStreamProfileDetailsStatusEnum = "AVAILABLE"
)

Set of constants representing the allowable values for UpdateModuleStreamProfileDetailsStatusEnum

func GetMappingUpdateModuleStreamProfileDetailsStatusEnum added in v65.7.0

func GetMappingUpdateModuleStreamProfileDetailsStatusEnum(val string) (UpdateModuleStreamProfileDetailsStatusEnum, bool)

GetMappingUpdateModuleStreamProfileDetailsStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateModuleStreamProfileDetailsStatusEnumValues added in v65.7.0

func GetUpdateModuleStreamProfileDetailsStatusEnumValues() []UpdateModuleStreamProfileDetailsStatusEnum

GetUpdateModuleStreamProfileDetailsStatusEnumValues Enumerates the set of values for UpdateModuleStreamProfileDetailsStatusEnum

type UpdateModuleStreamStateDetails added in v65.7.0

type UpdateModuleStreamStateDetails struct {

	// The modules known to a managed instance
	Modules []UpdateModuleDetails `mandatory:"false" json:"modules"`
}

UpdateModuleStreamStateDetails A complete description of the state of modules on a managed instance

func (UpdateModuleStreamStateDetails) String added in v65.7.0

func (UpdateModuleStreamStateDetails) ValidateEnumValue added in v65.7.0

func (m UpdateModuleStreamStateDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateScheduledJobDetails

type UpdateScheduledJobDetails struct {

	// Scheduled Job name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Details describing the Scheduled Job.
	Description *string `mandatory:"false" json:"description"`

	// the type of scheduling this Scheduled Job follows
	ScheduleType ScheduleTypesEnum `mandatory:"false" json:"scheduleType,omitempty"`

	// the desired time for the next execution of this Scheduled Job
	TimeNextExecution *common.SDKTime `mandatory:"false" json:"timeNextExecution"`

	// the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)
	IntervalType IntervalTypesEnum `mandatory:"false" json:"intervalType,omitempty"`

	// the value for the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)
	IntervalValue *string `mandatory:"false" json:"intervalValue"`

	// the type of operation this Scheduled Job performs
	OperationType OperationTypesEnum `mandatory:"false" json:"operationType,omitempty"`

	// Type of the update (only if operation type is UPDATEALL)
	UpdateType PackageUpdateTypesEnum `mandatory:"false" json:"updateType,omitempty"`

	// the id of the package (only if operation type is INSTALL/UPDATE/REMOVE)
	PackageNames []PackageName `mandatory:"false" json:"packageNames"`

	// The unique names of the Windows Updates (only if operation type is INSTALL).
	// This is only applicable when the osFamily is for Windows managed instances.
	UpdateNames []string `mandatory:"false" json:"updateNames"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateScheduledJobDetails Information for updating a Scheduled Job

func (UpdateScheduledJobDetails) String

func (m UpdateScheduledJobDetails) String() string

func (UpdateScheduledJobDetails) ValidateEnumValue

func (m UpdateScheduledJobDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateScheduledJobRequest

type UpdateScheduledJobRequest struct {

	// The ID of the scheduled job.
	ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"`

	// Details about a Scheduled Job to update
	UpdateScheduledJobDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

UpdateScheduledJobRequest wrapper for the UpdateScheduledJob operation

See also

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

func (UpdateScheduledJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateScheduledJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateScheduledJobRequest) RetryPolicy

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

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

func (UpdateScheduledJobRequest) String

func (request UpdateScheduledJobRequest) String() string

func (UpdateScheduledJobRequest) ValidateEnumValue

func (request UpdateScheduledJobRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateScheduledJobResponse

type UpdateScheduledJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ScheduledJob instance
	ScheduledJob `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"`
}

UpdateScheduledJobResponse wrapper for the UpdateScheduledJob operation

func (UpdateScheduledJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateScheduledJobResponse) String

func (response UpdateScheduledJobResponse) String() string

type UpdateSoftwareSourceDetails

type UpdateSoftwareSourceDetails struct {

	// User friendly name for the software source
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Information specified by the user about the software source
	Description *string `mandatory:"false" json:"description"`

	// Name of the person maintaining this software source
	MaintainerName *string `mandatory:"false" json:"maintainerName"`

	// Email address of the person maintaining this software source
	MaintainerEmail *string `mandatory:"false" json:"maintainerEmail"`

	// Phone number of the person maintaining this software source
	MaintainerPhone *string `mandatory:"false" json:"maintainerPhone"`

	// The yum repository checksum type used by this software source
	ChecksumType ChecksumTypesEnum `mandatory:"false" json:"checksumType,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateSoftwareSourceDetails Information for updating a software source on the management system

func (UpdateSoftwareSourceDetails) String

func (UpdateSoftwareSourceDetails) ValidateEnumValue

func (m UpdateSoftwareSourceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSoftwareSourceRequest

type UpdateSoftwareSourceRequest struct {

	// The OCID of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// Details about a Sofware Source to update
	UpdateSoftwareSourceDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

UpdateSoftwareSourceRequest wrapper for the UpdateSoftwareSource operation

See also

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

func (UpdateSoftwareSourceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateSoftwareSourceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateSoftwareSourceRequest) RetryPolicy

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

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

func (UpdateSoftwareSourceRequest) String

func (request UpdateSoftwareSourceRequest) String() string

func (UpdateSoftwareSourceRequest) ValidateEnumValue

func (request UpdateSoftwareSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSoftwareSourceResponse

type UpdateSoftwareSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SoftwareSource instance
	SoftwareSource `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"`
}

UpdateSoftwareSourceResponse wrapper for the UpdateSoftwareSource operation

func (UpdateSoftwareSourceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateSoftwareSourceResponse) String

func (response UpdateSoftwareSourceResponse) String() string

type UpdateTypesEnum

type UpdateTypesEnum string

UpdateTypesEnum Enum with underlying type: string

const (
	UpdateTypesSecurity    UpdateTypesEnum = "SECURITY"
	UpdateTypesBug         UpdateTypesEnum = "BUG"
	UpdateTypesEnhancement UpdateTypesEnum = "ENHANCEMENT"
	UpdateTypesOther       UpdateTypesEnum = "OTHER"
)

Set of constants representing the allowable values for UpdateTypesEnum

func GetMappingUpdateTypesEnum

func GetMappingUpdateTypesEnum(val string) (UpdateTypesEnum, bool)

GetMappingUpdateTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateTypesEnumValues

func GetUpdateTypesEnumValues() []UpdateTypesEnum

GetUpdateTypesEnumValues Enumerates the set of values for UpdateTypesEnum

type UploadEventContentRequest

type UploadEventContentRequest struct {

	// Instance Oracle Cloud identifier (ocid)
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Unique Event identifier (OCID)
	EventId *string `mandatory:"true" contributesTo:"path" name:"eventId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The client request ID for tracing.
	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"`

	// 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
}

UploadEventContentRequest wrapper for the UploadEventContent operation

See also

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

func (UploadEventContentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UploadEventContentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UploadEventContentRequest) RetryPolicy

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

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

func (UploadEventContentRequest) String

func (request UploadEventContentRequest) String() string

func (UploadEventContentRequest) ValidateEnumValue

func (request UploadEventContentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UploadEventContentResponse

type UploadEventContentResponse 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"`
}

UploadEventContentResponse wrapper for the UploadEventContent operation

func (UploadEventContentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UploadEventContentResponse) String

func (response UploadEventContentResponse) String() string

type WindowsUpdate

type WindowsUpdate struct {

	// Windows Update name.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique identifier for the Windows update. NOTE - This is not an OCID,
	// but is a unique identifier assigned by Microsoft.
	// Example: `6981d463-cd91-4a26-b7c4-ea4ded9183ed`
	Name *string `mandatory:"true" json:"name"`

	// The purpose of this update.
	UpdateType UpdateTypesEnum `mandatory:"true" json:"updateType"`

	// Information about the Windows Update.
	Description *string `mandatory:"false" json:"description"`

	// size of the package in bytes
	SizeInBytes *int64 `mandatory:"false" json:"sizeInBytes"`

	// Indicates whether the update can be installed using OSMS.
	IsEligibleForInstallation IsEligibleForInstallationEnum `mandatory:"false" json:"isEligibleForInstallation,omitempty"`

	// List of requirements forinstalling on a managed instances
	InstallationRequirements []WindowsUpdateInstallationRequirementsEnum `mandatory:"false" json:"installationRequirements,omitempty"`

	// Indicates whether a reboot may be required to complete installation of this update.
	IsRebootRequiredForInstallation *bool `mandatory:"false" json:"isRebootRequiredForInstallation"`

	// List of the Microsoft Knowledge Base Article Ids related to this Windows Update.
	KbArticleIds []string `mandatory:"false" json:"kbArticleIds"`
}

WindowsUpdate An update available for a Windows managed instance.

func (WindowsUpdate) String

func (m WindowsUpdate) String() string

func (WindowsUpdate) ValidateEnumValue

func (m WindowsUpdate) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WindowsUpdateInstallationRequirementsEnum

type WindowsUpdateInstallationRequirementsEnum string

WindowsUpdateInstallationRequirementsEnum Enum with underlying type: string

const (
	WindowsUpdateInstallationRequirementsEulaAcceptanceRequired  WindowsUpdateInstallationRequirementsEnum = "EULA_ACCEPTANCE_REQUIRED"
	WindowsUpdateInstallationRequirementsSoftwareMediaRequired   WindowsUpdateInstallationRequirementsEnum = "SOFTWARE_MEDIA_REQUIRED"
	WindowsUpdateInstallationRequirementsUserInteractionRequired WindowsUpdateInstallationRequirementsEnum = "USER_INTERACTION_REQUIRED"
)

Set of constants representing the allowable values for WindowsUpdateInstallationRequirementsEnum

func GetMappingWindowsUpdateInstallationRequirementsEnum

func GetMappingWindowsUpdateInstallationRequirementsEnum(val string) (WindowsUpdateInstallationRequirementsEnum, bool)

GetMappingWindowsUpdateInstallationRequirementsEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWindowsUpdateInstallationRequirementsEnumValues

func GetWindowsUpdateInstallationRequirementsEnumValues() []WindowsUpdateInstallationRequirementsEnum

GetWindowsUpdateInstallationRequirementsEnumValues Enumerates the set of values for WindowsUpdateInstallationRequirementsEnum

type WindowsUpdateSummary

type WindowsUpdateSummary struct {

	// Windows Update name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique identifier for the Windows update. NOTE - This is not an OCID,
	// but is a unique identifier assigned by Microsoft.
	// Example: `6981d463-cd91-4a26-b7c4-ea4ded9183ed`
	Name *string `mandatory:"true" json:"name"`

	// The purpose of this update.
	UpdateType UpdateTypesEnum `mandatory:"true" json:"updateType"`

	// Indicates whether the update can be installed using OSMS.
	Installable IsEligibleForInstallationEnum `mandatory:"false" json:"installable,omitempty"`

	// Indicates whether a reboot may be required to complete installation of this update.
	IsRebootRequiredForInstallation *bool `mandatory:"false" json:"isRebootRequiredForInstallation"`
}

WindowsUpdateSummary An update available for a Windows managed instance.

func (WindowsUpdateSummary) String

func (m WindowsUpdateSummary) String() string

func (WindowsUpdateSummary) ValidateEnumValue

func (m WindowsUpdateSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequest

type WorkRequest struct {

	// the type of operation this Work Request performs
	OperationType OperationTypesEnum `mandatory:"true" json:"operationType"`

	// status of current work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The id of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The ocid of the compartment that contains the work request. Work requests should be scoped to
	// the same compartment as the resource the work request affects. If the work request affects multiple resources,
	// and those resources are not in the same compartment, it is up to the service team to pick the primary
	// resource whose compartment should be used
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The resources affected by this work request.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Percentage of the request completed.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the request was created, as described in
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

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

	// A progress or error message, if there is any.
	Message *string `mandatory:"false" json:"message"`

	ManagedInstanceId *Id `mandatory:"false" json:"managedInstanceId"`

	// The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
	// section 14.29.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// The Operating System type of the managed instance.
	OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"`

	// The parent of this work request, if one exists.
	ParentId *string `mandatory:"false" json:"parentId"`

	// A list of the IDs of any children of this work request
	ChildrenIds []string `mandatory:"false" json:"childrenIds"`
}

WorkRequest A description of workrequest status

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError

type WorkRequestError struct {

	// A machine-usable code for the error that occured.
	Code *string `mandatory:"true" json:"code"`

	// A human readable description of the issue encountered.
	Message *string `mandatory:"true" json:"message"`

	// The date and time the error happened, as described in
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
	Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`
}

WorkRequestError Human readable error message describing why the work request failed

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry

type WorkRequestLogEntry struct {

	// A human readable log message.
	Message *string `mandatory:"true" json:"message"`

	// The date and time the error happened, as described in
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestLogEntry Human readable log message describing what the work request is doing

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResource

type WorkRequestResource struct {

	// The resource type for the work request.
	EntityType *string `mandatory:"true" json:"entityType"`

	// The way in which this resource is affected by the work tracked in the work request.
	// A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
	// work is complete for that resource at which point it will transition to CREATED, UPDATED,
	// or DELETED, respectively. If the request failed for that resource,
	// the state will be FAILED.
	ActionType WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"`

	// The identifier of the resource. Not all resources will have an id.
	Identifier *string `mandatory:"true" json:"identifier"`

	// The URI path that the user can do a GET on to access the resource metadata.
	EntityUri *string `mandatory:"true" json:"entityUri"`

	// The name of the resource. Not all resources will have a name specified.
	Name *string `mandatory:"false" json:"name"`
}

WorkRequestResource A resource created, operated on or used by a work request.

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResourceActionTypeEnum

type WorkRequestResourceActionTypeEnum string

WorkRequestResourceActionTypeEnum Enum with underlying type: string

const (
	WorkRequestResourceActionTypeCreated    WorkRequestResourceActionTypeEnum = "CREATED"
	WorkRequestResourceActionTypeUpdated    WorkRequestResourceActionTypeEnum = "UPDATED"
	WorkRequestResourceActionTypeDeleted    WorkRequestResourceActionTypeEnum = "DELETED"
	WorkRequestResourceActionTypeFailed     WorkRequestResourceActionTypeEnum = "FAILED"
	WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS"
	WorkRequestResourceActionTypeInstalled  WorkRequestResourceActionTypeEnum = "INSTALLED"
	WorkRequestResourceActionTypeRemoved    WorkRequestResourceActionTypeEnum = "REMOVED"
)

Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum

func GetMappingWorkRequestResourceActionTypeEnum

func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)

GetMappingWorkRequestResourceActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestResourceActionTypeEnumValues

func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum

GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum

type WorkRequestSummary

type WorkRequestSummary struct {

	// the type of operation this Work Request performs
	OperationType OperationTypesEnum `mandatory:"true" json:"operationType"`

	// status of current work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The id of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The ocid of the compartment that contains the work request. Work requests should be scoped to
	// the same compartment as the resource the work request affects. If the work request affects multiple resources,
	// and those resources are not in the same compartment, it is up to the service team to pick the primary
	// resource whose compartment should be used
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the request was created, as described in
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

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

	// A progress or error message, if there is any.
	Message *string `mandatory:"false" json:"message"`

	// Percentage of the request completed.
	PercentComplete *float32 `mandatory:"false" json:"percentComplete"`

	// The Operating System type of the managed instance.
	OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"`
}

WorkRequestSummary A work request summary

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

Source Files

Jump to

Keyboard shortcuts

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