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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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.oracle.com/iaas/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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.oracle.com/iaas/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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.oracle.com/iaas/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/DeleteEventContent.go.html to see an example of how to use DeleteEventContent API.
func (client EventClient) GetEvent(ctx context.Context, request GetEventRequest) (response GetEventResponse, err error)
GetEvent Gets an Event by identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/GetEvent.go.html to see an example of how to use GetEvent API.
func (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.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/GetEventContent.go.html to see an example of how to use GetEventContent API.
func (client EventClient) GetEventReport(ctx context.Context, request GetEventReportRequest) (response GetEventReportResponse, err error)
GetEventReport Get summary information about events on this instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/GetEventReport.go.html to see an example of how to use GetEventReport API.
func (client EventClient) ListEvents(ctx context.Context, request ListEventsRequest) (response ListEventsResponse, err error)
ListEvents Returns a list of Events.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListEvents.go.html to see an example of how to use ListEvents API.
func (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.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListRelatedEvents.go.html to see an example of how to use ListRelatedEvents API.
func (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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/UpdateEvent.go.html to see an example of how to use UpdateEvent API.
func (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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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" )
func GetListManagedInstanceErrataSortOrderEnumValues() []ListManagedInstanceErrataSortOrderEnum
GetListManagedInstanceErrataSortOrderEnumValues Enumerates the set of values for ListManagedInstanceErrataSortOrderEnum
func GetMappingListManagedInstanceErrataSortOrderEnum(val string) (ListManagedInstanceErrataSortOrderEnum, bool)
GetMappingListManagedInstanceErrataSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceGroupsLifecycleStateEnum Enum with underlying type: string
type ListManagedInstanceGroupsLifecycleStateEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupsLifecycleStateEnum
const ( ListManagedInstanceGroupsLifecycleStateCreating ListManagedInstanceGroupsLifecycleStateEnum = "CREATING" ListManagedInstanceGroupsLifecycleStateUpdating ListManagedInstanceGroupsLifecycleStateEnum = "UPDATING" ListManagedInstanceGroupsLifecycleStateActive ListManagedInstanceGroupsLifecycleStateEnum = "ACTIVE" ListManagedInstanceGroupsLifecycleStateDeleting ListManagedInstanceGroupsLifecycleStateEnum = "DELETING" ListManagedInstanceGroupsLifecycleStateDeleted ListManagedInstanceGroupsLifecycleStateEnum = "DELETED" ListManagedInstanceGroupsLifecycleStateFailed ListManagedInstanceGroupsLifecycleStateEnum = "FAILED" )
func GetListManagedInstanceGroupsLifecycleStateEnumValues() []ListManagedInstanceGroupsLifecycleStateEnum
GetListManagedInstanceGroupsLifecycleStateEnumValues Enumerates the set of values for ListManagedInstanceGroupsLifecycleStateEnum
func GetMappingListManagedInstanceGroupsLifecycleStateEnum(val string) (ListManagedInstanceGroupsLifecycleStateEnum, bool)
GetMappingListManagedInstanceGroupsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceGroupsOsFamilyEnum Enum with underlying type: string
type ListManagedInstanceGroupsOsFamilyEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupsOsFamilyEnum
const ( ListManagedInstanceGroupsOsFamilyLinux ListManagedInstanceGroupsOsFamilyEnum = "LINUX" ListManagedInstanceGroupsOsFamilyWindows ListManagedInstanceGroupsOsFamilyEnum = "WINDOWS" ListManagedInstanceGroupsOsFamilyAll ListManagedInstanceGroupsOsFamilyEnum = "ALL" )
func GetListManagedInstanceGroupsOsFamilyEnumValues() []ListManagedInstanceGroupsOsFamilyEnum
GetListManagedInstanceGroupsOsFamilyEnumValues Enumerates the set of values for ListManagedInstanceGroupsOsFamilyEnum
func GetMappingListManagedInstanceGroupsOsFamilyEnum(val string) (ListManagedInstanceGroupsOsFamilyEnum, bool)
GetMappingListManagedInstanceGroupsOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceGroupsRequest wrapper for the ListManagedInstanceGroups operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListManagedInstanceGroups.go.html to see an example of how to use ListManagedInstanceGroupsRequest.
type ListManagedInstanceGroupsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListManagedInstanceGroupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListManagedInstanceGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The current lifecycle state for the object. LifecycleState ListManagedInstanceGroupsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The OS family for which to list resources. OsFamily ListManagedInstanceGroupsOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedInstanceGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedInstanceGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstanceGroupsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstanceGroupsRequest) String() string
func (request ListManagedInstanceGroupsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListManagedInstanceGroupsResponse wrapper for the ListManagedInstanceGroups operation
type ListManagedInstanceGroupsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ManagedInstanceGroupSummary instances Items []ManagedInstanceGroupSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedInstanceGroupsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstanceGroupsResponse) String() string
ListManagedInstanceGroupsSortByEnum Enum with underlying type: string
type ListManagedInstanceGroupsSortByEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupsSortByEnum
const ( ListManagedInstanceGroupsSortByTimecreated ListManagedInstanceGroupsSortByEnum = "TIMECREATED" ListManagedInstanceGroupsSortByDisplayname ListManagedInstanceGroupsSortByEnum = "DISPLAYNAME" )
func GetListManagedInstanceGroupsSortByEnumValues() []ListManagedInstanceGroupsSortByEnum
GetListManagedInstanceGroupsSortByEnumValues Enumerates the set of values for ListManagedInstanceGroupsSortByEnum
func GetMappingListManagedInstanceGroupsSortByEnum(val string) (ListManagedInstanceGroupsSortByEnum, bool)
GetMappingListManagedInstanceGroupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceGroupsSortOrderEnum Enum with underlying type: string
type ListManagedInstanceGroupsSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupsSortOrderEnum
const ( ListManagedInstanceGroupsSortOrderAsc ListManagedInstanceGroupsSortOrderEnum = "ASC" ListManagedInstanceGroupsSortOrderDesc ListManagedInstanceGroupsSortOrderEnum = "DESC" )
func GetListManagedInstanceGroupsSortOrderEnumValues() []ListManagedInstanceGroupsSortOrderEnum
GetListManagedInstanceGroupsSortOrderEnumValues Enumerates the set of values for ListManagedInstanceGroupsSortOrderEnum
func GetMappingListManagedInstanceGroupsSortOrderEnum(val string) (ListManagedInstanceGroupsSortOrderEnum, bool)
GetMappingListManagedInstanceGroupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstancesOsFamilyEnum Enum with underlying type: string
type ListManagedInstancesOsFamilyEnum string
Set of constants representing the allowable values for ListManagedInstancesOsFamilyEnum
const ( ListManagedInstancesOsFamilyLinux ListManagedInstancesOsFamilyEnum = "LINUX" ListManagedInstancesOsFamilyWindows ListManagedInstancesOsFamilyEnum = "WINDOWS" ListManagedInstancesOsFamilyAll ListManagedInstancesOsFamilyEnum = "ALL" )
func GetListManagedInstancesOsFamilyEnumValues() []ListManagedInstancesOsFamilyEnum
GetListManagedInstancesOsFamilyEnumValues Enumerates the set of values for ListManagedInstancesOsFamilyEnum
func GetMappingListManagedInstancesOsFamilyEnum(val string) (ListManagedInstancesOsFamilyEnum, bool)
GetMappingListManagedInstancesOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstancesRequest wrapper for the ListManagedInstances operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListManagedInstances.go.html to see an example of how to use ListManagedInstancesRequest.
type ListManagedInstancesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListManagedInstancesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListManagedInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The OS family for which to list resources. OsFamily ListManagedInstancesOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedInstancesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedInstancesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstancesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstancesRequest) String() string
func (request ListManagedInstancesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListManagedInstancesResponse wrapper for the ListManagedInstances operation
type ListManagedInstancesResponse struct { // The underlying http response RawResponse *http.Response // A list of []ManagedInstanceSummary instances Items []ManagedInstanceSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedInstancesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstancesResponse) String() string
ListManagedInstancesSortByEnum Enum with underlying type: string
type ListManagedInstancesSortByEnum string
Set of constants representing the allowable values for ListManagedInstancesSortByEnum
const ( ListManagedInstancesSortByTimecreated ListManagedInstancesSortByEnum = "TIMECREATED" ListManagedInstancesSortByDisplayname ListManagedInstancesSortByEnum = "DISPLAYNAME" )
func GetListManagedInstancesSortByEnumValues() []ListManagedInstancesSortByEnum
GetListManagedInstancesSortByEnumValues Enumerates the set of values for ListManagedInstancesSortByEnum
func GetMappingListManagedInstancesSortByEnum(val string) (ListManagedInstancesSortByEnum, bool)
GetMappingListManagedInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstancesSortOrderEnum Enum with underlying type: string
type ListManagedInstancesSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstancesSortOrderEnum
const ( ListManagedInstancesSortOrderAsc ListManagedInstancesSortOrderEnum = "ASC" ListManagedInstancesSortOrderDesc ListManagedInstancesSortOrderEnum = "DESC" )
func GetListManagedInstancesSortOrderEnumValues() []ListManagedInstancesSortOrderEnum
GetListManagedInstancesSortOrderEnumValues Enumerates the set of values for ListManagedInstancesSortOrderEnum
func GetMappingListManagedInstancesSortOrderEnum(val string) (ListManagedInstancesSortOrderEnum, bool)
GetMappingListManagedInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum Enum with underlying type: string
type ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum string
Set of constants representing the allowable values for ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum
const ( ListModuleStreamProfilesOnManagedInstanceProfileStatusInstalled ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum = "INSTALLED" ListModuleStreamProfilesOnManagedInstanceProfileStatusAvailable ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum = "AVAILABLE" )
func GetListModuleStreamProfilesOnManagedInstanceProfileStatusEnumValues() []ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum
GetListModuleStreamProfilesOnManagedInstanceProfileStatusEnumValues Enumerates the set of values for ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum
func GetMappingListModuleStreamProfilesOnManagedInstanceProfileStatusEnum(val string) (ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum, bool)
GetMappingListModuleStreamProfilesOnManagedInstanceProfileStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListModuleStreamProfilesOnManagedInstanceRequest wrapper for the ListModuleStreamProfilesOnManagedInstance operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListModuleStreamProfilesOnManagedInstance.go.html to see an example of how to use ListModuleStreamProfilesOnManagedInstanceRequest.
type ListModuleStreamProfilesOnManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The name of a module. This parameter is required if a // streamName is specified. ModuleName *string `mandatory:"false" contributesTo:"query" name:"moduleName"` // The name of the stream of the containing module. This parameter // is required if a profileName is specified. StreamName *string `mandatory:"false" contributesTo:"query" name:"streamName"` // The name of the profile of the containing module stream ProfileName *string `mandatory:"false" contributesTo:"query" name:"profileName"` // The status of the profile. // A profile with the "INSTALLED" status indicates that the // profile has been installed. // A profile with the "AVAILABLE" status indicates that the // profile is not installed, but can be. ProfileStatus ListModuleStreamProfilesOnManagedInstanceProfileStatusEnum `mandatory:"false" contributesTo:"query" name:"profileStatus" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListModuleStreamProfilesOnManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListModuleStreamProfilesOnManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListModuleStreamProfilesOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListModuleStreamProfilesOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListModuleStreamProfilesOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListModuleStreamProfilesOnManagedInstanceRequest) String() string
func (request ListModuleStreamProfilesOnManagedInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListModuleStreamProfilesOnManagedInstanceResponse wrapper for the ListModuleStreamProfilesOnManagedInstance operation
type ListModuleStreamProfilesOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // A list of []ModuleStreamProfileOnManagedInstanceSummary instances Items []ModuleStreamProfileOnManagedInstanceSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListModuleStreamProfilesOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListModuleStreamProfilesOnManagedInstanceResponse) String() string
ListModuleStreamProfilesOnManagedInstanceSortByEnum Enum with underlying type: string
type ListModuleStreamProfilesOnManagedInstanceSortByEnum string
Set of constants representing the allowable values for ListModuleStreamProfilesOnManagedInstanceSortByEnum
const ( ListModuleStreamProfilesOnManagedInstanceSortByTimecreated ListModuleStreamProfilesOnManagedInstanceSortByEnum = "TIMECREATED" ListModuleStreamProfilesOnManagedInstanceSortByDisplayname ListModuleStreamProfilesOnManagedInstanceSortByEnum = "DISPLAYNAME" )
func GetListModuleStreamProfilesOnManagedInstanceSortByEnumValues() []ListModuleStreamProfilesOnManagedInstanceSortByEnum
GetListModuleStreamProfilesOnManagedInstanceSortByEnumValues Enumerates the set of values for ListModuleStreamProfilesOnManagedInstanceSortByEnum
func GetMappingListModuleStreamProfilesOnManagedInstanceSortByEnum(val string) (ListModuleStreamProfilesOnManagedInstanceSortByEnum, bool)
GetMappingListModuleStreamProfilesOnManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListModuleStreamProfilesOnManagedInstanceSortOrderEnum Enum with underlying type: string
type ListModuleStreamProfilesOnManagedInstanceSortOrderEnum string
Set of constants representing the allowable values for ListModuleStreamProfilesOnManagedInstanceSortOrderEnum
const ( ListModuleStreamProfilesOnManagedInstanceSortOrderAsc ListModuleStreamProfilesOnManagedInstanceSortOrderEnum = "ASC" ListModuleStreamProfilesOnManagedInstanceSortOrderDesc ListModuleStreamProfilesOnManagedInstanceSortOrderEnum = "DESC" )
func GetListModuleStreamProfilesOnManagedInstanceSortOrderEnumValues() []ListModuleStreamProfilesOnManagedInstanceSortOrderEnum
GetListModuleStreamProfilesOnManagedInstanceSortOrderEnumValues Enumerates the set of values for ListModuleStreamProfilesOnManagedInstanceSortOrderEnum
func GetMappingListModuleStreamProfilesOnManagedInstanceSortOrderEnum(val string) (ListModuleStreamProfilesOnManagedInstanceSortOrderEnum, bool)
GetMappingListModuleStreamProfilesOnManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListModuleStreamProfilesRequest wrapper for the ListModuleStreamProfiles operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListModuleStreamProfiles.go.html to see an example of how to use ListModuleStreamProfilesRequest.
type ListModuleStreamProfilesRequest struct { // The OCID of the software source. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The name of a module. This parameter is required if a // streamName is specified. ModuleName *string `mandatory:"false" contributesTo:"query" name:"moduleName"` // The name of the stream of the containing module. This parameter // is required if a profileName is specified. StreamName *string `mandatory:"false" contributesTo:"query" name:"streamName"` // The name of the profile of the containing module stream ProfileName *string `mandatory:"false" contributesTo:"query" name:"profileName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListModuleStreamProfilesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListModuleStreamProfilesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListModuleStreamProfilesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListModuleStreamProfilesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListModuleStreamProfilesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListModuleStreamProfilesRequest) String() string
func (request ListModuleStreamProfilesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListModuleStreamProfilesResponse wrapper for the ListModuleStreamProfiles operation
type ListModuleStreamProfilesResponse struct { // The underlying http response RawResponse *http.Response // A list of []ModuleStreamProfileSummary instances Items []ModuleStreamProfileSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListModuleStreamProfilesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListModuleStreamProfilesResponse) String() string
ListModuleStreamProfilesSortByEnum Enum with underlying type: string
type ListModuleStreamProfilesSortByEnum string
Set of constants representing the allowable values for ListModuleStreamProfilesSortByEnum
const ( ListModuleStreamProfilesSortByTimecreated ListModuleStreamProfilesSortByEnum = "TIMECREATED" ListModuleStreamProfilesSortByDisplayname ListModuleStreamProfilesSortByEnum = "DISPLAYNAME" )
func GetListModuleStreamProfilesSortByEnumValues() []ListModuleStreamProfilesSortByEnum
GetListModuleStreamProfilesSortByEnumValues Enumerates the set of values for ListModuleStreamProfilesSortByEnum
func GetMappingListModuleStreamProfilesSortByEnum(val string) (ListModuleStreamProfilesSortByEnum, bool)
GetMappingListModuleStreamProfilesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListModuleStreamProfilesSortOrderEnum Enum with underlying type: string
type ListModuleStreamProfilesSortOrderEnum string
Set of constants representing the allowable values for ListModuleStreamProfilesSortOrderEnum
const ( ListModuleStreamProfilesSortOrderAsc ListModuleStreamProfilesSortOrderEnum = "ASC" ListModuleStreamProfilesSortOrderDesc ListModuleStreamProfilesSortOrderEnum = "DESC" )
func GetListModuleStreamProfilesSortOrderEnumValues() []ListModuleStreamProfilesSortOrderEnum
GetListModuleStreamProfilesSortOrderEnumValues Enumerates the set of values for ListModuleStreamProfilesSortOrderEnum
func GetMappingListModuleStreamProfilesSortOrderEnum(val string) (ListModuleStreamProfilesSortOrderEnum, bool)
GetMappingListModuleStreamProfilesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListModuleStreamsOnManagedInstanceRequest wrapper for the ListModuleStreamsOnManagedInstance operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListModuleStreamsOnManagedInstance.go.html to see an example of how to use ListModuleStreamsOnManagedInstanceRequest.
type ListModuleStreamsOnManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The name of a module. This parameter is required if a // streamName is specified. ModuleName *string `mandatory:"false" contributesTo:"query" name:"moduleName"` // The name of the stream of the containing module. This parameter // is required if a profileName is specified. StreamName *string `mandatory:"false" contributesTo:"query" name:"streamName"` // The status of the stream // A stream with the "ENABLED" status can be used as a source for installing // profiles. Streams with this status are also "ACTIVE". // A stream with the "DISABLED" status cannot be the source for installing // profiles. To install profiles and packages from this stream, it must be // enabled. // A stream with the "ACTIVE" status can be used as a source for installing // profiles. The packages that comprise the stream are also used when a // matching package is installed directly. In general, a stream can have // this status if it is the default stream for the module and no stream has // been explicitly enabled. StreamStatus ListModuleStreamsOnManagedInstanceStreamStatusEnum `mandatory:"false" contributesTo:"query" name:"streamStatus" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListModuleStreamsOnManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListModuleStreamsOnManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListModuleStreamsOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListModuleStreamsOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListModuleStreamsOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListModuleStreamsOnManagedInstanceRequest) String() string
func (request ListModuleStreamsOnManagedInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListModuleStreamsOnManagedInstanceResponse wrapper for the ListModuleStreamsOnManagedInstance operation
type ListModuleStreamsOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // A list of []ModuleStreamOnManagedInstanceSummary instances Items []ModuleStreamOnManagedInstanceSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListModuleStreamsOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListModuleStreamsOnManagedInstanceResponse) String() string
ListModuleStreamsOnManagedInstanceSortByEnum Enum with underlying type: string
type ListModuleStreamsOnManagedInstanceSortByEnum string
Set of constants representing the allowable values for ListModuleStreamsOnManagedInstanceSortByEnum
const ( ListModuleStreamsOnManagedInstanceSortByTimecreated ListModuleStreamsOnManagedInstanceSortByEnum = "TIMECREATED" ListModuleStreamsOnManagedInstanceSortByDisplayname ListModuleStreamsOnManagedInstanceSortByEnum = "DISPLAYNAME" )
func GetListModuleStreamsOnManagedInstanceSortByEnumValues() []ListModuleStreamsOnManagedInstanceSortByEnum
GetListModuleStreamsOnManagedInstanceSortByEnumValues Enumerates the set of values for ListModuleStreamsOnManagedInstanceSortByEnum
func GetMappingListModuleStreamsOnManagedInstanceSortByEnum(val string) (ListModuleStreamsOnManagedInstanceSortByEnum, bool)
GetMappingListModuleStreamsOnManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListModuleStreamsOnManagedInstanceSortOrderEnum Enum with underlying type: string
type ListModuleStreamsOnManagedInstanceSortOrderEnum string
Set of constants representing the allowable values for ListModuleStreamsOnManagedInstanceSortOrderEnum
const ( ListModuleStreamsOnManagedInstanceSortOrderAsc ListModuleStreamsOnManagedInstanceSortOrderEnum = "ASC" ListModuleStreamsOnManagedInstanceSortOrderDesc ListModuleStreamsOnManagedInstanceSortOrderEnum = "DESC" )
func GetListModuleStreamsOnManagedInstanceSortOrderEnumValues() []ListModuleStreamsOnManagedInstanceSortOrderEnum
GetListModuleStreamsOnManagedInstanceSortOrderEnumValues Enumerates the set of values for ListModuleStreamsOnManagedInstanceSortOrderEnum
func GetMappingListModuleStreamsOnManagedInstanceSortOrderEnum(val string) (ListModuleStreamsOnManagedInstanceSortOrderEnum, bool)
GetMappingListModuleStreamsOnManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListModuleStreamsOnManagedInstanceStreamStatusEnum Enum with underlying type: string
type ListModuleStreamsOnManagedInstanceStreamStatusEnum string
Set of constants representing the allowable values for ListModuleStreamsOnManagedInstanceStreamStatusEnum
const ( ListModuleStreamsOnManagedInstanceStreamStatusEnabled ListModuleStreamsOnManagedInstanceStreamStatusEnum = "ENABLED" ListModuleStreamsOnManagedInstanceStreamStatusDisabled ListModuleStreamsOnManagedInstanceStreamStatusEnum = "DISABLED" ListModuleStreamsOnManagedInstanceStreamStatusActive ListModuleStreamsOnManagedInstanceStreamStatusEnum = "ACTIVE" )
func GetListModuleStreamsOnManagedInstanceStreamStatusEnumValues() []ListModuleStreamsOnManagedInstanceStreamStatusEnum
GetListModuleStreamsOnManagedInstanceStreamStatusEnumValues Enumerates the set of values for ListModuleStreamsOnManagedInstanceStreamStatusEnum
func GetMappingListModuleStreamsOnManagedInstanceStreamStatusEnum(val string) (ListModuleStreamsOnManagedInstanceStreamStatusEnum, bool)
GetMappingListModuleStreamsOnManagedInstanceStreamStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListModuleStreamsRequest wrapper for the ListModuleStreams operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListModuleStreams.go.html to see an example of how to use ListModuleStreamsRequest.
type ListModuleStreamsRequest struct { // The OCID of the software source. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The name of a module. This parameter is required if a // streamName is specified. ModuleName *string `mandatory:"false" contributesTo:"query" name:"moduleName"` // The name of the stream of the containing module. This parameter // is required if a profileName is specified. StreamName *string `mandatory:"false" contributesTo:"query" name:"streamName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListModuleStreamsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListModuleStreamsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListModuleStreamsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListModuleStreamsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListModuleStreamsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListModuleStreamsRequest) String() string
func (request ListModuleStreamsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListModuleStreamsResponse wrapper for the ListModuleStreams operation
type ListModuleStreamsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ModuleStreamSummary instances Items []ModuleStreamSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListModuleStreamsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListModuleStreamsResponse) String() string
ListModuleStreamsSortByEnum Enum with underlying type: string
type ListModuleStreamsSortByEnum string
Set of constants representing the allowable values for ListModuleStreamsSortByEnum
const ( ListModuleStreamsSortByTimecreated ListModuleStreamsSortByEnum = "TIMECREATED" ListModuleStreamsSortByDisplayname ListModuleStreamsSortByEnum = "DISPLAYNAME" )
func GetListModuleStreamsSortByEnumValues() []ListModuleStreamsSortByEnum
GetListModuleStreamsSortByEnumValues Enumerates the set of values for ListModuleStreamsSortByEnum
func GetMappingListModuleStreamsSortByEnum(val string) (ListModuleStreamsSortByEnum, bool)
GetMappingListModuleStreamsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListModuleStreamsSortOrderEnum Enum with underlying type: string
type ListModuleStreamsSortOrderEnum string
Set of constants representing the allowable values for ListModuleStreamsSortOrderEnum
const ( ListModuleStreamsSortOrderAsc ListModuleStreamsSortOrderEnum = "ASC" ListModuleStreamsSortOrderDesc ListModuleStreamsSortOrderEnum = "DESC" )
func GetListModuleStreamsSortOrderEnumValues() []ListModuleStreamsSortOrderEnum
GetListModuleStreamsSortOrderEnumValues Enumerates the set of values for ListModuleStreamsSortOrderEnum
func GetMappingListModuleStreamsSortOrderEnum(val string) (ListModuleStreamsSortOrderEnum, bool)
GetMappingListModuleStreamsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListPackagesInstalledOnManagedInstanceRequest wrapper for the ListPackagesInstalledOnManagedInstance operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListPackagesInstalledOnManagedInstance.go.html to see an example of how to use ListPackagesInstalledOnManagedInstanceRequest.
type ListPackagesInstalledOnManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListPackagesInstalledOnManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListPackagesInstalledOnManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListPackagesInstalledOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListPackagesInstalledOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListPackagesInstalledOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListPackagesInstalledOnManagedInstanceRequest) String() string
func (request ListPackagesInstalledOnManagedInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListPackagesInstalledOnManagedInstanceResponse wrapper for the ListPackagesInstalledOnManagedInstance operation
type ListPackagesInstalledOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // A list of []InstalledPackageSummary instances Items []InstalledPackageSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListPackagesInstalledOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListPackagesInstalledOnManagedInstanceResponse) String() string
ListPackagesInstalledOnManagedInstanceSortByEnum Enum with underlying type: string
type ListPackagesInstalledOnManagedInstanceSortByEnum string
Set of constants representing the allowable values for ListPackagesInstalledOnManagedInstanceSortByEnum
const ( ListPackagesInstalledOnManagedInstanceSortByTimecreated ListPackagesInstalledOnManagedInstanceSortByEnum = "TIMECREATED" ListPackagesInstalledOnManagedInstanceSortByDisplayname ListPackagesInstalledOnManagedInstanceSortByEnum = "DISPLAYNAME" )
func GetListPackagesInstalledOnManagedInstanceSortByEnumValues() []ListPackagesInstalledOnManagedInstanceSortByEnum
GetListPackagesInstalledOnManagedInstanceSortByEnumValues Enumerates the set of values for ListPackagesInstalledOnManagedInstanceSortByEnum
func GetMappingListPackagesInstalledOnManagedInstanceSortByEnum(val string) (ListPackagesInstalledOnManagedInstanceSortByEnum, bool)
GetMappingListPackagesInstalledOnManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListPackagesInstalledOnManagedInstanceSortOrderEnum Enum with underlying type: string
type ListPackagesInstalledOnManagedInstanceSortOrderEnum string
Set of constants representing the allowable values for ListPackagesInstalledOnManagedInstanceSortOrderEnum
const ( ListPackagesInstalledOnManagedInstanceSortOrderAsc ListPackagesInstalledOnManagedInstanceSortOrderEnum = "ASC" ListPackagesInstalledOnManagedInstanceSortOrderDesc ListPackagesInstalledOnManagedInstanceSortOrderEnum = "DESC" )
func GetListPackagesInstalledOnManagedInstanceSortOrderEnumValues() []ListPackagesInstalledOnManagedInstanceSortOrderEnum
GetListPackagesInstalledOnManagedInstanceSortOrderEnumValues Enumerates the set of values for ListPackagesInstalledOnManagedInstanceSortOrderEnum
func GetMappingListPackagesInstalledOnManagedInstanceSortOrderEnum(val string) (ListPackagesInstalledOnManagedInstanceSortOrderEnum, bool)
GetMappingListPackagesInstalledOnManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListRelatedEventsRequest wrapper for the ListRelatedEvents operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListRelatedEvents.go.html to see an example of how to use ListRelatedEventsRequest.
type ListRelatedEventsRequest struct { // Event fingerprint identifier EventFingerprint *string `mandatory:"true" contributesTo:"query" name:"eventFingerprint"` // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListRelatedEventsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for id is descending. SortBy ListRelatedEventsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // filter event occurrence. Selecting only those last occurred before given date in ISO 8601 format // Example: 2017-07-14T02:40:00.000Z LatestTimestampLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"latestTimestampLessThan"` // filter event occurrence. Selecting only those last occurred on or after given date in ISO 8601 format // Example: 2017-07-14T02:40:00.000Z LatestTimestampGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"latestTimestampGreaterThanOrEqualTo"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListRelatedEventsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListRelatedEventsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListRelatedEventsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListRelatedEventsRequest) String() string
func (request ListRelatedEventsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListRelatedEventsResponse wrapper for the ListRelatedEvents operation
type ListRelatedEventsResponse struct { // The underlying http response RawResponse *http.Response // A list of RelatedEventCollection instances RelatedEventCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListRelatedEventsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListRelatedEventsResponse) String() string
ListRelatedEventsSortByEnum Enum with underlying type: string
type ListRelatedEventsSortByEnum string
Set of constants representing the allowable values for ListRelatedEventsSortByEnum
const ( ListRelatedEventsSortByInstanceid ListRelatedEventsSortByEnum = "instanceId" ListRelatedEventsSortById ListRelatedEventsSortByEnum = "id" ListRelatedEventsSortByEventfingerprint ListRelatedEventsSortByEnum = "eventFingerprint" )
func GetListRelatedEventsSortByEnumValues() []ListRelatedEventsSortByEnum
GetListRelatedEventsSortByEnumValues Enumerates the set of values for ListRelatedEventsSortByEnum
func GetMappingListRelatedEventsSortByEnum(val string) (ListRelatedEventsSortByEnum, bool)
GetMappingListRelatedEventsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListRelatedEventsSortOrderEnum Enum with underlying type: string
type ListRelatedEventsSortOrderEnum string
Set of constants representing the allowable values for ListRelatedEventsSortOrderEnum
const ( ListRelatedEventsSortOrderAsc ListRelatedEventsSortOrderEnum = "ASC" ListRelatedEventsSortOrderDesc ListRelatedEventsSortOrderEnum = "DESC" )
func GetListRelatedEventsSortOrderEnumValues() []ListRelatedEventsSortOrderEnum
GetListRelatedEventsSortOrderEnumValues Enumerates the set of values for ListRelatedEventsSortOrderEnum
func GetMappingListRelatedEventsSortOrderEnum(val string) (ListRelatedEventsSortOrderEnum, bool)
GetMappingListRelatedEventsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListScheduledJobsLifecycleStateEnum Enum with underlying type: string
type ListScheduledJobsLifecycleStateEnum string
Set of constants representing the allowable values for ListScheduledJobsLifecycleStateEnum
const ( ListScheduledJobsLifecycleStateCreating ListScheduledJobsLifecycleStateEnum = "CREATING" ListScheduledJobsLifecycleStateUpdating ListScheduledJobsLifecycleStateEnum = "UPDATING" ListScheduledJobsLifecycleStateActive ListScheduledJobsLifecycleStateEnum = "ACTIVE" ListScheduledJobsLifecycleStateDeleting ListScheduledJobsLifecycleStateEnum = "DELETING" ListScheduledJobsLifecycleStateDeleted ListScheduledJobsLifecycleStateEnum = "DELETED" ListScheduledJobsLifecycleStateFailed ListScheduledJobsLifecycleStateEnum = "FAILED" )
func GetListScheduledJobsLifecycleStateEnumValues() []ListScheduledJobsLifecycleStateEnum
GetListScheduledJobsLifecycleStateEnumValues Enumerates the set of values for ListScheduledJobsLifecycleStateEnum
func GetMappingListScheduledJobsLifecycleStateEnum(val string) (ListScheduledJobsLifecycleStateEnum, bool)
GetMappingListScheduledJobsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListScheduledJobsOperationTypeEnum Enum with underlying type: string
type ListScheduledJobsOperationTypeEnum string
Set of constants representing the allowable values for ListScheduledJobsOperationTypeEnum
const ( ListScheduledJobsOperationTypeInstall ListScheduledJobsOperationTypeEnum = "INSTALL" ListScheduledJobsOperationTypeUpdate ListScheduledJobsOperationTypeEnum = "UPDATE" ListScheduledJobsOperationTypeRemove ListScheduledJobsOperationTypeEnum = "REMOVE" ListScheduledJobsOperationTypeUpdateall ListScheduledJobsOperationTypeEnum = "UPDATEALL" ListScheduledJobsOperationTypeEnablemodulestream ListScheduledJobsOperationTypeEnum = "ENABLEMODULESTREAM" ListScheduledJobsOperationTypeDisablemodulestream ListScheduledJobsOperationTypeEnum = "DISABLEMODULESTREAM" ListScheduledJobsOperationTypeSwitchmodulestream ListScheduledJobsOperationTypeEnum = "SWITCHMODULESTREAM" ListScheduledJobsOperationTypeInstallmodulestreamprofile ListScheduledJobsOperationTypeEnum = "INSTALLMODULESTREAMPROFILE" ListScheduledJobsOperationTypeRemovemodulestreamprofile ListScheduledJobsOperationTypeEnum = "REMOVEMODULESTREAMPROFILE" ListScheduledJobsOperationTypeCompound ListScheduledJobsOperationTypeEnum = "COMPOUND" )
func GetListScheduledJobsOperationTypeEnumValues() []ListScheduledJobsOperationTypeEnum
GetListScheduledJobsOperationTypeEnumValues Enumerates the set of values for ListScheduledJobsOperationTypeEnum
func GetMappingListScheduledJobsOperationTypeEnum(val string) (ListScheduledJobsOperationTypeEnum, bool)
GetMappingListScheduledJobsOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListScheduledJobsOsFamilyEnum Enum with underlying type: string
type ListScheduledJobsOsFamilyEnum string
Set of constants representing the allowable values for ListScheduledJobsOsFamilyEnum
const ( ListScheduledJobsOsFamilyLinux ListScheduledJobsOsFamilyEnum = "LINUX" ListScheduledJobsOsFamilyWindows ListScheduledJobsOsFamilyEnum = "WINDOWS" ListScheduledJobsOsFamilyAll ListScheduledJobsOsFamilyEnum = "ALL" )
func GetListScheduledJobsOsFamilyEnumValues() []ListScheduledJobsOsFamilyEnum
GetListScheduledJobsOsFamilyEnumValues Enumerates the set of values for ListScheduledJobsOsFamilyEnum
func GetMappingListScheduledJobsOsFamilyEnum(val string) (ListScheduledJobsOsFamilyEnum, bool)
GetMappingListScheduledJobsOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum
ListScheduledJobsRequest wrapper for the ListScheduledJobs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListScheduledJobs.go.html to see an example of how to use ListScheduledJobsRequest.
type ListScheduledJobsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The ID of the managed instance for which to list resources. ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"` // The ID of the managed instace group for which to list resources. ManagedInstanceGroupId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceGroupId"` // The operation type for which to list resources OperationType ListScheduledJobsOperationTypeEnum `mandatory:"false" contributesTo:"query" name:"operationType" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListScheduledJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListScheduledJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The current lifecycle state for the object. LifecycleState ListScheduledJobsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The OS family for which to list resources. OsFamily ListScheduledJobsOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"` // If true, will only filter out restricted Autonomous Linux Scheduled Job IsRestricted *bool `mandatory:"false" contributesTo:"query" name:"isRestricted"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListScheduledJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListScheduledJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListScheduledJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListScheduledJobsRequest) String() string
func (request ListScheduledJobsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListScheduledJobsResponse wrapper for the ListScheduledJobs operation
type ListScheduledJobsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ScheduledJobSummary instances Items []ScheduledJobSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListScheduledJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListScheduledJobsResponse) String() string
ListScheduledJobsSortByEnum Enum with underlying type: string
type ListScheduledJobsSortByEnum string
Set of constants representing the allowable values for ListScheduledJobsSortByEnum
const ( ListScheduledJobsSortByTimecreated ListScheduledJobsSortByEnum = "TIMECREATED" ListScheduledJobsSortByDisplayname ListScheduledJobsSortByEnum = "DISPLAYNAME" )
func GetListScheduledJobsSortByEnumValues() []ListScheduledJobsSortByEnum
GetListScheduledJobsSortByEnumValues Enumerates the set of values for ListScheduledJobsSortByEnum
func GetMappingListScheduledJobsSortByEnum(val string) (ListScheduledJobsSortByEnum, bool)
GetMappingListScheduledJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListScheduledJobsSortOrderEnum Enum with underlying type: string
type ListScheduledJobsSortOrderEnum string
Set of constants representing the allowable values for ListScheduledJobsSortOrderEnum
const ( ListScheduledJobsSortOrderAsc ListScheduledJobsSortOrderEnum = "ASC" ListScheduledJobsSortOrderDesc ListScheduledJobsSortOrderEnum = "DESC" )
func GetListScheduledJobsSortOrderEnumValues() []ListScheduledJobsSortOrderEnum
GetListScheduledJobsSortOrderEnumValues Enumerates the set of values for ListScheduledJobsSortOrderEnum
func GetMappingListScheduledJobsSortOrderEnum(val string) (ListScheduledJobsSortOrderEnum, bool)
GetMappingListScheduledJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSoftwareSourcePackagesRequest wrapper for the ListSoftwareSourcePackages operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListSoftwareSourcePackages.go.html to see an example of how to use ListSoftwareSourcePackagesRequest.
type ListSoftwareSourcePackagesRequest struct { // The OCID of the software source. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListSoftwareSourcePackagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListSoftwareSourcePackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListSoftwareSourcePackagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSoftwareSourcePackagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSoftwareSourcePackagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSoftwareSourcePackagesRequest) String() string
func (request ListSoftwareSourcePackagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListSoftwareSourcePackagesResponse wrapper for the ListSoftwareSourcePackages operation
type ListSoftwareSourcePackagesResponse struct { // The underlying http response RawResponse *http.Response // A list of []SoftwarePackageSummary instances Items []SoftwarePackageSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListSoftwareSourcePackagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSoftwareSourcePackagesResponse) String() string
ListSoftwareSourcePackagesSortByEnum Enum with underlying type: string
type ListSoftwareSourcePackagesSortByEnum string
Set of constants representing the allowable values for ListSoftwareSourcePackagesSortByEnum
const ( ListSoftwareSourcePackagesSortByTimecreated ListSoftwareSourcePackagesSortByEnum = "TIMECREATED" ListSoftwareSourcePackagesSortByDisplayname ListSoftwareSourcePackagesSortByEnum = "DISPLAYNAME" )
func GetListSoftwareSourcePackagesSortByEnumValues() []ListSoftwareSourcePackagesSortByEnum
GetListSoftwareSourcePackagesSortByEnumValues Enumerates the set of values for ListSoftwareSourcePackagesSortByEnum
func GetMappingListSoftwareSourcePackagesSortByEnum(val string) (ListSoftwareSourcePackagesSortByEnum, bool)
GetMappingListSoftwareSourcePackagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSoftwareSourcePackagesSortOrderEnum Enum with underlying type: string
type ListSoftwareSourcePackagesSortOrderEnum string
Set of constants representing the allowable values for ListSoftwareSourcePackagesSortOrderEnum
const ( ListSoftwareSourcePackagesSortOrderAsc ListSoftwareSourcePackagesSortOrderEnum = "ASC" ListSoftwareSourcePackagesSortOrderDesc ListSoftwareSourcePackagesSortOrderEnum = "DESC" )
func GetListSoftwareSourcePackagesSortOrderEnumValues() []ListSoftwareSourcePackagesSortOrderEnum
GetListSoftwareSourcePackagesSortOrderEnumValues Enumerates the set of values for ListSoftwareSourcePackagesSortOrderEnum
func GetMappingListSoftwareSourcePackagesSortOrderEnum(val string) (ListSoftwareSourcePackagesSortOrderEnum, bool)
GetMappingListSoftwareSourcePackagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSoftwareSourcesLifecycleStateEnum Enum with underlying type: string
type ListSoftwareSourcesLifecycleStateEnum string
Set of constants representing the allowable values for ListSoftwareSourcesLifecycleStateEnum
const ( ListSoftwareSourcesLifecycleStateCreating ListSoftwareSourcesLifecycleStateEnum = "CREATING" ListSoftwareSourcesLifecycleStateUpdating ListSoftwareSourcesLifecycleStateEnum = "UPDATING" ListSoftwareSourcesLifecycleStateActive ListSoftwareSourcesLifecycleStateEnum = "ACTIVE" ListSoftwareSourcesLifecycleStateDeleting ListSoftwareSourcesLifecycleStateEnum = "DELETING" ListSoftwareSourcesLifecycleStateDeleted ListSoftwareSourcesLifecycleStateEnum = "DELETED" ListSoftwareSourcesLifecycleStateFailed ListSoftwareSourcesLifecycleStateEnum = "FAILED" )
func GetListSoftwareSourcesLifecycleStateEnumValues() []ListSoftwareSourcesLifecycleStateEnum
GetListSoftwareSourcesLifecycleStateEnumValues Enumerates the set of values for ListSoftwareSourcesLifecycleStateEnum
func GetMappingListSoftwareSourcesLifecycleStateEnum(val string) (ListSoftwareSourcesLifecycleStateEnum, bool)
GetMappingListSoftwareSourcesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListSoftwareSourcesRequest wrapper for the ListSoftwareSources operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListSoftwareSources.go.html to see an example of how to use ListSoftwareSourcesRequest.
type ListSoftwareSourcesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListSoftwareSourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListSoftwareSourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The current lifecycle state for the object. LifecycleState ListSoftwareSourcesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListSoftwareSourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSoftwareSourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSoftwareSourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSoftwareSourcesRequest) String() string
func (request ListSoftwareSourcesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListSoftwareSourcesResponse wrapper for the ListSoftwareSources operation
type ListSoftwareSourcesResponse struct { // The underlying http response RawResponse *http.Response // A list of []SoftwareSourceSummary instances Items []SoftwareSourceSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListSoftwareSourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSoftwareSourcesResponse) String() string
ListSoftwareSourcesSortByEnum Enum with underlying type: string
type ListSoftwareSourcesSortByEnum string
Set of constants representing the allowable values for ListSoftwareSourcesSortByEnum
const ( ListSoftwareSourcesSortByTimecreated ListSoftwareSourcesSortByEnum = "TIMECREATED" ListSoftwareSourcesSortByDisplayname ListSoftwareSourcesSortByEnum = "DISPLAYNAME" )
func GetListSoftwareSourcesSortByEnumValues() []ListSoftwareSourcesSortByEnum
GetListSoftwareSourcesSortByEnumValues Enumerates the set of values for ListSoftwareSourcesSortByEnum
func GetMappingListSoftwareSourcesSortByEnum(val string) (ListSoftwareSourcesSortByEnum, bool)
GetMappingListSoftwareSourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSoftwareSourcesSortOrderEnum Enum with underlying type: string
type ListSoftwareSourcesSortOrderEnum string
Set of constants representing the allowable values for ListSoftwareSourcesSortOrderEnum
const ( ListSoftwareSourcesSortOrderAsc ListSoftwareSourcesSortOrderEnum = "ASC" ListSoftwareSourcesSortOrderDesc ListSoftwareSourcesSortOrderEnum = "DESC" )
func GetListSoftwareSourcesSortOrderEnumValues() []ListSoftwareSourcesSortOrderEnum
GetListSoftwareSourcesSortOrderEnumValues Enumerates the set of values for ListSoftwareSourcesSortOrderEnum
func GetMappingListSoftwareSourcesSortOrderEnum(val string) (ListSoftwareSourcesSortOrderEnum, bool)
GetMappingListSoftwareSourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListUpcomingScheduledJobsLifecycleStateEnum Enum with underlying type: string
type ListUpcomingScheduledJobsLifecycleStateEnum string
Set of constants representing the allowable values for ListUpcomingScheduledJobsLifecycleStateEnum
const ( ListUpcomingScheduledJobsLifecycleStateCreating ListUpcomingScheduledJobsLifecycleStateEnum = "CREATING" ListUpcomingScheduledJobsLifecycleStateUpdating ListUpcomingScheduledJobsLifecycleStateEnum = "UPDATING" ListUpcomingScheduledJobsLifecycleStateActive ListUpcomingScheduledJobsLifecycleStateEnum = "ACTIVE" ListUpcomingScheduledJobsLifecycleStateDeleting ListUpcomingScheduledJobsLifecycleStateEnum = "DELETING" ListUpcomingScheduledJobsLifecycleStateDeleted ListUpcomingScheduledJobsLifecycleStateEnum = "DELETED" ListUpcomingScheduledJobsLifecycleStateFailed ListUpcomingScheduledJobsLifecycleStateEnum = "FAILED" )
func GetListUpcomingScheduledJobsLifecycleStateEnumValues() []ListUpcomingScheduledJobsLifecycleStateEnum
GetListUpcomingScheduledJobsLifecycleStateEnumValues Enumerates the set of values for ListUpcomingScheduledJobsLifecycleStateEnum
func GetMappingListUpcomingScheduledJobsLifecycleStateEnum(val string) (ListUpcomingScheduledJobsLifecycleStateEnum, bool)
GetMappingListUpcomingScheduledJobsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListUpcomingScheduledJobsOsFamilyEnum Enum with underlying type: string
type ListUpcomingScheduledJobsOsFamilyEnum string
Set of constants representing the allowable values for ListUpcomingScheduledJobsOsFamilyEnum
const ( ListUpcomingScheduledJobsOsFamilyLinux ListUpcomingScheduledJobsOsFamilyEnum = "LINUX" ListUpcomingScheduledJobsOsFamilyWindows ListUpcomingScheduledJobsOsFamilyEnum = "WINDOWS" ListUpcomingScheduledJobsOsFamilyAll ListUpcomingScheduledJobsOsFamilyEnum = "ALL" )
func GetListUpcomingScheduledJobsOsFamilyEnumValues() []ListUpcomingScheduledJobsOsFamilyEnum
GetListUpcomingScheduledJobsOsFamilyEnumValues Enumerates the set of values for ListUpcomingScheduledJobsOsFamilyEnum
func GetMappingListUpcomingScheduledJobsOsFamilyEnum(val string) (ListUpcomingScheduledJobsOsFamilyEnum, bool)
GetMappingListUpcomingScheduledJobsOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum
ListUpcomingScheduledJobsRequest wrapper for the ListUpcomingScheduledJobs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListUpcomingScheduledJobs.go.html to see an example of how to use ListUpcomingScheduledJobsRequest.
type ListUpcomingScheduledJobsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The cut-off time before which to list all upcoming schedules, in ISO 8601 format // Example: 2017-07-14T02:40:00.000Z TimeEnd *common.SDKTime `mandatory:"true" contributesTo:"query" name:"timeEnd"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListUpcomingScheduledJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListUpcomingScheduledJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The name of the tag. TagName *string `mandatory:"false" contributesTo:"query" name:"tagName"` // The value for the tag. TagValue *string `mandatory:"false" contributesTo:"query" name:"tagValue"` // The current lifecycle state for the object. LifecycleState ListUpcomingScheduledJobsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The OS family for which to list resources. OsFamily ListUpcomingScheduledJobsOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListUpcomingScheduledJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListUpcomingScheduledJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListUpcomingScheduledJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListUpcomingScheduledJobsRequest) String() string
func (request ListUpcomingScheduledJobsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListUpcomingScheduledJobsResponse wrapper for the ListUpcomingScheduledJobs operation
type ListUpcomingScheduledJobsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ScheduledJobSummary instances Items []ScheduledJobSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListUpcomingScheduledJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListUpcomingScheduledJobsResponse) String() string
ListUpcomingScheduledJobsSortByEnum Enum with underlying type: string
type ListUpcomingScheduledJobsSortByEnum string
Set of constants representing the allowable values for ListUpcomingScheduledJobsSortByEnum
const ( ListUpcomingScheduledJobsSortByTimecreated ListUpcomingScheduledJobsSortByEnum = "TIMECREATED" ListUpcomingScheduledJobsSortByDisplayname ListUpcomingScheduledJobsSortByEnum = "DISPLAYNAME" )
func GetListUpcomingScheduledJobsSortByEnumValues() []ListUpcomingScheduledJobsSortByEnum
GetListUpcomingScheduledJobsSortByEnumValues Enumerates the set of values for ListUpcomingScheduledJobsSortByEnum
func GetMappingListUpcomingScheduledJobsSortByEnum(val string) (ListUpcomingScheduledJobsSortByEnum, bool)
GetMappingListUpcomingScheduledJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListUpcomingScheduledJobsSortOrderEnum Enum with underlying type: string
type ListUpcomingScheduledJobsSortOrderEnum string
Set of constants representing the allowable values for ListUpcomingScheduledJobsSortOrderEnum
const ( ListUpcomingScheduledJobsSortOrderAsc ListUpcomingScheduledJobsSortOrderEnum = "ASC" ListUpcomingScheduledJobsSortOrderDesc ListUpcomingScheduledJobsSortOrderEnum = "DESC" )
func GetListUpcomingScheduledJobsSortOrderEnumValues() []ListUpcomingScheduledJobsSortOrderEnum
GetListUpcomingScheduledJobsSortOrderEnumValues Enumerates the set of values for ListUpcomingScheduledJobsSortOrderEnum
func GetMappingListUpcomingScheduledJobsSortOrderEnum(val string) (ListUpcomingScheduledJobsSortOrderEnum, bool)
GetMappingListUpcomingScheduledJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWindowsUpdatesInstalledOnManagedInstanceRequest wrapper for the ListWindowsUpdatesInstalledOnManagedInstance operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListWindowsUpdatesInstalledOnManagedInstance.go.html to see an example of how to use ListWindowsUpdatesInstalledOnManagedInstanceRequest.
type ListWindowsUpdatesInstalledOnManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWindowsUpdatesInstalledOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWindowsUpdatesInstalledOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWindowsUpdatesInstalledOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWindowsUpdatesInstalledOnManagedInstanceRequest) String() string
func (request ListWindowsUpdatesInstalledOnManagedInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWindowsUpdatesInstalledOnManagedInstanceResponse wrapper for the ListWindowsUpdatesInstalledOnManagedInstance operation
type ListWindowsUpdatesInstalledOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // A list of []InstalledWindowsUpdateSummary instances Items []InstalledWindowsUpdateSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWindowsUpdatesInstalledOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWindowsUpdatesInstalledOnManagedInstanceResponse) String() string
ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum Enum with underlying type: string
type ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum string
Set of constants representing the allowable values for ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum
const ( ListWindowsUpdatesInstalledOnManagedInstanceSortByTimecreated ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum = "TIMECREATED" ListWindowsUpdatesInstalledOnManagedInstanceSortByDisplayname ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum = "DISPLAYNAME" )
func GetListWindowsUpdatesInstalledOnManagedInstanceSortByEnumValues() []ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum
GetListWindowsUpdatesInstalledOnManagedInstanceSortByEnumValues Enumerates the set of values for ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum
func GetMappingListWindowsUpdatesInstalledOnManagedInstanceSortByEnum(val string) (ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum, bool)
GetMappingListWindowsUpdatesInstalledOnManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum Enum with underlying type: string
type ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum string
Set of constants representing the allowable values for ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum
const ( ListWindowsUpdatesInstalledOnManagedInstanceSortOrderAsc ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum = "ASC" ListWindowsUpdatesInstalledOnManagedInstanceSortOrderDesc ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum = "DESC" )
func GetListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnumValues() []ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum
GetListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnumValues Enumerates the set of values for ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum
func GetMappingListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum(val string) (ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum, bool)
GetMappingListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWindowsUpdatesRequest wrapper for the ListWindowsUpdates operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListWindowsUpdates.go.html to see an example of how to use ListWindowsUpdatesRequest.
type ListWindowsUpdatesRequest struct { // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWindowsUpdatesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListWindowsUpdatesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWindowsUpdatesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWindowsUpdatesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWindowsUpdatesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWindowsUpdatesRequest) String() string
func (request ListWindowsUpdatesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWindowsUpdatesResponse wrapper for the ListWindowsUpdates operation
type ListWindowsUpdatesResponse struct { // The underlying http response RawResponse *http.Response // A list of []WindowsUpdateSummary instances Items []WindowsUpdateSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWindowsUpdatesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWindowsUpdatesResponse) String() string
ListWindowsUpdatesSortByEnum Enum with underlying type: string
type ListWindowsUpdatesSortByEnum string
Set of constants representing the allowable values for ListWindowsUpdatesSortByEnum
const ( ListWindowsUpdatesSortByTimecreated ListWindowsUpdatesSortByEnum = "TIMECREATED" ListWindowsUpdatesSortByDisplayname ListWindowsUpdatesSortByEnum = "DISPLAYNAME" )
func GetListWindowsUpdatesSortByEnumValues() []ListWindowsUpdatesSortByEnum
GetListWindowsUpdatesSortByEnumValues Enumerates the set of values for ListWindowsUpdatesSortByEnum
func GetMappingListWindowsUpdatesSortByEnum(val string) (ListWindowsUpdatesSortByEnum, bool)
GetMappingListWindowsUpdatesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWindowsUpdatesSortOrderEnum Enum with underlying type: string
type ListWindowsUpdatesSortOrderEnum string
Set of constants representing the allowable values for ListWindowsUpdatesSortOrderEnum
const ( ListWindowsUpdatesSortOrderAsc ListWindowsUpdatesSortOrderEnum = "ASC" ListWindowsUpdatesSortOrderDesc ListWindowsUpdatesSortOrderEnum = "DESC" )
func GetListWindowsUpdatesSortOrderEnumValues() []ListWindowsUpdatesSortOrderEnum
GetListWindowsUpdatesSortOrderEnumValues Enumerates the set of values for ListWindowsUpdatesSortOrderEnum
func GetMappingListWindowsUpdatesSortOrderEnum(val string) (ListWindowsUpdatesSortOrderEnum, bool)
GetMappingListWindowsUpdatesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestError instances Items []WorkRequestError `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // A decimal number representing the number of seconds the client // should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const ( ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "TIMECREATED" ListWorkRequestErrorsSortByDisplayname ListWorkRequestErrorsSortByEnum = "DISPLAYNAME" )
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestLogEntry instances Items []WorkRequestLogEntry `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // A decimal number representing the number of seconds the client // should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const ( ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "TIMECREATED" ListWorkRequestLogsSortByDisplayname ListWorkRequestLogsSortByEnum = "DISPLAYNAME" )
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsOsFamilyEnum Enum with underlying type: string
type ListWorkRequestsOsFamilyEnum string
Set of constants representing the allowable values for ListWorkRequestsOsFamilyEnum
const ( ListWorkRequestsOsFamilyLinux ListWorkRequestsOsFamilyEnum = "LINUX" ListWorkRequestsOsFamilyWindows ListWorkRequestsOsFamilyEnum = "WINDOWS" ListWorkRequestsOsFamilyAll ListWorkRequestsOsFamilyEnum = "ALL" )
func GetListWorkRequestsOsFamilyEnumValues() []ListWorkRequestsOsFamilyEnum
GetListWorkRequestsOsFamilyEnumValues Enumerates the set of values for ListWorkRequestsOsFamilyEnum
func GetMappingListWorkRequestsOsFamilyEnum(val string) (ListWorkRequestsOsFamilyEnum, bool)
GetMappingListWorkRequestsOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The ID of the managed instance for which to list resources. ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The OS family for which to list resources. OsFamily ListWorkRequestsOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestSummary instances Items []WorkRequestSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByTimecreated ListWorkRequestsSortByEnum = "TIMECREATED" ListWorkRequestsSortByDisplayname ListWorkRequestsSortByEnum = "DISPLAYNAME" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ManageModuleStreamsOnManagedInstanceDetails The set of changes to make to the state of the modules, streams, and profiles on a managed instance
type ManageModuleStreamsOnManagedInstanceDetails struct { // Indicates if this operation is a dry run or if the operation // should be commited. If set to true, the result of the operation // will be evaluated but not committed. If set to false, the // operation is committed to the managed instance. The default is // false. IsDryRun *bool `mandatory:"false" json:"isDryRun"` // The set of module streams to enable. Enable []ModuleStreamDetails `mandatory:"false" json:"enable"` // The set of module streams to disable. Disable []ModuleStreamDetails `mandatory:"false" json:"disable"` // The set of module stream profiles to install. Install []ModuleStreamProfileDetails `mandatory:"false" json:"install"` // The set of module stream profiles to remove. Remove []ModuleStreamProfileDetails `mandatory:"false" json:"remove"` }
func (m ManageModuleStreamsOnManagedInstanceDetails) String() string
func (m ManageModuleStreamsOnManagedInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManageModuleStreamsOnManagedInstanceRequest wrapper for the ManageModuleStreamsOnManagedInstance operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ManageModuleStreamsOnManagedInstance.go.html to see an example of how to use ManageModuleStreamsOnManagedInstanceRequest.
type ManageModuleStreamsOnManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // A description of an operation to perform against the modules, streams, and profiles of a managed instance ManageModuleStreamsOnManagedInstanceDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ManageModuleStreamsOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ManageModuleStreamsOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ManageModuleStreamsOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ManageModuleStreamsOnManagedInstanceRequest) String() string
func (request ManageModuleStreamsOnManagedInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManageModuleStreamsOnManagedInstanceResponse wrapper for the ManageModuleStreamsOnManagedInstance operation
type ManageModuleStreamsOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ManageModuleStreamsOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ManageModuleStreamsOnManagedInstanceResponse) String() string
ManagedInstance Detail information for an OCI Compute instance that is being managed
type ManagedInstance struct { // Managed Instance identifier DisplayName *string `mandatory:"true" json:"displayName"` // OCID for the managed instance Id *string `mandatory:"true" json:"id"` // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Information specified by the user about the managed instance Description *string `mandatory:"false" json:"description"` // Time at which the instance last checked in LastCheckin *string `mandatory:"false" json:"lastCheckin"` // Time at which the instance last booted LastBoot *string `mandatory:"false" json:"lastBoot"` // Number of updates available to be installed UpdatesAvailable *int `mandatory:"false" json:"updatesAvailable"` // Operating System Name OsName *string `mandatory:"false" json:"osName"` // Operating System Version OsVersion *string `mandatory:"false" json:"osVersion"` // Operating System Kernel Version OsKernelVersion *string `mandatory:"false" json:"osKernelVersion"` // status of the managed instance. Status ManagedInstanceStatusEnum `mandatory:"false" json:"status,omitempty"` // the parent (base) Software Source attached to the Managed Instance ParentSoftwareSource *SoftwareSourceId `mandatory:"false" json:"parentSoftwareSource"` // list of child Software Sources attached to the Managed Instance ChildSoftwareSources []SoftwareSourceId `mandatory:"false" json:"childSoftwareSources"` // The ids of the managed instance groups of which this instance is a // member. ManagedInstanceGroups []Id `mandatory:"false" json:"managedInstanceGroups"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` // Indicates whether a reboot is required to complete installation of updates. IsRebootRequired *bool `mandatory:"false" json:"isRebootRequired"` // OCID of the ONS topic used to send notification to users NotificationTopicId *string `mandatory:"false" json:"notificationTopicId"` // The ksplice effective kernel version KspliceEffectiveKernelVersion *string `mandatory:"false" json:"kspliceEffectiveKernelVersion"` // True if user allow data collection for this instance IsDataCollectionAuthorized *bool `mandatory:"false" json:"isDataCollectionAuthorized"` // if present, indicates the Managed Instance is an autonomous instance. Holds all the Autonomous specific information Autonomous *AutonomousSettings `mandatory:"false" json:"autonomous"` // Number of security type updates available to be installed SecurityUpdatesAvailable *int `mandatory:"false" json:"securityUpdatesAvailable"` // Number of bug fix type updates available to be installed BugUpdatesAvailable *int `mandatory:"false" json:"bugUpdatesAvailable"` // Number of enhancement type updates available to be installed EnhancementUpdatesAvailable *int `mandatory:"false" json:"enhancementUpdatesAvailable"` // Number of non-classified updates available to be installed OtherUpdatesAvailable *int `mandatory:"false" json:"otherUpdatesAvailable"` // Number of scheduled jobs associated with this instance ScheduledJobCount *int `mandatory:"false" json:"scheduledJobCount"` // Number of work requests associated with this instance WorkRequestCount *int `mandatory:"false" json:"workRequestCount"` }
func (m ManagedInstance) String() string
func (m ManagedInstance) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceGroup Detail information for a managed instance group
type ManagedInstanceGroup struct { // Managed Instance Group identifier DisplayName *string `mandatory:"true" json:"displayName"` // OCID for the managed instance group Id *string `mandatory:"true" json:"id"` // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Information specified by the user about the managed instance group Description *string `mandatory:"false" json:"description"` // list of Managed Instances in the group ManagedInstances []Id `mandatory:"false" json:"managedInstances"` // The current state of the Software Source. LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` }
func (m ManagedInstanceGroup) String() string
func (m ManagedInstanceGroup) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceGroupSummary An group of managed instances that will be managed together
type ManagedInstanceGroupSummary struct { // user settable name DisplayName *string `mandatory:"true" json:"displayName"` // OCID for the managed instance group Id *string `mandatory:"true" json:"id"` // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Information specified by the user about the managed instance group Description *string `mandatory:"false" json:"description"` // Number of managed instances in this managed instance group ManagedInstanceCount *int `mandatory:"false" json:"managedInstanceCount"` // The current state of the Software Source. LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` }
func (m ManagedInstanceGroupSummary) String() string
func (m ManagedInstanceGroupSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceStatusEnum Enum with underlying type: string
type ManagedInstanceStatusEnum string
Set of constants representing the allowable values for ManagedInstanceStatusEnum
const ( ManagedInstanceStatusNormal ManagedInstanceStatusEnum = "NORMAL" ManagedInstanceStatusUnreachable ManagedInstanceStatusEnum = "UNREACHABLE" ManagedInstanceStatusError ManagedInstanceStatusEnum = "ERROR" ManagedInstanceStatusWarning ManagedInstanceStatusEnum = "WARNING" )
func GetManagedInstanceStatusEnumValues() []ManagedInstanceStatusEnum
GetManagedInstanceStatusEnumValues Enumerates the set of values for ManagedInstanceStatusEnum
func GetMappingManagedInstanceStatusEnum(val string) (ManagedInstanceStatusEnum, bool)
GetMappingManagedInstanceStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ManagedInstanceSummary An OCI Compute instance that is being managed
type ManagedInstanceSummary struct { // user settable name DisplayName *string `mandatory:"true" json:"displayName"` // OCID for the managed instance Id *string `mandatory:"true" json:"id"` // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Time at which the instance last checked in LastCheckin *string `mandatory:"false" json:"lastCheckin"` // Time at which the instance last booted LastBoot *string `mandatory:"false" json:"lastBoot"` // Number of updates available to be installed UpdatesAvailable *int `mandatory:"false" json:"updatesAvailable"` // Information specified by the user about the managed instance Description *string `mandatory:"false" json:"description"` // status of the managed instance. Status ManagedInstanceSummaryStatusEnum `mandatory:"false" json:"status,omitempty"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` // Indicates whether a reboot is required to complete installation of updates. IsRebootRequired *bool `mandatory:"false" json:"isRebootRequired"` }
func (m ManagedInstanceSummary) String() string
func (m ManagedInstanceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceSummaryStatusEnum Enum with underlying type: string
type ManagedInstanceSummaryStatusEnum string
Set of constants representing the allowable values for ManagedInstanceSummaryStatusEnum
const ( ManagedInstanceSummaryStatusNormal ManagedInstanceSummaryStatusEnum = "NORMAL" ManagedInstanceSummaryStatusUnreachable ManagedInstanceSummaryStatusEnum = "UNREACHABLE" ManagedInstanceSummaryStatusError ManagedInstanceSummaryStatusEnum = "ERROR" ManagedInstanceSummaryStatusWarning ManagedInstanceSummaryStatusEnum = "WARNING" )
func GetManagedInstanceSummaryStatusEnumValues() []ManagedInstanceSummaryStatusEnum
GetManagedInstanceSummaryStatusEnumValues Enumerates the set of values for ManagedInstanceSummaryStatusEnum
func GetMappingManagedInstanceSummaryStatusEnum(val string) (ManagedInstanceSummaryStatusEnum, bool)
GetMappingManagedInstanceSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ModuleStream A module stream provided by a software source
type ModuleStream struct { // The name of the module that contains the stream ModuleName *string `mandatory:"true" json:"moduleName"` // The name of the stream StreamName *string `mandatory:"true" json:"streamName"` // Indicates if this stream is the default for its module. IsDefault *bool `mandatory:"false" json:"isDefault"` // The OCID of the software source that provides this module stream. SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"` // The architecture for which the packages in this module stream were built Architecture *string `mandatory:"false" json:"architecture"` // A description of the contents of the module stream Description *string `mandatory:"false" json:"description"` // A list of profiles that are part of the stream. Each element in // the list is the name of a profile. The name is suitable to use as // an argument to other OS Management APIs that interact directly with // module stream profiles. However, it is not URL encoded. Profiles []string `mandatory:"false" json:"profiles"` // A list of packages that are contained by the stream. Each element // in the list is the name of a package. The name is suitable to use // as an argument to other OS Management APIs that interact directly // with packages. Packages []string `mandatory:"false" json:"packages"` }
func (m ModuleStream) String() string
func (m ModuleStream) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModuleStreamDetails Updatable information for a module stream
type ModuleStreamDetails struct { // The name of a module ModuleName *string `mandatory:"true" json:"moduleName"` // The name of a stream of the specified module StreamName *string `mandatory:"true" json:"streamName"` }
func (m ModuleStreamDetails) String() string
func (m ModuleStreamDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModuleStreamOnManagedInstanceSummary Summary information pertaining to a module stream on a managed instance
type ModuleStreamOnManagedInstanceSummary struct { // The name of the module that contains the stream. ModuleName *string `mandatory:"true" json:"moduleName"` // The name of the stream. StreamName *string `mandatory:"true" json:"streamName"` // The status of the stream // A stream with the "ENABLED" status can be used as a source for installing // profiles. Streams with this status are also "ACTIVE". // A stream with the "DISABLED" status cannot be the source for installing // profiles. To install profiles and packages from this stream, it must be // enabled. // A stream with the "ACTIVE" status can be used as a source for installing // profiles. The packages that comprise the stream are also used when a // matching package is installed directly. In general, a stream can have // this status if it is the default stream for the module and no stream has // been explicitly enabled. Status ModuleStreamOnManagedInstanceSummaryStatusEnum `mandatory:"true" json:"status"` // The set of profiles that the module stream contains. Profiles []ModuleStreamProfileOnManagedInstanceSummary `mandatory:"false" json:"profiles"` // The OCID of the software source that provides this module stream. SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"` // The date and time of the last status change for this profile, as // described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"` }
func (m ModuleStreamOnManagedInstanceSummary) String() string
func (m ModuleStreamOnManagedInstanceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModuleStreamOnManagedInstanceSummaryStatusEnum Enum with underlying type: string
type ModuleStreamOnManagedInstanceSummaryStatusEnum string
Set of constants representing the allowable values for ModuleStreamOnManagedInstanceSummaryStatusEnum
const ( ModuleStreamOnManagedInstanceSummaryStatusEnabled ModuleStreamOnManagedInstanceSummaryStatusEnum = "ENABLED" ModuleStreamOnManagedInstanceSummaryStatusDisabled ModuleStreamOnManagedInstanceSummaryStatusEnum = "DISABLED" ModuleStreamOnManagedInstanceSummaryStatusActive ModuleStreamOnManagedInstanceSummaryStatusEnum = "ACTIVE" )
func GetMappingModuleStreamOnManagedInstanceSummaryStatusEnum(val string) (ModuleStreamOnManagedInstanceSummaryStatusEnum, bool)
GetMappingModuleStreamOnManagedInstanceSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModuleStreamOnManagedInstanceSummaryStatusEnumValues() []ModuleStreamOnManagedInstanceSummaryStatusEnum
GetModuleStreamOnManagedInstanceSummaryStatusEnumValues Enumerates the set of values for ModuleStreamOnManagedInstanceSummaryStatusEnum
ModuleStreamProfile A module stream profile provided by a software source
type ModuleStreamProfile struct { // The name of the module that contains the stream profile ModuleName *string `mandatory:"true" json:"moduleName"` // The name of the stream that contains the profile StreamName *string `mandatory:"true" json:"streamName"` // The name of the profile ProfileName *string `mandatory:"true" json:"profileName"` // A list of packages that constitute the profile. Each element // in the list is the name of a package. The name is suitable to // use as an argument to other OS Management APIs that interact // directly with packages. Packages []string `mandatory:"true" json:"packages"` // Indicates if this profile is the default for its module stream. IsDefault *bool `mandatory:"false" json:"isDefault"` // A description of the contents of the module stream profile Description *string `mandatory:"false" json:"description"` }
func (m ModuleStreamProfile) String() string
func (m ModuleStreamProfile) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModuleStreamProfileDetails Updatable information for a module stream profile
type ModuleStreamProfileDetails struct { // The name of a module ModuleName *string `mandatory:"true" json:"moduleName"` // The name of a stream of the specified module StreamName *string `mandatory:"true" json:"streamName"` // The name of a profile of the specified module stream ProfileName *string `mandatory:"true" json:"profileName"` }
func (m ModuleStreamProfileDetails) String() string
func (m ModuleStreamProfileDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModuleStreamProfileOnManagedInstanceSummary Summary information pertaining to a module stream profile on a managed instance
type ModuleStreamProfileOnManagedInstanceSummary struct { // The name of the module that contains the stream profile ModuleName *string `mandatory:"true" json:"moduleName"` // The name of the stream that contains the profile StreamName *string `mandatory:"true" json:"streamName"` // The name of the profile ProfileName *string `mandatory:"true" json:"profileName"` // The status of the profile. // A profile with the "INSTALLED" status indicates that the profile has been // installed. // A profile with the "AVAILABLE" status indicates that the profile is // not installed, but can be. Status ModuleStreamProfileOnManagedInstanceSummaryStatusEnum `mandatory:"true" json:"status"` // The date and time of the last status change for this profile, as // described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"` }
func (m ModuleStreamProfileOnManagedInstanceSummary) String() string
func (m ModuleStreamProfileOnManagedInstanceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModuleStreamProfileOnManagedInstanceSummaryStatusEnum Enum with underlying type: string
type ModuleStreamProfileOnManagedInstanceSummaryStatusEnum string
Set of constants representing the allowable values for ModuleStreamProfileOnManagedInstanceSummaryStatusEnum
const ( ModuleStreamProfileOnManagedInstanceSummaryStatusInstalled ModuleStreamProfileOnManagedInstanceSummaryStatusEnum = "INSTALLED" ModuleStreamProfileOnManagedInstanceSummaryStatusAvailable ModuleStreamProfileOnManagedInstanceSummaryStatusEnum = "AVAILABLE" )
func GetMappingModuleStreamProfileOnManagedInstanceSummaryStatusEnum(val string) (ModuleStreamProfileOnManagedInstanceSummaryStatusEnum, bool)
GetMappingModuleStreamProfileOnManagedInstanceSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModuleStreamProfileOnManagedInstanceSummaryStatusEnumValues() []ModuleStreamProfileOnManagedInstanceSummaryStatusEnum
GetModuleStreamProfileOnManagedInstanceSummaryStatusEnumValues Enumerates the set of values for ModuleStreamProfileOnManagedInstanceSummaryStatusEnum
ModuleStreamProfileSummary Summary information pertaining to a module stream profile provided by a software source
type ModuleStreamProfileSummary struct { // The name of the module that contains the stream profile ModuleName *string `mandatory:"true" json:"moduleName"` // The name of the stream that contains the profile StreamName *string `mandatory:"true" json:"streamName"` // The name of the profile ProfileName *string `mandatory:"true" json:"profileName"` }
func (m ModuleStreamProfileSummary) String() string
func (m ModuleStreamProfileSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModuleStreamSummary Summary information pertaining to a module stream provided by a software source
type ModuleStreamSummary struct { // The name of the module that contains the stream. ModuleName *string `mandatory:"true" json:"moduleName"` // The name of the stream. StreamName *string `mandatory:"true" json:"streamName"` // The OCID of the software source that provides this module stream. SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"` }
func (m ModuleStreamSummary) String() string
func (m ModuleStreamSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCancelling OperationStatusEnum = "CANCELLING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypesEnum Enum with underlying type: string
type OperationTypesEnum string
Set of constants representing the allowable values for OperationTypesEnum
const ( OperationTypesInstall OperationTypesEnum = "INSTALL" OperationTypesUpdate OperationTypesEnum = "UPDATE" OperationTypesRemove OperationTypesEnum = "REMOVE" OperationTypesUpdateall OperationTypesEnum = "UPDATEALL" OperationTypesEnablemodulestream OperationTypesEnum = "ENABLEMODULESTREAM" OperationTypesDisablemodulestream OperationTypesEnum = "DISABLEMODULESTREAM" OperationTypesSwitchmodulestream OperationTypesEnum = "SWITCHMODULESTREAM" OperationTypesInstallmodulestreamprofile OperationTypesEnum = "INSTALLMODULESTREAMPROFILE" OperationTypesRemovemodulestreamprofile OperationTypesEnum = "REMOVEMODULESTREAMPROFILE" OperationTypesCompound OperationTypesEnum = "COMPOUND" )
func GetMappingOperationTypesEnum(val string) (OperationTypesEnum, bool)
GetMappingOperationTypesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypesEnumValues() []OperationTypesEnum
GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum
OsFamiliesEnum Enum with underlying type: string
type OsFamiliesEnum string
Set of constants representing the allowable values for OsFamiliesEnum
const ( OsFamiliesLinux OsFamiliesEnum = "LINUX" OsFamiliesWindows OsFamiliesEnum = "WINDOWS" OsFamiliesAll OsFamiliesEnum = "ALL" )
func GetMappingOsFamiliesEnum(val string) (OsFamiliesEnum, bool)
GetMappingOsFamiliesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOsFamiliesEnumValues() []OsFamiliesEnum
GetOsFamiliesEnumValues Enumerates the set of values for OsFamiliesEnum
OsManagementClient a client for OsManagement
type OsManagementClient struct { common.BaseClient // contains filtered or unexported fields }
func NewOsManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OsManagementClient, err error)
NewOsManagementClientWithConfigurationProvider Creates a new default OsManagement client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewOsManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OsManagementClient, err error)
NewOsManagementClientWithOboToken Creates a new default OsManagement client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client OsManagementClient) AddPackagesToSoftwareSource(ctx context.Context, request AddPackagesToSoftwareSourceRequest) (response AddPackagesToSoftwareSourceResponse, err error)
AddPackagesToSoftwareSource Adds a given list of Software Packages to a specific Software Source.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/AddPackagesToSoftwareSource.go.html to see an example of how to use AddPackagesToSoftwareSource API.
func (client OsManagementClient) AttachChildSoftwareSourceToManagedInstance(ctx context.Context, request AttachChildSoftwareSourceToManagedInstanceRequest) (response AttachChildSoftwareSourceToManagedInstanceResponse, err error)
AttachChildSoftwareSourceToManagedInstance Adds a child software source to a managed instance. After the software source has been added, then packages from that software source can be installed on the managed instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/AttachChildSoftwareSourceToManagedInstance.go.html to see an example of how to use AttachChildSoftwareSourceToManagedInstance API.
func (client OsManagementClient) AttachManagedInstanceToManagedInstanceGroup(ctx context.Context, request AttachManagedInstanceToManagedInstanceGroupRequest) (response AttachManagedInstanceToManagedInstanceGroupResponse, err error)
AttachManagedInstanceToManagedInstanceGroup Adds a Managed Instance to a Managed Instance Group. After the Managed Instance has been added, then operations can be performed on the Managed Instance Group which will then apply to all Managed Instances in the group.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/AttachManagedInstanceToManagedInstanceGroup.go.html to see an example of how to use AttachManagedInstanceToManagedInstanceGroup API.
func (client OsManagementClient) AttachParentSoftwareSourceToManagedInstance(ctx context.Context, request AttachParentSoftwareSourceToManagedInstanceRequest) (response AttachParentSoftwareSourceToManagedInstanceResponse, err error)
AttachParentSoftwareSourceToManagedInstance Adds a parent software source to a managed instance. After the software source has been added, then packages from that software source can be installed on the managed instance. Software sources that have this software source as a parent will be able to be added to this managed instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/AttachParentSoftwareSourceToManagedInstance.go.html to see an example of how to use AttachParentSoftwareSourceToManagedInstance API.
func (client OsManagementClient) ChangeManagedInstanceGroupCompartment(ctx context.Context, request ChangeManagedInstanceGroupCompartmentRequest) (response ChangeManagedInstanceGroupCompartmentResponse, err error)
ChangeManagedInstanceGroupCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ChangeManagedInstanceGroupCompartment.go.html to see an example of how to use ChangeManagedInstanceGroupCompartment API.
func (client OsManagementClient) ChangeScheduledJobCompartment(ctx context.Context, request ChangeScheduledJobCompartmentRequest) (response ChangeScheduledJobCompartmentResponse, err error)
ChangeScheduledJobCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ChangeScheduledJobCompartment.go.html to see an example of how to use ChangeScheduledJobCompartment API.
func (client OsManagementClient) ChangeSoftwareSourceCompartment(ctx context.Context, request ChangeSoftwareSourceCompartmentRequest) (response ChangeSoftwareSourceCompartmentResponse, err error)
ChangeSoftwareSourceCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ChangeSoftwareSourceCompartment.go.html to see an example of how to use ChangeSoftwareSourceCompartment API.
func (client *OsManagementClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client OsManagementClient) CreateManagedInstanceGroup(ctx context.Context, request CreateManagedInstanceGroupRequest) (response CreateManagedInstanceGroupResponse, err error)
CreateManagedInstanceGroup Creates a new Managed Instance Group on the management system. This will not contain any managed instances after it is first created, and they must be added later.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/CreateManagedInstanceGroup.go.html to see an example of how to use CreateManagedInstanceGroup API.
func (client OsManagementClient) CreateScheduledJob(ctx context.Context, request CreateScheduledJobRequest) (response CreateScheduledJobResponse, err error)
CreateScheduledJob Creates a new Scheduled Job to perform a specific package operation on a set of managed instances or managed instance groups. Can be created as a one-time execution in the future, or as a recurring execution that repeats on a defined interval.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/CreateScheduledJob.go.html to see an example of how to use CreateScheduledJob API.
func (client OsManagementClient) CreateSoftwareSource(ctx context.Context, request CreateSoftwareSourceRequest) (response CreateSoftwareSourceResponse, err error)
CreateSoftwareSource Creates a new custom Software Source on the management system. This will not contain any packages after it is first created, and they must be added later.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/CreateSoftwareSource.go.html to see an example of how to use CreateSoftwareSource API.
func (client OsManagementClient) DeleteManagedInstanceGroup(ctx context.Context, request DeleteManagedInstanceGroupRequest) (response DeleteManagedInstanceGroupResponse, err error)
DeleteManagedInstanceGroup Deletes a Managed Instance Group from the management system
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/DeleteManagedInstanceGroup.go.html to see an example of how to use DeleteManagedInstanceGroup API.
func (client OsManagementClient) DeleteScheduledJob(ctx context.Context, request DeleteScheduledJobRequest) (response DeleteScheduledJobResponse, err error)
DeleteScheduledJob Cancels an existing Scheduled Job on the management system
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/DeleteScheduledJob.go.html to see an example of how to use DeleteScheduledJob API.
func (client OsManagementClient) DeleteSoftwareSource(ctx context.Context, request DeleteSoftwareSourceRequest) (response DeleteSoftwareSourceResponse, err error)
DeleteSoftwareSource Deletes a custom Software Source on the management system
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/DeleteSoftwareSource.go.html to see an example of how to use DeleteSoftwareSource API.
func (client OsManagementClient) DetachChildSoftwareSourceFromManagedInstance(ctx context.Context, request DetachChildSoftwareSourceFromManagedInstanceRequest) (response DetachChildSoftwareSourceFromManagedInstanceResponse, err error)
DetachChildSoftwareSourceFromManagedInstance Removes a child software source from a managed instance. Packages will no longer be able to be installed from these software sources.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/DetachChildSoftwareSourceFromManagedInstance.go.html to see an example of how to use DetachChildSoftwareSourceFromManagedInstance API.
func (client OsManagementClient) DetachManagedInstanceFromManagedInstanceGroup(ctx context.Context, request DetachManagedInstanceFromManagedInstanceGroupRequest) (response DetachManagedInstanceFromManagedInstanceGroupResponse, err error)
DetachManagedInstanceFromManagedInstanceGroup Removes a Managed Instance from a Managed Instance Group.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/DetachManagedInstanceFromManagedInstanceGroup.go.html to see an example of how to use DetachManagedInstanceFromManagedInstanceGroup API.
func (client OsManagementClient) DetachParentSoftwareSourceFromManagedInstance(ctx context.Context, request DetachParentSoftwareSourceFromManagedInstanceRequest) (response DetachParentSoftwareSourceFromManagedInstanceResponse, err error)
DetachParentSoftwareSourceFromManagedInstance Removes a software source from a managed instance. All child software sources will also be removed from the managed instance. Packages will no longer be able to be installed from these software sources.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/DetachParentSoftwareSourceFromManagedInstance.go.html to see an example of how to use DetachParentSoftwareSourceFromManagedInstance API.
func (client OsManagementClient) DisableModuleStreamOnManagedInstance(ctx context.Context, request DisableModuleStreamOnManagedInstanceRequest) (response DisableModuleStreamOnManagedInstanceResponse, err error)
DisableModuleStreamOnManagedInstance Disables a module stream on a managed instance. After the stream is disabled, it is no longer possible to install the profiles that are contained by the stream. All installed profiles must be removed prior to disabling a module stream.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/DisableModuleStreamOnManagedInstance.go.html to see an example of how to use DisableModuleStreamOnManagedInstance API.
func (client OsManagementClient) EnableModuleStreamOnManagedInstance(ctx context.Context, request EnableModuleStreamOnManagedInstanceRequest) (response EnableModuleStreamOnManagedInstanceResponse, err error)
EnableModuleStreamOnManagedInstance Enables a module stream on a managed instance. After the stream is enabled, it is possible to install the profiles that are contained by the stream. Enabling a stream that is already enabled will succeed. Attempting to enable a different stream for a module that already has a stream enabled results in an error.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/EnableModuleStreamOnManagedInstance.go.html to see an example of how to use EnableModuleStreamOnManagedInstance API.
func (client OsManagementClient) GetErratum(ctx context.Context, request GetErratumRequest) (response GetErratumResponse, err error)
GetErratum Returns a specific erratum.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/GetErratum.go.html to see an example of how to use GetErratum API.
func (client OsManagementClient) GetManagedInstance(ctx context.Context, request GetManagedInstanceRequest) (response GetManagedInstanceResponse, err error)
GetManagedInstance Returns a specific Managed Instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/GetManagedInstance.go.html to see an example of how to use GetManagedInstance API.
func (client OsManagementClient) GetManagedInstanceGroup(ctx context.Context, request GetManagedInstanceGroupRequest) (response GetManagedInstanceGroupResponse, err error)
GetManagedInstanceGroup Returns a specific Managed Instance Group.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/GetManagedInstanceGroup.go.html to see an example of how to use GetManagedInstanceGroup API.
func (client OsManagementClient) GetModuleStream(ctx context.Context, request GetModuleStreamRequest) (response GetModuleStreamResponse, err error)
GetModuleStream Retrieve a detailed description of a module stream from a software source.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/GetModuleStream.go.html to see an example of how to use GetModuleStream API.
func (client OsManagementClient) GetModuleStreamProfile(ctx context.Context, request GetModuleStreamProfileRequest) (response GetModuleStreamProfileResponse, err error)
GetModuleStreamProfile Retrieve a detailed description of a module stream profile from a software source.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/GetModuleStreamProfile.go.html to see an example of how to use GetModuleStreamProfile API.
func (client OsManagementClient) GetScheduledJob(ctx context.Context, request GetScheduledJobRequest) (response GetScheduledJobResponse, err error)
GetScheduledJob Gets the detailed information for the Scheduled Job with the given ID.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/GetScheduledJob.go.html to see an example of how to use GetScheduledJob API.
func (client OsManagementClient) GetSoftwarePackage(ctx context.Context, request GetSoftwarePackageRequest) (response GetSoftwarePackageResponse, err error)
GetSoftwarePackage Returns a specific Software Package.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/GetSoftwarePackage.go.html to see an example of how to use GetSoftwarePackage API.
func (client OsManagementClient) GetSoftwareSource(ctx context.Context, request GetSoftwareSourceRequest) (response GetSoftwareSourceResponse, err error)
GetSoftwareSource Returns a specific Software Source.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/GetSoftwareSource.go.html to see an example of how to use GetSoftwareSource API.
func (client OsManagementClient) GetWindowsUpdate(ctx context.Context, request GetWindowsUpdateRequest) (response GetWindowsUpdateResponse, err error)
GetWindowsUpdate Returns a Windows Update object.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/GetWindowsUpdate.go.html to see an example of how to use GetWindowsUpdate API.
func (client OsManagementClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the detailed information for the work request with the given ID.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client OsManagementClient) InstallAllPackageUpdatesOnManagedInstance(ctx context.Context, request InstallAllPackageUpdatesOnManagedInstanceRequest) (response InstallAllPackageUpdatesOnManagedInstanceResponse, err error)
InstallAllPackageUpdatesOnManagedInstance Install all of the available package updates for the managed instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/InstallAllPackageUpdatesOnManagedInstance.go.html to see an example of how to use InstallAllPackageUpdatesOnManagedInstance API.
func (client OsManagementClient) InstallAllUpdatesOnManagedInstanceGroup(ctx context.Context, request InstallAllUpdatesOnManagedInstanceGroupRequest) (response InstallAllUpdatesOnManagedInstanceGroupResponse, err error)
InstallAllUpdatesOnManagedInstanceGroup Install all of the available updates for the Managed Instance Group.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/InstallAllUpdatesOnManagedInstanceGroup.go.html to see an example of how to use InstallAllUpdatesOnManagedInstanceGroup API.
func (client OsManagementClient) InstallAllWindowsUpdatesOnManagedInstance(ctx context.Context, request InstallAllWindowsUpdatesOnManagedInstanceRequest) (response InstallAllWindowsUpdatesOnManagedInstanceResponse, err error)
InstallAllWindowsUpdatesOnManagedInstance Install all of the available Windows updates for the managed instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/InstallAllWindowsUpdatesOnManagedInstance.go.html to see an example of how to use InstallAllWindowsUpdatesOnManagedInstance API.
func (client OsManagementClient) InstallModuleStreamProfileOnManagedInstance(ctx context.Context, request InstallModuleStreamProfileOnManagedInstanceRequest) (response InstallModuleStreamProfileOnManagedInstanceResponse, err error)
InstallModuleStreamProfileOnManagedInstance Installs a profile for an module stream. The stream must be enabled before a profile can be installed. If a module stream defines multiple profiles, each one can be installed independently.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/InstallModuleStreamProfileOnManagedInstance.go.html to see an example of how to use InstallModuleStreamProfileOnManagedInstance API.
func (client OsManagementClient) InstallPackageOnManagedInstance(ctx context.Context, request InstallPackageOnManagedInstanceRequest) (response InstallPackageOnManagedInstanceResponse, err error)
InstallPackageOnManagedInstance Installs a package on a managed instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/InstallPackageOnManagedInstance.go.html to see an example of how to use InstallPackageOnManagedInstance API.
func (client OsManagementClient) InstallPackageUpdateOnManagedInstance(ctx context.Context, request InstallPackageUpdateOnManagedInstanceRequest) (response InstallPackageUpdateOnManagedInstanceResponse, err error)
InstallPackageUpdateOnManagedInstance Updates a package on a managed instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/InstallPackageUpdateOnManagedInstance.go.html to see an example of how to use InstallPackageUpdateOnManagedInstance API.
func (client OsManagementClient) InstallWindowsUpdateOnManagedInstance(ctx context.Context, request InstallWindowsUpdateOnManagedInstanceRequest) (response InstallWindowsUpdateOnManagedInstanceResponse, err error)
InstallWindowsUpdateOnManagedInstance Installs a Windows update on a managed instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/InstallWindowsUpdateOnManagedInstance.go.html to see an example of how to use InstallWindowsUpdateOnManagedInstance API.
func (client OsManagementClient) ListAvailablePackagesForManagedInstance(ctx context.Context, request ListAvailablePackagesForManagedInstanceRequest) (response ListAvailablePackagesForManagedInstanceResponse, err error)
ListAvailablePackagesForManagedInstance Returns a list of packages available for install on the Managed Instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListAvailablePackagesForManagedInstance.go.html to see an example of how to use ListAvailablePackagesForManagedInstance API.
func (client OsManagementClient) ListAvailableSoftwareSourcesForManagedInstance(ctx context.Context, request ListAvailableSoftwareSourcesForManagedInstanceRequest) (response ListAvailableSoftwareSourcesForManagedInstanceResponse, err error)
ListAvailableSoftwareSourcesForManagedInstance Returns a list of available software sources for a Managed Instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListAvailableSoftwareSourcesForManagedInstance.go.html to see an example of how to use ListAvailableSoftwareSourcesForManagedInstance API.
func (client OsManagementClient) ListAvailableUpdatesForManagedInstance(ctx context.Context, request ListAvailableUpdatesForManagedInstanceRequest) (response ListAvailableUpdatesForManagedInstanceResponse, err error)
ListAvailableUpdatesForManagedInstance Returns a list of available updates for a Managed Instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListAvailableUpdatesForManagedInstance.go.html to see an example of how to use ListAvailableUpdatesForManagedInstance API.
func (client OsManagementClient) ListAvailableWindowsUpdatesForManagedInstance(ctx context.Context, request ListAvailableWindowsUpdatesForManagedInstanceRequest) (response ListAvailableWindowsUpdatesForManagedInstanceResponse, err error)
ListAvailableWindowsUpdatesForManagedInstance Returns a list of available Windows updates for a Managed Instance. This is only applicable to Windows instances.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListAvailableWindowsUpdatesForManagedInstance.go.html to see an example of how to use ListAvailableWindowsUpdatesForManagedInstance API.
func (client OsManagementClient) ListErrata(ctx context.Context, request ListErrataRequest) (response ListErrataResponse, err error)
ListErrata Returns a list of all of the currently available Errata in the system
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListErrata.go.html to see an example of how to use ListErrata API.
func (client OsManagementClient) ListManagedInstanceErrata(ctx context.Context, request ListManagedInstanceErrataRequest) (response ListManagedInstanceErrataResponse, err error)
ListManagedInstanceErrata Returns a list of errata relevant to the Managed Instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListManagedInstanceErrata.go.html to see an example of how to use ListManagedInstanceErrata API.
func (client OsManagementClient) ListManagedInstanceGroups(ctx context.Context, request ListManagedInstanceGroupsRequest) (response ListManagedInstanceGroupsResponse, err error)
ListManagedInstanceGroups Returns a list of all Managed Instance Groups.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListManagedInstanceGroups.go.html to see an example of how to use ListManagedInstanceGroups API.
func (client OsManagementClient) ListManagedInstances(ctx context.Context, request ListManagedInstancesRequest) (response ListManagedInstancesResponse, err error)
ListManagedInstances Returns a list of all Managed Instances.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListManagedInstances.go.html to see an example of how to use ListManagedInstances API.
func (client OsManagementClient) ListModuleStreamProfiles(ctx context.Context, request ListModuleStreamProfilesRequest) (response ListModuleStreamProfilesResponse, err error)
ListModuleStreamProfiles Retrieve a list of module stream profiles from a software source. Filters may be applied to select a subset of module stream profiles based on the filter criteria. The "moduleName", "streamName", and "profileName" attributes combine to form a set of filters on the list of module stream profiles. If a "moduleName" is provided, only profiles that belong to that module are returned. If both a "moduleName" and "streamName" are given, only profiles belonging to that module stream are returned. Finally, if all three are given then only the particular profile indicated by the triple is returned. It is not valid to supply a "streamName" without a "moduleName". It is also not valid to supply a "profileName" without a "streamName".
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListModuleStreamProfiles.go.html to see an example of how to use ListModuleStreamProfiles API.
func (client OsManagementClient) ListModuleStreamProfilesOnManagedInstance(ctx context.Context, request ListModuleStreamProfilesOnManagedInstanceRequest) (response ListModuleStreamProfilesOnManagedInstanceResponse, err error)
ListModuleStreamProfilesOnManagedInstance Retrieve a list of module stream profiles, along with a summary of their of their status, from a managed instance. Filters may be applied to select a subset of profiles based on the filter criteria. The "moduleName", "streamName", and "profileName" attributes combine to form a set of filters on the list of module stream profiles. If a "modulName" is provided, only profiles that belong to that module are returned. If both a "moduleName" and "streamName" are given, only profiles belonging to that module stream are returned. Finally, if all three are given then only the particular profile indicated by the triple is returned. It is not valid to supply a "streamName" without a "moduleName". It is also not valid to supply a "profileName" without a "streamName". The "status" attribute filters against the state of a module stream profile. Valid values are "INSTALLED" and "AVAILABLE". If the attribute is set to "INSTALLED", only module stream profiles that are installed are included in the result set. If the attribute is set to "AVAILABLE", only module stream profiles that are not installed are included in the result set. If the attribute is not defined, the request is not subject to this filter. When sorting by display name, the result set is sorted first by module name, then by stream name, and finally by profile name.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListModuleStreamProfilesOnManagedInstance.go.html to see an example of how to use ListModuleStreamProfilesOnManagedInstance API.
func (client OsManagementClient) ListModuleStreams(ctx context.Context, request ListModuleStreamsRequest) (response ListModuleStreamsResponse, err error)
ListModuleStreams Retrieve a list of module streams from a software source. Filters may be applied to select a subset of module streams based on the filter criteria. The 'moduleName' attribute filters against the name of a module. It accepts strings of the format "<module>". If this attribute is defined, only streams that belong to the specified module are included in the result set. If it is not defined, the request is not subject to this filter. The 'streamName' attribute filters against the name of a stream of a module. If this attribute is defined, only the particular module stream that matches both the module and stream names is included in the result set. It is not valid to supply 'streamName' without also supplying a 'moduleName'. When sorting by display name, the result set is sorted first by module name, then by stream name.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListModuleStreams.go.html to see an example of how to use ListModuleStreams API.
func (client OsManagementClient) ListModuleStreamsOnManagedInstance(ctx context.Context, request ListModuleStreamsOnManagedInstanceRequest) (response ListModuleStreamsOnManagedInstanceResponse, err error)
ListModuleStreamsOnManagedInstance Retrieve a list of module streams, along with a summary of their status, from a managed instance. Filters may be applied to select a subset of module streams based on the filter criteria. The 'moduleName' attribute filters against the name of a module. It accepts strings of the format "<module>". If this attribute is defined, only streams that belong to the specified module are included in the result set. If it is not defined, the request is not subject to this filter. The "status" attribute filters against the state of a module stream. Valid values are "ENABLED", "DISABLED", and "ACTIVE". If the attribute is set to "ENABLED", only module streams that are enabled are included in the result set. If the attribute is set to "DISABLED", only module streams that are not enabled are included in the result set. If the attribute is set to "ACTIVE", only module streams that are active are included in the result set. If the attribute is not defined, the request is not subject to this filter. When sorting by the display name, the result set is sorted first by the module name and then by the stream name.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListModuleStreamsOnManagedInstance.go.html to see an example of how to use ListModuleStreamsOnManagedInstance API.
func (client OsManagementClient) ListPackagesInstalledOnManagedInstance(ctx context.Context, request ListPackagesInstalledOnManagedInstanceRequest) (response ListPackagesInstalledOnManagedInstanceResponse, err error)
ListPackagesInstalledOnManagedInstance Returns a list of installed packages on the Managed Instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListPackagesInstalledOnManagedInstance.go.html to see an example of how to use ListPackagesInstalledOnManagedInstance API.
func (client OsManagementClient) ListScheduledJobs(ctx context.Context, request ListScheduledJobsRequest) (response ListScheduledJobsResponse, err error)
ListScheduledJobs Returns a list of all of the currently active Scheduled Jobs in the system
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListScheduledJobs.go.html to see an example of how to use ListScheduledJobs API.
func (client OsManagementClient) ListSoftwareSourcePackages(ctx context.Context, request ListSoftwareSourcePackagesRequest) (response ListSoftwareSourcePackagesResponse, err error)
ListSoftwareSourcePackages Lists Software Packages in a Software Source
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListSoftwareSourcePackages.go.html to see an example of how to use ListSoftwareSourcePackages API.
func (client OsManagementClient) ListSoftwareSources(ctx context.Context, request ListSoftwareSourcesRequest) (response ListSoftwareSourcesResponse, err error)
ListSoftwareSources Returns a list of all Software Sources.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListSoftwareSources.go.html to see an example of how to use ListSoftwareSources API.
func (client OsManagementClient) ListUpcomingScheduledJobs(ctx context.Context, request ListUpcomingScheduledJobsRequest) (response ListUpcomingScheduledJobsResponse, err error)
ListUpcomingScheduledJobs Returns a list of all of the Scheduled Jobs whose next execution time is at or before the specified time.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListUpcomingScheduledJobs.go.html to see an example of how to use ListUpcomingScheduledJobs API.
func (client OsManagementClient) ListWindowsUpdates(ctx context.Context, request ListWindowsUpdatesRequest) (response ListWindowsUpdatesResponse, err error)
ListWindowsUpdates Returns a list of Windows Updates.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListWindowsUpdates.go.html to see an example of how to use ListWindowsUpdates API.
func (client OsManagementClient) ListWindowsUpdatesInstalledOnManagedInstance(ctx context.Context, request ListWindowsUpdatesInstalledOnManagedInstanceRequest) (response ListWindowsUpdatesInstalledOnManagedInstanceResponse, err error)
ListWindowsUpdatesInstalledOnManagedInstance Returns a list of installed Windows updates for a Managed Instance. This is only applicable to Windows instances.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListWindowsUpdatesInstalledOnManagedInstance.go.html to see an example of how to use ListWindowsUpdatesInstalledOnManagedInstance API.
func (client OsManagementClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Gets the errors for the work request with the given ID.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client OsManagementClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Lists the log entries for the work request with the given ID.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (client OsManagementClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client OsManagementClient) ManageModuleStreamsOnManagedInstance(ctx context.Context, request ManageModuleStreamsOnManagedInstanceRequest) (response ManageModuleStreamsOnManagedInstanceResponse, err error)
ManageModuleStreamsOnManagedInstance Perform an operation involving modules, streams, and profiles on a managed instance. Each operation may enable or disable an arbitrary amount of module streams, and install or remove an arbitrary number of module stream profiles. When the operation is complete, the state of the modules, streams, and profiles on the managed instance will match the state indicated in the operation. Each module stream specified in the list of module streams to enable will be in the "ENABLED" state upon completion of the operation. If there was already a stream of that module enabled, any work required to switch from the current stream to the new stream is performed implicitly. Each module stream specified in the list of module streams to disable will be in the "DISABLED" state upon completion of the operation. Any profiles that are installed for the module stream will be removed as part of the operation. Each module stream profile specified in the list of profiles to install will be in the "INSTALLED" state upon completion of the operation, indicating that any packages that are part of the profile are installed on the managed instance. If the module stream containing the profile is not enabled, it will be enabled as part of the operation. There is an exception when attempting to install a stream of a profile when another stream of the same module is enabled. It is an error to attempt to install a profile of another module stream, unless enabling the new module stream is explicitly included in this operation. Each module stream profile specified in the list of profiles to remove will be in the "AVAILABLE" state upon completion of the operation. The status of packages within the profile after the operation is complete is defined by the package manager on the managed instance. Operations that contain one or more elements that are not allowed are rejected. The result of this request is a WorkRequest object. The returned WorkRequest is the parent of a structure of other WorkRequests. Taken as a whole, this structure indicates the entire set of work to be performed to complete the operation. This interface can also be used to perform a dry run of the operation rather than committing it to a managed instance. If a dry run is requested, the OS Management Service will evaluate the operation against the current module, stream, and profile state on the managed instance. It will calculate the impact of the operation on all modules, streams, and profiles on the managed instance, including those that are implicitly impacted by the operation. The WorkRequest resulting from a dry run behaves differently than a WorkRequest resulting from a committable operation. Dry run WorkRequests are always singletons and never have children. The impact of the operation is returned using the log and error facilities of WorkRequests. The impact of operations that are allowed by the OS Management Service are communicated as one or more work request log entries. Operations that are not allowed by the OS Management Service are communicated as one or more work requst error entries. Each entry, for either logs or errors, contains a structured message containing the results of one or more operations.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/ManageModuleStreamsOnManagedInstance.go.html to see an example of how to use ManageModuleStreamsOnManagedInstance API.
func (client OsManagementClient) RemoveModuleStreamProfileFromManagedInstance(ctx context.Context, request RemoveModuleStreamProfileFromManagedInstanceRequest) (response RemoveModuleStreamProfileFromManagedInstanceResponse, err error)
RemoveModuleStreamProfileFromManagedInstance Removes a profile for a module stream that is installed on a managed instance. If a module stream is provided, rather than a fully qualified profile, all profiles that have been installed for the module stream will be removed.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/RemoveModuleStreamProfileFromManagedInstance.go.html to see an example of how to use RemoveModuleStreamProfileFromManagedInstance API.
func (client OsManagementClient) RemovePackageFromManagedInstance(ctx context.Context, request RemovePackageFromManagedInstanceRequest) (response RemovePackageFromManagedInstanceResponse, err error)
RemovePackageFromManagedInstance Removes an installed package from a managed instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/RemovePackageFromManagedInstance.go.html to see an example of how to use RemovePackageFromManagedInstance API.
func (client OsManagementClient) RemovePackagesFromSoftwareSource(ctx context.Context, request RemovePackagesFromSoftwareSourceRequest) (response RemovePackagesFromSoftwareSourceResponse, err error)
RemovePackagesFromSoftwareSource Removes a given list of Software Packages from a specific Software Source.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/RemovePackagesFromSoftwareSource.go.html to see an example of how to use RemovePackagesFromSoftwareSource API.
func (client OsManagementClient) RunScheduledJobNow(ctx context.Context, request RunScheduledJobNowRequest) (response RunScheduledJobNowResponse, err error)
RunScheduledJobNow This will trigger an already created Scheduled Job to being executing immediately instead of waiting for its next regularly scheduled time.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/RunScheduledJobNow.go.html to see an example of how to use RunScheduledJobNow API.
func (client OsManagementClient) SearchSoftwarePackages(ctx context.Context, request SearchSoftwarePackagesRequest) (response SearchSoftwarePackagesResponse, err error)
SearchSoftwarePackages Searches all of the available Software Sources and returns any/all Software Packages matching the search criteria.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/SearchSoftwarePackages.go.html to see an example of how to use SearchSoftwarePackages API.
func (client *OsManagementClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client OsManagementClient) SkipNextScheduledJobExecution(ctx context.Context, request SkipNextScheduledJobExecutionRequest) (response SkipNextScheduledJobExecutionResponse, err error)
SkipNextScheduledJobExecution This will force an already created Scheduled Job to skip its next regularly scheduled execution
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/SkipNextScheduledJobExecution.go.html to see an example of how to use SkipNextScheduledJobExecution API.
func (client OsManagementClient) SwitchModuleStreamOnManagedInstance(ctx context.Context, request SwitchModuleStreamOnManagedInstanceRequest) (response SwitchModuleStreamOnManagedInstanceResponse, err error)
SwitchModuleStreamOnManagedInstance Enables a new stream for a module that already has a stream enabled. If any profiles or packages from the original module are installed, switching to a new stream will remove the existing packages and install their counterparts in the new stream.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/SwitchModuleStreamOnManagedInstance.go.html to see an example of how to use SwitchModuleStreamOnManagedInstance API.
func (client OsManagementClient) UpdateManagedInstance(ctx context.Context, request UpdateManagedInstanceRequest) (response UpdateManagedInstanceResponse, err error)
UpdateManagedInstance Updates a specific Managed Instance.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/UpdateManagedInstance.go.html to see an example of how to use UpdateManagedInstance API.
func (client OsManagementClient) UpdateManagedInstanceGroup(ctx context.Context, request UpdateManagedInstanceGroupRequest) (response UpdateManagedInstanceGroupResponse, err error)
UpdateManagedInstanceGroup Updates a specific Managed Instance Group.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/UpdateManagedInstanceGroup.go.html to see an example of how to use UpdateManagedInstanceGroup API.
func (client OsManagementClient) UpdateScheduledJob(ctx context.Context, request UpdateScheduledJobRequest) (response UpdateScheduledJobResponse, err error)
UpdateScheduledJob Updates an existing Scheduled Job on the management system.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/UpdateScheduledJob.go.html to see an example of how to use UpdateScheduledJob API.
func (client OsManagementClient) UpdateSoftwareSource(ctx context.Context, request UpdateSoftwareSourceRequest) (response UpdateSoftwareSourceResponse, err error)
UpdateSoftwareSource Updates an existing custom Software Source on the management system.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/UpdateSoftwareSource.go.html to see an example of how to use UpdateSoftwareSource API.
PackageName Identifying information for the specified package
type PackageName struct { // package identifier Name *string `mandatory:"true" json:"name"` }
func (m PackageName) String() string
func (m PackageName) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PackageUpdateTypesEnum Enum with underlying type: string
type PackageUpdateTypesEnum string
Set of constants representing the allowable values for PackageUpdateTypesEnum
const ( PackageUpdateTypesSecurity PackageUpdateTypesEnum = "SECURITY" PackageUpdateTypesBugfix PackageUpdateTypesEnum = "BUGFIX" PackageUpdateTypesEnhancement PackageUpdateTypesEnum = "ENHANCEMENT" PackageUpdateTypesOther PackageUpdateTypesEnum = "OTHER" PackageUpdateTypesKsplice PackageUpdateTypesEnum = "KSPLICE" PackageUpdateTypesAll PackageUpdateTypesEnum = "ALL" )
func GetMappingPackageUpdateTypesEnum(val string) (PackageUpdateTypesEnum, bool)
GetMappingPackageUpdateTypesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPackageUpdateTypesEnumValues() []PackageUpdateTypesEnum
GetPackageUpdateTypesEnumValues Enumerates the set of values for PackageUpdateTypesEnum
Recurrence An object for representing a recurrence time interval
type Recurrence struct { // the interval period for the recurrence IntervalType RecurrenceIntervalTypeEnum `mandatory:"true" json:"intervalType"` // the value for the interval period for the recurrence IntervalValue *string `mandatory:"true" json:"intervalValue"` }
func (m Recurrence) String() string
func (m Recurrence) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RecurrenceIntervalTypeEnum Enum with underlying type: string
type RecurrenceIntervalTypeEnum string
Set of constants representing the allowable values for RecurrenceIntervalTypeEnum
const ( RecurrenceIntervalTypeMinutes RecurrenceIntervalTypeEnum = "MINUTES" RecurrenceIntervalTypeHours RecurrenceIntervalTypeEnum = "HOURS" RecurrenceIntervalTypeDays RecurrenceIntervalTypeEnum = "DAYS" RecurrenceIntervalTypeWeeks RecurrenceIntervalTypeEnum = "WEEKS" )
func GetMappingRecurrenceIntervalTypeEnum(val string) (RecurrenceIntervalTypeEnum, bool)
GetMappingRecurrenceIntervalTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRecurrenceIntervalTypeEnumValues() []RecurrenceIntervalTypeEnum
GetRecurrenceIntervalTypeEnumValues Enumerates the set of values for RecurrenceIntervalTypeEnum
RelatedEventCollection Results of a event occurence search. Contains RelatedEventSummary.
type RelatedEventCollection struct { // List of event occurrence. Items []RelatedEventSummary `mandatory:"true" json:"items"` }
func (m RelatedEventCollection) String() string
func (m RelatedEventCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RelatedEventSummary Event occurrence on managed instances.
type RelatedEventSummary struct { // OCID identifier of the event Id *string `mandatory:"true" json:"id"` // OCID identifier of the instance InstanceId *string `mandatory:"true" json:"instanceId"` // time occurence Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` }
func (m RelatedEventSummary) String() string
func (m RelatedEventSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveModuleStreamProfileFromManagedInstanceRequest wrapper for the RemoveModuleStreamProfileFromManagedInstance operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/RemoveModuleStreamProfileFromManagedInstance.go.html to see an example of how to use RemoveModuleStreamProfileFromManagedInstanceRequest.
type RemoveModuleStreamProfileFromManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // The name of a module. ModuleName *string `mandatory:"true" contributesTo:"query" name:"moduleName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The name of the stream of the containing module. This parameter // is required if a profileName is specified. StreamName *string `mandatory:"false" contributesTo:"query" name:"streamName"` // The name of the profile of the containing module stream ProfileName *string `mandatory:"false" contributesTo:"query" name:"profileName"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RemoveModuleStreamProfileFromManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemoveModuleStreamProfileFromManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveModuleStreamProfileFromManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveModuleStreamProfileFromManagedInstanceRequest) String() string
func (request RemoveModuleStreamProfileFromManagedInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveModuleStreamProfileFromManagedInstanceResponse wrapper for the RemoveModuleStreamProfileFromManagedInstance operation
type RemoveModuleStreamProfileFromManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response RemoveModuleStreamProfileFromManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveModuleStreamProfileFromManagedInstanceResponse) String() string
RemovePackageFromManagedInstanceRequest wrapper for the RemovePackageFromManagedInstance operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/RemovePackageFromManagedInstance.go.html to see an example of how to use RemovePackageFromManagedInstanceRequest.
type RemovePackageFromManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Package name SoftwarePackageName *string `mandatory:"true" contributesTo:"query" name:"softwarePackageName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RemovePackageFromManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemovePackageFromManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemovePackageFromManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemovePackageFromManagedInstanceRequest) String() string
func (request RemovePackageFromManagedInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemovePackageFromManagedInstanceResponse wrapper for the RemovePackageFromManagedInstance operation
type RemovePackageFromManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response RemovePackageFromManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemovePackageFromManagedInstanceResponse) String() string
RemovePackagesFromSoftwareSourceDetails List of software package names
type RemovePackagesFromSoftwareSourceDetails struct { // the list of package names PackageNames []string `mandatory:"true" json:"packageNames"` }
func (m RemovePackagesFromSoftwareSourceDetails) String() string
func (m RemovePackagesFromSoftwareSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemovePackagesFromSoftwareSourceRequest wrapper for the RemovePackagesFromSoftwareSource operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/RemovePackagesFromSoftwareSource.go.html to see an example of how to use RemovePackagesFromSoftwareSourceRequest.
type RemovePackagesFromSoftwareSourceRequest struct { // The OCID of the software source. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // A list of package identifiers RemovePackagesFromSoftwareSourceDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RemovePackagesFromSoftwareSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemovePackagesFromSoftwareSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemovePackagesFromSoftwareSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemovePackagesFromSoftwareSourceRequest) String() string
func (request RemovePackagesFromSoftwareSourceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemovePackagesFromSoftwareSourceResponse wrapper for the RemovePackagesFromSoftwareSource operation
type RemovePackagesFromSoftwareSourceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response RemovePackagesFromSoftwareSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemovePackagesFromSoftwareSourceResponse) String() string
RunScheduledJobNowRequest wrapper for the RunScheduledJobNow operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/RunScheduledJobNow.go.html to see an example of how to use RunScheduledJobNowRequest.
type RunScheduledJobNowRequest struct { // The ID of the scheduled job. ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RunScheduledJobNowRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RunScheduledJobNowRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RunScheduledJobNowRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RunScheduledJobNowRequest) String() string
func (request RunScheduledJobNowRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RunScheduledJobNowResponse wrapper for the RunScheduledJobNow operation
type RunScheduledJobNowResponse struct { // The underlying http response RawResponse *http.Response // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response RunScheduledJobNowResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RunScheduledJobNowResponse) String() string
ScheduleTypesEnum Enum with underlying type: string
type ScheduleTypesEnum string
Set of constants representing the allowable values for ScheduleTypesEnum
const ( ScheduleTypesOnetime ScheduleTypesEnum = "ONETIME" ScheduleTypesRecurring ScheduleTypesEnum = "RECURRING" )
func GetMappingScheduleTypesEnum(val string) (ScheduleTypesEnum, bool)
GetMappingScheduleTypesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetScheduleTypesEnumValues() []ScheduleTypesEnum
GetScheduleTypesEnumValues Enumerates the set of values for ScheduleTypesEnum
ScheduledJob Detailed information about a Scheduled Job
type ScheduledJob struct { // OCID for the Scheduled Job Id *string `mandatory:"true" json:"id"` // Scheduled Job name DisplayName *string `mandatory:"true" json:"displayName"` // OCID for the Compartment CompartmentId *string `mandatory:"false" json:"compartmentId"` // Details describing the Scheduled Job. Description *string `mandatory:"false" json:"description"` // the type of scheduling this Scheduled Job follows ScheduleType ScheduleTypesEnum `mandatory:"false" json:"scheduleType,omitempty"` // the time of the next execution of this Scheduled Job TimeNextExecution *common.SDKTime `mandatory:"false" json:"timeNextExecution"` // the time of the last execution of this Scheduled Job TimeLastExecution *common.SDKTime `mandatory:"false" json:"timeLastExecution"` // the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) IntervalType IntervalTypesEnum `mandatory:"false" json:"intervalType,omitempty"` // the value for the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) IntervalValue *string `mandatory:"false" json:"intervalValue"` // the list of managed instances this scheduled job operates on (mutually exclusive with managedInstanceGroups) ManagedInstances []Id `mandatory:"false" json:"managedInstances"` // the list of managed instance groups this scheduled job operates on (mutually exclusive with managedInstances) ManagedInstanceGroups []Id `mandatory:"false" json:"managedInstanceGroups"` // the type of operation this Scheduled Job performs OperationType OperationTypesEnum `mandatory:"false" json:"operationType,omitempty"` // Type of the update (only if operation type is UPDATEALL) UpdateType PackageUpdateTypesEnum `mandatory:"false" json:"updateType,omitempty"` // the names of the updates (only if operation type is INSTALL/UPDATE/REMOVE) PackageNames []PackageName `mandatory:"false" json:"packageNames"` // list of Work Requests associated with this Scheduled Job WorkRequests []Id `mandatory:"false" json:"workRequests"` // The current state of the Scheduled Job. LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The unique names of the Windows Updates (only if operation type is INSTALL). // This is only applicable when the osFamily is for Windows managed instances. UpdateNames []string `mandatory:"false" json:"updateNames"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` // true, if the schedule job has its update capabilities restricted. (Used to track Autonomous Scheduled Job) IsRestricted *bool `mandatory:"false" json:"isRestricted"` }
func (m ScheduledJob) String() string
func (m ScheduledJob) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ScheduledJobSummary Basic information about a Scheduled Job
type ScheduledJobSummary struct { // OCID for the Scheduled Job Id *string `mandatory:"true" json:"id"` // Scheduled Job name DisplayName *string `mandatory:"true" json:"displayName"` // OCID for the Compartment CompartmentId *string `mandatory:"false" json:"compartmentId"` // the type of scheduling this Scheduled Job follows ScheduleType ScheduleTypesEnum `mandatory:"false" json:"scheduleType,omitempty"` // the time/date of the next scheduled execution of this Scheduled Job TimeNextExecution *common.SDKTime `mandatory:"false" json:"timeNextExecution"` // the time/date of the last execution of this Scheduled Job TimeLastExecution *common.SDKTime `mandatory:"false" json:"timeLastExecution"` // the list of managed instances this scheduled job operates on (mutually exclusive with managedInstanceGroups) ManagedInstances []Id `mandatory:"false" json:"managedInstances"` // the list of managed instance groups this scheduled job operates on (mutually exclusive with managedInstances) ManagedInstanceGroups []Id `mandatory:"false" json:"managedInstanceGroups"` // the type of operation this Scheduled Job performs OperationType OperationTypesEnum `mandatory:"false" json:"operationType,omitempty"` // The current state of the Scheduled Job. LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` // true, if the schedule job has its update capabilities restricted. (Used to track Autonomous Scheduled Job) IsRestricted *bool `mandatory:"false" json:"isRestricted"` }
func (m ScheduledJobSummary) String() string
func (m ScheduledJobSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SearchSoftwarePackagesRequest wrapper for the SearchSoftwarePackages operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/SearchSoftwarePackages.go.html to see an example of how to use SearchSoftwarePackagesRequest.
type SearchSoftwarePackagesRequest struct { // the identifier for the software package (not an OCID) SoftwarePackageName *string `mandatory:"false" contributesTo:"query" name:"softwarePackageName"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The name of the CVE as published. // Example: `CVE-2006-4535` CveName *string `mandatory:"false" contributesTo:"query" name:"cveName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder SearchSoftwarePackagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy SearchSoftwarePackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request SearchSoftwarePackagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SearchSoftwarePackagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SearchSoftwarePackagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SearchSoftwarePackagesRequest) String() string
func (request SearchSoftwarePackagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SearchSoftwarePackagesResponse wrapper for the SearchSoftwarePackages operation
type SearchSoftwarePackagesResponse struct { // The underlying http response RawResponse *http.Response // A list of []SoftwarePackageSearchSummary instances Items []SoftwarePackageSearchSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SearchSoftwarePackagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SearchSoftwarePackagesResponse) String() string
SearchSoftwarePackagesSortByEnum Enum with underlying type: string
type SearchSoftwarePackagesSortByEnum string
Set of constants representing the allowable values for SearchSoftwarePackagesSortByEnum
const ( SearchSoftwarePackagesSortByTimecreated SearchSoftwarePackagesSortByEnum = "TIMECREATED" SearchSoftwarePackagesSortByDisplayname SearchSoftwarePackagesSortByEnum = "DISPLAYNAME" )
func GetMappingSearchSoftwarePackagesSortByEnum(val string) (SearchSoftwarePackagesSortByEnum, bool)
GetMappingSearchSoftwarePackagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchSoftwarePackagesSortByEnumValues() []SearchSoftwarePackagesSortByEnum
GetSearchSoftwarePackagesSortByEnumValues Enumerates the set of values for SearchSoftwarePackagesSortByEnum
SearchSoftwarePackagesSortOrderEnum Enum with underlying type: string
type SearchSoftwarePackagesSortOrderEnum string
Set of constants representing the allowable values for SearchSoftwarePackagesSortOrderEnum
const ( SearchSoftwarePackagesSortOrderAsc SearchSoftwarePackagesSortOrderEnum = "ASC" SearchSoftwarePackagesSortOrderDesc SearchSoftwarePackagesSortOrderEnum = "DESC" )
func GetMappingSearchSoftwarePackagesSortOrderEnum(val string) (SearchSoftwarePackagesSortOrderEnum, bool)
GetMappingSearchSoftwarePackagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchSoftwarePackagesSortOrderEnumValues() []SearchSoftwarePackagesSortOrderEnum
GetSearchSoftwarePackagesSortOrderEnumValues Enumerates the set of values for SearchSoftwarePackagesSortOrderEnum
SkipNextScheduledJobExecutionRequest wrapper for the SkipNextScheduledJobExecution operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/SkipNextScheduledJobExecution.go.html to see an example of how to use SkipNextScheduledJobExecutionRequest.
type SkipNextScheduledJobExecutionRequest struct { // The ID of the scheduled job. ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request SkipNextScheduledJobExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SkipNextScheduledJobExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SkipNextScheduledJobExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SkipNextScheduledJobExecutionRequest) String() string
func (request SkipNextScheduledJobExecutionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SkipNextScheduledJobExecutionResponse wrapper for the SkipNextScheduledJobExecution operation
type SkipNextScheduledJobExecutionResponse struct { // The underlying http response RawResponse *http.Response // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response SkipNextScheduledJobExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SkipNextScheduledJobExecutionResponse) String() string
SoftwarePackage The details for a software package
type SoftwarePackage struct { // Package name DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the package. NOTE - This is not an OCID Name *string `mandatory:"true" json:"name"` // Type of the package Type *string `mandatory:"true" json:"type"` // Version of the package Version *string `mandatory:"true" json:"version"` // the architecture for which this software was built Architecture *string `mandatory:"false" json:"architecture"` // date of the last update to the package LastModifiedDate *string `mandatory:"false" json:"lastModifiedDate"` // checksum of the package Checksum *string `mandatory:"false" json:"checksum"` // type of the checksum ChecksumType *string `mandatory:"false" json:"checksumType"` // description of the package Description *string `mandatory:"false" json:"description"` // size of the package in bytes SizeInBytes *int64 `mandatory:"false" json:"sizeInBytes"` // list of dependencies for the software package Dependencies []SoftwarePackageDependency `mandatory:"false" json:"dependencies"` // list of files for the software package Files []SoftwarePackageFile `mandatory:"false" json:"files"` // list of software sources that provide the software package SoftwareSources []SoftwareSourceId `mandatory:"false" json:"softwareSources"` }
func (m SoftwarePackage) String() string
func (m SoftwarePackage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SoftwarePackageDependency A dependency for a software package
type SoftwarePackageDependency struct { // the software package's dependency Dependency *string `mandatory:"false" json:"dependency"` // the type of the dependency DependencyType *string `mandatory:"false" json:"dependencyType"` // the modifier for the dependency DependencyModifier *string `mandatory:"false" json:"dependencyModifier"` }
func (m SoftwarePackageDependency) String() string
func (m SoftwarePackageDependency) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SoftwarePackageFile A file associated with a package
type SoftwarePackageFile struct { // file path Path *string `mandatory:"false" json:"path"` // type of the file Type *string `mandatory:"false" json:"type"` // The date and time of the last modification to this file, as described // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"` // checksum of the file Checksum *string `mandatory:"false" json:"checksum"` // type of the checksum ChecksumType *string `mandatory:"false" json:"checksumType"` // size of the file in bytes SizeInBytes *int64 `mandatory:"false" json:"sizeInBytes"` }
func (m SoftwarePackageFile) String() string
func (m SoftwarePackageFile) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SoftwarePackageSearchSummary Summary information for a software package
type SoftwarePackageSearchSummary struct { // Package name DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the package. NOTE - This is not an OCID Name *string `mandatory:"true" json:"name"` // Type of the package Type *string `mandatory:"true" json:"type"` // Version of the package Version *string `mandatory:"true" json:"version"` // the architecture for which this software was built Architecture *string `mandatory:"false" json:"architecture"` // a summary description of the software package Summary *string `mandatory:"false" json:"summary"` // Type of the erratum. AdvisoryType UpdateTypesEnum `mandatory:"false" json:"advisoryType,omitempty"` // List of errata containing this software package Errata []Id `mandatory:"false" json:"errata"` // list of software sources that provide the software package SoftwareSources []SoftwareSourceId `mandatory:"false" json:"softwareSources"` }
func (m SoftwarePackageSearchSummary) String() string
func (m SoftwarePackageSearchSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SoftwarePackageSummary Summary information for a software package
type SoftwarePackageSummary struct { // Package name DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the package. NOTE - This is not an OCID Name *string `mandatory:"true" json:"name"` // Type of the package Type *string `mandatory:"true" json:"type"` // Version of the package Version *string `mandatory:"true" json:"version"` // the architecture for which this software was built Architecture *string `mandatory:"false" json:"architecture"` // checksum of the package Checksum *string `mandatory:"false" json:"checksum"` // type of the checksum ChecksumType *string `mandatory:"false" json:"checksumType"` }
func (m SoftwarePackageSummary) String() string
func (m SoftwarePackageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SoftwareSource A software source contains a collection of packages
type SoftwareSource struct { // OCID for the Software Source Id *string `mandatory:"true" json:"id"` // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // User friendly name for the software source DisplayName *string `mandatory:"true" json:"displayName"` // Type of the Software Source RepoType *string `mandatory:"true" json:"repoType"` // URL for the repostiory Url *string `mandatory:"true" json:"url"` // Information specified by the user about the software source Description *string `mandatory:"false" json:"description"` // The architecture type supported by the Software Source ArchType ArchTypesEnum `mandatory:"false" json:"archType,omitempty"` // OCID for the parent software source, if there is one ParentId *string `mandatory:"false" json:"parentId"` // Display name the parent software source, if there is one ParentName *string `mandatory:"false" json:"parentName"` // The yum repository checksum type used by this software source ChecksumType ChecksumTypesEnum `mandatory:"false" json:"checksumType,omitempty"` // Name of the person maintaining this software source MaintainerName *string `mandatory:"false" json:"maintainerName"` // Email address of the person maintaining this software source MaintainerEmail *string `mandatory:"false" json:"maintainerEmail"` // Phone number of the person maintaining this software source MaintainerPhone *string `mandatory:"false" json:"maintainerPhone"` // URL of the GPG key for this software source GpgKeyUrl *string `mandatory:"false" json:"gpgKeyUrl"` // ID of the GPG key for this software source GpgKeyId *string `mandatory:"false" json:"gpgKeyId"` // Fingerprint of the GPG key for this software source GpgKeyFingerprint *string `mandatory:"false" json:"gpgKeyFingerprint"` // status of the software source. Status SoftwareSourceStatusEnum `mandatory:"false" json:"status,omitempty"` // The current state of the Software Source. LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Number of packages Packages *int `mandatory:"false" json:"packages"` // list of the Managed Instances associated with this Software Sources AssociatedManagedInstances []Id `mandatory:"false" json:"associatedManagedInstances"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m SoftwareSource) String() string
func (m SoftwareSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SoftwareSourceId Identifying information for the specified software source
type SoftwareSourceId struct { // software source identifier Id *string `mandatory:"true" json:"id"` // software source name Name *string `mandatory:"false" json:"name"` }
func (m SoftwareSourceId) String() string
func (m SoftwareSourceId) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SoftwareSourceStatusEnum Enum with underlying type: string
type SoftwareSourceStatusEnum string
Set of constants representing the allowable values for SoftwareSourceStatusEnum
const ( SoftwareSourceStatusNormal SoftwareSourceStatusEnum = "NORMAL" SoftwareSourceStatusUnreachable SoftwareSourceStatusEnum = "UNREACHABLE" SoftwareSourceStatusError SoftwareSourceStatusEnum = "ERROR" SoftwareSourceStatusWarning SoftwareSourceStatusEnum = "WARNING" )
func GetMappingSoftwareSourceStatusEnum(val string) (SoftwareSourceStatusEnum, bool)
GetMappingSoftwareSourceStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSoftwareSourceStatusEnumValues() []SoftwareSourceStatusEnum
GetSoftwareSourceStatusEnumValues Enumerates the set of values for SoftwareSourceStatusEnum
SoftwareSourceSummary A software source contains a collection of packages
type SoftwareSourceSummary struct { // OCID for the Software Source Id *string `mandatory:"true" json:"id"` // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // User friendly name for the software source DisplayName *string `mandatory:"true" json:"displayName"` // Type of the Software Source RepoType *string `mandatory:"true" json:"repoType"` // Information specified by the user about the software source Description *string `mandatory:"false" json:"description"` // status of the software source. Status SoftwareSourceSummaryStatusEnum `mandatory:"false" json:"status,omitempty"` // Number of packages Packages *int `mandatory:"false" json:"packages"` // The current state of the software source. LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // OCID for the parent software source, if there is one ParentId *string `mandatory:"false" json:"parentId"` // Display name the parent software source, if there is one ParentName *string `mandatory:"false" json:"parentName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m SoftwareSourceSummary) String() string
func (m SoftwareSourceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SoftwareSourceSummaryStatusEnum Enum with underlying type: string
type SoftwareSourceSummaryStatusEnum string
Set of constants representing the allowable values for SoftwareSourceSummaryStatusEnum
const ( SoftwareSourceSummaryStatusNormal SoftwareSourceSummaryStatusEnum = "NORMAL" SoftwareSourceSummaryStatusUnreachable SoftwareSourceSummaryStatusEnum = "UNREACHABLE" SoftwareSourceSummaryStatusError SoftwareSourceSummaryStatusEnum = "ERROR" SoftwareSourceSummaryStatusWarning SoftwareSourceSummaryStatusEnum = "WARNING" )
func GetMappingSoftwareSourceSummaryStatusEnum(val string) (SoftwareSourceSummaryStatusEnum, bool)
GetMappingSoftwareSourceSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSoftwareSourceSummaryStatusEnumValues() []SoftwareSourceSummaryStatusEnum
GetSoftwareSourceSummaryStatusEnumValues Enumerates the set of values for SoftwareSourceSummaryStatusEnum
SwitchModuleStreamOnManagedInstanceRequest wrapper for the SwitchModuleStreamOnManagedInstance operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/SwitchModuleStreamOnManagedInstance.go.html to see an example of how to use SwitchModuleStreamOnManagedInstanceRequest.
type SwitchModuleStreamOnManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // The name of a module. ModuleName *string `mandatory:"true" contributesTo:"query" name:"moduleName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The name of the stream of the containing module. This parameter // is required if a profileName is specified. StreamName *string `mandatory:"false" contributesTo:"query" name:"streamName"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request SwitchModuleStreamOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SwitchModuleStreamOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SwitchModuleStreamOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SwitchModuleStreamOnManagedInstanceRequest) String() string
func (request SwitchModuleStreamOnManagedInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SwitchModuleStreamOnManagedInstanceResponse wrapper for the SwitchModuleStreamOnManagedInstance operation
type SwitchModuleStreamOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response SwitchModuleStreamOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SwitchModuleStreamOnManagedInstanceResponse) String() string
UpdateEventDetails Information for updating an event associated with a managed instance
type UpdateEventDetails struct { // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateEventDetails) String() string
func (m UpdateEventDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateEventRequest wrapper for the UpdateEvent operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/UpdateEvent.go.html to see an example of how to use UpdateEventRequest.
type UpdateEventRequest struct { // Instance Oracle Cloud identifier (ocid) ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Unique Event identifier (OCID) EventId *string `mandatory:"true" contributesTo:"path" name:"eventId"` // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Details about the event to update UpdateEventDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateEventRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateEventRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateEventRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateEventRequest) String() string
func (request UpdateEventRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateEventResponse wrapper for the UpdateEvent operation
type UpdateEventResponse struct { // The underlying http response RawResponse *http.Response // The Event instance Event `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateEventResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateEventResponse) String() string
UpdateManagedInstanceDetails Information to update a managed instance
type UpdateManagedInstanceDetails struct { // OCID of the ONS topic used to send notification to users NotificationTopicId *string `mandatory:"false" json:"notificationTopicId"` // True if user allow data collection for this instance IsDataCollectionAuthorized *bool `mandatory:"false" json:"isDataCollectionAuthorized"` }
func (m UpdateManagedInstanceDetails) String() string
func (m UpdateManagedInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateManagedInstanceGroupDetails Information for updating a managed instance group
type UpdateManagedInstanceGroupDetails struct { // Managed Instance Group identifier DisplayName *string `mandatory:"false" json:"displayName"` // Information specified by the user about the managed instance group Description *string `mandatory:"false" json:"description"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateManagedInstanceGroupDetails) String() string
func (m UpdateManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateManagedInstanceGroupRequest wrapper for the UpdateManagedInstanceGroup operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/UpdateManagedInstanceGroup.go.html to see an example of how to use UpdateManagedInstanceGroupRequest.
type UpdateManagedInstanceGroupRequest struct { // OCID for the managed instance group ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // Details about a Managed Instance Group to update UpdateManagedInstanceGroupDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateManagedInstanceGroupRequest) String() string
func (request UpdateManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateManagedInstanceGroupResponse wrapper for the UpdateManagedInstanceGroup operation
type UpdateManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // The ManagedInstanceGroup instance ManagedInstanceGroup `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateManagedInstanceGroupResponse) String() string
UpdateManagedInstanceRequest wrapper for the UpdateManagedInstance operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/UpdateManagedInstance.go.html to see an example of how to use UpdateManagedInstanceRequest.
type UpdateManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Details about a Managed Instance to update UpdateManagedInstanceDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateManagedInstanceRequest) String() string
func (request UpdateManagedInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateManagedInstanceResponse wrapper for the UpdateManagedInstance operation
type UpdateManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // The ManagedInstance instance ManagedInstance `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateManagedInstanceResponse) String() string
UpdateModuleDetails A description of a module and its stream
type UpdateModuleDetails struct { // The name of a module ModuleName *string `mandatory:"true" json:"moduleName"` // The streams of the module Streams []UpdateModuleStreamDetails `mandatory:"false" json:"streams"` }
func (m UpdateModuleDetails) String() string
func (m UpdateModuleDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateModuleStreamDetails Information detailing the state of a module stream
type UpdateModuleStreamDetails struct { // The name of the stream of the parent module StreamName *string `mandatory:"true" json:"streamName"` // The status of the stream // A stream with the "ENABLED" status can be used as a source for installing // profiles. Streams with this status are also "ACTIVE". // A stream with the "DISABLED" status cannot be the source for installing // profiles. To install profiles and packages from this stream, it must be // enabled. // A stream with the "ACTIVE" status can be used as a source for installing // profiles. The packages that comprise the stream are also used when a // matching package is installed directly. In general, a stream can have // this status if it is the default stream for the module and no stream has // been explicitly enabled. Status UpdateModuleStreamDetailsStatusEnum `mandatory:"true" json:"status"` // The date and time of the last status change for this object, as // described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeModified *common.SDKTime `mandatory:"true" json:"timeModified"` // The name of the software source that publishes this stream. SoftwareSourceName *string `mandatory:"false" json:"softwareSourceName"` // The URL of the software source that publishes this stream. SoftwareSourceUrl *string `mandatory:"false" json:"softwareSourceUrl"` // Indicates if the module stream is the default IsDefault *bool `mandatory:"false" json:"isDefault"` // The profiles of the stream Profiles []UpdateModuleStreamProfileDetails `mandatory:"false" json:"profiles"` }
func (m UpdateModuleStreamDetails) String() string
func (m UpdateModuleStreamDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateModuleStreamDetailsStatusEnum Enum with underlying type: string
type UpdateModuleStreamDetailsStatusEnum string
Set of constants representing the allowable values for UpdateModuleStreamDetailsStatusEnum
const ( UpdateModuleStreamDetailsStatusEnabled UpdateModuleStreamDetailsStatusEnum = "ENABLED" UpdateModuleStreamDetailsStatusDisabled UpdateModuleStreamDetailsStatusEnum = "DISABLED" UpdateModuleStreamDetailsStatusActive UpdateModuleStreamDetailsStatusEnum = "ACTIVE" )
func GetMappingUpdateModuleStreamDetailsStatusEnum(val string) (UpdateModuleStreamDetailsStatusEnum, bool)
GetMappingUpdateModuleStreamDetailsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateModuleStreamDetailsStatusEnumValues() []UpdateModuleStreamDetailsStatusEnum
GetUpdateModuleStreamDetailsStatusEnumValues Enumerates the set of values for UpdateModuleStreamDetailsStatusEnum
UpdateModuleStreamProfileDetails Information detailing the state of a module stream profile
type UpdateModuleStreamProfileDetails struct { // The name of the profile of the parent stream ProfileName *string `mandatory:"true" json:"profileName"` // The status of the profile. // A profile with the "INSTALLED" status indicates that the // profile has been installed. // A profile with the "AVAILABLE" status indicates that the // profile is not installed, but can be. Status UpdateModuleStreamProfileDetailsStatusEnum `mandatory:"true" json:"status"` // The date and time of the last status change for this object, as // described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeModified *common.SDKTime `mandatory:"true" json:"timeModified"` // Indicates if the module stream profile is the default IsDefault *bool `mandatory:"false" json:"isDefault"` }
func (m UpdateModuleStreamProfileDetails) String() string
func (m UpdateModuleStreamProfileDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateModuleStreamProfileDetailsStatusEnum Enum with underlying type: string
type UpdateModuleStreamProfileDetailsStatusEnum string
Set of constants representing the allowable values for UpdateModuleStreamProfileDetailsStatusEnum
const ( UpdateModuleStreamProfileDetailsStatusInstalled UpdateModuleStreamProfileDetailsStatusEnum = "INSTALLED" UpdateModuleStreamProfileDetailsStatusAvailable UpdateModuleStreamProfileDetailsStatusEnum = "AVAILABLE" )
func GetMappingUpdateModuleStreamProfileDetailsStatusEnum(val string) (UpdateModuleStreamProfileDetailsStatusEnum, bool)
GetMappingUpdateModuleStreamProfileDetailsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateModuleStreamProfileDetailsStatusEnumValues() []UpdateModuleStreamProfileDetailsStatusEnum
GetUpdateModuleStreamProfileDetailsStatusEnumValues Enumerates the set of values for UpdateModuleStreamProfileDetailsStatusEnum
UpdateModuleStreamStateDetails A complete description of the state of modules on a managed instance
type UpdateModuleStreamStateDetails struct { // The modules known to a managed instance Modules []UpdateModuleDetails `mandatory:"false" json:"modules"` }
func (m UpdateModuleStreamStateDetails) String() string
func (m UpdateModuleStreamStateDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateScheduledJobDetails Information for updating a Scheduled Job
type UpdateScheduledJobDetails struct { // Scheduled Job name DisplayName *string `mandatory:"false" json:"displayName"` // Details describing the Scheduled Job. Description *string `mandatory:"false" json:"description"` // the type of scheduling this Scheduled Job follows ScheduleType ScheduleTypesEnum `mandatory:"false" json:"scheduleType,omitempty"` // the desired time for the next execution of this Scheduled Job TimeNextExecution *common.SDKTime `mandatory:"false" json:"timeNextExecution"` // the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) IntervalType IntervalTypesEnum `mandatory:"false" json:"intervalType,omitempty"` // the value for the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) IntervalValue *string `mandatory:"false" json:"intervalValue"` // the type of operation this Scheduled Job performs OperationType OperationTypesEnum `mandatory:"false" json:"operationType,omitempty"` // Type of the update (only if operation type is UPDATEALL) UpdateType PackageUpdateTypesEnum `mandatory:"false" json:"updateType,omitempty"` // the id of the package (only if operation type is INSTALL/UPDATE/REMOVE) PackageNames []PackageName `mandatory:"false" json:"packageNames"` // The unique names of the Windows Updates (only if operation type is INSTALL). // This is only applicable when the osFamily is for Windows managed instances. UpdateNames []string `mandatory:"false" json:"updateNames"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateScheduledJobDetails) String() string
func (m UpdateScheduledJobDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateScheduledJobRequest wrapper for the UpdateScheduledJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/UpdateScheduledJob.go.html to see an example of how to use UpdateScheduledJobRequest.
type UpdateScheduledJobRequest struct { // The ID of the scheduled job. ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"` // Details about a Scheduled Job to update UpdateScheduledJobDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateScheduledJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateScheduledJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateScheduledJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateScheduledJobRequest) String() string
func (request UpdateScheduledJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateScheduledJobResponse wrapper for the UpdateScheduledJob operation
type UpdateScheduledJobResponse struct { // The underlying http response RawResponse *http.Response // The ScheduledJob instance ScheduledJob `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateScheduledJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateScheduledJobResponse) String() string
UpdateSoftwareSourceDetails Information for updating a software source on the management system
type UpdateSoftwareSourceDetails struct { // User friendly name for the software source DisplayName *string `mandatory:"false" json:"displayName"` // Information specified by the user about the software source Description *string `mandatory:"false" json:"description"` // Name of the person maintaining this software source MaintainerName *string `mandatory:"false" json:"maintainerName"` // Email address of the person maintaining this software source MaintainerEmail *string `mandatory:"false" json:"maintainerEmail"` // Phone number of the person maintaining this software source MaintainerPhone *string `mandatory:"false" json:"maintainerPhone"` // The yum repository checksum type used by this software source ChecksumType ChecksumTypesEnum `mandatory:"false" json:"checksumType,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateSoftwareSourceDetails) String() string
func (m UpdateSoftwareSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateSoftwareSourceRequest wrapper for the UpdateSoftwareSource operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/UpdateSoftwareSource.go.html to see an example of how to use UpdateSoftwareSourceRequest.
type UpdateSoftwareSourceRequest struct { // The OCID of the software source. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // Details about a Sofware Source to update UpdateSoftwareSourceDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateSoftwareSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateSoftwareSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateSoftwareSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateSoftwareSourceRequest) String() string
func (request UpdateSoftwareSourceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateSoftwareSourceResponse wrapper for the UpdateSoftwareSource operation
type UpdateSoftwareSourceResponse struct { // The underlying http response RawResponse *http.Response // The SoftwareSource instance SoftwareSource `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateSoftwareSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateSoftwareSourceResponse) String() string
UpdateTypesEnum Enum with underlying type: string
type UpdateTypesEnum string
Set of constants representing the allowable values for UpdateTypesEnum
const ( UpdateTypesSecurity UpdateTypesEnum = "SECURITY" UpdateTypesBug UpdateTypesEnum = "BUG" UpdateTypesEnhancement UpdateTypesEnum = "ENHANCEMENT" UpdateTypesOther UpdateTypesEnum = "OTHER" )
func GetMappingUpdateTypesEnum(val string) (UpdateTypesEnum, bool)
GetMappingUpdateTypesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateTypesEnumValues() []UpdateTypesEnum
GetUpdateTypesEnumValues Enumerates the set of values for UpdateTypesEnum
UploadEventContentRequest wrapper for the UploadEventContent operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagement/UploadEventContent.go.html to see an example of how to use UploadEventContentRequest.
type UploadEventContentRequest struct { // Instance Oracle Cloud identifier (ocid) ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Unique Event identifier (OCID) EventId *string `mandatory:"true" contributesTo:"path" name:"eventId"` // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UploadEventContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UploadEventContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UploadEventContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UploadEventContentRequest) String() string
func (request UploadEventContentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UploadEventContentResponse wrapper for the UploadEventContent operation
type UploadEventContentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UploadEventContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UploadEventContentResponse) String() string
WindowsUpdate An update available for a Windows managed instance.
type WindowsUpdate struct { // Windows Update name. DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the Windows update. NOTE - This is not an OCID, // but is a unique identifier assigned by Microsoft. // Example: `6981d463-cd91-4a26-b7c4-ea4ded9183ed` Name *string `mandatory:"true" json:"name"` // The purpose of this update. UpdateType UpdateTypesEnum `mandatory:"true" json:"updateType"` // Information about the Windows Update. Description *string `mandatory:"false" json:"description"` // size of the package in bytes SizeInBytes *int64 `mandatory:"false" json:"sizeInBytes"` // Indicates whether the update can be installed using OSMS. IsEligibleForInstallation IsEligibleForInstallationEnum `mandatory:"false" json:"isEligibleForInstallation,omitempty"` // List of requirements forinstalling on a managed instances InstallationRequirements []WindowsUpdateInstallationRequirementsEnum `mandatory:"false" json:"installationRequirements,omitempty"` // Indicates whether a reboot may be required to complete installation of this update. IsRebootRequiredForInstallation *bool `mandatory:"false" json:"isRebootRequiredForInstallation"` // List of the Microsoft Knowledge Base Article Ids related to this Windows Update. KbArticleIds []string `mandatory:"false" json:"kbArticleIds"` }
func (m WindowsUpdate) String() string
func (m WindowsUpdate) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WindowsUpdateInstallationRequirementsEnum Enum with underlying type: string
type WindowsUpdateInstallationRequirementsEnum string
Set of constants representing the allowable values for WindowsUpdateInstallationRequirementsEnum
const ( WindowsUpdateInstallationRequirementsEulaAcceptanceRequired WindowsUpdateInstallationRequirementsEnum = "EULA_ACCEPTANCE_REQUIRED" WindowsUpdateInstallationRequirementsSoftwareMediaRequired WindowsUpdateInstallationRequirementsEnum = "SOFTWARE_MEDIA_REQUIRED" WindowsUpdateInstallationRequirementsUserInteractionRequired WindowsUpdateInstallationRequirementsEnum = "USER_INTERACTION_REQUIRED" )
func GetMappingWindowsUpdateInstallationRequirementsEnum(val string) (WindowsUpdateInstallationRequirementsEnum, bool)
GetMappingWindowsUpdateInstallationRequirementsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWindowsUpdateInstallationRequirementsEnumValues() []WindowsUpdateInstallationRequirementsEnum
GetWindowsUpdateInstallationRequirementsEnumValues Enumerates the set of values for WindowsUpdateInstallationRequirementsEnum
WindowsUpdateSummary An update available for a Windows managed instance.
type WindowsUpdateSummary struct { // Windows Update name DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the Windows update. NOTE - This is not an OCID, // but is a unique identifier assigned by Microsoft. // Example: `6981d463-cd91-4a26-b7c4-ea4ded9183ed` Name *string `mandatory:"true" json:"name"` // The purpose of this update. UpdateType UpdateTypesEnum `mandatory:"true" json:"updateType"` // Indicates whether the update can be installed using OSMS. Installable IsEligibleForInstallationEnum `mandatory:"false" json:"installable,omitempty"` // Indicates whether a reboot may be required to complete installation of this update. IsRebootRequiredForInstallation *bool `mandatory:"false" json:"isRebootRequiredForInstallation"` }
func (m WindowsUpdateSummary) String() string
func (m WindowsUpdateSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequest A description of workrequest status
type WorkRequest struct { // the type of operation this Work Request performs OperationType OperationTypesEnum `mandatory:"true" json:"operationType"` // status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // Description of the type of work. Description *string `mandatory:"false" json:"description"` // A progress or error message, if there is any. Message *string `mandatory:"false" json:"message"` ManagedInstanceId *Id `mandatory:"false" json:"managedInstanceId"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` // The parent of this work request, if one exists. ParentId *string `mandatory:"false" json:"parentId"` // A list of the IDs of any children of this work request ChildrenIds []string `mandatory:"false" json:"childrenIds"` }
func (m WorkRequest) String() string
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestError Human readable error message describing why the work request failed
type WorkRequestError struct { // A machine-usable code for the error that occured. Code *string `mandatory:"true" json:"code"` // A human readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // The date and time the error happened, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` }
func (m WorkRequestError) String() string
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntry Human readable log message describing what the work request is doing
type WorkRequestLogEntry struct { // A human readable log message. Message *string `mandatory:"true" json:"message"` // The date and time the error happened, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestResource A resource created, operated on or used by a work request.
type WorkRequestResource struct { // The resource type for the work request. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the work tracked in the work request. // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until // work is complete for that resource at which point it will transition to CREATED, UPDATED, // or DELETED, respectively. If the request failed for that resource, // the state will be FAILED. ActionType WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"` // The identifier of the resource. Not all resources will have an id. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can do a GET on to access the resource metadata. EntityUri *string `mandatory:"true" json:"entityUri"` // The name of the resource. Not all resources will have a name specified. Name *string `mandatory:"false" json:"name"` }
func (m WorkRequestResource) String() string
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestResourceActionTypeEnum Enum with underlying type: string
type WorkRequestResourceActionTypeEnum string
Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum
const ( WorkRequestResourceActionTypeCreated WorkRequestResourceActionTypeEnum = "CREATED" WorkRequestResourceActionTypeUpdated WorkRequestResourceActionTypeEnum = "UPDATED" WorkRequestResourceActionTypeDeleted WorkRequestResourceActionTypeEnum = "DELETED" WorkRequestResourceActionTypeFailed WorkRequestResourceActionTypeEnum = "FAILED" WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS" WorkRequestResourceActionTypeInstalled WorkRequestResourceActionTypeEnum = "INSTALLED" WorkRequestResourceActionTypeRemoved WorkRequestResourceActionTypeEnum = "REMOVED" )
func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)
GetMappingWorkRequestResourceActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
WorkRequestSummary A work request summary
type WorkRequestSummary struct { // the type of operation this Work Request performs OperationType OperationTypesEnum `mandatory:"true" json:"operationType"` // status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // Description of the type of work. Description *string `mandatory:"false" json:"description"` // A progress or error message, if there is any. Message *string `mandatory:"false" json:"message"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"false" json:"percentComplete"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` }
func (m WorkRequestSummary) String() string
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly