func GetArchTypesEnumStringValues() []string
GetArchTypesEnumStringValues Enumerates the set of values in String for ArchTypesEnum
func GetChecksumTypesEnumStringValues() []string
GetChecksumTypesEnumStringValues Enumerates the set of values in String for ChecksumTypesEnum
func GetContentAvailabilityEnumStringValues() []string
GetContentAvailabilityEnumStringValues Enumerates the set of values in String for ContentAvailabilityEnum
func GetEventTypeEnumStringValues() []string
GetEventTypeEnumStringValues Enumerates the set of values in String for EventTypeEnum
func GetInstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnumStringValues() []string
GetInstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnumStringValues Enumerates the set of values in String for InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum
func GetInstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnumStringValues() []string
GetInstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnumStringValues Enumerates the set of values in String for InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum
func GetInstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnumStringValues() []string
GetInstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnumStringValues Enumerates the set of values in String for InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum
func GetIntervalTypesEnumStringValues() []string
GetIntervalTypesEnumStringValues Enumerates the set of values in String for IntervalTypesEnum
func GetIsEligibleForInstallationEnumStringValues() []string
GetIsEligibleForInstallationEnumStringValues Enumerates the set of values in String for IsEligibleForInstallationEnum
func GetLifecycleStatesEnumStringValues() []string
GetLifecycleStatesEnumStringValues Enumerates the set of values in String for LifecycleStatesEnum
func GetListAvailablePackagesForManagedInstanceSortByEnumStringValues() []string
GetListAvailablePackagesForManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListAvailablePackagesForManagedInstanceSortByEnum
func GetListAvailablePackagesForManagedInstanceSortOrderEnumStringValues() []string
GetListAvailablePackagesForManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListAvailablePackagesForManagedInstanceSortOrderEnum
func GetListAvailableSoftwareSourcesForManagedInstanceSortByEnumStringValues() []string
GetListAvailableSoftwareSourcesForManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListAvailableSoftwareSourcesForManagedInstanceSortByEnum
func GetListAvailableSoftwareSourcesForManagedInstanceSortOrderEnumStringValues() []string
GetListAvailableSoftwareSourcesForManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum
func GetListAvailableUpdatesForManagedInstanceSortByEnumStringValues() []string
GetListAvailableUpdatesForManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListAvailableUpdatesForManagedInstanceSortByEnum
func GetListAvailableUpdatesForManagedInstanceSortOrderEnumStringValues() []string
GetListAvailableUpdatesForManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListAvailableUpdatesForManagedInstanceSortOrderEnum
func GetListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnumStringValues() []string
GetListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnumStringValues Enumerates the set of values in String for ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum
func GetListAvailableWindowsUpdatesForManagedInstanceSortByEnumStringValues() []string
GetListAvailableWindowsUpdatesForManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListAvailableWindowsUpdatesForManagedInstanceSortByEnum
func GetListAvailableWindowsUpdatesForManagedInstanceSortOrderEnumStringValues() []string
GetListAvailableWindowsUpdatesForManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum
func GetListErrataSortByEnumStringValues() []string
GetListErrataSortByEnumStringValues Enumerates the set of values in String for ListErrataSortByEnum
func GetListErrataSortOrderEnumStringValues() []string
GetListErrataSortOrderEnumStringValues Enumerates the set of values in String for ListErrataSortOrderEnum
func GetListEventsEventTypeEnumStringValues() []string
GetListEventsEventTypeEnumStringValues Enumerates the set of values in String for ListEventsEventTypeEnum
func GetListEventsSortByEnumStringValues() []string
GetListEventsSortByEnumStringValues Enumerates the set of values in String for ListEventsSortByEnum
func GetListEventsSortOrderEnumStringValues() []string
GetListEventsSortOrderEnumStringValues Enumerates the set of values in String for ListEventsSortOrderEnum
func GetListManagedInstanceErrataSortByEnumStringValues() []string
GetListManagedInstanceErrataSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceErrataSortByEnum
func GetListManagedInstanceErrataSortOrderEnumStringValues() []string
GetListManagedInstanceErrataSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceErrataSortOrderEnum
func GetListManagedInstanceGroupsLifecycleStateEnumStringValues() []string
GetListManagedInstanceGroupsLifecycleStateEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupsLifecycleStateEnum
func GetListManagedInstanceGroupsOsFamilyEnumStringValues() []string
GetListManagedInstanceGroupsOsFamilyEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupsOsFamilyEnum
func GetListManagedInstanceGroupsSortByEnumStringValues() []string
GetListManagedInstanceGroupsSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupsSortByEnum
func GetListManagedInstanceGroupsSortOrderEnumStringValues() []string
GetListManagedInstanceGroupsSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupsSortOrderEnum
func GetListManagedInstancesOsFamilyEnumStringValues() []string
GetListManagedInstancesOsFamilyEnumStringValues Enumerates the set of values in String for ListManagedInstancesOsFamilyEnum
func GetListManagedInstancesSortByEnumStringValues() []string
GetListManagedInstancesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstancesSortByEnum
func GetListManagedInstancesSortOrderEnumStringValues() []string
GetListManagedInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstancesSortOrderEnum
func GetListModuleStreamProfilesOnManagedInstanceProfileStatusEnumStringValues() []string
GetListModuleStreamProfilesOnManagedInstanceProfileStatusEnumStringValues Enumerates the set of values in String for ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum
func GetListModuleStreamProfilesOnManagedInstanceSortByEnumStringValues() []string
GetListModuleStreamProfilesOnManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListModuleStreamProfilesOnManagedInstanceSortByEnum
func GetListModuleStreamProfilesOnManagedInstanceSortOrderEnumStringValues() []string
GetListModuleStreamProfilesOnManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListModuleStreamProfilesOnManagedInstanceSortOrderEnum
func GetListModuleStreamProfilesSortByEnumStringValues() []string
GetListModuleStreamProfilesSortByEnumStringValues Enumerates the set of values in String for ListModuleStreamProfilesSortByEnum
func GetListModuleStreamProfilesSortOrderEnumStringValues() []string
GetListModuleStreamProfilesSortOrderEnumStringValues Enumerates the set of values in String for ListModuleStreamProfilesSortOrderEnum
func GetListModuleStreamsOnManagedInstanceSortByEnumStringValues() []string
GetListModuleStreamsOnManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListModuleStreamsOnManagedInstanceSortByEnum
func GetListModuleStreamsOnManagedInstanceSortOrderEnumStringValues() []string
GetListModuleStreamsOnManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListModuleStreamsOnManagedInstanceSortOrderEnum
func GetListModuleStreamsOnManagedInstanceStreamStatusEnumStringValues() []string
GetListModuleStreamsOnManagedInstanceStreamStatusEnumStringValues Enumerates the set of values in String for ListModuleStreamsOnManagedInstanceStreamStatusEnum
func GetListModuleStreamsSortByEnumStringValues() []string
GetListModuleStreamsSortByEnumStringValues Enumerates the set of values in String for ListModuleStreamsSortByEnum
func GetListModuleStreamsSortOrderEnumStringValues() []string
GetListModuleStreamsSortOrderEnumStringValues Enumerates the set of values in String for ListModuleStreamsSortOrderEnum
func GetListPackagesInstalledOnManagedInstanceSortByEnumStringValues() []string
GetListPackagesInstalledOnManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListPackagesInstalledOnManagedInstanceSortByEnum
func GetListPackagesInstalledOnManagedInstanceSortOrderEnumStringValues() []string
GetListPackagesInstalledOnManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListPackagesInstalledOnManagedInstanceSortOrderEnum
func GetListRelatedEventsSortByEnumStringValues() []string
GetListRelatedEventsSortByEnumStringValues Enumerates the set of values in String for ListRelatedEventsSortByEnum
func GetListRelatedEventsSortOrderEnumStringValues() []string
GetListRelatedEventsSortOrderEnumStringValues Enumerates the set of values in String for ListRelatedEventsSortOrderEnum
func GetListScheduledJobsLifecycleStateEnumStringValues() []string
GetListScheduledJobsLifecycleStateEnumStringValues Enumerates the set of values in String for ListScheduledJobsLifecycleStateEnum
func GetListScheduledJobsOperationTypeEnumStringValues() []string
GetListScheduledJobsOperationTypeEnumStringValues Enumerates the set of values in String for ListScheduledJobsOperationTypeEnum
func GetListScheduledJobsOsFamilyEnumStringValues() []string
GetListScheduledJobsOsFamilyEnumStringValues Enumerates the set of values in String for ListScheduledJobsOsFamilyEnum
func GetListScheduledJobsSortByEnumStringValues() []string
GetListScheduledJobsSortByEnumStringValues Enumerates the set of values in String for ListScheduledJobsSortByEnum
func GetListScheduledJobsSortOrderEnumStringValues() []string
GetListScheduledJobsSortOrderEnumStringValues Enumerates the set of values in String for ListScheduledJobsSortOrderEnum
func GetListSoftwareSourcePackagesSortByEnumStringValues() []string
GetListSoftwareSourcePackagesSortByEnumStringValues Enumerates the set of values in String for ListSoftwareSourcePackagesSortByEnum
func GetListSoftwareSourcePackagesSortOrderEnumStringValues() []string
GetListSoftwareSourcePackagesSortOrderEnumStringValues Enumerates the set of values in String for ListSoftwareSourcePackagesSortOrderEnum
func GetListSoftwareSourcesLifecycleStateEnumStringValues() []string
GetListSoftwareSourcesLifecycleStateEnumStringValues Enumerates the set of values in String for ListSoftwareSourcesLifecycleStateEnum
func GetListSoftwareSourcesSortByEnumStringValues() []string
GetListSoftwareSourcesSortByEnumStringValues Enumerates the set of values in String for ListSoftwareSourcesSortByEnum
func GetListSoftwareSourcesSortOrderEnumStringValues() []string
GetListSoftwareSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListSoftwareSourcesSortOrderEnum
func GetListUpcomingScheduledJobsLifecycleStateEnumStringValues() []string
GetListUpcomingScheduledJobsLifecycleStateEnumStringValues Enumerates the set of values in String for ListUpcomingScheduledJobsLifecycleStateEnum
func GetListUpcomingScheduledJobsOsFamilyEnumStringValues() []string
GetListUpcomingScheduledJobsOsFamilyEnumStringValues Enumerates the set of values in String for ListUpcomingScheduledJobsOsFamilyEnum
func GetListUpcomingScheduledJobsSortByEnumStringValues() []string
GetListUpcomingScheduledJobsSortByEnumStringValues Enumerates the set of values in String for ListUpcomingScheduledJobsSortByEnum
func GetListUpcomingScheduledJobsSortOrderEnumStringValues() []string
GetListUpcomingScheduledJobsSortOrderEnumStringValues Enumerates the set of values in String for ListUpcomingScheduledJobsSortOrderEnum
func GetListWindowsUpdatesInstalledOnManagedInstanceSortByEnumStringValues() []string
GetListWindowsUpdatesInstalledOnManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum
func GetListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnumStringValues() []string
GetListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnumStringValues Enumerates the set of values in String for ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum
func GetListWindowsUpdatesSortByEnumStringValues() []string
GetListWindowsUpdatesSortByEnumStringValues Enumerates the set of values in String for ListWindowsUpdatesSortByEnum
func GetListWindowsUpdatesSortOrderEnumStringValues() []string
GetListWindowsUpdatesSortOrderEnumStringValues Enumerates the set of values in String for ListWindowsUpdatesSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsOsFamilyEnumStringValues() []string
GetListWorkRequestsOsFamilyEnumStringValues Enumerates the set of values in String for ListWorkRequestsOsFamilyEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetManagedInstanceStatusEnumStringValues() []string
GetManagedInstanceStatusEnumStringValues Enumerates the set of values in String for ManagedInstanceStatusEnum
func GetManagedInstanceSummaryStatusEnumStringValues() []string
GetManagedInstanceSummaryStatusEnumStringValues Enumerates the set of values in String for ManagedInstanceSummaryStatusEnum
func GetModuleStreamOnManagedInstanceSummaryStatusEnumStringValues() []string
GetModuleStreamOnManagedInstanceSummaryStatusEnumStringValues Enumerates the set of values in String for ModuleStreamOnManagedInstanceSummaryStatusEnum
func GetModuleStreamProfileOnManagedInstanceSummaryStatusEnumStringValues() []string
GetModuleStreamProfileOnManagedInstanceSummaryStatusEnumStringValues Enumerates the set of values in String for ModuleStreamProfileOnManagedInstanceSummaryStatusEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypesEnumStringValues() []string
GetOperationTypesEnumStringValues Enumerates the set of values in String for OperationTypesEnum
func GetOsFamiliesEnumStringValues() []string
GetOsFamiliesEnumStringValues Enumerates the set of values in String for OsFamiliesEnum
func GetPackageUpdateTypesEnumStringValues() []string
GetPackageUpdateTypesEnumStringValues Enumerates the set of values in String for PackageUpdateTypesEnum
func GetRecurrenceIntervalTypeEnumStringValues() []string
GetRecurrenceIntervalTypeEnumStringValues Enumerates the set of values in String for RecurrenceIntervalTypeEnum
func GetScheduleTypesEnumStringValues() []string
GetScheduleTypesEnumStringValues Enumerates the set of values in String for ScheduleTypesEnum
func GetSearchSoftwarePackagesSortByEnumStringValues() []string
GetSearchSoftwarePackagesSortByEnumStringValues Enumerates the set of values in String for SearchSoftwarePackagesSortByEnum
func GetSearchSoftwarePackagesSortOrderEnumStringValues() []string
GetSearchSoftwarePackagesSortOrderEnumStringValues Enumerates the set of values in String for SearchSoftwarePackagesSortOrderEnum
func GetSoftwareSourceStatusEnumStringValues() []string
GetSoftwareSourceStatusEnumStringValues Enumerates the set of values in String for SoftwareSourceStatusEnum
func GetSoftwareSourceSummaryStatusEnumStringValues() []string
GetSoftwareSourceSummaryStatusEnumStringValues Enumerates the set of values in String for SoftwareSourceSummaryStatusEnum
func GetUpdateModuleStreamDetailsStatusEnumStringValues() []string
GetUpdateModuleStreamDetailsStatusEnumStringValues Enumerates the set of values in String for UpdateModuleStreamDetailsStatusEnum
func GetUpdateModuleStreamProfileDetailsStatusEnumStringValues() []string
GetUpdateModuleStreamProfileDetailsStatusEnumStringValues Enumerates the set of values in String for UpdateModuleStreamProfileDetailsStatusEnum
func GetUpdateTypesEnumStringValues() []string
GetUpdateTypesEnumStringValues Enumerates the set of values in String for UpdateTypesEnum
func GetWindowsUpdateInstallationRequirementsEnumStringValues() []string
GetWindowsUpdateInstallationRequirementsEnumStringValues Enumerates the set of values in String for WindowsUpdateInstallationRequirementsEnum
func GetWorkRequestResourceActionTypeEnumStringValues() []string
GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum
AddPackagesToSoftwareSourceDetails List of software package names
type AddPackagesToSoftwareSourceDetails struct { // the list of package names PackageNames []string `mandatory:"true" json:"packageNames"` }
func (m AddPackagesToSoftwareSourceDetails) String() string
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
AddPackagesToSoftwareSourceRequest wrapper for the AddPackagesToSoftwareSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/AddPackagesToSoftwareSource.go.html to see an example of how to use 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 }
func (request AddPackagesToSoftwareSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddPackagesToSoftwareSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddPackagesToSoftwareSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddPackagesToSoftwareSourceRequest) String() string
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
AddPackagesToSoftwareSourceResponse wrapper for the AddPackagesToSoftwareSource operation
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"` }
func (response AddPackagesToSoftwareSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddPackagesToSoftwareSourceResponse) String() string
ApiError Error Information
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"` }
func (m ApiError) String() string
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
ArchTypesEnum Enum with underlying type: string
type ArchTypesEnum string
Set of constants representing the allowable values for ArchTypesEnum
const ( ArchTypesIa32 ArchTypesEnum = "IA_32" ArchTypesX8664 ArchTypesEnum = "X86_64" ArchTypesAarch64 ArchTypesEnum = "AARCH64" ArchTypesSparc ArchTypesEnum = "SPARC" ArchTypesAmd64Debian ArchTypesEnum = "AMD64_DEBIAN" )
func GetArchTypesEnumValues() []ArchTypesEnum
GetArchTypesEnumValues Enumerates the set of values for ArchTypesEnum
func GetMappingArchTypesEnum(val string) (ArchTypesEnum, bool)
GetMappingArchTypesEnum performs case Insensitive comparison on enum value and return the desired enum
AttachChildSoftwareSourceToManagedInstanceDetails Information for attaching a software source to a managed instance
type AttachChildSoftwareSourceToManagedInstanceDetails struct { // OCID for the Software Source SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"` }
func (m AttachChildSoftwareSourceToManagedInstanceDetails) String() string
func (m AttachChildSoftwareSourceToManagedInstanceDetails) 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
AttachChildSoftwareSourceToManagedInstanceRequest wrapper for the AttachChildSoftwareSourceToManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/AttachChildSoftwareSourceToManagedInstance.go.html to see an example of how to use 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 }
func (request AttachChildSoftwareSourceToManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AttachChildSoftwareSourceToManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AttachChildSoftwareSourceToManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AttachChildSoftwareSourceToManagedInstanceRequest) String() string
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
AttachChildSoftwareSourceToManagedInstanceResponse wrapper for the AttachChildSoftwareSourceToManagedInstance operation
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"` }
func (response AttachChildSoftwareSourceToManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AttachChildSoftwareSourceToManagedInstanceResponse) String() string
AttachManagedInstanceToManagedInstanceGroupRequest wrapper for the AttachManagedInstanceToManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/AttachManagedInstanceToManagedInstanceGroup.go.html to see an example of how to use 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 }
func (request AttachManagedInstanceToManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AttachManagedInstanceToManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AttachManagedInstanceToManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AttachManagedInstanceToManagedInstanceGroupRequest) String() string
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
AttachManagedInstanceToManagedInstanceGroupResponse wrapper for the AttachManagedInstanceToManagedInstanceGroup operation
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"` }
func (response AttachManagedInstanceToManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AttachManagedInstanceToManagedInstanceGroupResponse) String() string
AttachParentSoftwareSourceToManagedInstanceDetails Information for attaching a software source to a managed instance
type AttachParentSoftwareSourceToManagedInstanceDetails struct { // OCID for the Software Source SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"` }
func (m AttachParentSoftwareSourceToManagedInstanceDetails) String() string
func (m AttachParentSoftwareSourceToManagedInstanceDetails) 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
AttachParentSoftwareSourceToManagedInstanceRequest wrapper for the AttachParentSoftwareSourceToManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/AttachParentSoftwareSourceToManagedInstance.go.html to see an example of how to use 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 }
func (request AttachParentSoftwareSourceToManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AttachParentSoftwareSourceToManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AttachParentSoftwareSourceToManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AttachParentSoftwareSourceToManagedInstanceRequest) String() string
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
AttachParentSoftwareSourceToManagedInstanceResponse wrapper for the AttachParentSoftwareSourceToManagedInstance operation
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"` }
func (response AttachParentSoftwareSourceToManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AttachParentSoftwareSourceToManagedInstanceResponse) String() string
AutonomousSettings Managed Instance with Autonomous settings
type AutonomousSettings struct { // True if daily updates are enabled IsAutoUpdateEnabled *bool `mandatory:"false" json:"isAutoUpdateEnabled"` }
func (m AutonomousSettings) String() string
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
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.
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"` }
func (m AvailableSoftwareSourceSummary) String() string
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
AvailableUpdateSummary An update available for a managed instance
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"` }
func (m AvailableUpdateSummary) String() string
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
AvailableWindowsUpdateSummary An update available for installation on the Windows managed instance.
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"` }
func (m AvailableWindowsUpdateSummary) String() string
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
ChangeManagedInstanceGroupCompartmentDetails Compartment id for a managed instance group
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"` }
func (m ChangeManagedInstanceGroupCompartmentDetails) String() string
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
ChangeManagedInstanceGroupCompartmentRequest wrapper for the ChangeManagedInstanceGroupCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/ChangeManagedInstanceGroupCompartment.go.html to see an example of how to use 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 }
func (request ChangeManagedInstanceGroupCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeManagedInstanceGroupCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeManagedInstanceGroupCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeManagedInstanceGroupCompartmentRequest) String() string
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
ChangeManagedInstanceGroupCompartmentResponse wrapper for the ChangeManagedInstanceGroupCompartment operation
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"` }
func (response ChangeManagedInstanceGroupCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeManagedInstanceGroupCompartmentResponse) String() string
ChangeScheduledJobCompartmentDetails Compartment id for a scheduled job
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"` }
func (m ChangeScheduledJobCompartmentDetails) String() string
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
ChangeScheduledJobCompartmentRequest wrapper for the ChangeScheduledJobCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/ChangeScheduledJobCompartment.go.html to see an example of how to use 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 }
func (request ChangeScheduledJobCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeScheduledJobCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeScheduledJobCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeScheduledJobCompartmentRequest) String() string
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
ChangeScheduledJobCompartmentResponse wrapper for the ChangeScheduledJobCompartment operation
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"` }
func (response ChangeScheduledJobCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeScheduledJobCompartmentResponse) String() string
ChangeSoftwareSourceCompartmentDetails Compartment id for a software source
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"` }
func (m ChangeSoftwareSourceCompartmentDetails) String() string
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
ChangeSoftwareSourceCompartmentRequest wrapper for the ChangeSoftwareSourceCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/ChangeSoftwareSourceCompartment.go.html to see an example of how to use 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 }
func (request ChangeSoftwareSourceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeSoftwareSourceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeSoftwareSourceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeSoftwareSourceCompartmentRequest) String() string
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
ChangeSoftwareSourceCompartmentResponse wrapper for the ChangeSoftwareSourceCompartment operation
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"` }
func (response ChangeSoftwareSourceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeSoftwareSourceCompartmentResponse) String() string
ChecksumTypesEnum Enum with underlying type: string
type ChecksumTypesEnum string
Set of constants representing the allowable values for ChecksumTypesEnum
const ( ChecksumTypesSha1 ChecksumTypesEnum = "SHA1" ChecksumTypesSha256 ChecksumTypesEnum = "SHA256" ChecksumTypesSha384 ChecksumTypesEnum = "SHA384" ChecksumTypesSha512 ChecksumTypesEnum = "SHA512" )
func GetChecksumTypesEnumValues() []ChecksumTypesEnum
GetChecksumTypesEnumValues Enumerates the set of values for ChecksumTypesEnum
func GetMappingChecksumTypesEnum(val string) (ChecksumTypesEnum, bool)
GetMappingChecksumTypesEnum performs case Insensitive comparison on enum value and return the desired enum
ContentAvailabilityEnum Enum with underlying type: string
type ContentAvailabilityEnum string
Set of constants representing the allowable values for ContentAvailabilityEnum
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" )
func GetContentAvailabilityEnumValues() []ContentAvailabilityEnum
GetContentAvailabilityEnumValues Enumerates the set of values for ContentAvailabilityEnum
func GetMappingContentAvailabilityEnum(val string) (ContentAvailabilityEnum, bool)
GetMappingContentAvailabilityEnum performs case Insensitive comparison on enum value and return the desired enum
CrashEventSystemInformation Detailed information about system at the time of the crash.
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"` }
func (m CrashEventSystemInformation) String() string
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
CreateManagedInstanceGroupDetails Detail information for creating a managed instance group
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"` }
func (m CreateManagedInstanceGroupDetails) String() string
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
CreateManagedInstanceGroupRequest wrapper for the CreateManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/CreateManagedInstanceGroup.go.html to see an example of how to use 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 }
func (request CreateManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateManagedInstanceGroupRequest) String() string
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
CreateManagedInstanceGroupResponse wrapper for the CreateManagedInstanceGroup operation
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"` }
func (response CreateManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateManagedInstanceGroupResponse) String() string
CreateScheduledJobDetails Information for creating a Scheduled Job
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"` }
func (m CreateScheduledJobDetails) String() string
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
CreateScheduledJobRequest wrapper for the CreateScheduledJob operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/CreateScheduledJob.go.html to see an example of how to use 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 }
func (request CreateScheduledJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateScheduledJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateScheduledJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateScheduledJobRequest) String() string
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
CreateScheduledJobResponse wrapper for the CreateScheduledJob operation
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"` }
func (response CreateScheduledJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateScheduledJobResponse) String() string
CreateSoftwareSourceDetails Description of a software source to be created on the management system
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"` }
func (m CreateSoftwareSourceDetails) String() string
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
CreateSoftwareSourceRequest wrapper for the CreateSoftwareSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/CreateSoftwareSource.go.html to see an example of how to use 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 }
func (request CreateSoftwareSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateSoftwareSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateSoftwareSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateSoftwareSourceRequest) String() string
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
CreateSoftwareSourceResponse wrapper for the CreateSoftwareSource operation
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"` }
func (response CreateSoftwareSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateSoftwareSourceResponse) String() string
DeleteEventContentRequest wrapper for the DeleteEventContent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/DeleteEventContent.go.html to see an example of how to use 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 }
func (request DeleteEventContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteEventContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteEventContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteEventContentRequest) String() string
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
DeleteEventContentResponse wrapper for the DeleteEventContent operation
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"` }
func (response DeleteEventContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteEventContentResponse) String() string
DeleteManagedInstanceGroupRequest wrapper for the DeleteManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/DeleteManagedInstanceGroup.go.html to see an example of how to use 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 }
func (request DeleteManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteManagedInstanceGroupRequest) String() string
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
DeleteManagedInstanceGroupResponse wrapper for the DeleteManagedInstanceGroup operation
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"` }
func (response DeleteManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteManagedInstanceGroupResponse) String() string
DeleteScheduledJobRequest wrapper for the DeleteScheduledJob operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/DeleteScheduledJob.go.html to see an example of how to use 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 }
func (request DeleteScheduledJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteScheduledJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteScheduledJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteScheduledJobRequest) String() string
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
DeleteScheduledJobResponse wrapper for the DeleteScheduledJob operation
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"` }
func (response DeleteScheduledJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteScheduledJobResponse) String() string
DeleteSoftwareSourceRequest wrapper for the DeleteSoftwareSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/DeleteSoftwareSource.go.html to see an example of how to use 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 }
func (request DeleteSoftwareSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteSoftwareSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteSoftwareSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteSoftwareSourceRequest) String() string
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
DeleteSoftwareSourceResponse wrapper for the DeleteSoftwareSource operation
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"` }
func (response DeleteSoftwareSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteSoftwareSourceResponse) String() string
DetachChildSoftwareSourceFromManagedInstanceDetails Information for detaching a software source from a managed instance
type DetachChildSoftwareSourceFromManagedInstanceDetails struct { // OCID for the Software Source SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"` }
func (m DetachChildSoftwareSourceFromManagedInstanceDetails) String() string
func (m DetachChildSoftwareSourceFromManagedInstanceDetails) 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
DetachChildSoftwareSourceFromManagedInstanceRequest wrapper for the DetachChildSoftwareSourceFromManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/DetachChildSoftwareSourceFromManagedInstance.go.html to see an example of how to use 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 }
func (request DetachChildSoftwareSourceFromManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DetachChildSoftwareSourceFromManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DetachChildSoftwareSourceFromManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DetachChildSoftwareSourceFromManagedInstanceRequest) String() string
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
DetachChildSoftwareSourceFromManagedInstanceResponse wrapper for the DetachChildSoftwareSourceFromManagedInstance operation
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"` }
func (response DetachChildSoftwareSourceFromManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DetachChildSoftwareSourceFromManagedInstanceResponse) String() string
DetachManagedInstanceFromManagedInstanceGroupRequest wrapper for the DetachManagedInstanceFromManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/DetachManagedInstanceFromManagedInstanceGroup.go.html to see an example of how to use 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 }
func (request DetachManagedInstanceFromManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DetachManagedInstanceFromManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DetachManagedInstanceFromManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DetachManagedInstanceFromManagedInstanceGroupRequest) String() string
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
DetachManagedInstanceFromManagedInstanceGroupResponse wrapper for the DetachManagedInstanceFromManagedInstanceGroup operation
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"` }
func (response DetachManagedInstanceFromManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DetachManagedInstanceFromManagedInstanceGroupResponse) String() string
DetachParentSoftwareSourceFromManagedInstanceDetails Information for detaching a software source from a managed instance
type DetachParentSoftwareSourceFromManagedInstanceDetails struct { // OCID for the Software Source SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"` }
func (m DetachParentSoftwareSourceFromManagedInstanceDetails) String() string
func (m DetachParentSoftwareSourceFromManagedInstanceDetails) 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
DetachParentSoftwareSourceFromManagedInstanceRequest wrapper for the DetachParentSoftwareSourceFromManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/DetachParentSoftwareSourceFromManagedInstance.go.html to see an example of how to use 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 }
func (request DetachParentSoftwareSourceFromManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DetachParentSoftwareSourceFromManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DetachParentSoftwareSourceFromManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DetachParentSoftwareSourceFromManagedInstanceRequest) String() string
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
DetachParentSoftwareSourceFromManagedInstanceResponse wrapper for the DetachParentSoftwareSourceFromManagedInstance operation
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"` }
func (response DetachParentSoftwareSourceFromManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DetachParentSoftwareSourceFromManagedInstanceResponse) String() string
DisableModuleStreamOnManagedInstanceRequest wrapper for the DisableModuleStreamOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/DisableModuleStreamOnManagedInstance.go.html to see an example of how to use DisableModuleStreamOnManagedInstanceRequest.
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 }
func (request DisableModuleStreamOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DisableModuleStreamOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DisableModuleStreamOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DisableModuleStreamOnManagedInstanceRequest) String() string
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
DisableModuleStreamOnManagedInstanceResponse wrapper for the DisableModuleStreamOnManagedInstance operation
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"` }
func (response DisableModuleStreamOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DisableModuleStreamOnManagedInstanceResponse) String() string
EnableModuleStreamOnManagedInstanceRequest wrapper for the EnableModuleStreamOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/EnableModuleStreamOnManagedInstance.go.html to see an example of how to use EnableModuleStreamOnManagedInstanceRequest.
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 }
func (request EnableModuleStreamOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request EnableModuleStreamOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request EnableModuleStreamOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request EnableModuleStreamOnManagedInstanceRequest) String() string
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
EnableModuleStreamOnManagedInstanceResponse wrapper for the EnableModuleStreamOnManagedInstance operation
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"` }
func (response EnableModuleStreamOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response EnableModuleStreamOnManagedInstanceResponse) String() string
Erratum Details about the 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"` }
func (m Erratum) String() string
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
ErratumSummary Important changes for software. This can include security | advisories, bug fixes, or enhancements.
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"` }
func (m ErratumSummary) String() string
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
Event Description of 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{} }
EventClient a client for Event
type EventClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (client *EventClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
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/65.54.0/osmanagement/DeleteEventContent.go.html to see an example of how to use DeleteEventContent API.
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/65.54.0/osmanagement/GetEvent.go.html to see an example of how to use GetEvent API.
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/65.54.0/osmanagement/GetEventContent.go.html to see an example of how to use GetEventContent API.
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/65.54.0/osmanagement/GetEventReport.go.html to see an example of how to use GetEventReport API.
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/65.54.0/osmanagement/ListEvents.go.html to see an example of how to use ListEvents API.
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/65.54.0/osmanagement/ListRelatedEvents.go.html to see an example of how to use ListRelatedEvents API.
func (client *EventClient) SetRegion(region string)
SetRegion overrides the region of this client.
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/65.54.0/osmanagement/UpdateEvent.go.html to see an example of how to use UpdateEvent API.
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/65.54.0/osmanagement/UploadEventContent.go.html to see an example of how to use UploadEventContent API.
EventCollection Results of a event search. Contains both EventSummary items and other information, such as metadata.
type EventCollection struct { // List of events. Items []EventSummary `mandatory:"true" json:"items"` }
func (m EventCollection) String() string
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
EventContent Information about the data collected as a ZIP file when the event occurred.
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"` }
func (m EventContent) String() string
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
EventReport Summary about event occurrences on a system.
type EventReport struct { // count of events currently registered on the system. Count *int `mandatory:"true" json:"count"` }
func (m EventReport) String() string
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
EventSummary Summary of the Event.
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"` }
func (m EventSummary) String() string
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
EventTypeEnum Enum with underlying type: string
type EventTypeEnum string
Set of constants representing the allowable values for EventTypeEnum
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" )
func GetEventTypeEnumValues() []EventTypeEnum
GetEventTypeEnumValues Enumerates the set of values for EventTypeEnum
func GetMappingEventTypeEnum(val string) (EventTypeEnum, bool)
GetMappingEventTypeEnum performs case Insensitive comparison on enum value and return the desired enum
GetErratumRequest wrapper for the GetErratum operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/GetErratum.go.html to see an example of how to use 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 }
func (request GetErratumRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetErratumRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetErratumRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetErratumRequest) String() string
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
GetErratumResponse wrapper for the GetErratum operation
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"` }
func (response GetErratumResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetErratumResponse) String() string
GetEventContentRequest wrapper for the GetEventContent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/GetEventContent.go.html to see an example of how to use 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 }
func (request GetEventContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetEventContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetEventContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetEventContentRequest) String() string
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
GetEventContentResponse wrapper for the GetEventContent operation
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"` }
func (response GetEventContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetEventContentResponse) String() string
GetEventReportRequest wrapper for the GetEventReport operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/GetEventReport.go.html to see an example of how to use 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 }
func (request GetEventReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetEventReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetEventReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetEventReportRequest) String() string
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
GetEventReportResponse wrapper for the GetEventReport operation
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"` }
func (response GetEventReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetEventReportResponse) String() string
GetEventRequest wrapper for the GetEvent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/GetEvent.go.html to see an example of how to use 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 }
func (request GetEventRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetEventRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetEventRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetEventRequest) String() string
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
GetEventResponse wrapper for the GetEvent operation
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"` }
func (response GetEventResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetEventResponse) String() string
GetManagedInstanceGroupRequest wrapper for the GetManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/GetManagedInstanceGroup.go.html to see an example of how to use 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 }
func (request GetManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagedInstanceGroupRequest) String() string
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
GetManagedInstanceGroupResponse wrapper for the GetManagedInstanceGroup operation
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"` }
func (response GetManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagedInstanceGroupResponse) String() string
GetManagedInstanceRequest wrapper for the GetManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/GetManagedInstance.go.html to see an example of how to use 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 }
func (request GetManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagedInstanceRequest) String() string
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
GetManagedInstanceResponse wrapper for the GetManagedInstance operation
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"` }
func (response GetManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagedInstanceResponse) String() string
GetModuleStreamProfileRequest wrapper for the GetModuleStreamProfile operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/GetModuleStreamProfile.go.html to see an example of how to use GetModuleStreamProfileRequest.
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 }
func (request GetModuleStreamProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetModuleStreamProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetModuleStreamProfileRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetModuleStreamProfileRequest) String() string
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
GetModuleStreamProfileResponse wrapper for the GetModuleStreamProfile operation
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"` }
func (response GetModuleStreamProfileResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetModuleStreamProfileResponse) String() string
GetModuleStreamRequest wrapper for the GetModuleStream operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/GetModuleStream.go.html to see an example of how to use GetModuleStreamRequest.
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 }
func (request GetModuleStreamRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetModuleStreamRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetModuleStreamRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetModuleStreamRequest) String() string
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
GetModuleStreamResponse wrapper for the GetModuleStream operation
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"` }
func (response GetModuleStreamResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetModuleStreamResponse) String() string
GetScheduledJobRequest wrapper for the GetScheduledJob operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/GetScheduledJob.go.html to see an example of how to use 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 }
func (request GetScheduledJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetScheduledJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetScheduledJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetScheduledJobRequest) String() string
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
GetScheduledJobResponse wrapper for the GetScheduledJob operation
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"` }
func (response GetScheduledJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetScheduledJobResponse) String() string
GetSoftwarePackageRequest wrapper for the GetSoftwarePackage operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/GetSoftwarePackage.go.html to see an example of how to use 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 }
func (request GetSoftwarePackageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSoftwarePackageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSoftwarePackageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSoftwarePackageRequest) String() string
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
GetSoftwarePackageResponse wrapper for the GetSoftwarePackage operation
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"` }
func (response GetSoftwarePackageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSoftwarePackageResponse) String() string
GetSoftwareSourceRequest wrapper for the GetSoftwareSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/GetSoftwareSource.go.html to see an example of how to use 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 }
func (request GetSoftwareSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSoftwareSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSoftwareSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSoftwareSourceRequest) String() string
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
GetSoftwareSourceResponse wrapper for the GetSoftwareSource operation
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"` }
func (response GetSoftwareSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSoftwareSourceResponse) String() string
GetWindowsUpdateRequest wrapper for the GetWindowsUpdate operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/GetWindowsUpdate.go.html to see an example of how to use 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 }
func (request GetWindowsUpdateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWindowsUpdateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWindowsUpdateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWindowsUpdateRequest) String() string
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
GetWindowsUpdateResponse wrapper for the GetWindowsUpdate operation
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"` }
func (response GetWindowsUpdateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWindowsUpdateResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/GetWorkRequest.go.html to see an example of how to use 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 }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
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
GetWorkRequestResponse wrapper for the GetWorkRequest operation
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"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
Id An id along with a name to simplify display for a user
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"` }
func (m Id) String() string
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
InstallAllPackageUpdatesOnManagedInstanceRequest wrapper for the InstallAllPackageUpdatesOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/InstallAllPackageUpdatesOnManagedInstance.go.html to see an example of how to use 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 }
func (request InstallAllPackageUpdatesOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request InstallAllPackageUpdatesOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request InstallAllPackageUpdatesOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request InstallAllPackageUpdatesOnManagedInstanceRequest) String() string
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
InstallAllPackageUpdatesOnManagedInstanceResponse wrapper for the InstallAllPackageUpdatesOnManagedInstance operation
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"` }
func (response InstallAllPackageUpdatesOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response InstallAllPackageUpdatesOnManagedInstanceResponse) String() string
InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum Enum with underlying type: string
type InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum string
Set of constants representing the allowable values for InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum
const ( InstallAllPackageUpdatesOnManagedInstanceUpdateTypeSecurity InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum = "SECURITY" InstallAllPackageUpdatesOnManagedInstanceUpdateTypeBugfix InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum = "BUGFIX" InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnhancement InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum = "ENHANCEMENT" InstallAllPackageUpdatesOnManagedInstanceUpdateTypeOther InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum = "OTHER" InstallAllPackageUpdatesOnManagedInstanceUpdateTypeKsplice InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum = "KSPLICE" InstallAllPackageUpdatesOnManagedInstanceUpdateTypeAll InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum = "ALL" )
func GetInstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnumValues() []InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum
GetInstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnumValues Enumerates the set of values for InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum
func GetMappingInstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum(val string) (InstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum, bool)
GetMappingInstallAllPackageUpdatesOnManagedInstanceUpdateTypeEnum performs case Insensitive comparison on enum value and return the desired enum
InstallAllUpdatesOnManagedInstanceGroupRequest wrapper for the InstallAllUpdatesOnManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/InstallAllUpdatesOnManagedInstanceGroup.go.html to see an example of how to use 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 }
func (request InstallAllUpdatesOnManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request InstallAllUpdatesOnManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request InstallAllUpdatesOnManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request InstallAllUpdatesOnManagedInstanceGroupRequest) String() string
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
InstallAllUpdatesOnManagedInstanceGroupResponse wrapper for the InstallAllUpdatesOnManagedInstanceGroup operation
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"` }
func (response InstallAllUpdatesOnManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response InstallAllUpdatesOnManagedInstanceGroupResponse) String() string
InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum Enum with underlying type: string
type InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum string
Set of constants representing the allowable values for InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum
const ( InstallAllUpdatesOnManagedInstanceGroupUpdateTypeSecurity InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum = "SECURITY" InstallAllUpdatesOnManagedInstanceGroupUpdateTypeBugfix InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum = "BUGFIX" InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnhancement InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum = "ENHANCEMENT" InstallAllUpdatesOnManagedInstanceGroupUpdateTypeOther InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum = "OTHER" InstallAllUpdatesOnManagedInstanceGroupUpdateTypeKsplice InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum = "KSPLICE" InstallAllUpdatesOnManagedInstanceGroupUpdateTypeAll InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum = "ALL" )
func GetInstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnumValues() []InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum
GetInstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnumValues Enumerates the set of values for InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum
func GetMappingInstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum(val string) (InstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum, bool)
GetMappingInstallAllUpdatesOnManagedInstanceGroupUpdateTypeEnum performs case Insensitive comparison on enum value and return the desired enum
InstallAllWindowsUpdatesOnManagedInstanceRequest wrapper for the InstallAllWindowsUpdatesOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/InstallAllWindowsUpdatesOnManagedInstance.go.html to see an example of how to use 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 }
func (request InstallAllWindowsUpdatesOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request InstallAllWindowsUpdatesOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request InstallAllWindowsUpdatesOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request InstallAllWindowsUpdatesOnManagedInstanceRequest) String() string
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
InstallAllWindowsUpdatesOnManagedInstanceResponse wrapper for the InstallAllWindowsUpdatesOnManagedInstance operation
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"` }
func (response InstallAllWindowsUpdatesOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response InstallAllWindowsUpdatesOnManagedInstanceResponse) String() string
InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum Enum with underlying type: string
type InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum string
Set of constants representing the allowable values for InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum
const ( InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeSecurity InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum = "SECURITY" InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeBugfix InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum = "BUGFIX" InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnhancement InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum = "ENHANCEMENT" InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeOther InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum = "OTHER" InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeKsplice InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum = "KSPLICE" InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeAll InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum = "ALL" )
func GetInstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnumValues() []InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum
GetInstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnumValues Enumerates the set of values for InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum
func GetMappingInstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum(val string) (InstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum, bool)
GetMappingInstallAllWindowsUpdatesOnManagedInstanceUpdateTypeEnum performs case Insensitive comparison on enum value and return the desired enum
InstallModuleStreamProfileOnManagedInstanceRequest wrapper for the InstallModuleStreamProfileOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/InstallModuleStreamProfileOnManagedInstance.go.html to see an example of how to use InstallModuleStreamProfileOnManagedInstanceRequest.
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 }
func (request InstallModuleStreamProfileOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request InstallModuleStreamProfileOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request InstallModuleStreamProfileOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request InstallModuleStreamProfileOnManagedInstanceRequest) String() string
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
InstallModuleStreamProfileOnManagedInstanceResponse wrapper for the InstallModuleStreamProfileOnManagedInstance operation
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"` }
func (response InstallModuleStreamProfileOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response InstallModuleStreamProfileOnManagedInstanceResponse) String() string
InstallPackageOnManagedInstanceRequest wrapper for the InstallPackageOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/InstallPackageOnManagedInstance.go.html to see an example of how to use 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 }
func (request InstallPackageOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request InstallPackageOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request InstallPackageOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request InstallPackageOnManagedInstanceRequest) String() string
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
InstallPackageOnManagedInstanceResponse wrapper for the InstallPackageOnManagedInstance operation
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"` }
func (response InstallPackageOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response InstallPackageOnManagedInstanceResponse) String() string
InstallPackageUpdateOnManagedInstanceRequest wrapper for the InstallPackageUpdateOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/InstallPackageUpdateOnManagedInstance.go.html to see an example of how to use 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 }
func (request InstallPackageUpdateOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request InstallPackageUpdateOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request InstallPackageUpdateOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request InstallPackageUpdateOnManagedInstanceRequest) String() string
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
InstallPackageUpdateOnManagedInstanceResponse wrapper for the InstallPackageUpdateOnManagedInstance operation
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"` }
func (response InstallPackageUpdateOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response InstallPackageUpdateOnManagedInstanceResponse) String() string
InstallWindowsUpdateOnManagedInstanceRequest wrapper for the InstallWindowsUpdateOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/InstallWindowsUpdateOnManagedInstance.go.html to see an example of how to use 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 }
func (request InstallWindowsUpdateOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request InstallWindowsUpdateOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request InstallWindowsUpdateOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request InstallWindowsUpdateOnManagedInstanceRequest) String() string
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
InstallWindowsUpdateOnManagedInstanceResponse wrapper for the InstallWindowsUpdateOnManagedInstance operation
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"` }
func (response InstallWindowsUpdateOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response InstallWindowsUpdateOnManagedInstanceResponse) String() string
InstallablePackageSummary A software package available for install on a managed instance
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"` }
func (m InstallablePackageSummary) String() string
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
InstalledPackageSummary A software package installed on a managed instance
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"` }
func (m InstalledPackageSummary) String() string
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
InstalledWindowsUpdateSummary A Windows update installed on the Windows managed instance.
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"` }
func (m InstalledWindowsUpdateSummary) String() string
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
IntervalTypesEnum Enum with underlying type: string
type IntervalTypesEnum string
Set of constants representing the allowable values for IntervalTypesEnum
const ( IntervalTypesHour IntervalTypesEnum = "HOUR" IntervalTypesDay IntervalTypesEnum = "DAY" IntervalTypesWeek IntervalTypesEnum = "WEEK" IntervalTypesMonth IntervalTypesEnum = "MONTH" )
func GetIntervalTypesEnumValues() []IntervalTypesEnum
GetIntervalTypesEnumValues Enumerates the set of values for IntervalTypesEnum
func GetMappingIntervalTypesEnum(val string) (IntervalTypesEnum, bool)
GetMappingIntervalTypesEnum performs case Insensitive comparison on enum value and return the desired enum
IsEligibleForInstallationEnum Enum with underlying type: string
type IsEligibleForInstallationEnum string
Set of constants representing the allowable values for IsEligibleForInstallationEnum
const ( IsEligibleForInstallationInstallable IsEligibleForInstallationEnum = "INSTALLABLE" IsEligibleForInstallationNotInstallable IsEligibleForInstallationEnum = "NOT_INSTALLABLE" IsEligibleForInstallationUnknown IsEligibleForInstallationEnum = "UNKNOWN" )
func GetIsEligibleForInstallationEnumValues() []IsEligibleForInstallationEnum
GetIsEligibleForInstallationEnumValues Enumerates the set of values for IsEligibleForInstallationEnum
func GetMappingIsEligibleForInstallationEnum(val string) (IsEligibleForInstallationEnum, bool)
GetMappingIsEligibleForInstallationEnum performs case Insensitive comparison on enum value and return the desired enum
KernelCrashEvent Information about a Kernel Crash.
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"` }
func (m KernelCrashEvent) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m KernelCrashEvent) GetCount() *int
GetCount returns Count
func (m KernelCrashEvent) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m KernelCrashEvent) GetEventFingerprint() *string
GetEventFingerprint returns EventFingerprint
func (m KernelCrashEvent) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m KernelCrashEvent) GetId() *string
GetId returns Id
func (m KernelCrashEvent) GetInstanceId() *string
GetInstanceId returns InstanceId
func (m KernelCrashEvent) GetSummary() *string
GetSummary returns Summary
func (m KernelCrashEvent) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m KernelCrashEvent) GetTenancyId() *string
GetTenancyId returns TenancyId
func (m KernelCrashEvent) GetTimestamp() *common.SDKTime
GetTimestamp returns Timestamp
func (m KernelCrashEvent) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m KernelCrashEvent) String() string
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
KernelOopsEvent Information about a Kernel Oops.
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"` }
func (m KernelOopsEvent) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m KernelOopsEvent) GetCount() *int
GetCount returns Count
func (m KernelOopsEvent) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m KernelOopsEvent) GetEventFingerprint() *string
GetEventFingerprint returns EventFingerprint
func (m KernelOopsEvent) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m KernelOopsEvent) GetId() *string
GetId returns Id
func (m KernelOopsEvent) GetInstanceId() *string
GetInstanceId returns InstanceId
func (m KernelOopsEvent) GetSummary() *string
GetSummary returns Summary
func (m KernelOopsEvent) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m KernelOopsEvent) GetTenancyId() *string
GetTenancyId returns TenancyId
func (m KernelOopsEvent) GetTimestamp() *common.SDKTime
GetTimestamp returns Timestamp
func (m KernelOopsEvent) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m KernelOopsEvent) String() string
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
KernelVmCoreInformation VMcore information.
type KernelVmCoreInformation struct { // Kernel module responsible of the crash. Component *string `mandatory:"false" json:"component"` // Crash backtrace. Backtrace *string `mandatory:"false" json:"backtrace"` }
func (m KernelVmCoreInformation) String() string
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
LifecycleStatesEnum Enum with underlying type: string
type LifecycleStatesEnum string
Set of constants representing the allowable values for LifecycleStatesEnum
const ( LifecycleStatesCreating LifecycleStatesEnum = "CREATING" LifecycleStatesUpdating LifecycleStatesEnum = "UPDATING" LifecycleStatesActive LifecycleStatesEnum = "ACTIVE" LifecycleStatesDeleting LifecycleStatesEnum = "DELETING" LifecycleStatesDeleted LifecycleStatesEnum = "DELETED" LifecycleStatesFailed LifecycleStatesEnum = "FAILED" )
func GetLifecycleStatesEnumValues() []LifecycleStatesEnum
GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum
func GetMappingLifecycleStatesEnum(val string) (LifecycleStatesEnum, bool)
GetMappingLifecycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum
ListAvailablePackagesForManagedInstanceRequest wrapper for the ListAvailablePackagesForManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/ListAvailablePackagesForManagedInstance.go.html to see an example of how to use 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 }
func (request ListAvailablePackagesForManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAvailablePackagesForManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAvailablePackagesForManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAvailablePackagesForManagedInstanceRequest) String() string
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
ListAvailablePackagesForManagedInstanceResponse wrapper for the ListAvailablePackagesForManagedInstance operation
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"` }
func (response ListAvailablePackagesForManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAvailablePackagesForManagedInstanceResponse) String() string
ListAvailablePackagesForManagedInstanceSortByEnum Enum with underlying type: string
type ListAvailablePackagesForManagedInstanceSortByEnum string
Set of constants representing the allowable values for ListAvailablePackagesForManagedInstanceSortByEnum
const ( ListAvailablePackagesForManagedInstanceSortByTimecreated ListAvailablePackagesForManagedInstanceSortByEnum = "TIMECREATED" ListAvailablePackagesForManagedInstanceSortByDisplayname ListAvailablePackagesForManagedInstanceSortByEnum = "DISPLAYNAME" )
func GetListAvailablePackagesForManagedInstanceSortByEnumValues() []ListAvailablePackagesForManagedInstanceSortByEnum
GetListAvailablePackagesForManagedInstanceSortByEnumValues Enumerates the set of values for ListAvailablePackagesForManagedInstanceSortByEnum
func GetMappingListAvailablePackagesForManagedInstanceSortByEnum(val string) (ListAvailablePackagesForManagedInstanceSortByEnum, bool)
GetMappingListAvailablePackagesForManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAvailablePackagesForManagedInstanceSortOrderEnum Enum with underlying type: string
type ListAvailablePackagesForManagedInstanceSortOrderEnum string
Set of constants representing the allowable values for ListAvailablePackagesForManagedInstanceSortOrderEnum
const ( ListAvailablePackagesForManagedInstanceSortOrderAsc ListAvailablePackagesForManagedInstanceSortOrderEnum = "ASC" ListAvailablePackagesForManagedInstanceSortOrderDesc ListAvailablePackagesForManagedInstanceSortOrderEnum = "DESC" )
func GetListAvailablePackagesForManagedInstanceSortOrderEnumValues() []ListAvailablePackagesForManagedInstanceSortOrderEnum
GetListAvailablePackagesForManagedInstanceSortOrderEnumValues Enumerates the set of values for ListAvailablePackagesForManagedInstanceSortOrderEnum
func GetMappingListAvailablePackagesForManagedInstanceSortOrderEnum(val string) (ListAvailablePackagesForManagedInstanceSortOrderEnum, bool)
GetMappingListAvailablePackagesForManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAvailableSoftwareSourcesForManagedInstanceRequest wrapper for the ListAvailableSoftwareSourcesForManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/ListAvailableSoftwareSourcesForManagedInstance.go.html to see an example of how to use 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 }
func (request ListAvailableSoftwareSourcesForManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAvailableSoftwareSourcesForManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAvailableSoftwareSourcesForManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAvailableSoftwareSourcesForManagedInstanceRequest) String() string
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
ListAvailableSoftwareSourcesForManagedInstanceResponse wrapper for the ListAvailableSoftwareSourcesForManagedInstance operation
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"` }
func (response ListAvailableSoftwareSourcesForManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAvailableSoftwareSourcesForManagedInstanceResponse) String() string
ListAvailableSoftwareSourcesForManagedInstanceSortByEnum Enum with underlying type: string
type ListAvailableSoftwareSourcesForManagedInstanceSortByEnum string
Set of constants representing the allowable values for ListAvailableSoftwareSourcesForManagedInstanceSortByEnum
const ( ListAvailableSoftwareSourcesForManagedInstanceSortByTimecreated ListAvailableSoftwareSourcesForManagedInstanceSortByEnum = "TIMECREATED" ListAvailableSoftwareSourcesForManagedInstanceSortByDisplayname ListAvailableSoftwareSourcesForManagedInstanceSortByEnum = "DISPLAYNAME" )
func GetListAvailableSoftwareSourcesForManagedInstanceSortByEnumValues() []ListAvailableSoftwareSourcesForManagedInstanceSortByEnum
GetListAvailableSoftwareSourcesForManagedInstanceSortByEnumValues Enumerates the set of values for ListAvailableSoftwareSourcesForManagedInstanceSortByEnum
func GetMappingListAvailableSoftwareSourcesForManagedInstanceSortByEnum(val string) (ListAvailableSoftwareSourcesForManagedInstanceSortByEnum, bool)
GetMappingListAvailableSoftwareSourcesForManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum Enum with underlying type: string
type ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum string
Set of constants representing the allowable values for ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum
const ( ListAvailableSoftwareSourcesForManagedInstanceSortOrderAsc ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum = "ASC" ListAvailableSoftwareSourcesForManagedInstanceSortOrderDesc ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum = "DESC" )
func GetListAvailableSoftwareSourcesForManagedInstanceSortOrderEnumValues() []ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum
GetListAvailableSoftwareSourcesForManagedInstanceSortOrderEnumValues Enumerates the set of values for ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum
func GetMappingListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum(val string) (ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum, bool)
GetMappingListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAvailableUpdatesForManagedInstanceRequest wrapper for the ListAvailableUpdatesForManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/ListAvailableUpdatesForManagedInstance.go.html to see an example of how to use 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 }
func (request ListAvailableUpdatesForManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAvailableUpdatesForManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAvailableUpdatesForManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAvailableUpdatesForManagedInstanceRequest) String() string
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
ListAvailableUpdatesForManagedInstanceResponse wrapper for the ListAvailableUpdatesForManagedInstance operation
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"` }
func (response ListAvailableUpdatesForManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAvailableUpdatesForManagedInstanceResponse) String() string
ListAvailableUpdatesForManagedInstanceSortByEnum Enum with underlying type: string
type ListAvailableUpdatesForManagedInstanceSortByEnum string
Set of constants representing the allowable values for ListAvailableUpdatesForManagedInstanceSortByEnum
const ( ListAvailableUpdatesForManagedInstanceSortByTimecreated ListAvailableUpdatesForManagedInstanceSortByEnum = "TIMECREATED" ListAvailableUpdatesForManagedInstanceSortByDisplayname ListAvailableUpdatesForManagedInstanceSortByEnum = "DISPLAYNAME" )
func GetListAvailableUpdatesForManagedInstanceSortByEnumValues() []ListAvailableUpdatesForManagedInstanceSortByEnum
GetListAvailableUpdatesForManagedInstanceSortByEnumValues Enumerates the set of values for ListAvailableUpdatesForManagedInstanceSortByEnum
func GetMappingListAvailableUpdatesForManagedInstanceSortByEnum(val string) (ListAvailableUpdatesForManagedInstanceSortByEnum, bool)
GetMappingListAvailableUpdatesForManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAvailableUpdatesForManagedInstanceSortOrderEnum Enum with underlying type: string
type ListAvailableUpdatesForManagedInstanceSortOrderEnum string
Set of constants representing the allowable values for ListAvailableUpdatesForManagedInstanceSortOrderEnum
const ( ListAvailableUpdatesForManagedInstanceSortOrderAsc ListAvailableUpdatesForManagedInstanceSortOrderEnum = "ASC" ListAvailableUpdatesForManagedInstanceSortOrderDesc ListAvailableUpdatesForManagedInstanceSortOrderEnum = "DESC" )
func GetListAvailableUpdatesForManagedInstanceSortOrderEnumValues() []ListAvailableUpdatesForManagedInstanceSortOrderEnum
GetListAvailableUpdatesForManagedInstanceSortOrderEnumValues Enumerates the set of values for ListAvailableUpdatesForManagedInstanceSortOrderEnum
func GetMappingListAvailableUpdatesForManagedInstanceSortOrderEnum(val string) (ListAvailableUpdatesForManagedInstanceSortOrderEnum, bool)
GetMappingListAvailableUpdatesForManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum Enum with underlying type: string
type ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum string
Set of constants representing the allowable values for ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum
const ( ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationInstallable ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum = "INSTALLABLE" ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationNotInstallable ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum = "NOT_INSTALLABLE" ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationUnknown ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum = "UNKNOWN" )
func GetListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnumValues() []ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum
GetListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnumValues Enumerates the set of values for ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum
func GetMappingListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum(val string) (ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum, bool)
GetMappingListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum performs case Insensitive comparison on enum value and return the desired enum
ListAvailableWindowsUpdatesForManagedInstanceRequest wrapper for the ListAvailableWindowsUpdatesForManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/ListAvailableWindowsUpdatesForManagedInstance.go.html to see an example of how to use 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 }
func (request ListAvailableWindowsUpdatesForManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAvailableWindowsUpdatesForManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAvailableWindowsUpdatesForManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAvailableWindowsUpdatesForManagedInstanceRequest) String() string
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
ListAvailableWindowsUpdatesForManagedInstanceResponse wrapper for the ListAvailableWindowsUpdatesForManagedInstance operation
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"` }
func (response ListAvailableWindowsUpdatesForManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAvailableWindowsUpdatesForManagedInstanceResponse) String() string
ListAvailableWindowsUpdatesForManagedInstanceSortByEnum Enum with underlying type: string
type ListAvailableWindowsUpdatesForManagedInstanceSortByEnum string
Set of constants representing the allowable values for ListAvailableWindowsUpdatesForManagedInstanceSortByEnum
const ( ListAvailableWindowsUpdatesForManagedInstanceSortByTimecreated ListAvailableWindowsUpdatesForManagedInstanceSortByEnum = "TIMECREATED" ListAvailableWindowsUpdatesForManagedInstanceSortByDisplayname ListAvailableWindowsUpdatesForManagedInstanceSortByEnum = "DISPLAYNAME" )
func GetListAvailableWindowsUpdatesForManagedInstanceSortByEnumValues() []ListAvailableWindowsUpdatesForManagedInstanceSortByEnum
GetListAvailableWindowsUpdatesForManagedInstanceSortByEnumValues Enumerates the set of values for ListAvailableWindowsUpdatesForManagedInstanceSortByEnum
func GetMappingListAvailableWindowsUpdatesForManagedInstanceSortByEnum(val string) (ListAvailableWindowsUpdatesForManagedInstanceSortByEnum, bool)
GetMappingListAvailableWindowsUpdatesForManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum Enum with underlying type: string
type ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum string
Set of constants representing the allowable values for ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum
const ( ListAvailableWindowsUpdatesForManagedInstanceSortOrderAsc ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum = "ASC" ListAvailableWindowsUpdatesForManagedInstanceSortOrderDesc ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum = "DESC" )
func GetListAvailableWindowsUpdatesForManagedInstanceSortOrderEnumValues() []ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum
GetListAvailableWindowsUpdatesForManagedInstanceSortOrderEnumValues Enumerates the set of values for ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum
func GetMappingListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum(val string) (ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum, bool)
GetMappingListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListErrataRequest wrapper for the ListErrata operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/ListErrata.go.html to see an example of how to use 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 }
func (request ListErrataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListErrataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListErrataRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListErrataRequest) String() string
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
ListErrataResponse wrapper for the ListErrata operation
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"` }
func (response ListErrataResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListErrataResponse) String() string
ListErrataSortByEnum Enum with underlying type: string
type ListErrataSortByEnum string
Set of constants representing the allowable values for ListErrataSortByEnum
const ( ListErrataSortByIssuedate ListErrataSortByEnum = "ISSUEDATE" ListErrataSortByAdvisoryname ListErrataSortByEnum = "ADVISORYNAME" )
func GetListErrataSortByEnumValues() []ListErrataSortByEnum
GetListErrataSortByEnumValues Enumerates the set of values for ListErrataSortByEnum
func GetMappingListErrataSortByEnum(val string) (ListErrataSortByEnum, bool)
GetMappingListErrataSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListErrataSortOrderEnum Enum with underlying type: string
type ListErrataSortOrderEnum string
Set of constants representing the allowable values for ListErrataSortOrderEnum
const ( ListErrataSortOrderAsc ListErrataSortOrderEnum = "ASC" ListErrataSortOrderDesc ListErrataSortOrderEnum = "DESC" )
func GetListErrataSortOrderEnumValues() []ListErrataSortOrderEnum
GetListErrataSortOrderEnumValues Enumerates the set of values for ListErrataSortOrderEnum
func GetMappingListErrataSortOrderEnum(val string) (ListErrataSortOrderEnum, bool)
GetMappingListErrataSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListEventsEventTypeEnum Enum with underlying type: string
type ListEventsEventTypeEnum string
Set of constants representing the allowable values for ListEventsEventTypeEnum
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" )
func GetListEventsEventTypeEnumValues() []ListEventsEventTypeEnum
GetListEventsEventTypeEnumValues Enumerates the set of values for ListEventsEventTypeEnum
func GetMappingListEventsEventTypeEnum(val string) (ListEventsEventTypeEnum, bool)
GetMappingListEventsEventTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListEventsRequest wrapper for the ListEvents operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/ListEvents.go.html to see an example of how to use 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 }
func (request ListEventsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListEventsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListEventsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListEventsRequest) String() string
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
ListEventsResponse wrapper for the ListEvents operation
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"` }
func (response ListEventsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListEventsResponse) String() string
ListEventsSortByEnum Enum with underlying type: string
type ListEventsSortByEnum string
Set of constants representing the allowable values for ListEventsSortByEnum
const ( ListEventsSortByTimecreated ListEventsSortByEnum = "TIMECREATED" ListEventsSortByDisplayname ListEventsSortByEnum = "DISPLAYNAME" )
func GetListEventsSortByEnumValues() []ListEventsSortByEnum
GetListEventsSortByEnumValues Enumerates the set of values for ListEventsSortByEnum
func GetMappingListEventsSortByEnum(val string) (ListEventsSortByEnum, bool)
GetMappingListEventsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListEventsSortOrderEnum Enum with underlying type: string
type ListEventsSortOrderEnum string
Set of constants representing the allowable values for ListEventsSortOrderEnum
const ( ListEventsSortOrderAsc ListEventsSortOrderEnum = "ASC" ListEventsSortOrderDesc ListEventsSortOrderEnum = "DESC" )
func GetListEventsSortOrderEnumValues() []ListEventsSortOrderEnum
GetListEventsSortOrderEnumValues Enumerates the set of values for ListEventsSortOrderEnum
func GetMappingListEventsSortOrderEnum(val string) (ListEventsSortOrderEnum, bool)
GetMappingListEventsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceErrataRequest wrapper for the ListManagedInstanceErrata operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/osmanagement/ListManagedInstanceErrata.go.html to see an example of how to use 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 }
func (request ListManagedInstanceErrataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedInstanceErrataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstanceErrataRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstanceErrataRequest) String() string
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
ListManagedInstanceErrataResponse wrapper for the ListManagedInstanceErrata operation
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"` }
func (response ListManagedInstanceErrataResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstanceErrataResponse) String() string
ListManagedInstanceErrataSortByEnum Enum with underlying type: string
type ListManagedInstanceErrataSortByEnum string
Set of constants representing the allowable values for ListManagedInstanceErrataSortByEnum
const ( ListManagedInstanceErrataSortByTimecreated ListManagedInstanceErrataSortByEnum = "TIMECREATED" ListManagedInstanceErrataSortByDisplayname ListManagedInstanceErrataSortByEnum = "DISPLAYNAME" )
func GetListManagedInstanceErrataSortByEnumValues() []ListManagedInstanceErrataSortByEnum
GetListManagedInstanceErrataSortByEnumValues Enumerates the set of values for ListManagedInstanceErrataSortByEnum
func GetMappingListManagedInstanceErrataSortByEnum(val string) (ListManagedInstanceErrataSortByEnum, bool)
GetMappingListManagedInstanceErrataSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceErrataSortOrderEnum Enum with underlying type: string
type ListManagedInstanceErrataSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstanceErrataSortOrderEnum
const ( ListManagedInstanceErrataSortOrderAsc ListManagedInstanceErrataSortOrderEnum = "ASC" ListManagedInstanceErrataSortOrderDesc ListManagedInstanceErrataSortOrderEnum = "DESC" )