func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetAdvisorySeverityEnumStringValues() []string
GetAdvisorySeverityEnumStringValues Enumerates the set of values in String for AdvisorySeverityEnum
func GetArchTypeEnumStringValues() []string
GetArchTypeEnumStringValues Enumerates the set of values in String for ArchTypeEnum
func GetAvailabilityEnumStringValues() []string
GetAvailabilityEnumStringValues Enumerates the set of values in String for AvailabilityEnum
func GetChecksumTypeEnumStringValues() []string
GetChecksumTypeEnumStringValues Enumerates the set of values in String for ChecksumTypeEnum
func GetClassificationTypesEnumStringValues() []string
GetClassificationTypesEnumStringValues Enumerates the set of values in String for ClassificationTypesEnum
func GetFilterTypeEnumStringValues() []string
GetFilterTypeEnumStringValues Enumerates the set of values in String for FilterTypeEnum
func GetGetManagedInstanceAnalyticContentInstanceLocationEnumStringValues() []string
GetGetManagedInstanceAnalyticContentInstanceLocationEnumStringValues Enumerates the set of values in String for GetManagedInstanceAnalyticContentInstanceLocationEnum
func GetGetManagedInstanceContentAdvisoryTypeEnumStringValues() []string
GetGetManagedInstanceContentAdvisoryTypeEnumStringValues Enumerates the set of values in String for GetManagedInstanceContentAdvisoryTypeEnum
func GetLifecycleEnvironmentLifecycleStateEnumStringValues() []string
GetLifecycleEnvironmentLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleEnvironmentLifecycleStateEnum
func GetLifecycleStageLifecycleStateEnumStringValues() []string
GetLifecycleStageLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStageLifecycleStateEnum
func GetListEntitlementsSortByEnumStringValues() []string
GetListEntitlementsSortByEnumStringValues Enumerates the set of values in String for ListEntitlementsSortByEnum
func GetListEntitlementsSortOrderEnumStringValues() []string
GetListEntitlementsSortOrderEnumStringValues Enumerates the set of values in String for ListEntitlementsSortOrderEnum
func GetListEntitlementsVendorNameEnumStringValues() []string
GetListEntitlementsVendorNameEnumStringValues Enumerates the set of values in String for ListEntitlementsVendorNameEnum
func GetListErrataOsFamilyEnumStringValues() []string
GetListErrataOsFamilyEnumStringValues Enumerates the set of values in String for ListErrataOsFamilyEnum
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 GetListLifecycleEnvironmentsArchTypeEnumStringValues() []string
GetListLifecycleEnvironmentsArchTypeEnumStringValues Enumerates the set of values in String for ListLifecycleEnvironmentsArchTypeEnum
func GetListLifecycleEnvironmentsOsFamilyEnumStringValues() []string
GetListLifecycleEnvironmentsOsFamilyEnumStringValues Enumerates the set of values in String for ListLifecycleEnvironmentsOsFamilyEnum
func GetListLifecycleEnvironmentsSortByEnumStringValues() []string
GetListLifecycleEnvironmentsSortByEnumStringValues Enumerates the set of values in String for ListLifecycleEnvironmentsSortByEnum
func GetListLifecycleEnvironmentsSortOrderEnumStringValues() []string
GetListLifecycleEnvironmentsSortOrderEnumStringValues Enumerates the set of values in String for ListLifecycleEnvironmentsSortOrderEnum
func GetListLifecycleStageInstalledPackagesSortByEnumStringValues() []string
GetListLifecycleStageInstalledPackagesSortByEnumStringValues Enumerates the set of values in String for ListLifecycleStageInstalledPackagesSortByEnum
func GetListLifecycleStageInstalledPackagesSortOrderEnumStringValues() []string
GetListLifecycleStageInstalledPackagesSortOrderEnumStringValues Enumerates the set of values in String for ListLifecycleStageInstalledPackagesSortOrderEnum
func GetListLifecycleStagesArchTypeEnumStringValues() []string
GetListLifecycleStagesArchTypeEnumStringValues Enumerates the set of values in String for ListLifecycleStagesArchTypeEnum
func GetListLifecycleStagesOsFamilyEnumStringValues() []string
GetListLifecycleStagesOsFamilyEnumStringValues Enumerates the set of values in String for ListLifecycleStagesOsFamilyEnum
func GetListLifecycleStagesSortByEnumStringValues() []string
GetListLifecycleStagesSortByEnumStringValues Enumerates the set of values in String for ListLifecycleStagesSortByEnum
func GetListLifecycleStagesSortOrderEnumStringValues() []string
GetListLifecycleStagesSortOrderEnumStringValues Enumerates the set of values in String for ListLifecycleStagesSortOrderEnum
func GetListManagedInstanceAvailablePackagesSortByEnumStringValues() []string
GetListManagedInstanceAvailablePackagesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceAvailablePackagesSortByEnum
func GetListManagedInstanceAvailablePackagesSortOrderEnumStringValues() []string
GetListManagedInstanceAvailablePackagesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceAvailablePackagesSortOrderEnum
func GetListManagedInstanceAvailableSoftwareSourcesSortByEnumStringValues() []string
GetListManagedInstanceAvailableSoftwareSourcesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceAvailableSoftwareSourcesSortByEnum
func GetListManagedInstanceAvailableSoftwareSourcesSortOrderEnumStringValues() []string
GetListManagedInstanceAvailableSoftwareSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum
func GetListManagedInstanceErrataAdvisoryTypeEnumStringValues() []string
GetListManagedInstanceErrataAdvisoryTypeEnumStringValues Enumerates the set of values in String for ListManagedInstanceErrataAdvisoryTypeEnum
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 GetListManagedInstanceGroupAvailableModulesSortByEnumStringValues() []string
GetListManagedInstanceGroupAvailableModulesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupAvailableModulesSortByEnum
func GetListManagedInstanceGroupAvailableModulesSortOrderEnumStringValues() []string
GetListManagedInstanceGroupAvailableModulesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupAvailableModulesSortOrderEnum
func GetListManagedInstanceGroupAvailablePackagesSortByEnumStringValues() []string
GetListManagedInstanceGroupAvailablePackagesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupAvailablePackagesSortByEnum
func GetListManagedInstanceGroupAvailablePackagesSortOrderEnumStringValues() []string
GetListManagedInstanceGroupAvailablePackagesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupAvailablePackagesSortOrderEnum
func GetListManagedInstanceGroupAvailableSoftwareSourcesSortByEnumStringValues() []string
GetListManagedInstanceGroupAvailableSoftwareSourcesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum
func GetListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnumStringValues() []string
GetListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum
func GetListManagedInstanceGroupInstalledPackagesSortByEnumStringValues() []string
GetListManagedInstanceGroupInstalledPackagesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupInstalledPackagesSortByEnum
func GetListManagedInstanceGroupInstalledPackagesSortOrderEnumStringValues() []string
GetListManagedInstanceGroupInstalledPackagesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupInstalledPackagesSortOrderEnum
func GetListManagedInstanceGroupModulesSortByEnumStringValues() []string
GetListManagedInstanceGroupModulesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupModulesSortByEnum
func GetListManagedInstanceGroupModulesSortOrderEnumStringValues() []string
GetListManagedInstanceGroupModulesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupModulesSortOrderEnum
func GetListManagedInstanceGroupsArchTypeEnumStringValues() []string
GetListManagedInstanceGroupsArchTypeEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupsArchTypeEnum
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 GetListManagedInstanceInstalledPackagesSortByEnumStringValues() []string
GetListManagedInstanceInstalledPackagesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceInstalledPackagesSortByEnum
func GetListManagedInstanceInstalledPackagesSortOrderEnumStringValues() []string
GetListManagedInstanceInstalledPackagesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceInstalledPackagesSortOrderEnum
func GetListManagedInstanceModulesSortByEnumStringValues() []string
GetListManagedInstanceModulesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceModulesSortByEnum
func GetListManagedInstanceModulesSortOrderEnumStringValues() []string
GetListManagedInstanceModulesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceModulesSortOrderEnum
func GetListManagedInstanceUpdatablePackagesSortByEnumStringValues() []string
GetListManagedInstanceUpdatablePackagesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceUpdatablePackagesSortByEnum
func GetListManagedInstanceUpdatablePackagesSortOrderEnumStringValues() []string
GetListManagedInstanceUpdatablePackagesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceUpdatablePackagesSortOrderEnum
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 GetListManagementStationsSortByEnumStringValues() []string
GetListManagementStationsSortByEnumStringValues Enumerates the set of values in String for ListManagementStationsSortByEnum
func GetListManagementStationsSortOrderEnumStringValues() []string
GetListManagementStationsSortOrderEnumStringValues Enumerates the set of values in String for ListManagementStationsSortOrderEnum
func GetListMirrorsSortByEnumStringValues() []string
GetListMirrorsSortByEnumStringValues Enumerates the set of values in String for ListMirrorsSortByEnum
func GetListMirrorsSortOrderEnumStringValues() []string
GetListMirrorsSortOrderEnumStringValues Enumerates the set of values in String for ListMirrorsSortOrderEnum
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 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 GetListPackageGroupsSortByEnumStringValues() []string
GetListPackageGroupsSortByEnumStringValues Enumerates the set of values in String for ListPackageGroupsSortByEnum
func GetListPackageGroupsSortOrderEnumStringValues() []string
GetListPackageGroupsSortOrderEnumStringValues Enumerates the set of values in String for ListPackageGroupsSortOrderEnum
func GetListProfilesArchTypeEnumStringValues() []string
GetListProfilesArchTypeEnumStringValues Enumerates the set of values in String for ListProfilesArchTypeEnum
func GetListProfilesOsFamilyEnumStringValues() []string
GetListProfilesOsFamilyEnumStringValues Enumerates the set of values in String for ListProfilesOsFamilyEnum
func GetListProfilesSortByEnumStringValues() []string
GetListProfilesSortByEnumStringValues Enumerates the set of values in String for ListProfilesSortByEnum
func GetListProfilesSortOrderEnumStringValues() []string
GetListProfilesSortOrderEnumStringValues Enumerates the set of values in String for ListProfilesSortOrderEnum
func GetListProfilesVendorNameEnumStringValues() []string
GetListProfilesVendorNameEnumStringValues Enumerates the set of values in String for ListProfilesVendorNameEnum
func GetListScheduledJobsOperationTypeEnumStringValues() []string
GetListScheduledJobsOperationTypeEnumStringValues Enumerates the set of values in String for ListScheduledJobsOperationTypeEnum
func GetListScheduledJobsScheduleTypeEnumStringValues() []string
GetListScheduledJobsScheduleTypeEnumStringValues Enumerates the set of values in String for ListScheduledJobsScheduleTypeEnum
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 GetListSoftwarePackagesSortByEnumStringValues() []string
GetListSoftwarePackagesSortByEnumStringValues Enumerates the set of values in String for ListSoftwarePackagesSortByEnum
func GetListSoftwarePackagesSortOrderEnumStringValues() []string
GetListSoftwarePackagesSortOrderEnumStringValues Enumerates the set of values in String for ListSoftwarePackagesSortOrderEnum
func GetListSoftwareSourceVendorsSortByEnumStringValues() []string
GetListSoftwareSourceVendorsSortByEnumStringValues Enumerates the set of values in String for ListSoftwareSourceVendorsSortByEnum
func GetListSoftwareSourceVendorsSortOrderEnumStringValues() []string
GetListSoftwareSourceVendorsSortOrderEnumStringValues Enumerates the set of values in String for ListSoftwareSourceVendorsSortOrderEnum
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 GetListSoftwareSourcesVendorNameEnumStringValues() []string
GetListSoftwareSourcesVendorNameEnumStringValues Enumerates the set of values in String for ListSoftwareSourcesVendorNameEnum
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 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 GetManagedInstanceGroupLifecycleStateEnumStringValues() []string
GetManagedInstanceGroupLifecycleStateEnumStringValues Enumerates the set of values in String for ManagedInstanceGroupLifecycleStateEnum
func GetManagedInstanceLocationEnumStringValues() []string
GetManagedInstanceLocationEnumStringValues Enumerates the set of values in String for ManagedInstanceLocationEnum
func GetManagedInstanceStatusEnumStringValues() []string
GetManagedInstanceStatusEnumStringValues Enumerates the set of values in String for ManagedInstanceStatusEnum
func GetManagementStationLifecycleStateEnumStringValues() []string
GetManagementStationLifecycleStateEnumStringValues Enumerates the set of values in String for ManagementStationLifecycleStateEnum
func GetMetricNameEnumStringValues() []string
GetMetricNameEnumStringValues Enumerates the set of values in String for MetricNameEnum
func GetMirrorStateEnumStringValues() []string
GetMirrorStateEnumStringValues Enumerates the set of values in String for MirrorStateEnum
func GetMirrorTypeEnumStringValues() []string
GetMirrorTypeEnumStringValues Enumerates the set of values in String for MirrorTypeEnum
func GetModuleStreamProfileStatusEnumStringValues() []string
GetModuleStreamProfileStatusEnumStringValues Enumerates the set of values in String for ModuleStreamProfileStatusEnum
func GetModuleStreamStatusEnumStringValues() []string
GetModuleStreamStatusEnumStringValues Enumerates the set of values in String for ModuleStreamStatusEnum
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 GetOsFamilyEnumStringValues() []string
GetOsFamilyEnumStringValues Enumerates the set of values in String for OsFamilyEnum
func GetOverallStateEnumStringValues() []string
GetOverallStateEnumStringValues Enumerates the set of values in String for OverallStateEnum
func GetPackageGroupGroupTypeEnumStringValues() []string
GetPackageGroupGroupTypeEnumStringValues Enumerates the set of values in String for PackageGroupGroupTypeEnum
func GetPackageSummaryPackageClassificationEnumStringValues() []string
GetPackageSummaryPackageClassificationEnumStringValues Enumerates the set of values in String for PackageSummaryPackageClassificationEnum
func GetProfileLifecycleStateEnumStringValues() []string
GetProfileLifecycleStateEnumStringValues Enumerates the set of values in String for ProfileLifecycleStateEnum
func GetProfileTypeEnumStringValues() []string
GetProfileTypeEnumStringValues Enumerates the set of values in String for ProfileTypeEnum
func GetScheduleTypesEnumStringValues() []string
GetScheduleTypesEnumStringValues Enumerates the set of values in String for ScheduleTypesEnum
func GetScheduledJobLifecycleStateEnumStringValues() []string
GetScheduledJobLifecycleStateEnumStringValues Enumerates the set of values in String for ScheduledJobLifecycleStateEnum
func GetSearchSoftwareSourceModuleStreamsDetailsSortByEnumStringValues() []string
GetSearchSoftwareSourceModuleStreamsDetailsSortByEnumStringValues Enumerates the set of values in String for SearchSoftwareSourceModuleStreamsDetailsSortByEnum
func GetSearchSoftwareSourceModuleStreamsDetailsSortOrderEnumStringValues() []string
GetSearchSoftwareSourceModuleStreamsDetailsSortOrderEnumStringValues Enumerates the set of values in String for SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum
func GetSearchSoftwareSourceModulesDetailsSortByEnumStringValues() []string
GetSearchSoftwareSourceModulesDetailsSortByEnumStringValues Enumerates the set of values in String for SearchSoftwareSourceModulesDetailsSortByEnum
func GetSearchSoftwareSourceModulesDetailsSortOrderEnumStringValues() []string
GetSearchSoftwareSourceModulesDetailsSortOrderEnumStringValues Enumerates the set of values in String for SearchSoftwareSourceModulesDetailsSortOrderEnum
func GetSearchSoftwareSourcePackageGroupsDetailsSortByEnumStringValues() []string
GetSearchSoftwareSourcePackageGroupsDetailsSortByEnumStringValues Enumerates the set of values in String for SearchSoftwareSourcePackageGroupsDetailsSortByEnum
func GetSearchSoftwareSourcePackageGroupsDetailsSortOrderEnumStringValues() []string
GetSearchSoftwareSourcePackageGroupsDetailsSortOrderEnumStringValues Enumerates the set of values in String for SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum
func GetSoftwareSourceLifecycleStateEnumStringValues() []string
GetSoftwareSourceLifecycleStateEnumStringValues Enumerates the set of values in String for SoftwareSourceLifecycleStateEnum
func GetSoftwareSourceTypeEnumStringValues() []string
GetSoftwareSourceTypeEnumStringValues Enumerates the set of values in String for SoftwareSourceTypeEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetSummarizeManagedInstanceAnalyticsInstanceLocationEnumStringValues() []string
GetSummarizeManagedInstanceAnalyticsInstanceLocationEnumStringValues Enumerates the set of values in String for SummarizeManagedInstanceAnalyticsInstanceLocationEnum
func GetSummarizeManagedInstanceAnalyticsSortByEnumStringValues() []string
GetSummarizeManagedInstanceAnalyticsSortByEnumStringValues Enumerates the set of values in String for SummarizeManagedInstanceAnalyticsSortByEnum
func GetSummarizeManagedInstanceAnalyticsSortOrderEnumStringValues() []string
GetSummarizeManagedInstanceAnalyticsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeManagedInstanceAnalyticsSortOrderEnum
func GetTargetResourceEntityTypeEnumStringValues() []string
GetTargetResourceEntityTypeEnumStringValues Enumerates the set of values in String for TargetResourceEntityTypeEnum
func GetUpdateTypesEnumStringValues() []string
GetUpdateTypesEnumStringValues Enumerates the set of values in String for UpdateTypesEnum
func GetVendorNameEnumStringValues() []string
GetVendorNameEnumStringValues Enumerates the set of values in String for VendorNameEnum
func GetWorkRequestOperationTypeEnumStringValues() []string
GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AdvisorySeverityEnum Enum with underlying type: string
type AdvisorySeverityEnum string
Set of constants representing the allowable values for AdvisorySeverityEnum
const ( AdvisorySeverityLow AdvisorySeverityEnum = "LOW" AdvisorySeverityModerate AdvisorySeverityEnum = "MODERATE" AdvisorySeverityImportant AdvisorySeverityEnum = "IMPORTANT" AdvisorySeverityCritical AdvisorySeverityEnum = "CRITICAL" )
func GetAdvisorySeverityEnumValues() []AdvisorySeverityEnum
GetAdvisorySeverityEnumValues Enumerates the set of values for AdvisorySeverityEnum
func GetMappingAdvisorySeverityEnum(val string) (AdvisorySeverityEnum, bool)
GetMappingAdvisorySeverityEnum performs case Insensitive comparison on enum value and return the desired enum
ArchTypeEnum Enum with underlying type: string
type ArchTypeEnum string
Set of constants representing the allowable values for ArchTypeEnum
const ( ArchTypeX8664 ArchTypeEnum = "X86_64" ArchTypeAarch64 ArchTypeEnum = "AARCH64" ArchTypeI686 ArchTypeEnum = "I686" ArchTypeNoarch ArchTypeEnum = "NOARCH" ArchTypeSrc ArchTypeEnum = "SRC" )
func GetArchTypeEnumValues() []ArchTypeEnum
GetArchTypeEnumValues Enumerates the set of values for ArchTypeEnum
func GetMappingArchTypeEnum(val string) (ArchTypeEnum, bool)
GetMappingArchTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AttachManagedInstancesToLifecycleStageDetails The managed instances to attach to the lifecycle stage.
type AttachManagedInstancesToLifecycleStageDetails struct { ManagedInstanceDetails *ManagedInstancesDetails `mandatory:"false" json:"managedInstanceDetails"` }
func (m AttachManagedInstancesToLifecycleStageDetails) String() string
func (m AttachManagedInstancesToLifecycleStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AttachManagedInstancesToLifecycleStageRequest wrapper for the AttachManagedInstancesToLifecycleStage operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/AttachManagedInstancesToLifecycleStage.go.html to see an example of how to use AttachManagedInstancesToLifecycleStageRequest.
type AttachManagedInstancesToLifecycleStageRequest struct { // The OCID of the lifecycle stage. LifecycleStageId *string `mandatory:"true" contributesTo:"path" name:"lifecycleStageId"` // Details for managed instances to attach to the lifecycle stage. AttachManagedInstancesToLifecycleStageDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request AttachManagedInstancesToLifecycleStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AttachManagedInstancesToLifecycleStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AttachManagedInstancesToLifecycleStageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AttachManagedInstancesToLifecycleStageRequest) String() string
func (request AttachManagedInstancesToLifecycleStageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AttachManagedInstancesToLifecycleStageResponse wrapper for the AttachManagedInstancesToLifecycleStage operation
type AttachManagedInstancesToLifecycleStageResponse 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"` // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response AttachManagedInstancesToLifecycleStageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AttachManagedInstancesToLifecycleStageResponse) String() string
AttachManagedInstancesToManagedInstanceGroupDetails The managed instance OCIDs to attach to the managed instance group.
type AttachManagedInstancesToManagedInstanceGroupDetails struct { // The list of managed instance OCIDs to be attached. ManagedInstances []string `mandatory:"false" json:"managedInstances"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m AttachManagedInstancesToManagedInstanceGroupDetails) String() string
func (m AttachManagedInstancesToManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AttachManagedInstancesToManagedInstanceGroupRequest wrapper for the AttachManagedInstancesToManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/AttachManagedInstancesToManagedInstanceGroup.go.html to see an example of how to use AttachManagedInstancesToManagedInstanceGroupRequest.
type AttachManagedInstancesToManagedInstanceGroupRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // Details for managed instances to attach to the managed instance group. AttachManagedInstancesToManagedInstanceGroupDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request AttachManagedInstancesToManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AttachManagedInstancesToManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AttachManagedInstancesToManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AttachManagedInstancesToManagedInstanceGroupRequest) String() string
func (request AttachManagedInstancesToManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AttachManagedInstancesToManagedInstanceGroupResponse wrapper for the AttachManagedInstancesToManagedInstanceGroup operation
type AttachManagedInstancesToManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 AttachManagedInstancesToManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AttachManagedInstancesToManagedInstanceGroupResponse) String() string
AttachSoftwareSourcesToManagedInstanceDetails The details about the software sources to be attached.
type AttachSoftwareSourcesToManagedInstanceDetails struct { // The list of software source OCIDs to be attached/detached. SoftwareSources []string `mandatory:"true" json:"softwareSources"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m AttachSoftwareSourcesToManagedInstanceDetails) String() string
func (m AttachSoftwareSourcesToManagedInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AttachSoftwareSourcesToManagedInstanceGroupDetails The software sources OCIDs to attach to the managed instance group.
type AttachSoftwareSourcesToManagedInstanceGroupDetails struct { // The list of software sources OCIDs to be attached. SoftwareSources []string `mandatory:"false" json:"softwareSources"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m AttachSoftwareSourcesToManagedInstanceGroupDetails) String() string
func (m AttachSoftwareSourcesToManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AttachSoftwareSourcesToManagedInstanceGroupRequest wrapper for the AttachSoftwareSourcesToManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/AttachSoftwareSourcesToManagedInstanceGroup.go.html to see an example of how to use AttachSoftwareSourcesToManagedInstanceGroupRequest.
type AttachSoftwareSourcesToManagedInstanceGroupRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // Details for software sources to attach to the managed instance group. AttachSoftwareSourcesToManagedInstanceGroupDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request AttachSoftwareSourcesToManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AttachSoftwareSourcesToManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AttachSoftwareSourcesToManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AttachSoftwareSourcesToManagedInstanceGroupRequest) String() string
func (request AttachSoftwareSourcesToManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AttachSoftwareSourcesToManagedInstanceGroupResponse wrapper for the AttachSoftwareSourcesToManagedInstanceGroup operation
type AttachSoftwareSourcesToManagedInstanceGroupResponse 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 AttachSoftwareSourcesToManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AttachSoftwareSourcesToManagedInstanceGroupResponse) String() string
AttachSoftwareSourcesToManagedInstanceRequest wrapper for the AttachSoftwareSourcesToManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/AttachSoftwareSourcesToManagedInstance.go.html to see an example of how to use AttachSoftwareSourcesToManagedInstanceRequest.
type AttachSoftwareSourcesToManagedInstanceRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Details of software sources to be attached to a managed instance. AttachSoftwareSourcesToManagedInstanceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 AttachSoftwareSourcesToManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AttachSoftwareSourcesToManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AttachSoftwareSourcesToManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AttachSoftwareSourcesToManagedInstanceRequest) String() string
func (request AttachSoftwareSourcesToManagedInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AttachSoftwareSourcesToManagedInstanceResponse wrapper for the AttachSoftwareSourcesToManagedInstance operation
type AttachSoftwareSourcesToManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 AttachSoftwareSourcesToManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AttachSoftwareSourcesToManagedInstanceResponse) String() string
AvailabilityEnum Enum with underlying type: string
type AvailabilityEnum string
Set of constants representing the allowable values for AvailabilityEnum
const ( AvailabilityAvailable AvailabilityEnum = "AVAILABLE" AvailabilitySelected AvailabilityEnum = "SELECTED" AvailabilityRestricted AvailabilityEnum = "RESTRICTED" )
func GetAvailabilityEnumValues() []AvailabilityEnum
GetAvailabilityEnumValues Enumerates the set of values for AvailabilityEnum
func GetMappingAvailabilityEnum(val string) (AvailabilityEnum, bool)
GetMappingAvailabilityEnum performs case Insensitive comparison on enum value and return the desired enum
AvailablePackageCollection Results of an available package search on a managed instance.
type AvailablePackageCollection struct { // List of available packages. Items []AvailablePackageSummary `mandatory:"true" json:"items"` }
func (m AvailablePackageCollection) String() string
func (m AvailablePackageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AvailablePackageSummary A software package available for install on a managed instance.
type AvailablePackageSummary struct { // Package name. DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the package. 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"` // list of software sources that provide the software package. SoftwareSources []SoftwareSourceDetails `mandatory:"false" json:"softwareSources"` // The architecture for which this package was built. Architecture ArchTypeEnum `mandatory:"false" json:"architecture,omitempty"` }
func (m AvailablePackageSummary) GetArchitecture() ArchTypeEnum
GetArchitecture returns Architecture
func (m AvailablePackageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AvailablePackageSummary) GetName() *string
GetName returns Name
func (m AvailablePackageSummary) GetSoftwareSources() []SoftwareSourceDetails
GetSoftwareSources returns SoftwareSources
func (m AvailablePackageSummary) GetType() *string
GetType returns Type
func (m AvailablePackageSummary) GetVersion() *string
GetVersion returns Version
func (m AvailablePackageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AvailablePackageSummary) String() string
func (m AvailablePackageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AvailableSoftwareSourceCollection Results of searching for available software sources for a managed instance.
type AvailableSoftwareSourceCollection struct { // List of available software sources. Items []AvailableSoftwareSourceSummary `mandatory:"true" json:"items"` }
func (m AvailableSoftwareSourceCollection) String() string
func (m AvailableSoftwareSourceCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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"` // The OCID for the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // User friendly name for the software source. DisplayName *string `mandatory:"true" json:"displayName"` }
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
ChangeAvailabilityOfSoftwareSourcesDetails Request body that contains a list of software sources whose availability needs to be updated.
type ChangeAvailabilityOfSoftwareSourcesDetails struct { // List of objects containing software source ids and its availability. SoftwareSourceAvailabilities []SoftwareSourceAvailability `mandatory:"false" json:"softwareSourceAvailabilities"` }
func (m ChangeAvailabilityOfSoftwareSourcesDetails) String() string
func (m ChangeAvailabilityOfSoftwareSourcesDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAvailabilityOfSoftwareSourcesRequest wrapper for the ChangeAvailabilityOfSoftwareSources operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ChangeAvailabilityOfSoftwareSources.go.html to see an example of how to use ChangeAvailabilityOfSoftwareSourcesRequest.
type ChangeAvailabilityOfSoftwareSourcesRequest struct { // Request body that contains a list of software sources whose availability needs to be updated. ChangeAvailabilityOfSoftwareSourcesDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeAvailabilityOfSoftwareSourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeAvailabilityOfSoftwareSourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeAvailabilityOfSoftwareSourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeAvailabilityOfSoftwareSourcesRequest) String() string
func (request ChangeAvailabilityOfSoftwareSourcesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAvailabilityOfSoftwareSourcesResponse wrapper for the ChangeAvailabilityOfSoftwareSources operation
type ChangeAvailabilityOfSoftwareSourcesResponse 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 ChangeAvailabilityOfSoftwareSourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeAvailabilityOfSoftwareSourcesResponse) String() string
ChecksumTypeEnum Enum with underlying type: string
type ChecksumTypeEnum string
Set of constants representing the allowable values for ChecksumTypeEnum
const ( ChecksumTypeSha1 ChecksumTypeEnum = "SHA1" ChecksumTypeSha256 ChecksumTypeEnum = "SHA256" ChecksumTypeSha384 ChecksumTypeEnum = "SHA384" ChecksumTypeSha512 ChecksumTypeEnum = "SHA512" )
func GetChecksumTypeEnumValues() []ChecksumTypeEnum
GetChecksumTypeEnumValues Enumerates the set of values for ChecksumTypeEnum
func GetMappingChecksumTypeEnum(val string) (ChecksumTypeEnum, bool)
GetMappingChecksumTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ClassificationTypesEnum Enum with underlying type: string
type ClassificationTypesEnum string
Set of constants representing the allowable values for ClassificationTypesEnum
const ( ClassificationTypesSecurity ClassificationTypesEnum = "SECURITY" ClassificationTypesBugfix ClassificationTypesEnum = "BUGFIX" ClassificationTypesEnhancement ClassificationTypesEnum = "ENHANCEMENT" ClassificationTypesOther ClassificationTypesEnum = "OTHER" )
func GetClassificationTypesEnumValues() []ClassificationTypesEnum
GetClassificationTypesEnumValues Enumerates the set of values for ClassificationTypesEnum
func GetMappingClassificationTypesEnum(val string) (ClassificationTypesEnum, bool)
GetMappingClassificationTypesEnum performs case Insensitive comparison on enum value and return the desired enum
CreateCustomSoftwareSourceDetails Description of a custom software source to be created.
type CreateCustomSoftwareSourceDetails struct { // The OCID of the tenancy containing the software source. CompartmentId *string `mandatory:"true" json:"compartmentId"` // User friendly name for the software source. DisplayName *string `mandatory:"true" json:"displayName"` // List of vendor software sources. VendorSoftwareSources []Id `mandatory:"true" json:"vendorSoftwareSources"` // Information specified by the user about the software source. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` CustomSoftwareSourceFilter *CustomSoftwareSourceFilter `mandatory:"false" json:"customSoftwareSourceFilter"` // Indicates whether service should automatically update the custom software source for the user. IsAutomaticallyUpdated *bool `mandatory:"false" json:"isAutomaticallyUpdated"` }
func (m CreateCustomSoftwareSourceDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateCustomSoftwareSourceDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateCustomSoftwareSourceDetails) GetDescription() *string
GetDescription returns Description
func (m CreateCustomSoftwareSourceDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateCustomSoftwareSourceDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateCustomSoftwareSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateCustomSoftwareSourceDetails) String() string
func (m CreateCustomSoftwareSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateEntitlementDetails Creates an entitlement for the specified compartment OCID and CSI.
type CreateEntitlementDetails struct { // The OCID of the tenancy containing the entitlement. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A Customer Support Identifier (CSI) is a unique key given to a customer to unlock software sources. It uniquely identifies the entitlement. Csi *string `mandatory:"true" json:"csi"` }
func (m CreateEntitlementDetails) String() string
func (m CreateEntitlementDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateEntitlementRequest wrapper for the CreateEntitlement operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/CreateEntitlement.go.html to see an example of how to use CreateEntitlementRequest.
type CreateEntitlementRequest struct { // Details for creating entitlements. CreateEntitlementDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateEntitlementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateEntitlementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateEntitlementRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateEntitlementRequest) String() string
func (request CreateEntitlementRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateEntitlementResponse wrapper for the CreateEntitlement operation
type CreateEntitlementResponse 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 CreateEntitlementResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateEntitlementResponse) String() string
CreateGroupProfileDetails Description of a group registration profile to be created.
type CreateGroupProfileDetails struct { // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the tenancy containing the registration profile. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the managed instance group from which the registration profile will inherit its software sources. ManagedInstanceGroupId *string `mandatory:"true" json:"managedInstanceGroupId"` // The description of the registration profile. Description *string `mandatory:"false" json:"description"` // The OCID of the management station. ManagementStationId *string `mandatory:"false" json:"managementStationId"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateGroupProfileDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateGroupProfileDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateGroupProfileDetails) GetDescription() *string
GetDescription returns Description
func (m CreateGroupProfileDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateGroupProfileDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateGroupProfileDetails) GetManagementStationId() *string
GetManagementStationId returns ManagementStationId
func (m CreateGroupProfileDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateGroupProfileDetails) String() string
func (m CreateGroupProfileDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateLifecycleEnvironmentDetails Creates a lifecycle environment. A lifecycle environment is a user-defined pipeline to deliver curated, versioned content in a prescribed, methodical manner.
type CreateLifecycleEnvironmentDetails struct { // The OCID of the tenancy containing the lifecycle environment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // User specified list of ranked lifecycle stages to be created for the lifecycle environment. Stages []CreateLifecycleStageDetails `mandatory:"true" json:"stages"` // The CPU architecture of the managed instance(s) in the lifecycle environment. ArchType ArchTypeEnum `mandatory:"true" json:"archType"` // The operating system type of the managed instance(s) in the lifecycle environment. OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"` // The software source vendor name. VendorName VendorNameEnum `mandatory:"true" json:"vendorName"` // User specified information about the lifecycle environment. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateLifecycleEnvironmentDetails) String() string
func (m CreateLifecycleEnvironmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateLifecycleEnvironmentRequest wrapper for the CreateLifecycleEnvironment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/CreateLifecycleEnvironment.go.html to see an example of how to use CreateLifecycleEnvironmentRequest.
type CreateLifecycleEnvironmentRequest struct { // Details for the new lifecycle environment. CreateLifecycleEnvironmentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateLifecycleEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateLifecycleEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateLifecycleEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateLifecycleEnvironmentRequest) String() string
func (request CreateLifecycleEnvironmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateLifecycleEnvironmentResponse wrapper for the CreateLifecycleEnvironment operation
type CreateLifecycleEnvironmentResponse struct { // The underlying http response RawResponse *http.Response // The LifecycleEnvironment instance LifecycleEnvironment `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 CreateLifecycleEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateLifecycleEnvironmentResponse) String() string
CreateLifecycleProfileDetails Description of a lifecycle registration profile to be created.
type CreateLifecycleProfileDetails struct { // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the tenancy containing the registration profile. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the lifecycle stage from which the registration profile will inherit its software source. LifecycleStageId *string `mandatory:"true" json:"lifecycleStageId"` // The description of the registration profile. Description *string `mandatory:"false" json:"description"` // The OCID of the management station. ManagementStationId *string `mandatory:"false" json:"managementStationId"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateLifecycleProfileDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateLifecycleProfileDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateLifecycleProfileDetails) GetDescription() *string
GetDescription returns Description
func (m CreateLifecycleProfileDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateLifecycleProfileDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateLifecycleProfileDetails) GetManagementStationId() *string
GetManagementStationId returns ManagementStationId
func (m CreateLifecycleProfileDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateLifecycleProfileDetails) String() string
func (m CreateLifecycleProfileDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateLifecycleStageDetails The information about a lifecycle stage.
type CreateLifecycleStageDetails struct { // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // User specified rank for the lifecycle stage. // Rank determines the hierarchy of the lifecycle stages for a given lifecycle environment. Rank *int `mandatory:"true" json:"rank"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateLifecycleStageDetails) String() string
func (m CreateLifecycleStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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 The information about new managed instance group.
type CreateManagedInstanceGroupDetails struct { // A user-friendly name for the managed instance group. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the tenancy containing the managed instance group. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The operating system type of the managed instance(s) that this managed instance group will contain. OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"` // The CPU architecture type of the managed instance(s) that this managed instance group will contain. ArchType ArchTypeEnum `mandatory:"true" json:"archType"` // The software source vendor name. VendorName VendorNameEnum `mandatory:"true" json:"vendorName"` // The list of software source OCIDs available to the managed instances in the managed instance group. SoftwareSourceIds []string `mandatory:"true" json:"softwareSourceIds"` // Details about the managed instance group. Description *string `mandatory:"false" json:"description"` // The list of managed instance OCIDs to be added to the managed instance group. ManagedInstanceIds []string `mandatory:"false" json:"managedInstanceIds"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateManagedInstanceGroupDetails) String() string
func (m CreateManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateManagedInstanceGroupRequest wrapper for the CreateManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/CreateManagedInstanceGroup.go.html to see an example of how to use CreateManagedInstanceGroupRequest.
type CreateManagedInstanceGroupRequest struct { // Details for the new managed instance group. CreateManagedInstanceGroupDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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"` // 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 CreateManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateManagedInstanceGroupResponse) String() string
CreateManagementStationDetails Information for creating an ManagementStation
type CreateManagementStationDetails struct { // The OCID of the tenancy containing the Management Station. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Management Station name DisplayName *string `mandatory:"true" json:"displayName"` // Name of the host Hostname *string `mandatory:"true" json:"hostname"` Proxy *CreateProxyConfigurationDetails `mandatory:"true" json:"proxy"` Mirror *CreateMirrorConfigurationDetails `mandatory:"true" json:"mirror"` // Details describing the Management Station config. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateManagementStationDetails) String() string
func (m CreateManagementStationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateManagementStationRequest wrapper for the CreateManagementStation operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/CreateManagementStation.go.html to see an example of how to use CreateManagementStationRequest.
type CreateManagementStationRequest struct { // Details for the new ManagementStation. CreateManagementStationDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateManagementStationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateManagementStationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateManagementStationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateManagementStationRequest) String() string
func (request CreateManagementStationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateManagementStationResponse wrapper for the CreateManagementStation operation
type CreateManagementStationResponse struct { // The underlying http response RawResponse *http.Response // The ManagementStation instance ManagementStation `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response CreateManagementStationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateManagementStationResponse) String() string
CreateMirrorConfigurationDetails Information for creating a mirror configuration
type CreateMirrorConfigurationDetails struct { // Directory for the mirroring Directory *string `mandatory:"true" json:"directory"` // Default port for the mirror Port *string `mandatory:"true" json:"port"` // Default sslport for the mirror Sslport *string `mandatory:"true" json:"sslport"` // Local path for the sslcert Sslcert *string `mandatory:"false" json:"sslcert"` }
func (m CreateMirrorConfigurationDetails) String() string
func (m CreateMirrorConfigurationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateProfileDetails The information about new registration profile.
type CreateProfileDetails interface { // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. GetDisplayName() *string // The OCID of the tenancy containing the registration profile. GetCompartmentId() *string // The description of the registration profile. GetDescription() *string // The OCID of the management station. GetManagementStationId() *string // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} }
CreateProfileRequest wrapper for the CreateProfile operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/CreateProfile.go.html to see an example of how to use CreateProfileRequest.
type CreateProfileRequest struct { // Details for the new registration profile. CreateProfileDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateProfileRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateProfileRequest) String() string
func (request CreateProfileRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateProfileResponse wrapper for the CreateProfile operation
type CreateProfileResponse struct { // The underlying http response RawResponse *http.Response // The Profile instance Profile `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 CreateProfileResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateProfileResponse) String() string
CreateProxyConfigurationDetails Information for creating a proxy configuration
type CreateProxyConfigurationDetails struct { // To enable or disable the proxy (default true) IsEnabled *bool `mandatory:"true" json:"isEnabled"` // List of hosts Hosts []string `mandatory:"false" json:"hosts"` // Port that the proxy will use Port *string `mandatory:"false" json:"port"` // URL that the proxy will forward to Forward *string `mandatory:"false" json:"forward"` }
func (m CreateProxyConfigurationDetails) String() string
func (m CreateProxyConfigurationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateScheduledJobDetails Information for creating a scheduled job.
type CreateScheduledJobDetails struct { // The OCID of the compartment containing the scheduled job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // 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 list of operations this scheduled job needs to perform (can only support one operation if the operationType is not UPDATE_PACKAGES/UPDATE_ALL/UPDATE_SECURITY/UPDATE_BUGFIX/UPDATE_ENHANCEMENT/UPDATE_OTHER/UPDATE_KSPLICE_USERSPACE/UPDATE_KSPLICE_KERNEL). Operations []ScheduledJobOperation `mandatory:"true" json:"operations"` // Scheduled job name. DisplayName *string `mandatory:"false" json:"displayName"` // Details describing the scheduled job. Description *string `mandatory:"false" json:"description"` // The recurring rule for a recurring scheduled job. RecurringRule *string `mandatory:"false" json:"recurringRule"` // The list of managed instance OCIDs this scheduled job operates on. Either this or // managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds must be supplied. ManagedInstanceIds []string `mandatory:"false" json:"managedInstanceIds"` // The list of managed instance group OCIDs this scheduled job operates on. Either this or // managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds must be supplied. ManagedInstanceGroupIds []string `mandatory:"false" json:"managedInstanceGroupIds"` // The list of target compartment OCIDs if this scheduled job operates on a compartment level. // Either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds must be supplied. ManagedCompartmentIds []string `mandatory:"false" json:"managedCompartmentIds"` // The list of lifecycle stage OCIDs this scheduled job operates on. Either this or // managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds must be supplied. LifecycleStageIds []string `mandatory:"false" json:"lifecycleStageIds"` // Whether to create jobs for all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID. IsSubcompartmentIncluded *bool `mandatory:"false" json:"isSubcompartmentIncluded"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateScheduledJobDetails) String() string
func (m CreateScheduledJobDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateScheduledJobRequest wrapper for the CreateScheduledJob operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/CreateScheduledJob.go.html to see an example of how to use CreateScheduledJobRequest.
type CreateScheduledJobRequest struct { // Details for the new scheduled job. CreateScheduledJobDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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.
type CreateSoftwareSourceDetails interface { // The OCID of the tenancy containing the software source. GetCompartmentId() *string // User friendly name for the software source. GetDisplayName() *string // Information specified by the user about the software source. GetDescription() *string // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} }
CreateSoftwareSourceProfileDetails Description of a software source registration profile to be created.
type CreateSoftwareSourceProfileDetails struct { // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the tenancy containing the registration profile. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of software source OCIDs that the registration profile will use. SoftwareSourceIds []string `mandatory:"true" json:"softwareSourceIds"` // The description of the registration profile. Description *string `mandatory:"false" json:"description"` // The OCID of the management station. ManagementStationId *string `mandatory:"false" json:"managementStationId"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The software source vendor name. VendorName VendorNameEnum `mandatory:"true" json:"vendorName"` // The operating system family. OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"` // The architecture type. ArchType ArchTypeEnum `mandatory:"true" json:"archType"` }
func (m CreateSoftwareSourceProfileDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateSoftwareSourceProfileDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateSoftwareSourceProfileDetails) GetDescription() *string
GetDescription returns Description
func (m CreateSoftwareSourceProfileDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateSoftwareSourceProfileDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateSoftwareSourceProfileDetails) GetManagementStationId() *string
GetManagementStationId returns ManagementStationId
func (m CreateSoftwareSourceProfileDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateSoftwareSourceProfileDetails) String() string
func (m CreateSoftwareSourceProfileDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateSoftwareSourceRequest wrapper for the CreateSoftwareSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/CreateSoftwareSource.go.html to see an example of how to use CreateSoftwareSourceRequest.
type CreateSoftwareSourceRequest struct { // Details for the new software source. CreateSoftwareSourceDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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"` // 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"` // URL for the created software source, the software source OCID will be generated after this request is sent. Location *string `presentIn:"header" name:"location"` // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response CreateSoftwareSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateSoftwareSourceResponse) String() string
CreateStationProfileDetails Description of a group registration profile to be created.
type CreateStationProfileDetails struct { // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the tenancy containing the registration profile. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The description of the registration profile. Description *string `mandatory:"false" json:"description"` // The OCID of the management station. ManagementStationId *string `mandatory:"false" json:"managementStationId"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The software source vendor name. VendorName VendorNameEnum `mandatory:"false" json:"vendorName,omitempty"` // The operating system family. OsFamily OsFamilyEnum `mandatory:"false" json:"osFamily,omitempty"` // The architecture type. ArchType ArchTypeEnum `mandatory:"false" json:"archType,omitempty"` }
func (m CreateStationProfileDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateStationProfileDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateStationProfileDetails) GetDescription() *string
GetDescription returns Description
func (m CreateStationProfileDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateStationProfileDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateStationProfileDetails) GetManagementStationId() *string
GetManagementStationId returns ManagementStationId
func (m CreateStationProfileDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateStationProfileDetails) String() string
func (m CreateStationProfileDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateVersionedCustomSoftwareSourceDetails Description of a versioned custom software source to be created.
type CreateVersionedCustomSoftwareSourceDetails struct { // The OCID of the tenancy containing the software source. CompartmentId *string `mandatory:"true" json:"compartmentId"` // User friendly name for the software source. DisplayName *string `mandatory:"true" json:"displayName"` // List of vendor software sources. VendorSoftwareSources []Id `mandatory:"true" json:"vendorSoftwareSources"` // The version to assign to this custom software source. SoftwareSourceVersion *string `mandatory:"true" json:"softwareSourceVersion"` // Information specified by the user about the software source. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` CustomSoftwareSourceFilter *CustomSoftwareSourceFilter `mandatory:"false" json:"customSoftwareSourceFilter"` }
func (m CreateVersionedCustomSoftwareSourceDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateVersionedCustomSoftwareSourceDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateVersionedCustomSoftwareSourceDetails) GetDescription() *string
GetDescription returns Description
func (m CreateVersionedCustomSoftwareSourceDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateVersionedCustomSoftwareSourceDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateVersionedCustomSoftwareSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateVersionedCustomSoftwareSourceDetails) String() string
func (m CreateVersionedCustomSoftwareSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CustomSoftwareSource A custom software source contains a custom collection of packages.
type CustomSoftwareSource struct { // OCID for the software source. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the software source. CompartmentId *string `mandatory:"true" json:"compartmentId"` // User friendly name for the software source. DisplayName *string `mandatory:"true" json:"displayName"` // The date and time the software source was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The Repo ID for the software source. RepoId *string `mandatory:"true" json:"repoId"` // URL for the repository. Url *string `mandatory:"true" json:"url"` // List of vendor software sources. VendorSoftwareSources []Id `mandatory:"true" json:"vendorSoftwareSources"` // Information specified by the user about the software source. Description *string `mandatory:"false" json:"description"` // Number of packages. PackageCount *int64 `mandatory:"false" json:"packageCount"` // 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"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` CustomSoftwareSourceFilter *CustomSoftwareSourceFilter `mandatory:"false" json:"customSoftwareSourceFilter"` // Indicates whether service should automatically update the custom software source for the user. IsAutomaticallyUpdated *bool `mandatory:"false" json:"isAutomaticallyUpdated"` // Possible availabilities of a software source. Availability AvailabilityEnum `mandatory:"true" json:"availability"` // The OS family the software source belongs to. OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"` // The architecture type supported by the software source. ArchType ArchTypeEnum `mandatory:"true" json:"archType"` // The current state of the software source. LifecycleState SoftwareSourceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The yum repository checksum type used by this software source. ChecksumType ChecksumTypeEnum `mandatory:"false" json:"checksumType,omitempty"` }
func (m CustomSoftwareSource) GetArchType() ArchTypeEnum
GetArchType returns ArchType
func (m CustomSoftwareSource) GetAvailability() AvailabilityEnum
GetAvailability returns Availability
func (m CustomSoftwareSource) GetChecksumType() ChecksumTypeEnum
GetChecksumType returns ChecksumType
func (m CustomSoftwareSource) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CustomSoftwareSource) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CustomSoftwareSource) GetDescription() *string
GetDescription returns Description
func (m CustomSoftwareSource) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CustomSoftwareSource) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CustomSoftwareSource) GetGpgKeyFingerprint() *string
GetGpgKeyFingerprint returns GpgKeyFingerprint
func (m CustomSoftwareSource) GetGpgKeyId() *string
GetGpgKeyId returns GpgKeyId
func (m CustomSoftwareSource) GetGpgKeyUrl() *string
GetGpgKeyUrl returns GpgKeyUrl
func (m CustomSoftwareSource) GetId() *string
GetId returns Id
func (m CustomSoftwareSource) GetLifecycleState() SoftwareSourceLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m CustomSoftwareSource) GetOsFamily() OsFamilyEnum
GetOsFamily returns OsFamily
func (m CustomSoftwareSource) GetPackageCount() *int64
GetPackageCount returns PackageCount
func (m CustomSoftwareSource) GetRepoId() *string
GetRepoId returns RepoId
func (m CustomSoftwareSource) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m CustomSoftwareSource) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m CustomSoftwareSource) GetUrl() *string
GetUrl returns Url
func (m CustomSoftwareSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CustomSoftwareSource) String() string
func (m CustomSoftwareSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CustomSoftwareSourceFilter Used to apply filters to a VendorSoftwareSource to create/update CustomSoftwareSources.
type CustomSoftwareSourceFilter struct { // The list of package filters. PackageFilters []PackageFilter `mandatory:"false" json:"packageFilters"` // The list of module stream/profile filters. ModuleStreamProfileFilters []ModuleStreamProfileFilter `mandatory:"false" json:"moduleStreamProfileFilters"` // The list of group filters. PackageGroupFilters []PackageGroupFilter `mandatory:"false" json:"packageGroupFilters"` }
func (m CustomSoftwareSourceFilter) String() string
func (m CustomSoftwareSourceFilter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CustomSoftwareSourceSummary A custom software source contains a custom collection of packages.
type CustomSoftwareSourceSummary struct { // The OCID for the software source. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the software source. CompartmentId *string `mandatory:"true" json:"compartmentId"` // User friendly name for the software source. DisplayName *string `mandatory:"true" json:"displayName"` // The Repo ID for the software source. RepoId *string `mandatory:"true" json:"repoId"` // URL for the repository. Url *string `mandatory:"true" json:"url"` // The date and time the software source was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time of when the software source was updated as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // List of vendor software sources. VendorSoftwareSources []Id `mandatory:"true" json:"vendorSoftwareSources"` // Information specified by the user about the software source. Description *string `mandatory:"false" json:"description"` // Number of packages. PackageCount *int64 `mandatory:"false" json:"packageCount"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the software source. LifecycleState SoftwareSourceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Possible availabilities of a software source. Availability AvailabilityEnum `mandatory:"true" json:"availability"` // The OS family the software source belongs to. OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"` // The architecture type supported by the software source. ArchType ArchTypeEnum `mandatory:"true" json:"archType"` }
func (m CustomSoftwareSourceSummary) GetArchType() ArchTypeEnum
GetArchType returns ArchType
func (m CustomSoftwareSourceSummary) GetAvailability() AvailabilityEnum
GetAvailability returns Availability
func (m CustomSoftwareSourceSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CustomSoftwareSourceSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CustomSoftwareSourceSummary) GetDescription() *string
GetDescription returns Description
func (m CustomSoftwareSourceSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CustomSoftwareSourceSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CustomSoftwareSourceSummary) GetId() *string
GetId returns Id
func (m CustomSoftwareSourceSummary) GetLifecycleState() SoftwareSourceLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m CustomSoftwareSourceSummary) GetOsFamily() OsFamilyEnum
GetOsFamily returns OsFamily
func (m CustomSoftwareSourceSummary) GetPackageCount() *int64
GetPackageCount returns PackageCount
func (m CustomSoftwareSourceSummary) GetRepoId() *string
GetRepoId returns RepoId
func (m CustomSoftwareSourceSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m CustomSoftwareSourceSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m CustomSoftwareSourceSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m CustomSoftwareSourceSummary) GetUrl() *string
GetUrl returns Url
func (m CustomSoftwareSourceSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CustomSoftwareSourceSummary) String() string
func (m CustomSoftwareSourceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteLifecycleEnvironmentRequest wrapper for the DeleteLifecycleEnvironment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DeleteLifecycleEnvironment.go.html to see an example of how to use DeleteLifecycleEnvironmentRequest.
type DeleteLifecycleEnvironmentRequest struct { // The OCID of the lifecycle environment. LifecycleEnvironmentId *string `mandatory:"true" contributesTo:"path" name:"lifecycleEnvironmentId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteLifecycleEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteLifecycleEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteLifecycleEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteLifecycleEnvironmentRequest) String() string
func (request DeleteLifecycleEnvironmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteLifecycleEnvironmentResponse wrapper for the DeleteLifecycleEnvironment operation
type DeleteLifecycleEnvironmentResponse 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 DeleteLifecycleEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteLifecycleEnvironmentResponse) String() string
DeleteManagedInstanceGroupRequest wrapper for the DeleteManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DeleteManagedInstanceGroup.go.html to see an example of how to use DeleteManagedInstanceGroupRequest.
type DeleteManagedInstanceGroupRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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
DeleteManagementStationRequest wrapper for the DeleteManagementStation operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DeleteManagementStation.go.html to see an example of how to use DeleteManagementStationRequest.
type DeleteManagementStationRequest struct { // The OCID of the management station. ManagementStationId *string `mandatory:"true" contributesTo:"path" name:"managementStationId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteManagementStationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteManagementStationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteManagementStationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteManagementStationRequest) String() string
func (request DeleteManagementStationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteManagementStationResponse wrapper for the DeleteManagementStation operation
type DeleteManagementStationResponse 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 DeleteManagementStationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteManagementStationResponse) String() string
DeleteProfileRequest wrapper for the DeleteProfile operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DeleteProfile.go.html to see an example of how to use DeleteProfileRequest.
type DeleteProfileRequest struct { // The OCID of the registration profile. ProfileId *string `mandatory:"true" contributesTo:"path" name:"profileId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteProfileRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteProfileRequest) String() string
func (request DeleteProfileRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteProfileResponse wrapper for the DeleteProfile operation
type DeleteProfileResponse 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 DeleteProfileResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteProfileResponse) String() string
DeleteScheduledJobRequest wrapper for the DeleteScheduledJob operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DeleteScheduledJob.go.html to see an example of how to use DeleteScheduledJobRequest.
type DeleteScheduledJobRequest struct { // The OCID of the scheduled job. ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteScheduledJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteScheduledJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteScheduledJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteScheduledJobRequest) String() string
func (request DeleteScheduledJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteScheduledJobResponse wrapper for the DeleteScheduledJob operation
type DeleteScheduledJobResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteScheduledJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteScheduledJobResponse) String() string
DeleteSoftwareSourceRequest wrapper for the DeleteSoftwareSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DeleteSoftwareSource.go.html to see an example of how to use DeleteSoftwareSourceRequest.
type DeleteSoftwareSourceRequest struct { // The software source OCID. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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
DetachManagedInstancesFromLifecycleStageDetails The managed instances to detach from the lifecycle stage.
type DetachManagedInstancesFromLifecycleStageDetails struct { ManagedInstanceDetails *ManagedInstancesDetails `mandatory:"false" json:"managedInstanceDetails"` }
func (m DetachManagedInstancesFromLifecycleStageDetails) String() string
func (m DetachManagedInstancesFromLifecycleStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DetachManagedInstancesFromLifecycleStageRequest wrapper for the DetachManagedInstancesFromLifecycleStage operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DetachManagedInstancesFromLifecycleStage.go.html to see an example of how to use DetachManagedInstancesFromLifecycleStageRequest.
type DetachManagedInstancesFromLifecycleStageRequest struct { // The OCID of the lifecycle stage. LifecycleStageId *string `mandatory:"true" contributesTo:"path" name:"lifecycleStageId"` // Details for managed instances to detach from the lifecycle stage. DetachManagedInstancesFromLifecycleStageDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DetachManagedInstancesFromLifecycleStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DetachManagedInstancesFromLifecycleStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DetachManagedInstancesFromLifecycleStageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DetachManagedInstancesFromLifecycleStageRequest) String() string
func (request DetachManagedInstancesFromLifecycleStageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DetachManagedInstancesFromLifecycleStageResponse wrapper for the DetachManagedInstancesFromLifecycleStage operation
type DetachManagedInstancesFromLifecycleStageResponse 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"` // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response DetachManagedInstancesFromLifecycleStageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DetachManagedInstancesFromLifecycleStageResponse) String() string
DetachManagedInstancesFromManagedInstanceGroupDetails The managed instance OCIDs to detach from the managed instance group.
type DetachManagedInstancesFromManagedInstanceGroupDetails struct { // The list of managed instance OCIDs to be detached. ManagedInstances []string `mandatory:"false" json:"managedInstances"` }
func (m DetachManagedInstancesFromManagedInstanceGroupDetails) String() string
func (m DetachManagedInstancesFromManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DetachManagedInstancesFromManagedInstanceGroupRequest wrapper for the DetachManagedInstancesFromManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DetachManagedInstancesFromManagedInstanceGroup.go.html to see an example of how to use DetachManagedInstancesFromManagedInstanceGroupRequest.
type DetachManagedInstancesFromManagedInstanceGroupRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // Details for managed instances to detach from the managed instance group. DetachManagedInstancesFromManagedInstanceGroupDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DetachManagedInstancesFromManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DetachManagedInstancesFromManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DetachManagedInstancesFromManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DetachManagedInstancesFromManagedInstanceGroupRequest) String() string
func (request DetachManagedInstancesFromManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DetachManagedInstancesFromManagedInstanceGroupResponse wrapper for the DetachManagedInstancesFromManagedInstanceGroup operation
type DetachManagedInstancesFromManagedInstanceGroupResponse 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 DetachManagedInstancesFromManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DetachManagedInstancesFromManagedInstanceGroupResponse) String() string
DetachSoftwareSourcesFromManagedInstanceDetails The details about the software sources to be detached.
type DetachSoftwareSourcesFromManagedInstanceDetails struct { // The list of software source OCIDs to be attached/detached. SoftwareSources []string `mandatory:"true" json:"softwareSources"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m DetachSoftwareSourcesFromManagedInstanceDetails) String() string
func (m DetachSoftwareSourcesFromManagedInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DetachSoftwareSourcesFromManagedInstanceGroupDetails The software sources OCIDs to detach from the managed instance group.
type DetachSoftwareSourcesFromManagedInstanceGroupDetails struct { // The list of software sources OCIDs to be detached. SoftwareSources []string `mandatory:"false" json:"softwareSources"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m DetachSoftwareSourcesFromManagedInstanceGroupDetails) String() string
func (m DetachSoftwareSourcesFromManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DetachSoftwareSourcesFromManagedInstanceGroupRequest wrapper for the DetachSoftwareSourcesFromManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DetachSoftwareSourcesFromManagedInstanceGroup.go.html to see an example of how to use DetachSoftwareSourcesFromManagedInstanceGroupRequest.
type DetachSoftwareSourcesFromManagedInstanceGroupRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // Details for software sources to attach to the specified managed instance group. DetachSoftwareSourcesFromManagedInstanceGroupDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DetachSoftwareSourcesFromManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DetachSoftwareSourcesFromManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DetachSoftwareSourcesFromManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DetachSoftwareSourcesFromManagedInstanceGroupRequest) String() string
func (request DetachSoftwareSourcesFromManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DetachSoftwareSourcesFromManagedInstanceGroupResponse wrapper for the DetachSoftwareSourcesFromManagedInstanceGroup operation
type DetachSoftwareSourcesFromManagedInstanceGroupResponse 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 DetachSoftwareSourcesFromManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DetachSoftwareSourcesFromManagedInstanceGroupResponse) String() string
DetachSoftwareSourcesFromManagedInstanceRequest wrapper for the DetachSoftwareSourcesFromManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DetachSoftwareSourcesFromManagedInstance.go.html to see an example of how to use DetachSoftwareSourcesFromManagedInstanceRequest.
type DetachSoftwareSourcesFromManagedInstanceRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Details of software sources to be detached from a managed instance. DetachSoftwareSourcesFromManagedInstanceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 DetachSoftwareSourcesFromManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DetachSoftwareSourcesFromManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DetachSoftwareSourcesFromManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DetachSoftwareSourcesFromManagedInstanceRequest) String() string
func (request DetachSoftwareSourcesFromManagedInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DetachSoftwareSourcesFromManagedInstanceResponse wrapper for the DetachSoftwareSourcesFromManagedInstance operation
type DetachSoftwareSourcesFromManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 DetachSoftwareSourcesFromManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DetachSoftwareSourcesFromManagedInstanceResponse) String() string
DisableModuleStreamOnManagedInstanceDetails The details of the module stream to be disabled on a managed instance.
type DisableModuleStreamOnManagedInstanceDetails struct { // The name of a module. ModuleName *string `mandatory:"true" json:"moduleName"` // The name of a stream of the specified module. StreamName *string `mandatory:"false" json:"streamName"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m DisableModuleStreamOnManagedInstanceDetails) String() string
func (m DisableModuleStreamOnManagedInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DisableModuleStreamOnManagedInstanceGroupDetails The work request details for the module stream operation on the managed instance group.
type DisableModuleStreamOnManagedInstanceGroupDetails struct { // The name of a module. ModuleName *string `mandatory:"false" json:"moduleName"` // The name of a stream of the specified module. StreamName *string `mandatory:"false" json:"streamName"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m DisableModuleStreamOnManagedInstanceGroupDetails) String() string
func (m DisableModuleStreamOnManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DisableModuleStreamOnManagedInstanceGroupRequest wrapper for the DisableModuleStreamOnManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DisableModuleStreamOnManagedInstanceGroup.go.html to see an example of how to use DisableModuleStreamOnManagedInstanceGroupRequest.
type DisableModuleStreamOnManagedInstanceGroupRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // Details for modules to disable on the managed instance group. DisableModuleStreamOnManagedInstanceGroupDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DisableModuleStreamOnManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DisableModuleStreamOnManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DisableModuleStreamOnManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DisableModuleStreamOnManagedInstanceGroupRequest) String() string
func (request DisableModuleStreamOnManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DisableModuleStreamOnManagedInstanceGroupResponse wrapper for the DisableModuleStreamOnManagedInstanceGroup operation
type DisableModuleStreamOnManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 DisableModuleStreamOnManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DisableModuleStreamOnManagedInstanceGroupResponse) String() string
DisableModuleStreamOnManagedInstanceRequest wrapper for the DisableModuleStreamOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DisableModuleStreamOnManagedInstance.go.html to see an example of how to use DisableModuleStreamOnManagedInstanceRequest.
type DisableModuleStreamOnManagedInstanceRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // The details of the module stream to be disabled on a managed instance. DisableModuleStreamOnManagedInstanceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 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 work. You can use this to query its status. 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
EnableModuleStreamOnManagedInstanceDetails The details of the module stream to be enabled on a managed instance.
type EnableModuleStreamOnManagedInstanceDetails struct { // The name of a module. ModuleName *string `mandatory:"true" json:"moduleName"` // The name of a stream of the specified module. StreamName *string `mandatory:"false" json:"streamName"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m EnableModuleStreamOnManagedInstanceDetails) String() string
func (m EnableModuleStreamOnManagedInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableModuleStreamOnManagedInstanceGroupDetails The work request details for the module stream operation on the managed instance group.
type EnableModuleStreamOnManagedInstanceGroupDetails struct { // The name of a module. ModuleName *string `mandatory:"false" json:"moduleName"` // The name of a stream of the specified module. StreamName *string `mandatory:"false" json:"streamName"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m EnableModuleStreamOnManagedInstanceGroupDetails) String() string
func (m EnableModuleStreamOnManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableModuleStreamOnManagedInstanceGroupRequest wrapper for the EnableModuleStreamOnManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/EnableModuleStreamOnManagedInstanceGroup.go.html to see an example of how to use EnableModuleStreamOnManagedInstanceGroupRequest.
type EnableModuleStreamOnManagedInstanceGroupRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // Details for modules to enable on the managed instance group. EnableModuleStreamOnManagedInstanceGroupDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request EnableModuleStreamOnManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request EnableModuleStreamOnManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request EnableModuleStreamOnManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request EnableModuleStreamOnManagedInstanceGroupRequest) String() string
func (request EnableModuleStreamOnManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableModuleStreamOnManagedInstanceGroupResponse wrapper for the EnableModuleStreamOnManagedInstanceGroup operation
type EnableModuleStreamOnManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 EnableModuleStreamOnManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response EnableModuleStreamOnManagedInstanceGroupResponse) String() string
EnableModuleStreamOnManagedInstanceRequest wrapper for the EnableModuleStreamOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/EnableModuleStreamOnManagedInstance.go.html to see an example of how to use EnableModuleStreamOnManagedInstanceRequest.
type EnableModuleStreamOnManagedInstanceRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // The details of the module stream to be enabled on a managed instance. EnableModuleStreamOnManagedInstanceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 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 work. You can use this to query its status. 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
EntitlementCollection Results of a Entitlement search. Contains boh EntitlementSummary items and other information, such as metadata.
type EntitlementCollection struct { // List of Entitlement. Items []EntitlementSummary `mandatory:"true" json:"items"` }
func (m EntitlementCollection) String() string
func (m EntitlementCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EntitlementSummary A summary of an entitlement.
type EntitlementSummary struct { // The OCID of the tenancy containing the entitlement. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The Customer Support Identifier (CSI). CSI is a unique key given to a customer to unlock software sources. It uniquely identifies the entitlement. Csi *string `mandatory:"true" json:"csi"` // The vendor for the entitlement. VendorName *string `mandatory:"true" json:"vendorName"` }
func (m EntitlementSummary) String() string
func (m EntitlementSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Erratum Details about the erratum.
type Erratum struct { // Advisory name. Name *string `mandatory:"true" json:"name"` // Summary description of the erratum. Synopsis *string `mandatory:"false" json:"synopsis"` // Date the erratum was issued, as described // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeIssued *common.SDKTime `mandatory:"false" json:"timeIssued"` // Details describing the erratum. Description *string `mandatory:"false" json:"description"` // Most recent date the erratum was updated, as described // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Type of the erratum. ClassificationType ClassificationTypesEnum `mandatory:"false" json:"classificationType,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 CVEs applicable to this erratum. RelatedCves []string `mandatory:"false" json:"relatedCves"` // List of repository identifiers. Repositories []string `mandatory:"false" json:"repositories"` // List of Packages affected by this erratum. Packages []SoftwarePackageSummary `mandatory:"false" json:"packages"` // List of affected OS families. OsFamilies []OsFamilyEnum `mandatory:"false" json:"osFamilies"` // The severity for a security advisory, otherwise, null. AdvisorySeverity AdvisorySeverityEnum `mandatory:"false" json:"advisorySeverity,omitempty"` }
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
ErratumCollection Results of a Erratum search. Contains boh ErratumSummary items and other information, such as metadata.
type ErratumCollection struct { // List of Errata. Items []ErratumSummary `mandatory:"true" json:"items"` }
func (m ErratumCollection) String() string
func (m ErratumCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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"` // Summary description of the erratum. Synopsis *string `mandatory:"false" json:"synopsis"` // Date the erratum was issued, as described // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeIssued *common.SDKTime `mandatory:"false" json:"timeIssued"` // Most recent date the erratum was updated, as described // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Type of the erratum. ClassificationType ClassificationTypesEnum `mandatory:"false" json:"classificationType,omitempty"` // List of CVEs applicable to this erratum. RelatedCves []string `mandatory:"false" json:"relatedCves"` // List of affected OS families. OsFamilies []OsFamilyEnum `mandatory:"false" json:"osFamilies"` // The severity advisory. Only valid for security type advisories. AdvisorySeverity AdvisorySeverityEnum `mandatory:"false" json:"advisorySeverity,omitempty"` }
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
FilterTypeEnum Enum with underlying type: string
type FilterTypeEnum string
Set of constants representing the allowable values for FilterTypeEnum
const ( FilterTypeInclude FilterTypeEnum = "INCLUDE" FilterTypeExclude FilterTypeEnum = "EXCLUDE" )
func GetFilterTypeEnumValues() []FilterTypeEnum
GetFilterTypeEnumValues Enumerates the set of values for FilterTypeEnum
func GetMappingFilterTypeEnum(val string) (FilterTypeEnum, bool)
GetMappingFilterTypeEnum performs case Insensitive comparison on enum value and return the desired enum
GetErratumRequest wrapper for the GetErratum operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetErratum.go.html to see an example of how to use GetErratumRequest.
type GetErratumRequest struct { // The OCID of the compartment that contains the resources to list. This parameter is required. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The erratum name (e.g. ELSA-2023-34678). Name *string `mandatory:"true" contributesTo:"path" name:"name"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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
GetLifecycleEnvironmentRequest wrapper for the GetLifecycleEnvironment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetLifecycleEnvironment.go.html to see an example of how to use GetLifecycleEnvironmentRequest.
type GetLifecycleEnvironmentRequest struct { // The OCID of the lifecycle environment. LifecycleEnvironmentId *string `mandatory:"true" contributesTo:"path" name:"lifecycleEnvironmentId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetLifecycleEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetLifecycleEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetLifecycleEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetLifecycleEnvironmentRequest) String() string
func (request GetLifecycleEnvironmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetLifecycleEnvironmentResponse wrapper for the GetLifecycleEnvironment operation
type GetLifecycleEnvironmentResponse struct { // The underlying http response RawResponse *http.Response // The LifecycleEnvironment instance LifecycleEnvironment `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 GetLifecycleEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetLifecycleEnvironmentResponse) String() string
GetLifecycleStageRequest wrapper for the GetLifecycleStage operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetLifecycleStage.go.html to see an example of how to use GetLifecycleStageRequest.
type GetLifecycleStageRequest struct { // The OCID of the lifecycle stage. LifecycleStageId *string `mandatory:"true" contributesTo:"path" name:"lifecycleStageId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetLifecycleStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetLifecycleStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetLifecycleStageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetLifecycleStageRequest) String() string
func (request GetLifecycleStageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetLifecycleStageResponse wrapper for the GetLifecycleStage operation
type GetLifecycleStageResponse struct { // The underlying http response RawResponse *http.Response // The LifecycleStage instance LifecycleStage `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 GetLifecycleStageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetLifecycleStageResponse) String() string
GetManagedInstanceAnalyticContentInstanceLocationEnum Enum with underlying type: string
type GetManagedInstanceAnalyticContentInstanceLocationEnum string
Set of constants representing the allowable values for GetManagedInstanceAnalyticContentInstanceLocationEnum
const ( GetManagedInstanceAnalyticContentInstanceLocationOnPremise GetManagedInstanceAnalyticContentInstanceLocationEnum = "ON_PREMISE" GetManagedInstanceAnalyticContentInstanceLocationOciCompute GetManagedInstanceAnalyticContentInstanceLocationEnum = "OCI_COMPUTE" GetManagedInstanceAnalyticContentInstanceLocationAzure GetManagedInstanceAnalyticContentInstanceLocationEnum = "AZURE" GetManagedInstanceAnalyticContentInstanceLocationEc2 GetManagedInstanceAnalyticContentInstanceLocationEnum = "EC2" )
func GetGetManagedInstanceAnalyticContentInstanceLocationEnumValues() []GetManagedInstanceAnalyticContentInstanceLocationEnum
GetGetManagedInstanceAnalyticContentInstanceLocationEnumValues Enumerates the set of values for GetManagedInstanceAnalyticContentInstanceLocationEnum
func GetMappingGetManagedInstanceAnalyticContentInstanceLocationEnum(val string) (GetManagedInstanceAnalyticContentInstanceLocationEnum, bool)
GetMappingGetManagedInstanceAnalyticContentInstanceLocationEnum performs case Insensitive comparison on enum value and return the desired enum
GetManagedInstanceAnalyticContentRequest wrapper for the GetManagedInstanceAnalyticContent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetManagedInstanceAnalyticContent.go.html to see an example of how to use GetManagedInstanceAnalyticContentRequest.
type GetManagedInstanceAnalyticContentRequest struct { // This compartmentId is used to list managed instances within a compartment. // Or serve as an additional filter to restrict only managed instances with in certain compartment if other filter presents. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The OCID of the managed instance group for which to list resources. ManagedInstanceGroupId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceGroupId"` // The OCID of the lifecycle environment. LifecycleEnvironmentId *string `mandatory:"false" contributesTo:"query" name:"lifecycleEnvironmentId"` // The OCID of the lifecycle stage for which to list resources. LifecycleStageId *string `mandatory:"false" contributesTo:"query" name:"lifecycleStageId"` // A filter to return only instances whose managed instance status matches the given status. Status []ManagedInstanceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` // A filter to return resources that match the given display names. DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // Filter instances by Location. Used when report target type is compartment or group. InstanceLocation GetManagedInstanceAnalyticContentInstanceLocationEnum `mandatory:"false" contributesTo:"query" name:"instanceLocation" omitEmpty:"true"` // A filter to return instances with number of available security updates equals to the number specified. SecurityUpdatesAvailableEqualsTo *int `mandatory:"false" contributesTo:"query" name:"securityUpdatesAvailableEqualsTo"` // A filter to return instances with number of available bug updates equals to the number specified. BugUpdatesAvailableEqualsTo *int `mandatory:"false" contributesTo:"query" name:"bugUpdatesAvailableEqualsTo"` // A filter to return instances with number of available security updates greater than the number specified. SecurityUpdatesAvailableGreaterThan *int `mandatory:"false" contributesTo:"query" name:"securityUpdatesAvailableGreaterThan"` // A filter to return instances with number of available bug updates greater than the number specified. BugUpdatesAvailableGreaterThan *int `mandatory:"false" contributesTo:"query" name:"bugUpdatesAvailableGreaterThan"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetManagedInstanceAnalyticContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetManagedInstanceAnalyticContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagedInstanceAnalyticContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagedInstanceAnalyticContentRequest) String() string
func (request GetManagedInstanceAnalyticContentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetManagedInstanceAnalyticContentResponse wrapper for the GetManagedInstanceAnalyticContent operation
type GetManagedInstanceAnalyticContentResponse 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 GetManagedInstanceAnalyticContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagedInstanceAnalyticContentResponse) String() string
GetManagedInstanceContentAdvisoryTypeEnum Enum with underlying type: string
type GetManagedInstanceContentAdvisoryTypeEnum string
Set of constants representing the allowable values for GetManagedInstanceContentAdvisoryTypeEnum
const ( GetManagedInstanceContentAdvisoryTypeSecurity GetManagedInstanceContentAdvisoryTypeEnum = "SECURITY" GetManagedInstanceContentAdvisoryTypeBugfix GetManagedInstanceContentAdvisoryTypeEnum = "BUGFIX" GetManagedInstanceContentAdvisoryTypeEnhancement GetManagedInstanceContentAdvisoryTypeEnum = "ENHANCEMENT" )
func GetGetManagedInstanceContentAdvisoryTypeEnumValues() []GetManagedInstanceContentAdvisoryTypeEnum
GetGetManagedInstanceContentAdvisoryTypeEnumValues Enumerates the set of values for GetManagedInstanceContentAdvisoryTypeEnum
func GetMappingGetManagedInstanceContentAdvisoryTypeEnum(val string) (GetManagedInstanceContentAdvisoryTypeEnum, bool)
GetMappingGetManagedInstanceContentAdvisoryTypeEnum performs case Insensitive comparison on enum value and return the desired enum
GetManagedInstanceContentRequest wrapper for the GetManagedInstanceContent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetManagedInstanceContent.go.html to see an example of how to use GetManagedInstanceContentRequest.
type GetManagedInstanceContentRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // The assigned erratum name. It's unique and not changeable. // Example: `ELSA-2020-5804` AdvisoryName []string `contributesTo:"query" name:"advisoryName" collectionFormat:"multi"` // A filter to return resources that may partially match the erratum advisory name given. AdvisoryNameContains *string `mandatory:"false" contributesTo:"query" name:"advisoryNameContains"` // A filter to return only errata that match the given advisory types. AdvisoryType []GetManagedInstanceContentAdvisoryTypeEnum `contributesTo:"query" name:"advisoryType" omitEmpty:"true" collectionFormat:"multi"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetManagedInstanceContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetManagedInstanceContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagedInstanceContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagedInstanceContentRequest) String() string
func (request GetManagedInstanceContentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetManagedInstanceContentResponse wrapper for the GetManagedInstanceContent operation
type GetManagedInstanceContentResponse 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 GetManagedInstanceContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagedInstanceContentResponse) String() string
GetManagedInstanceGroupRequest wrapper for the GetManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetManagedInstanceGroup.go.html to see an example of how to use GetManagedInstanceGroupRequest.
type GetManagedInstanceGroupRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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"` }
func (response GetManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagedInstanceGroupResponse) String() string
GetManagedInstanceRequest wrapper for the GetManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetManagedInstance.go.html to see an example of how to use GetManagedInstanceRequest.
type GetManagedInstanceRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
func (response GetManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagedInstanceResponse) String() string
GetManagementStationRequest wrapper for the GetManagementStation operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetManagementStation.go.html to see an example of how to use GetManagementStationRequest.
type GetManagementStationRequest struct { // The OCID of the management station. ManagementStationId *string `mandatory:"true" contributesTo:"path" name:"managementStationId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetManagementStationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetManagementStationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagementStationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagementStationRequest) String() string
func (request GetManagementStationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetManagementStationResponse wrapper for the GetManagementStation operation
type GetManagementStationResponse struct { // The underlying http response RawResponse *http.Response // The ManagementStation instance ManagementStation `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 *int `presentIn:"header" name:"retry-after"` }
func (response GetManagementStationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagementStationResponse) String() string
GetModuleStreamProfileRequest wrapper for the GetModuleStreamProfile operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetModuleStreamProfile.go.html to see an example of how to use GetModuleStreamProfileRequest.
type GetModuleStreamProfileRequest struct { // The software source OCID. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // The name of the profile of the containing module stream. ProfileName *string `mandatory:"true" contributesTo:"path" name:"profileName"` // The name of a module. ModuleName *string `mandatory:"true" contributesTo:"query" name:"moduleName"` // The name of the stream of the containing module. StreamName *string `mandatory:"true" contributesTo:"query" name:"streamName"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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 request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetModuleStreamProfileResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetModuleStreamProfileResponse) String() string
GetModuleStreamRequest wrapper for the GetModuleStream operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetModuleStream.go.html to see an example of how to use GetModuleStreamRequest.
type GetModuleStreamRequest struct { // The software source OCID. 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:"query" name:"streamName"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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 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
GetPackageGroupRequest wrapper for the GetPackageGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetPackageGroup.go.html to see an example of how to use GetPackageGroupRequest.
type GetPackageGroupRequest struct { // The software source OCID. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // The unique package group identifier. PackageGroupId *string `mandatory:"true" contributesTo:"path" name:"packageGroupId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetPackageGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetPackageGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetPackageGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetPackageGroupRequest) String() string
func (request GetPackageGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetPackageGroupResponse wrapper for the GetPackageGroup operation
type GetPackageGroupResponse struct { // The underlying http response RawResponse *http.Response // The PackageGroup instance PackageGroup `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 GetPackageGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetPackageGroupResponse) String() string
GetProfileRequest wrapper for the GetProfile operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetProfile.go.html to see an example of how to use GetProfileRequest.
type GetProfileRequest struct { // The OCID of the registration profile. ProfileId *string `mandatory:"true" contributesTo:"path" name:"profileId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetProfileRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetProfileRequest) String() string
func (request GetProfileRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetProfileResponse wrapper for the GetProfile operation
type GetProfileResponse struct { // The underlying http response RawResponse *http.Response // The Profile instance Profile `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 GetProfileResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetProfileResponse) String() string
GetScheduledJobRequest wrapper for the GetScheduledJob operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetScheduledJob.go.html to see an example of how to use GetScheduledJobRequest.
type GetScheduledJobRequest struct { // The OCID of the scheduled job. ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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 *int `presentIn:"header" name:"retry-after"` }
func (response GetScheduledJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetScheduledJobResponse) String() string
GetSoftwarePackageRequest wrapper for the GetSoftwarePackage operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetSoftwarePackage.go.html to see an example of how to use GetSoftwarePackageRequest.
type GetSoftwarePackageRequest struct { // The software source OCID. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // The name of the software package. SoftwarePackageName *string `mandatory:"true" contributesTo:"path" name:"softwarePackageName"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetSoftwarePackageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSoftwarePackageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSoftwarePackageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSoftwarePackageRequest) String() string
func (request GetSoftwarePackageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetSoftwarePackageResponse wrapper for the GetSoftwarePackage operation
type GetSoftwarePackageResponse struct { // The underlying http response RawResponse *http.Response // The SoftwarePackage instance SoftwarePackage `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetSoftwarePackageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSoftwarePackageResponse) String() string
GetSoftwareSourceRequest wrapper for the GetSoftwareSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetSoftwareSource.go.html to see an example of how to use GetSoftwareSourceRequest.
type GetSoftwareSourceRequest struct { // The software source OCID. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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 *int `presentIn:"header" name:"retry-after"` }
func (response GetSoftwareSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSoftwareSourceResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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 *int `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
GroupProfile Definition of a registration profile of type GROUP.
type GroupProfile struct { // The OCID of the profile that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the registration profile. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` ManagedInstanceGroup *ManagedInstanceGroupDetails `mandatory:"true" json:"managedInstanceGroup"` // The description of the registration profile. Description *string `mandatory:"false" json:"description"` // The OCID of the management station. ManagementStationId *string `mandatory:"false" json:"managementStationId"` // The time the the registration profile was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The software source vendor name. VendorName VendorNameEnum `mandatory:"true" json:"vendorName"` // The operating system family. OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"` // The architecture type. ArchType ArchTypeEnum `mandatory:"true" json:"archType"` // The current state of the registration profile. LifecycleState ProfileLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GroupProfile) GetArchType() ArchTypeEnum
GetArchType returns ArchType
func (m GroupProfile) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GroupProfile) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GroupProfile) GetDescription() *string
GetDescription returns Description
func (m GroupProfile) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GroupProfile) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GroupProfile) GetId() *string
GetId returns Id
func (m GroupProfile) GetLifecycleState() ProfileLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GroupProfile) GetManagementStationId() *string
GetManagementStationId returns ManagementStationId
func (m GroupProfile) GetOsFamily() OsFamilyEnum
GetOsFamily returns OsFamily
func (m GroupProfile) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GroupProfile) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GroupProfile) GetVendorName() VendorNameEnum
GetVendorName returns VendorName
func (m GroupProfile) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GroupProfile) String() string
func (m GroupProfile) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Id An id along with a name to simplify display for a user.
type Id struct { // The OCID of the resource 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
InstallModuleStreamProfileOnManagedInstanceDetails The details of the module stream profile to be installed on a managed instance.
type InstallModuleStreamProfileOnManagedInstanceDetails struct { // The name of a module. ModuleName *string `mandatory:"true" json:"moduleName"` // The name of a stream of the specified module. StreamName *string `mandatory:"false" json:"streamName"` // The name of a profile of the specified module stream. ProfileName *string `mandatory:"false" json:"profileName"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m InstallModuleStreamProfileOnManagedInstanceDetails) String() string
func (m InstallModuleStreamProfileOnManagedInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InstallModuleStreamProfileOnManagedInstanceGroupDetails The work request details for the module stream profile operation on the managed instance group.
type InstallModuleStreamProfileOnManagedInstanceGroupDetails struct { // The name of a module. ModuleName *string `mandatory:"false" json:"moduleName"` // The name of a stream of the specified module. StreamName *string `mandatory:"false" json:"streamName"` // The name of a profile of the specified module stream. ProfileName *string `mandatory:"false" json:"profileName"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m InstallModuleStreamProfileOnManagedInstanceGroupDetails) String() string
func (m InstallModuleStreamProfileOnManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InstallModuleStreamProfileOnManagedInstanceGroupRequest wrapper for the InstallModuleStreamProfileOnManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/InstallModuleStreamProfileOnManagedInstanceGroup.go.html to see an example of how to use InstallModuleStreamProfileOnManagedInstanceGroupRequest.
type InstallModuleStreamProfileOnManagedInstanceGroupRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // Details for profiles to install on the managed instance group. InstallModuleStreamProfileOnManagedInstanceGroupDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request InstallModuleStreamProfileOnManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request InstallModuleStreamProfileOnManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request InstallModuleStreamProfileOnManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request InstallModuleStreamProfileOnManagedInstanceGroupRequest) String() string
func (request InstallModuleStreamProfileOnManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InstallModuleStreamProfileOnManagedInstanceGroupResponse wrapper for the InstallModuleStreamProfileOnManagedInstanceGroup operation
type InstallModuleStreamProfileOnManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 InstallModuleStreamProfileOnManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response InstallModuleStreamProfileOnManagedInstanceGroupResponse) String() string
InstallModuleStreamProfileOnManagedInstanceRequest wrapper for the InstallModuleStreamProfileOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/InstallModuleStreamProfileOnManagedInstance.go.html to see an example of how to use InstallModuleStreamProfileOnManagedInstanceRequest.
type InstallModuleStreamProfileOnManagedInstanceRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // The details of the module stream profile to be installed on a managed instance. InstallModuleStreamProfileOnManagedInstanceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 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 work. You can use this to query its status. 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
InstallPackagesOnManagedInstanceDetails The details about the software packages to be installed.
type InstallPackagesOnManagedInstanceDetails struct { // The list of package names. PackageNames []string `mandatory:"true" json:"packageNames"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m InstallPackagesOnManagedInstanceDetails) String() string
func (m InstallPackagesOnManagedInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InstallPackagesOnManagedInstanceGroupDetails The names of the packages to be installed on the managed instance group.
type InstallPackagesOnManagedInstanceGroupDetails struct { // The list of package names. PackageNames []string `mandatory:"false" json:"packageNames"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m InstallPackagesOnManagedInstanceGroupDetails) String() string
func (m InstallPackagesOnManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InstallPackagesOnManagedInstanceGroupRequest wrapper for the InstallPackagesOnManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/InstallPackagesOnManagedInstanceGroup.go.html to see an example of how to use InstallPackagesOnManagedInstanceGroupRequest.
type InstallPackagesOnManagedInstanceGroupRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // Details for packages to install on the specified managed instance group. InstallPackagesOnManagedInstanceGroupDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request InstallPackagesOnManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request InstallPackagesOnManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request InstallPackagesOnManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request InstallPackagesOnManagedInstanceGroupRequest) String() string
func (request InstallPackagesOnManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InstallPackagesOnManagedInstanceGroupResponse wrapper for the InstallPackagesOnManagedInstanceGroup operation
type InstallPackagesOnManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 InstallPackagesOnManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response InstallPackagesOnManagedInstanceGroupResponse) String() string
InstallPackagesOnManagedInstanceRequest wrapper for the InstallPackagesOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/InstallPackagesOnManagedInstance.go.html to see an example of how to use InstallPackagesOnManagedInstanceRequest.
type InstallPackagesOnManagedInstanceRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Details about packages to be installed on a managed instance. InstallPackagesOnManagedInstanceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 InstallPackagesOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request InstallPackagesOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request InstallPackagesOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request InstallPackagesOnManagedInstanceRequest) String() string
func (request InstallPackagesOnManagedInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InstallPackagesOnManagedInstanceResponse wrapper for the InstallPackagesOnManagedInstance operation
type InstallPackagesOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 InstallPackagesOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response InstallPackagesOnManagedInstanceResponse) String() string
InstalledPackageCollection Results of an installed package search on a managed instance.
type InstalledPackageCollection struct { // List of installed packages. Items []InstalledPackageSummary `mandatory:"true" json:"items"` }
func (m InstalledPackageCollection) String() string
func (m InstalledPackageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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. 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 date and time the package was installed, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeInstalled *common.SDKTime `mandatory:"true" json:"timeInstalled"` // list of software sources that provide the software package. SoftwareSources []SoftwareSourceDetails `mandatory:"false" json:"softwareSources"` // The date and time the package was issued by a providing erratum (if available), as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeIssued *common.SDKTime `mandatory:"false" json:"timeIssued"` // The architecture for which this package was built. Architecture ArchTypeEnum `mandatory:"false" json:"architecture,omitempty"` }
func (m InstalledPackageSummary) GetArchitecture() ArchTypeEnum
GetArchitecture returns Architecture
func (m InstalledPackageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m InstalledPackageSummary) GetName() *string
GetName returns Name
func (m InstalledPackageSummary) GetSoftwareSources() []SoftwareSourceDetails
GetSoftwareSources returns SoftwareSources
func (m InstalledPackageSummary) GetType() *string
GetType returns Type
func (m InstalledPackageSummary) GetVersion() *string
GetVersion returns Version
func (m InstalledPackageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
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
LifecycleEnvironment Contains versioned software source content and lifecycle stages for a managed instance.
type LifecycleEnvironment struct { // The OCID of the resource that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the lifecycle environment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // User specified list of lifecycle stages to be created for the lifecycle environment. Stages []LifecycleStage `mandatory:"true" json:"stages"` // The current state of the lifecycle environment. LifecycleState LifecycleEnvironmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The operating system type of the target instances. OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"` // The CPU architecture of the target instances. ArchType ArchTypeEnum `mandatory:"true" json:"archType"` // The software source vendor name. VendorName VendorNameEnum `mandatory:"true" json:"vendorName"` // The time the lifecycle environment was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // User specified information about the lifecycle environment. Description *string `mandatory:"false" json:"description"` // The list of managed instance OCIDs specified in the lifecycle stage. ManagedInstanceIds []ManagedInstanceDetails `mandatory:"false" json:"managedInstanceIds"` // The time the lifecycle environment was last modified. An RFC3339 formatted datetime string. TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m LifecycleEnvironment) String() string
func (m LifecycleEnvironment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
LifecycleEnvironmentClient a client for LifecycleEnvironment
type LifecycleEnvironmentClient struct { common.BaseClient // contains filtered or unexported fields }
func NewLifecycleEnvironmentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LifecycleEnvironmentClient, err error)
NewLifecycleEnvironmentClientWithConfigurationProvider Creates a new default LifecycleEnvironment client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewLifecycleEnvironmentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client LifecycleEnvironmentClient, err error)
NewLifecycleEnvironmentClientWithOboToken Creates a new default LifecycleEnvironment 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 LifecycleEnvironmentClient) AttachManagedInstancesToLifecycleStage(ctx context.Context, request AttachManagedInstancesToLifecycleStageRequest) (response AttachManagedInstancesToLifecycleStageResponse, err error)
AttachManagedInstancesToLifecycleStage Attach(add) managed instances to a lifecycle stage. Once added operations can be applied to all managed instances in the lifecycle stage.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/AttachManagedInstancesToLifecycleStage.go.html to see an example of how to use AttachManagedInstancesToLifecycleStage API. A default retry strategy applies to this operation AttachManagedInstancesToLifecycleStage()
func (client *LifecycleEnvironmentClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client LifecycleEnvironmentClient) CreateLifecycleEnvironment(ctx context.Context, request CreateLifecycleEnvironmentRequest) (response CreateLifecycleEnvironmentResponse, err error)
CreateLifecycleEnvironment Creates a new lifecycle environment.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/CreateLifecycleEnvironment.go.html to see an example of how to use CreateLifecycleEnvironment API. A default retry strategy applies to this operation CreateLifecycleEnvironment()
func (client LifecycleEnvironmentClient) DeleteLifecycleEnvironment(ctx context.Context, request DeleteLifecycleEnvironmentRequest) (response DeleteLifecycleEnvironmentResponse, err error)
DeleteLifecycleEnvironment Deletes a lifecycle environment.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DeleteLifecycleEnvironment.go.html to see an example of how to use DeleteLifecycleEnvironment API. A default retry strategy applies to this operation DeleteLifecycleEnvironment()
func (client LifecycleEnvironmentClient) DetachManagedInstancesFromLifecycleStage(ctx context.Context, request DetachManagedInstancesFromLifecycleStageRequest) (response DetachManagedInstancesFromLifecycleStageResponse, err error)
DetachManagedInstancesFromLifecycleStage Detach(remove) managed instance from a lifecycle stage.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DetachManagedInstancesFromLifecycleStage.go.html to see an example of how to use DetachManagedInstancesFromLifecycleStage API. A default retry strategy applies to this operation DetachManagedInstancesFromLifecycleStage()
func (client LifecycleEnvironmentClient) GetLifecycleEnvironment(ctx context.Context, request GetLifecycleEnvironmentRequest) (response GetLifecycleEnvironmentResponse, err error)
GetLifecycleEnvironment Gets information about the specified lifecycle environment.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetLifecycleEnvironment.go.html to see an example of how to use GetLifecycleEnvironment API. A default retry strategy applies to this operation GetLifecycleEnvironment()
func (client LifecycleEnvironmentClient) GetLifecycleStage(ctx context.Context, request GetLifecycleStageRequest) (response GetLifecycleStageResponse, err error)
GetLifecycleStage Gets information about the specified lifecycle stage.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetLifecycleStage.go.html to see an example of how to use GetLifecycleStage API. A default retry strategy applies to this operation GetLifecycleStage()
func (client LifecycleEnvironmentClient) ListLifecycleEnvironments(ctx context.Context, request ListLifecycleEnvironmentsRequest) (response ListLifecycleEnvironmentsResponse, err error)
ListLifecycleEnvironments Lists lifecycle environments that match the specified compartment or lifecycle environment OCID. Filter the list against a variety of criteria including but not limited to its name, status, architecture, and OS family.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListLifecycleEnvironments.go.html to see an example of how to use ListLifecycleEnvironments API. A default retry strategy applies to this operation ListLifecycleEnvironments()
func (client LifecycleEnvironmentClient) ListLifecycleStageInstalledPackages(ctx context.Context, request ListLifecycleStageInstalledPackagesRequest) (response ListLifecycleStageInstalledPackagesResponse, err error)
ListLifecycleStageInstalledPackages Lists installed packages on managed instances in a specified lifecycle stage. Filter the list against a variety of criteria including but not limited to the package name.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListLifecycleStageInstalledPackages.go.html to see an example of how to use ListLifecycleStageInstalledPackages API. A default retry strategy applies to this operation ListLifecycleStageInstalledPackages()
func (client LifecycleEnvironmentClient) ListLifecycleStages(ctx context.Context, request ListLifecycleStagesRequest) (response ListLifecycleStagesResponse, err error)
ListLifecycleStages Lists lifecycle stages that match the specified compartment or lifecycle stage OCID. Filter the list against a variety of criteria including but not limited to its name, status, architecture, and OS family.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListLifecycleStages.go.html to see an example of how to use ListLifecycleStages API. A default retry strategy applies to this operation ListLifecycleStages()
func (client LifecycleEnvironmentClient) PromoteSoftwareSourceToLifecycleStage(ctx context.Context, request PromoteSoftwareSourceToLifecycleStageRequest) (response PromoteSoftwareSourceToLifecycleStageResponse, err error)
PromoteSoftwareSourceToLifecycleStage Updates the versioned custom software source content for specified lifecycle stage.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/PromoteSoftwareSourceToLifecycleStage.go.html to see an example of how to use PromoteSoftwareSourceToLifecycleStage API. A default retry strategy applies to this operation PromoteSoftwareSourceToLifecycleStage()
func (client *LifecycleEnvironmentClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client LifecycleEnvironmentClient) UpdateLifecycleEnvironment(ctx context.Context, request UpdateLifecycleEnvironmentRequest) (response UpdateLifecycleEnvironmentResponse, err error)
UpdateLifecycleEnvironment Updates the specified lifecycle environment's name, description, stages, or tags.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateLifecycleEnvironment.go.html to see an example of how to use UpdateLifecycleEnvironment API. A default retry strategy applies to this operation UpdateLifecycleEnvironment()
LifecycleEnvironmentCollection Results of a lifecycle environment search. Contains both lifecycle environment summary items and other data.
type LifecycleEnvironmentCollection struct { // List of lifecycle environments. Items []LifecycleEnvironmentSummary `mandatory:"true" json:"items"` }
func (m LifecycleEnvironmentCollection) String() string
func (m LifecycleEnvironmentCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
LifecycleEnvironmentDetails Identifying information for the specified lifecycle environment.
type LifecycleEnvironmentDetails struct { // The OCID of the lifecycle environment. Id *string `mandatory:"true" json:"id"` // Lifecycle environment name. DisplayName *string `mandatory:"false" json:"displayName"` }
func (m LifecycleEnvironmentDetails) String() string
func (m LifecycleEnvironmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
LifecycleEnvironmentLifecycleStateEnum Enum with underlying type: string
type LifecycleEnvironmentLifecycleStateEnum string
Set of constants representing the allowable values for LifecycleEnvironmentLifecycleStateEnum
const ( LifecycleEnvironmentLifecycleStateCreating LifecycleEnvironmentLifecycleStateEnum = "CREATING" LifecycleEnvironmentLifecycleStateUpdating LifecycleEnvironmentLifecycleStateEnum = "UPDATING" LifecycleEnvironmentLifecycleStateActive LifecycleEnvironmentLifecycleStateEnum = "ACTIVE" LifecycleEnvironmentLifecycleStateDeleting LifecycleEnvironmentLifecycleStateEnum = "DELETING" LifecycleEnvironmentLifecycleStateDeleted LifecycleEnvironmentLifecycleStateEnum = "DELETED" LifecycleEnvironmentLifecycleStateFailed LifecycleEnvironmentLifecycleStateEnum = "FAILED" )
func GetLifecycleEnvironmentLifecycleStateEnumValues() []LifecycleEnvironmentLifecycleStateEnum
GetLifecycleEnvironmentLifecycleStateEnumValues Enumerates the set of values for LifecycleEnvironmentLifecycleStateEnum
func GetMappingLifecycleEnvironmentLifecycleStateEnum(val string) (LifecycleEnvironmentLifecycleStateEnum, bool)
GetMappingLifecycleEnvironmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
LifecycleEnvironmentSummary Summary of the lifecycle environment.
type LifecycleEnvironmentSummary struct { // The lifecycle environment OCID that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the lifecycle environment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // User specified information about the lifecycle environment. Description *string `mandatory:"true" json:"description"` // User specified list of lifecycle stages to be created for the lLifecycle environment. Stages []LifecycleStageSummary `mandatory:"true" json:"stages"` // The CPU architecture of the target managed instance. ArchType ArchTypeEnum `mandatory:"true" json:"archType"` // The operating system type of the target managed instance. OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"` // The software source vendor name. VendorName VendorNameEnum `mandatory:"true" json:"vendorName"` // The current state of the lifecycle environment. LifecycleState LifecycleEnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The time the lifecycle environment was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the lifecycle environment was modified. An RFC3339 formatted datetime string. TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m LifecycleEnvironmentSummary) String() string
func (m LifecycleEnvironmentSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
LifecycleProfile Definition of a registration profile of type LIFECYCLE.
type LifecycleProfile struct { // The OCID of the profile that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the registration profile. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` LifecycleStage *LifecycleStageDetails `mandatory:"true" json:"lifecycleStage"` // The description of the registration profile. Description *string `mandatory:"false" json:"description"` // The OCID of the management station. ManagementStationId *string `mandatory:"false" json:"managementStationId"` // The time the the registration profile was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` LifecycleEnvironment *LifecycleEnvironmentDetails `mandatory:"false" json:"lifecycleEnvironment"` // The software source vendor name. VendorName VendorNameEnum `mandatory:"true" json:"vendorName"` // The operating system family. OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"` // The architecture type. ArchType ArchTypeEnum `mandatory:"true" json:"archType"` // The current state of the registration profile. LifecycleState ProfileLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m LifecycleProfile) GetArchType() ArchTypeEnum
GetArchType returns ArchType
func (m LifecycleProfile) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m LifecycleProfile) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m LifecycleProfile) GetDescription() *string
GetDescription returns Description
func (m LifecycleProfile) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m LifecycleProfile) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m LifecycleProfile) GetId() *string
GetId returns Id
func (m LifecycleProfile) GetLifecycleState() ProfileLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m LifecycleProfile) GetManagementStationId() *string
GetManagementStationId returns ManagementStationId
func (m LifecycleProfile) GetOsFamily() OsFamilyEnum
GetOsFamily returns OsFamily
func (m LifecycleProfile) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m LifecycleProfile) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m LifecycleProfile) GetVendorName() VendorNameEnum
GetVendorName returns VendorName
func (m LifecycleProfile) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m LifecycleProfile) String() string
func (m LifecycleProfile) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
LifecycleStage Defines the lifecycle stage.
type LifecycleStage struct { // The OCID of the tenancy containing the lifecycle stage. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // User specified rank for the lifecycle stage. // Rank determines the hierarchy of the lifecycle stages for a given lifecycle environment. Rank *int `mandatory:"true" json:"rank"` // The lifecycle stage OCID that is immutable on creation. Id *string `mandatory:"false" json:"id"` // The OCID of the lifecycle environment for the lifecycle stage. LifecycleEnvironmentId *string `mandatory:"false" json:"lifecycleEnvironmentId"` // The operating system type of the target instances. OsFamily OsFamilyEnum `mandatory:"false" json:"osFamily,omitempty"` // The CPU architecture of the target instances. ArchType ArchTypeEnum `mandatory:"false" json:"archType,omitempty"` // The software source vendor name. VendorName VendorNameEnum `mandatory:"false" json:"vendorName,omitempty"` // The list of managed instances specified lifecycle stage. ManagedInstanceIds []ManagedInstanceDetails `mandatory:"false" json:"managedInstanceIds"` SoftwareSourceId *SoftwareSourceDetails `mandatory:"false" json:"softwareSourceId"` // The time the lifecycle stage was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the lifecycle stage was last modified. An RFC3339 formatted datetime string. TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"` // The current state of the lifecycle stage. LifecycleState LifecycleStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m LifecycleStage) String() string
func (m LifecycleStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
LifecycleStageCollection Results of a lifecycle stage search. Contains both lifecycle stage summary items and other data.
type LifecycleStageCollection struct { // List of lifecycle stages. Items []LifecycleStageSummary `mandatory:"true" json:"items"` }
func (m LifecycleStageCollection) String() string
func (m LifecycleStageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
LifecycleStageDetails Identifying information for the specified lifecycle stage.
type LifecycleStageDetails struct { // The OCID of the lifecycle stage. Id *string `mandatory:"true" json:"id"` // Lifecycle stage name. DisplayName *string `mandatory:"false" json:"displayName"` }
func (m LifecycleStageDetails) String() string
func (m LifecycleStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
LifecycleStageLifecycleStateEnum Enum with underlying type: string
type LifecycleStageLifecycleStateEnum string
Set of constants representing the allowable values for LifecycleStageLifecycleStateEnum
const ( LifecycleStageLifecycleStateCreating LifecycleStageLifecycleStateEnum = "CREATING" LifecycleStageLifecycleStateUpdating LifecycleStageLifecycleStateEnum = "UPDATING" LifecycleStageLifecycleStateActive LifecycleStageLifecycleStateEnum = "ACTIVE" LifecycleStageLifecycleStateDeleting LifecycleStageLifecycleStateEnum = "DELETING" LifecycleStageLifecycleStateDeleted LifecycleStageLifecycleStateEnum = "DELETED" LifecycleStageLifecycleStateFailed LifecycleStageLifecycleStateEnum = "FAILED" )
func GetLifecycleStageLifecycleStateEnumValues() []LifecycleStageLifecycleStateEnum
GetLifecycleStageLifecycleStateEnumValues Enumerates the set of values for LifecycleStageLifecycleStateEnum
func GetMappingLifecycleStageLifecycleStateEnum(val string) (LifecycleStageLifecycleStateEnum, bool)
GetMappingLifecycleStageLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
LifecycleStageSummary Defines the lifecycle stage summary.
type LifecycleStageSummary struct { // The OCID of the tenancy containing the lifecycle stage. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // User specified rank for the lifecycle stage. // Rank determines the hierarchy of the lifecycle stages for a given lifecycle environment. Rank *int `mandatory:"true" json:"rank"` // The lifecycle stage OCID that is immutable on creation. Id *string `mandatory:"false" json:"id"` // The OCID of the lifecycle environment for the lifecycle stage. LifecycleEnvironmentId *string `mandatory:"false" json:"lifecycleEnvironmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. LifecycleEnvironmentDisplayName *string `mandatory:"false" json:"lifecycleEnvironmentDisplayName"` // The operating system type of the target instances. OsFamily OsFamilyEnum `mandatory:"false" json:"osFamily,omitempty"` // The CPU architecture of the target instances. ArchType ArchTypeEnum `mandatory:"false" json:"archType,omitempty"` // The software source vendor name. VendorName VendorNameEnum `mandatory:"false" json:"vendorName,omitempty"` // The number of managed instances attached to the lifecycle stage. ManagedInstances *int `mandatory:"false" json:"managedInstances"` SoftwareSourceId *SoftwareSourceDetails `mandatory:"false" json:"softwareSourceId"` // The time the lifecycle stage was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the lifecycle stage was last modified. An RFC3339 formatted datetime string. TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"` // The current state of the lifecycle environment. LifecycleState LifecycleStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m LifecycleStageSummary) String() string
func (m LifecycleStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListEntitlementsRequest wrapper for the ListEntitlements operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListEntitlements.go.html to see an example of how to use ListEntitlementsRequest.
type ListEntitlementsRequest struct { // The OCID of the compartment that contains the resources to list. This parameter is required. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return entitlements that match the given CSI. Csi *string `mandatory:"false" contributesTo:"query" name:"csi"` // A filter to return only profiles that match the given vendorName. VendorName ListEntitlementsVendorNameEnum `mandatory:"false" contributesTo:"query" name:"vendorName" omitEmpty:"true"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListEntitlementsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort entitlements by. Only one sort order may be provided. SortBy ListEntitlementsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListEntitlementsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListEntitlementsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListEntitlementsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListEntitlementsRequest) String() string
func (request ListEntitlementsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListEntitlementsResponse wrapper for the ListEntitlements operation
type ListEntitlementsResponse struct { // The underlying http response RawResponse *http.Response // A list of EntitlementCollection instances EntitlementCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListEntitlementsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListEntitlementsResponse) String() string
ListEntitlementsSortByEnum Enum with underlying type: string
type ListEntitlementsSortByEnum string
Set of constants representing the allowable values for ListEntitlementsSortByEnum
const ( ListEntitlementsSortByCsi ListEntitlementsSortByEnum = "csi" ListEntitlementsSortByVendorname ListEntitlementsSortByEnum = "vendorName" )
func GetListEntitlementsSortByEnumValues() []ListEntitlementsSortByEnum
GetListEntitlementsSortByEnumValues Enumerates the set of values for ListEntitlementsSortByEnum
func GetMappingListEntitlementsSortByEnum(val string) (ListEntitlementsSortByEnum, bool)
GetMappingListEntitlementsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListEntitlementsSortOrderEnum Enum with underlying type: string
type ListEntitlementsSortOrderEnum string
Set of constants representing the allowable values for ListEntitlementsSortOrderEnum
const ( ListEntitlementsSortOrderAsc ListEntitlementsSortOrderEnum = "ASC" ListEntitlementsSortOrderDesc ListEntitlementsSortOrderEnum = "DESC" )
func GetListEntitlementsSortOrderEnumValues() []ListEntitlementsSortOrderEnum
GetListEntitlementsSortOrderEnumValues Enumerates the set of values for ListEntitlementsSortOrderEnum
func GetMappingListEntitlementsSortOrderEnum(val string) (ListEntitlementsSortOrderEnum, bool)
GetMappingListEntitlementsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListEntitlementsVendorNameEnum Enum with underlying type: string
type ListEntitlementsVendorNameEnum string
Set of constants representing the allowable values for ListEntitlementsVendorNameEnum
const ( ListEntitlementsVendorNameOracle ListEntitlementsVendorNameEnum = "ORACLE" )
func GetListEntitlementsVendorNameEnumValues() []ListEntitlementsVendorNameEnum
GetListEntitlementsVendorNameEnumValues Enumerates the set of values for ListEntitlementsVendorNameEnum
func GetMappingListEntitlementsVendorNameEnum(val string) (ListEntitlementsVendorNameEnum, bool)
GetMappingListEntitlementsVendorNameEnum performs case Insensitive comparison on enum value and return the desired enum
ListErrataOsFamilyEnum Enum with underlying type: string
type ListErrataOsFamilyEnum string
Set of constants representing the allowable values for ListErrataOsFamilyEnum
const ( ListErrataOsFamily9 ListErrataOsFamilyEnum = "ORACLE_LINUX_9" ListErrataOsFamily8 ListErrataOsFamilyEnum = "ORACLE_LINUX_8" ListErrataOsFamily7 ListErrataOsFamilyEnum = "ORACLE_LINUX_7" )
func GetListErrataOsFamilyEnumValues() []ListErrataOsFamilyEnum
GetListErrataOsFamilyEnumValues Enumerates the set of values for ListErrataOsFamilyEnum
func GetMappingListErrataOsFamilyEnum(val string) (ListErrataOsFamilyEnum, bool)
GetMappingListErrataOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum
ListErrataRequest wrapper for the ListErrata operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListErrata.go.html to see an example of how to use ListErrataRequest.
type ListErrataRequest struct { // The OCID of the compartment that contains the resources to list. This parameter is required. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The assigned erratum name. It's unique and not changeable. // Example: `ELSA-2020-5804` Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"` // A filter to return resources that may partially match the erratum name given. NameContains *string `mandatory:"false" contributesTo:"query" name:"nameContains"` // A filter to return only packages that match the given update classification type. ClassificationType []ClassificationTypesEnum `contributesTo:"query" name:"classificationType" omitEmpty:"true" collectionFormat:"multi"` // A filter to return only profiles that match the given osFamily. OsFamily ListErrataOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"` // The advisory severity. AdvisorySeverity []AdvisorySeverityEnum `contributesTo:"query" name:"advisorySeverity" omitEmpty:"true" collectionFormat:"multi"` // 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"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` 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 timeIssued is descending. Default order for name is ascending. If no value is specified timeIssued is default. SortBy ListErrataSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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 ErratumCollection instances ErratumCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). 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 ( ListErrataSortByTimeissued ListErrataSortByEnum = "timeIssued" ListErrataSortByName ListErrataSortByEnum = "name" )
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
ListLifecycleEnvironmentsArchTypeEnum Enum with underlying type: string
type ListLifecycleEnvironmentsArchTypeEnum string
Set of constants representing the allowable values for ListLifecycleEnvironmentsArchTypeEnum
const ( ListLifecycleEnvironmentsArchTypeX8664 ListLifecycleEnvironmentsArchTypeEnum = "X86_64" ListLifecycleEnvironmentsArchTypeAarch64 ListLifecycleEnvironmentsArchTypeEnum = "AARCH64" ListLifecycleEnvironmentsArchTypeI686 ListLifecycleEnvironmentsArchTypeEnum = "I686" ListLifecycleEnvironmentsArchTypeNoarch ListLifecycleEnvironmentsArchTypeEnum = "NOARCH" ListLifecycleEnvironmentsArchTypeSrc ListLifecycleEnvironmentsArchTypeEnum = "SRC" )
func GetListLifecycleEnvironmentsArchTypeEnumValues() []ListLifecycleEnvironmentsArchTypeEnum
GetListLifecycleEnvironmentsArchTypeEnumValues Enumerates the set of values for ListLifecycleEnvironmentsArchTypeEnum
func GetMappingListLifecycleEnvironmentsArchTypeEnum(val string) (ListLifecycleEnvironmentsArchTypeEnum, bool)
GetMappingListLifecycleEnvironmentsArchTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListLifecycleEnvironmentsOsFamilyEnum Enum with underlying type: string
type ListLifecycleEnvironmentsOsFamilyEnum string
Set of constants representing the allowable values for ListLifecycleEnvironmentsOsFamilyEnum
const ( ListLifecycleEnvironmentsOsFamily9 ListLifecycleEnvironmentsOsFamilyEnum = "ORACLE_LINUX_9" ListLifecycleEnvironmentsOsFamily8 ListLifecycleEnvironmentsOsFamilyEnum = "ORACLE_LINUX_8" ListLifecycleEnvironmentsOsFamily7 ListLifecycleEnvironmentsOsFamilyEnum = "ORACLE_LINUX_7" )
func GetListLifecycleEnvironmentsOsFamilyEnumValues() []ListLifecycleEnvironmentsOsFamilyEnum
GetListLifecycleEnvironmentsOsFamilyEnumValues Enumerates the set of values for ListLifecycleEnvironmentsOsFamilyEnum
func GetMappingListLifecycleEnvironmentsOsFamilyEnum(val string) (ListLifecycleEnvironmentsOsFamilyEnum, bool)
GetMappingListLifecycleEnvironmentsOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum
ListLifecycleEnvironmentsRequest wrapper for the ListLifecycleEnvironments operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListLifecycleEnvironments.go.html to see an example of how to use ListLifecycleEnvironmentsRequest.
type ListLifecycleEnvironmentsRequest struct { // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A filter to return resources that match the given display names. DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // The OCID of the lifecycle environment. LifecycleEnvironmentId *string `mandatory:"false" contributesTo:"query" name:"lifecycleEnvironmentId"` // A filter to return only profiles that match the given archType. ArchType ListLifecycleEnvironmentsArchTypeEnum `mandatory:"false" contributesTo:"query" name:"archType" omitEmpty:"true"` // A filter to return only profiles that match the given osFamily. OsFamily ListLifecycleEnvironmentsOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only the lifecycle environments that match the display name given. LifecycleState LifecycleEnvironmentLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListLifecycleEnvironmentsSortOrderEnum `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. SortBy ListLifecycleEnvironmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListLifecycleEnvironmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListLifecycleEnvironmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListLifecycleEnvironmentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListLifecycleEnvironmentsRequest) String() string
func (request ListLifecycleEnvironmentsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListLifecycleEnvironmentsResponse wrapper for the ListLifecycleEnvironments operation
type ListLifecycleEnvironmentsResponse struct { // The underlying http response RawResponse *http.Response // A list of LifecycleEnvironmentCollection instances LifecycleEnvironmentCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListLifecycleEnvironmentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListLifecycleEnvironmentsResponse) String() string
ListLifecycleEnvironmentsSortByEnum Enum with underlying type: string
type ListLifecycleEnvironmentsSortByEnum string
Set of constants representing the allowable values for ListLifecycleEnvironmentsSortByEnum
const ( ListLifecycleEnvironmentsSortByTimecreated ListLifecycleEnvironmentsSortByEnum = "timeCreated" ListLifecycleEnvironmentsSortByDisplayname ListLifecycleEnvironmentsSortByEnum = "displayName" )
func GetListLifecycleEnvironmentsSortByEnumValues() []ListLifecycleEnvironmentsSortByEnum
GetListLifecycleEnvironmentsSortByEnumValues Enumerates the set of values for ListLifecycleEnvironmentsSortByEnum
func GetMappingListLifecycleEnvironmentsSortByEnum(val string) (ListLifecycleEnvironmentsSortByEnum, bool)
GetMappingListLifecycleEnvironmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListLifecycleEnvironmentsSortOrderEnum Enum with underlying type: string
type ListLifecycleEnvironmentsSortOrderEnum string
Set of constants representing the allowable values for ListLifecycleEnvironmentsSortOrderEnum
const ( ListLifecycleEnvironmentsSortOrderAsc ListLifecycleEnvironmentsSortOrderEnum = "ASC" ListLifecycleEnvironmentsSortOrderDesc ListLifecycleEnvironmentsSortOrderEnum = "DESC" )
func GetListLifecycleEnvironmentsSortOrderEnumValues() []ListLifecycleEnvironmentsSortOrderEnum
GetListLifecycleEnvironmentsSortOrderEnumValues Enumerates the set of values for ListLifecycleEnvironmentsSortOrderEnum
func GetMappingListLifecycleEnvironmentsSortOrderEnum(val string) (ListLifecycleEnvironmentsSortOrderEnum, bool)
GetMappingListLifecycleEnvironmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListLifecycleStageInstalledPackagesRequest wrapper for the ListLifecycleStageInstalledPackages operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListLifecycleStageInstalledPackages.go.html to see an example of how to use ListLifecycleStageInstalledPackagesRequest.
type ListLifecycleStageInstalledPackagesRequest struct { // The OCID of the lifecycle stage. LifecycleStageId *string `mandatory:"true" contributesTo:"path" name:"lifecycleStageId"` // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A filter to return resources that match the given display names. DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only lifecycle stage whose lifecycle state matches the given lifecycle state. LifecycleState LifecycleStageLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListLifecycleStageInstalledPackagesSortOrderEnum `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. SortBy ListLifecycleStageInstalledPackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListLifecycleStageInstalledPackagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListLifecycleStageInstalledPackagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListLifecycleStageInstalledPackagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListLifecycleStageInstalledPackagesRequest) String() string
func (request ListLifecycleStageInstalledPackagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListLifecycleStageInstalledPackagesResponse wrapper for the ListLifecycleStageInstalledPackages operation
type ListLifecycleStageInstalledPackagesResponse struct { // The underlying http response RawResponse *http.Response // A list of InstalledPackageCollection instances InstalledPackageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListLifecycleStageInstalledPackagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListLifecycleStageInstalledPackagesResponse) String() string
ListLifecycleStageInstalledPackagesSortByEnum Enum with underlying type: string
type ListLifecycleStageInstalledPackagesSortByEnum string
Set of constants representing the allowable values for ListLifecycleStageInstalledPackagesSortByEnum
const ( ListLifecycleStageInstalledPackagesSortByTimecreated ListLifecycleStageInstalledPackagesSortByEnum = "timeCreated" ListLifecycleStageInstalledPackagesSortByDisplayname ListLifecycleStageInstalledPackagesSortByEnum = "displayName" )
func GetListLifecycleStageInstalledPackagesSortByEnumValues() []ListLifecycleStageInstalledPackagesSortByEnum
GetListLifecycleStageInstalledPackagesSortByEnumValues Enumerates the set of values for ListLifecycleStageInstalledPackagesSortByEnum
func GetMappingListLifecycleStageInstalledPackagesSortByEnum(val string) (ListLifecycleStageInstalledPackagesSortByEnum, bool)
GetMappingListLifecycleStageInstalledPackagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListLifecycleStageInstalledPackagesSortOrderEnum Enum with underlying type: string
type ListLifecycleStageInstalledPackagesSortOrderEnum string
Set of constants representing the allowable values for ListLifecycleStageInstalledPackagesSortOrderEnum
const ( ListLifecycleStageInstalledPackagesSortOrderAsc ListLifecycleStageInstalledPackagesSortOrderEnum = "ASC" ListLifecycleStageInstalledPackagesSortOrderDesc ListLifecycleStageInstalledPackagesSortOrderEnum = "DESC" )
func GetListLifecycleStageInstalledPackagesSortOrderEnumValues() []ListLifecycleStageInstalledPackagesSortOrderEnum
GetListLifecycleStageInstalledPackagesSortOrderEnumValues Enumerates the set of values for ListLifecycleStageInstalledPackagesSortOrderEnum
func GetMappingListLifecycleStageInstalledPackagesSortOrderEnum(val string) (ListLifecycleStageInstalledPackagesSortOrderEnum, bool)
GetMappingListLifecycleStageInstalledPackagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListLifecycleStagesArchTypeEnum Enum with underlying type: string
type ListLifecycleStagesArchTypeEnum string
Set of constants representing the allowable values for ListLifecycleStagesArchTypeEnum
const ( ListLifecycleStagesArchTypeX8664 ListLifecycleStagesArchTypeEnum = "X86_64" ListLifecycleStagesArchTypeAarch64 ListLifecycleStagesArchTypeEnum = "AARCH64" ListLifecycleStagesArchTypeI686 ListLifecycleStagesArchTypeEnum = "I686" ListLifecycleStagesArchTypeNoarch ListLifecycleStagesArchTypeEnum = "NOARCH" ListLifecycleStagesArchTypeSrc ListLifecycleStagesArchTypeEnum = "SRC" )
func GetListLifecycleStagesArchTypeEnumValues() []ListLifecycleStagesArchTypeEnum
GetListLifecycleStagesArchTypeEnumValues Enumerates the set of values for ListLifecycleStagesArchTypeEnum
func GetMappingListLifecycleStagesArchTypeEnum(val string) (ListLifecycleStagesArchTypeEnum, bool)
GetMappingListLifecycleStagesArchTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListLifecycleStagesOsFamilyEnum Enum with underlying type: string
type ListLifecycleStagesOsFamilyEnum string
Set of constants representing the allowable values for ListLifecycleStagesOsFamilyEnum
const ( ListLifecycleStagesOsFamily9 ListLifecycleStagesOsFamilyEnum = "ORACLE_LINUX_9" ListLifecycleStagesOsFamily8 ListLifecycleStagesOsFamilyEnum = "ORACLE_LINUX_8" ListLifecycleStagesOsFamily7 ListLifecycleStagesOsFamilyEnum = "ORACLE_LINUX_7" )
func GetListLifecycleStagesOsFamilyEnumValues() []ListLifecycleStagesOsFamilyEnum
GetListLifecycleStagesOsFamilyEnumValues Enumerates the set of values for ListLifecycleStagesOsFamilyEnum
func GetMappingListLifecycleStagesOsFamilyEnum(val string) (ListLifecycleStagesOsFamilyEnum, bool)
GetMappingListLifecycleStagesOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum
ListLifecycleStagesRequest wrapper for the ListLifecycleStages operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListLifecycleStages.go.html to see an example of how to use ListLifecycleStagesRequest.
type ListLifecycleStagesRequest struct { // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A filter to return resources that match the given display names. DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // The OCID of the lifecycle stage. LifecycleStageId *string `mandatory:"false" contributesTo:"query" name:"lifecycleStageId"` // The OCID for the software source. SoftwareSourceId *string `mandatory:"false" contributesTo:"query" name:"softwareSourceId"` // A filter to return only profiles that match the given archType. ArchType ListLifecycleStagesArchTypeEnum `mandatory:"false" contributesTo:"query" name:"archType" omitEmpty:"true"` // A filter to return only profiles that match the given osFamily. OsFamily ListLifecycleStagesOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only lifecycle stage whose lifecycle state matches the given lifecycle state. LifecycleState LifecycleStageLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListLifecycleStagesSortOrderEnum `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. SortBy ListLifecycleStagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListLifecycleStagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListLifecycleStagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListLifecycleStagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListLifecycleStagesRequest) String() string
func (request ListLifecycleStagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListLifecycleStagesResponse wrapper for the ListLifecycleStages operation
type ListLifecycleStagesResponse struct { // The underlying http response RawResponse *http.Response // A list of LifecycleStageCollection instances LifecycleStageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListLifecycleStagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListLifecycleStagesResponse) String() string
ListLifecycleStagesSortByEnum Enum with underlying type: string
type ListLifecycleStagesSortByEnum string
Set of constants representing the allowable values for ListLifecycleStagesSortByEnum
const ( ListLifecycleStagesSortByTimecreated ListLifecycleStagesSortByEnum = "timeCreated" ListLifecycleStagesSortByDisplayname ListLifecycleStagesSortByEnum = "displayName" )
func GetListLifecycleStagesSortByEnumValues() []ListLifecycleStagesSortByEnum
GetListLifecycleStagesSortByEnumValues Enumerates the set of values for ListLifecycleStagesSortByEnum
func GetMappingListLifecycleStagesSortByEnum(val string) (ListLifecycleStagesSortByEnum, bool)
GetMappingListLifecycleStagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListLifecycleStagesSortOrderEnum Enum with underlying type: string
type ListLifecycleStagesSortOrderEnum string
Set of constants representing the allowable values for ListLifecycleStagesSortOrderEnum
const ( ListLifecycleStagesSortOrderAsc ListLifecycleStagesSortOrderEnum = "ASC" ListLifecycleStagesSortOrderDesc ListLifecycleStagesSortOrderEnum = "DESC" )
func GetListLifecycleStagesSortOrderEnumValues() []ListLifecycleStagesSortOrderEnum
GetListLifecycleStagesSortOrderEnumValues Enumerates the set of values for ListLifecycleStagesSortOrderEnum
func GetMappingListLifecycleStagesSortOrderEnum(val string) (ListLifecycleStagesSortOrderEnum, bool)
GetMappingListLifecycleStagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceAvailablePackagesRequest wrapper for the ListManagedInstanceAvailablePackages operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceAvailablePackages.go.html to see an example of how to use ListManagedInstanceAvailablePackagesRequest.
type ListManagedInstanceAvailablePackagesRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // A filter to return resources that match the given display names. DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListManagedInstanceAvailablePackagesSortOrderEnum `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. SortBy ListManagedInstanceAvailablePackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedInstanceAvailablePackagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedInstanceAvailablePackagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstanceAvailablePackagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstanceAvailablePackagesRequest) String() string
func (request ListManagedInstanceAvailablePackagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListManagedInstanceAvailablePackagesResponse wrapper for the ListManagedInstanceAvailablePackages operation
type ListManagedInstanceAvailablePackagesResponse struct { // The underlying http response RawResponse *http.Response // A list of AvailablePackageCollection instances AvailablePackageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedInstanceAvailablePackagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstanceAvailablePackagesResponse) String() string
ListManagedInstanceAvailablePackagesSortByEnum Enum with underlying type: string
type ListManagedInstanceAvailablePackagesSortByEnum string
Set of constants representing the allowable values for ListManagedInstanceAvailablePackagesSortByEnum
const ( ListManagedInstanceAvailablePackagesSortByTimecreated ListManagedInstanceAvailablePackagesSortByEnum = "timeCreated" ListManagedInstanceAvailablePackagesSortByDisplayname ListManagedInstanceAvailablePackagesSortByEnum = "displayName" )
func GetListManagedInstanceAvailablePackagesSortByEnumValues() []ListManagedInstanceAvailablePackagesSortByEnum
GetListManagedInstanceAvailablePackagesSortByEnumValues Enumerates the set of values for ListManagedInstanceAvailablePackagesSortByEnum
func GetMappingListManagedInstanceAvailablePackagesSortByEnum(val string) (ListManagedInstanceAvailablePackagesSortByEnum, bool)
GetMappingListManagedInstanceAvailablePackagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceAvailablePackagesSortOrderEnum Enum with underlying type: string
type ListManagedInstanceAvailablePackagesSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstanceAvailablePackagesSortOrderEnum
const ( ListManagedInstanceAvailablePackagesSortOrderAsc ListManagedInstanceAvailablePackagesSortOrderEnum = "ASC" ListManagedInstanceAvailablePackagesSortOrderDesc ListManagedInstanceAvailablePackagesSortOrderEnum = "DESC" )
func GetListManagedInstanceAvailablePackagesSortOrderEnumValues() []ListManagedInstanceAvailablePackagesSortOrderEnum
GetListManagedInstanceAvailablePackagesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceAvailablePackagesSortOrderEnum
func GetMappingListManagedInstanceAvailablePackagesSortOrderEnum(val string) (ListManagedInstanceAvailablePackagesSortOrderEnum, bool)
GetMappingListManagedInstanceAvailablePackagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceAvailableSoftwareSourcesRequest wrapper for the ListManagedInstanceAvailableSoftwareSources operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceAvailableSoftwareSources.go.html to see an example of how to use ListManagedInstanceAvailableSoftwareSourcesRequest.
type ListManagedInstanceAvailableSoftwareSourcesRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // A filter to return resources that match the given display names. DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum `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. SortBy ListManagedInstanceAvailableSoftwareSourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedInstanceAvailableSoftwareSourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedInstanceAvailableSoftwareSourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstanceAvailableSoftwareSourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstanceAvailableSoftwareSourcesRequest) String() string
func (request ListManagedInstanceAvailableSoftwareSourcesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListManagedInstanceAvailableSoftwareSourcesResponse wrapper for the ListManagedInstanceAvailableSoftwareSources operation
type ListManagedInstanceAvailableSoftwareSourcesResponse struct { // The underlying http response RawResponse *http.Response // A list of AvailableSoftwareSourceCollection instances AvailableSoftwareSourceCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedInstanceAvailableSoftwareSourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstanceAvailableSoftwareSourcesResponse) String() string
ListManagedInstanceAvailableSoftwareSourcesSortByEnum Enum with underlying type: string
type ListManagedInstanceAvailableSoftwareSourcesSortByEnum string
Set of constants representing the allowable values for ListManagedInstanceAvailableSoftwareSourcesSortByEnum
const ( ListManagedInstanceAvailableSoftwareSourcesSortByTimecreated ListManagedInstanceAvailableSoftwareSourcesSortByEnum = "timeCreated" ListManagedInstanceAvailableSoftwareSourcesSortByDisplayname ListManagedInstanceAvailableSoftwareSourcesSortByEnum = "displayName" )
func GetListManagedInstanceAvailableSoftwareSourcesSortByEnumValues() []ListManagedInstanceAvailableSoftwareSourcesSortByEnum
GetListManagedInstanceAvailableSoftwareSourcesSortByEnumValues Enumerates the set of values for ListManagedInstanceAvailableSoftwareSourcesSortByEnum
func GetMappingListManagedInstanceAvailableSoftwareSourcesSortByEnum(val string) (ListManagedInstanceAvailableSoftwareSourcesSortByEnum, bool)
GetMappingListManagedInstanceAvailableSoftwareSourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum Enum with underlying type: string
type ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum
const ( ListManagedInstanceAvailableSoftwareSourcesSortOrderAsc ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum = "ASC" ListManagedInstanceAvailableSoftwareSourcesSortOrderDesc ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum = "DESC" )
func GetListManagedInstanceAvailableSoftwareSourcesSortOrderEnumValues() []ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum
GetListManagedInstanceAvailableSoftwareSourcesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum
func GetMappingListManagedInstanceAvailableSoftwareSourcesSortOrderEnum(val string) (ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum, bool)
GetMappingListManagedInstanceAvailableSoftwareSourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceErrataAdvisoryTypeEnum Enum with underlying type: string
type ListManagedInstanceErrataAdvisoryTypeEnum string
Set of constants representing the allowable values for ListManagedInstanceErrataAdvisoryTypeEnum
const ( ListManagedInstanceErrataAdvisoryTypeSecurity ListManagedInstanceErrataAdvisoryTypeEnum = "SECURITY" ListManagedInstanceErrataAdvisoryTypeBugfix ListManagedInstanceErrataAdvisoryTypeEnum = "BUGFIX" ListManagedInstanceErrataAdvisoryTypeEnhancement ListManagedInstanceErrataAdvisoryTypeEnum = "ENHANCEMENT" )
func GetListManagedInstanceErrataAdvisoryTypeEnumValues() []ListManagedInstanceErrataAdvisoryTypeEnum
GetListManagedInstanceErrataAdvisoryTypeEnumValues Enumerates the set of values for ListManagedInstanceErrataAdvisoryTypeEnum
func GetMappingListManagedInstanceErrataAdvisoryTypeEnum(val string) (ListManagedInstanceErrataAdvisoryTypeEnum, bool)
GetMappingListManagedInstanceErrataAdvisoryTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceErrataRequest wrapper for the ListManagedInstanceErrata operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceErrata.go.html to see an example of how to use ListManagedInstanceErrataRequest.
type ListManagedInstanceErrataRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // A filter to return only errata that match the given advisory types. AdvisoryType []ListManagedInstanceErrataAdvisoryTypeEnum `contributesTo:"query" name:"advisoryType" omitEmpty:"true" collectionFormat:"multi"` // The assigned erratum name. It's unique and not changeable. // Example: `ELSA-2020-5804` Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"` // A filter to return resources that may partially match the erratum name given. NameContains *string `mandatory:"false" contributesTo:"query" name:"nameContains"` // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` 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 errata by. Only one sort order may be provided. Default order for timeIssued is descending. Default order for name is ascending. If no value is specified timeIssued is default. SortBy ListManagedInstanceErrataSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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 ManagedInstanceErratumSummaryCollection instances ManagedInstanceErratumSummaryCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). 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 ( ListManagedInstanceErrataSortByTimeissued ListManagedInstanceErrataSortByEnum = "timeIssued" ListManagedInstanceErrataSortByName ListManagedInstanceErrataSortByEnum = "name" )
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
ListManagedInstanceGroupAvailableModulesRequest wrapper for the ListManagedInstanceGroupAvailableModules operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceGroupAvailableModules.go.html to see an example of how to use ListManagedInstanceGroupAvailableModulesRequest.
type ListManagedInstanceGroupAvailableModulesRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The resource name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A filter to return resources that may partially match the name given. NameContains *string `mandatory:"false" contributesTo:"query" name:"nameContains"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListManagedInstanceGroupAvailableModulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for name is ascending. SortBy ListManagedInstanceGroupAvailableModulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedInstanceGroupAvailableModulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedInstanceGroupAvailableModulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstanceGroupAvailableModulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstanceGroupAvailableModulesRequest) String() string
func (request ListManagedInstanceGroupAvailableModulesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListManagedInstanceGroupAvailableModulesResponse wrapper for the ListManagedInstanceGroupAvailableModules operation
type ListManagedInstanceGroupAvailableModulesResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagedInstanceGroupAvailableModuleCollection instances ManagedInstanceGroupAvailableModuleCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedInstanceGroupAvailableModulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstanceGroupAvailableModulesResponse) String() string
ListManagedInstanceGroupAvailableModulesSortByEnum Enum with underlying type: string
type ListManagedInstanceGroupAvailableModulesSortByEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupAvailableModulesSortByEnum
const ( ListManagedInstanceGroupAvailableModulesSortByName ListManagedInstanceGroupAvailableModulesSortByEnum = "name" )
func GetListManagedInstanceGroupAvailableModulesSortByEnumValues() []ListManagedInstanceGroupAvailableModulesSortByEnum
GetListManagedInstanceGroupAvailableModulesSortByEnumValues Enumerates the set of values for ListManagedInstanceGroupAvailableModulesSortByEnum
func GetMappingListManagedInstanceGroupAvailableModulesSortByEnum(val string) (ListManagedInstanceGroupAvailableModulesSortByEnum, bool)
GetMappingListManagedInstanceGroupAvailableModulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceGroupAvailableModulesSortOrderEnum Enum with underlying type: string
type ListManagedInstanceGroupAvailableModulesSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupAvailableModulesSortOrderEnum
const ( ListManagedInstanceGroupAvailableModulesSortOrderAsc ListManagedInstanceGroupAvailableModulesSortOrderEnum = "ASC" ListManagedInstanceGroupAvailableModulesSortOrderDesc ListManagedInstanceGroupAvailableModulesSortOrderEnum = "DESC" )
func GetListManagedInstanceGroupAvailableModulesSortOrderEnumValues() []ListManagedInstanceGroupAvailableModulesSortOrderEnum
GetListManagedInstanceGroupAvailableModulesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceGroupAvailableModulesSortOrderEnum
func GetMappingListManagedInstanceGroupAvailableModulesSortOrderEnum(val string) (ListManagedInstanceGroupAvailableModulesSortOrderEnum, bool)
GetMappingListManagedInstanceGroupAvailableModulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceGroupAvailablePackagesRequest wrapper for the ListManagedInstanceGroupAvailablePackages operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceGroupAvailablePackages.go.html to see an example of how to use ListManagedInstanceGroupAvailablePackagesRequest.
type ListManagedInstanceGroupAvailablePackagesRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // A filter to return resources that match the given display names. DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListManagedInstanceGroupAvailablePackagesSortOrderEnum `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. SortBy ListManagedInstanceGroupAvailablePackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // A boolean variable that is used to list only the latest versions of packages, module streams, // and stream profiles when set to true. All packages, module streams, and stream profiles are // returned when set to false. IsLatest *bool `mandatory:"false" contributesTo:"query" name:"isLatest"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedInstanceGroupAvailablePackagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedInstanceGroupAvailablePackagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstanceGroupAvailablePackagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstanceGroupAvailablePackagesRequest) String() string
func (request ListManagedInstanceGroupAvailablePackagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListManagedInstanceGroupAvailablePackagesResponse wrapper for the ListManagedInstanceGroupAvailablePackages operation
type ListManagedInstanceGroupAvailablePackagesResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagedInstanceGroupAvailablePackageCollection instances ManagedInstanceGroupAvailablePackageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedInstanceGroupAvailablePackagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstanceGroupAvailablePackagesResponse) String() string
ListManagedInstanceGroupAvailablePackagesSortByEnum Enum with underlying type: string
type ListManagedInstanceGroupAvailablePackagesSortByEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupAvailablePackagesSortByEnum
const ( ListManagedInstanceGroupAvailablePackagesSortByTimecreated ListManagedInstanceGroupAvailablePackagesSortByEnum = "timeCreated" ListManagedInstanceGroupAvailablePackagesSortByDisplayname ListManagedInstanceGroupAvailablePackagesSortByEnum = "displayName" )
func GetListManagedInstanceGroupAvailablePackagesSortByEnumValues() []ListManagedInstanceGroupAvailablePackagesSortByEnum
GetListManagedInstanceGroupAvailablePackagesSortByEnumValues Enumerates the set of values for ListManagedInstanceGroupAvailablePackagesSortByEnum
func GetMappingListManagedInstanceGroupAvailablePackagesSortByEnum(val string) (ListManagedInstanceGroupAvailablePackagesSortByEnum, bool)
GetMappingListManagedInstanceGroupAvailablePackagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceGroupAvailablePackagesSortOrderEnum Enum with underlying type: string
type ListManagedInstanceGroupAvailablePackagesSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupAvailablePackagesSortOrderEnum
const ( ListManagedInstanceGroupAvailablePackagesSortOrderAsc ListManagedInstanceGroupAvailablePackagesSortOrderEnum = "ASC" ListManagedInstanceGroupAvailablePackagesSortOrderDesc ListManagedInstanceGroupAvailablePackagesSortOrderEnum = "DESC" )
func GetListManagedInstanceGroupAvailablePackagesSortOrderEnumValues() []ListManagedInstanceGroupAvailablePackagesSortOrderEnum
GetListManagedInstanceGroupAvailablePackagesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceGroupAvailablePackagesSortOrderEnum
func GetMappingListManagedInstanceGroupAvailablePackagesSortOrderEnum(val string) (ListManagedInstanceGroupAvailablePackagesSortOrderEnum, bool)
GetMappingListManagedInstanceGroupAvailablePackagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceGroupAvailableSoftwareSourcesRequest wrapper for the ListManagedInstanceGroupAvailableSoftwareSources operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceGroupAvailableSoftwareSources.go.html to see an example of how to use ListManagedInstanceGroupAvailableSoftwareSourcesRequest.
type ListManagedInstanceGroupAvailableSoftwareSourcesRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // A filter to return resources that match the given display names. DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum `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. SortBy ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedInstanceGroupAvailableSoftwareSourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedInstanceGroupAvailableSoftwareSourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstanceGroupAvailableSoftwareSourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstanceGroupAvailableSoftwareSourcesRequest) String() string
func (request ListManagedInstanceGroupAvailableSoftwareSourcesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListManagedInstanceGroupAvailableSoftwareSourcesResponse wrapper for the ListManagedInstanceGroupAvailableSoftwareSources operation
type ListManagedInstanceGroupAvailableSoftwareSourcesResponse struct { // The underlying http response RawResponse *http.Response // A list of AvailableSoftwareSourceCollection instances AvailableSoftwareSourceCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedInstanceGroupAvailableSoftwareSourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstanceGroupAvailableSoftwareSourcesResponse) String() string
ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum Enum with underlying type: string
type ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum
const ( ListManagedInstanceGroupAvailableSoftwareSourcesSortByTimecreated ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum = "timeCreated" ListManagedInstanceGroupAvailableSoftwareSourcesSortByDisplayname ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum = "displayName" )
func GetListManagedInstanceGroupAvailableSoftwareSourcesSortByEnumValues() []ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum
GetListManagedInstanceGroupAvailableSoftwareSourcesSortByEnumValues Enumerates the set of values for ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum
func GetMappingListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum(val string) (ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum, bool)
GetMappingListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum Enum with underlying type: string
type ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum
const ( ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderAsc ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum = "ASC" ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderDesc ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum = "DESC" )
func GetListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnumValues() []ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum
GetListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum
func GetMappingListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum(val string) (ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum, bool)
GetMappingListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceGroupInstalledPackagesRequest wrapper for the ListManagedInstanceGroupInstalledPackages operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceGroupInstalledPackages.go.html to see an example of how to use ListManagedInstanceGroupInstalledPackagesRequest.
type ListManagedInstanceGroupInstalledPackagesRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // A filter to return resources that match the given display names. DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // The install date after which to list all packages, in ISO 8601 format // Example: 2017-07-14T02:40:00.000Z TimeInstallDateStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeInstallDateStart"` // The install date before which to list all packages, in ISO 8601 format. // Example: 2017-07-14T02:40:00.000Z TimeInstallDateEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeInstallDateEnd"` // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListManagedInstanceGroupInstalledPackagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeInstalled is descending. Default order for displayName is ascending. SortBy ListManagedInstanceGroupInstalledPackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedInstanceGroupInstalledPackagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedInstanceGroupInstalledPackagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstanceGroupInstalledPackagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstanceGroupInstalledPackagesRequest) String() string
func (request ListManagedInstanceGroupInstalledPackagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListManagedInstanceGroupInstalledPackagesResponse wrapper for the ListManagedInstanceGroupInstalledPackages operation
type ListManagedInstanceGroupInstalledPackagesResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagedInstanceGroupInstalledPackageCollection instances ManagedInstanceGroupInstalledPackageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedInstanceGroupInstalledPackagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstanceGroupInstalledPackagesResponse) String() string
ListManagedInstanceGroupInstalledPackagesSortByEnum Enum with underlying type: string
type ListManagedInstanceGroupInstalledPackagesSortByEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupInstalledPackagesSortByEnum
const ( ListManagedInstanceGroupInstalledPackagesSortByTimeinstalled ListManagedInstanceGroupInstalledPackagesSortByEnum = "timeInstalled" ListManagedInstanceGroupInstalledPackagesSortByTimecreated ListManagedInstanceGroupInstalledPackagesSortByEnum = "timeCreated" ListManagedInstanceGroupInstalledPackagesSortByDisplayname ListManagedInstanceGroupInstalledPackagesSortByEnum = "displayName" )
func GetListManagedInstanceGroupInstalledPackagesSortByEnumValues() []ListManagedInstanceGroupInstalledPackagesSortByEnum
GetListManagedInstanceGroupInstalledPackagesSortByEnumValues Enumerates the set of values for ListManagedInstanceGroupInstalledPackagesSortByEnum
func GetMappingListManagedInstanceGroupInstalledPackagesSortByEnum(val string) (ListManagedInstanceGroupInstalledPackagesSortByEnum, bool)
GetMappingListManagedInstanceGroupInstalledPackagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceGroupInstalledPackagesSortOrderEnum Enum with underlying type: string
type ListManagedInstanceGroupInstalledPackagesSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupInstalledPackagesSortOrderEnum
const ( ListManagedInstanceGroupInstalledPackagesSortOrderAsc ListManagedInstanceGroupInstalledPackagesSortOrderEnum = "ASC" ListManagedInstanceGroupInstalledPackagesSortOrderDesc ListManagedInstanceGroupInstalledPackagesSortOrderEnum = "DESC" )
func GetListManagedInstanceGroupInstalledPackagesSortOrderEnumValues() []ListManagedInstanceGroupInstalledPackagesSortOrderEnum
GetListManagedInstanceGroupInstalledPackagesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceGroupInstalledPackagesSortOrderEnum
func GetMappingListManagedInstanceGroupInstalledPackagesSortOrderEnum(val string) (ListManagedInstanceGroupInstalledPackagesSortOrderEnum, bool)
GetMappingListManagedInstanceGroupInstalledPackagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceGroupModulesRequest wrapper for the ListManagedInstanceGroupModules operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceGroupModules.go.html to see an example of how to use ListManagedInstanceGroupModulesRequest.
type ListManagedInstanceGroupModulesRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The resource name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A filter to return resources that may partially match the name given. NameContains *string `mandatory:"false" contributesTo:"query" name:"nameContains"` // 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"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListManagedInstanceGroupModulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for name is ascending. SortBy ListManagedInstanceGroupModulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedInstanceGroupModulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedInstanceGroupModulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstanceGroupModulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstanceGroupModulesRequest) String() string
func (request ListManagedInstanceGroupModulesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListManagedInstanceGroupModulesResponse wrapper for the ListManagedInstanceGroupModules operation
type ListManagedInstanceGroupModulesResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagedInstanceGroupModuleCollection instances ManagedInstanceGroupModuleCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedInstanceGroupModulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstanceGroupModulesResponse) String() string
ListManagedInstanceGroupModulesSortByEnum Enum with underlying type: string
type ListManagedInstanceGroupModulesSortByEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupModulesSortByEnum
const ( ListManagedInstanceGroupModulesSortByName ListManagedInstanceGroupModulesSortByEnum = "name" )
func GetListManagedInstanceGroupModulesSortByEnumValues() []ListManagedInstanceGroupModulesSortByEnum
GetListManagedInstanceGroupModulesSortByEnumValues Enumerates the set of values for ListManagedInstanceGroupModulesSortByEnum
func GetMappingListManagedInstanceGroupModulesSortByEnum(val string) (ListManagedInstanceGroupModulesSortByEnum, bool)
GetMappingListManagedInstanceGroupModulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceGroupModulesSortOrderEnum Enum with underlying type: string
type ListManagedInstanceGroupModulesSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupModulesSortOrderEnum
const ( ListManagedInstanceGroupModulesSortOrderAsc ListManagedInstanceGroupModulesSortOrderEnum = "ASC" ListManagedInstanceGroupModulesSortOrderDesc ListManagedInstanceGroupModulesSortOrderEnum = "DESC" )
func GetListManagedInstanceGroupModulesSortOrderEnumValues() []ListManagedInstanceGroupModulesSortOrderEnum
GetListManagedInstanceGroupModulesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceGroupModulesSortOrderEnum
func GetMappingListManagedInstanceGroupModulesSortOrderEnum(val string) (ListManagedInstanceGroupModulesSortOrderEnum, bool)
GetMappingListManagedInstanceGroupModulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceGroupsArchTypeEnum Enum with underlying type: string
type ListManagedInstanceGroupsArchTypeEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupsArchTypeEnum
const ( ListManagedInstanceGroupsArchTypeX8664 ListManagedInstanceGroupsArchTypeEnum = "X86_64" ListManagedInstanceGroupsArchTypeAarch64 ListManagedInstanceGroupsArchTypeEnum = "AARCH64" ListManagedInstanceGroupsArchTypeI686 ListManagedInstanceGroupsArchTypeEnum = "I686" ListManagedInstanceGroupsArchTypeNoarch ListManagedInstanceGroupsArchTypeEnum = "NOARCH" ListManagedInstanceGroupsArchTypeSrc ListManagedInstanceGroupsArchTypeEnum = "SRC" )
func GetListManagedInstanceGroupsArchTypeEnumValues() []ListManagedInstanceGroupsArchTypeEnum
GetListManagedInstanceGroupsArchTypeEnumValues Enumerates the set of values for ListManagedInstanceGroupsArchTypeEnum
func GetMappingListManagedInstanceGroupsArchTypeEnum(val string) (ListManagedInstanceGroupsArchTypeEnum, bool)
GetMappingListManagedInstanceGroupsArchTypeEnum 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 ( ListManagedInstanceGroupsOsFamily9 ListManagedInstanceGroupsOsFamilyEnum = "ORACLE_LINUX_9" ListManagedInstanceGroupsOsFamily8 ListManagedInstanceGroupsOsFamilyEnum = "ORACLE_LINUX_8" ListManagedInstanceGroupsOsFamily7 ListManagedInstanceGroupsOsFamilyEnum = "ORACLE_LINUX_7" )
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceGroups.go.html to see an example of how to use ListManagedInstanceGroupsRequest.
type ListManagedInstanceGroupsRequest struct { // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The OCID of the managed instance group for which to list resources. ManagedInstanceGroupId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceGroupId"` // The OCID for the software source. SoftwareSourceId *string `mandatory:"false" contributesTo:"query" name:"softwareSourceId"` // A filter to return resources that match the given display names. DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // A filter to return only profiles that match the given archType. ArchType ListManagedInstanceGroupsArchTypeEnum `mandatory:"false" contributesTo:"query" name:"archType" omitEmpty:"true"` // A filter to return only profiles that match the given osFamily. OsFamily ListManagedInstanceGroupsOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources their lifecycle state matches the given lifecycle state. LifecycleState ManagedInstanceGroupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // 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. SortBy ListManagedInstanceGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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 ManagedInstanceGroupCollection instances ManagedInstanceGroupCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). 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
ListManagedInstanceInstalledPackagesRequest wrapper for the ListManagedInstanceInstalledPackages operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceInstalledPackages.go.html to see an example of how to use ListManagedInstanceInstalledPackagesRequest.
type ListManagedInstanceInstalledPackagesRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // A filter to return resources that match the given display names. DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // The install date after which to list all packages, in ISO 8601 format // Example: 2017-07-14T02:40:00.000Z TimeInstallDateStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeInstallDateStart"` // The install date before which to list all packages, in ISO 8601 format. // Example: 2017-07-14T02:40:00.000Z TimeInstallDateEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeInstallDateEnd"` // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListManagedInstanceInstalledPackagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeInstalled is descending. Default order for displayName is ascending. SortBy ListManagedInstanceInstalledPackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedInstanceInstalledPackagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedInstanceInstalledPackagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstanceInstalledPackagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstanceInstalledPackagesRequest) String() string
func (request ListManagedInstanceInstalledPackagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListManagedInstanceInstalledPackagesResponse wrapper for the ListManagedInstanceInstalledPackages operation
type ListManagedInstanceInstalledPackagesResponse struct { // The underlying http response RawResponse *http.Response // A list of InstalledPackageCollection instances InstalledPackageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedInstanceInstalledPackagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstanceInstalledPackagesResponse) String() string
ListManagedInstanceInstalledPackagesSortByEnum Enum with underlying type: string
type ListManagedInstanceInstalledPackagesSortByEnum string
Set of constants representing the allowable values for ListManagedInstanceInstalledPackagesSortByEnum
const ( ListManagedInstanceInstalledPackagesSortByTimeinstalled ListManagedInstanceInstalledPackagesSortByEnum = "timeInstalled" ListManagedInstanceInstalledPackagesSortByTimecreated ListManagedInstanceInstalledPackagesSortByEnum = "timeCreated" ListManagedInstanceInstalledPackagesSortByDisplayname ListManagedInstanceInstalledPackagesSortByEnum = "displayName" )
func GetListManagedInstanceInstalledPackagesSortByEnumValues() []ListManagedInstanceInstalledPackagesSortByEnum
GetListManagedInstanceInstalledPackagesSortByEnumValues Enumerates the set of values for ListManagedInstanceInstalledPackagesSortByEnum
func GetMappingListManagedInstanceInstalledPackagesSortByEnum(val string) (ListManagedInstanceInstalledPackagesSortByEnum, bool)
GetMappingListManagedInstanceInstalledPackagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceInstalledPackagesSortOrderEnum Enum with underlying type: string
type ListManagedInstanceInstalledPackagesSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstanceInstalledPackagesSortOrderEnum
const ( ListManagedInstanceInstalledPackagesSortOrderAsc ListManagedInstanceInstalledPackagesSortOrderEnum = "ASC" ListManagedInstanceInstalledPackagesSortOrderDesc ListManagedInstanceInstalledPackagesSortOrderEnum = "DESC" )
func GetListManagedInstanceInstalledPackagesSortOrderEnumValues() []ListManagedInstanceInstalledPackagesSortOrderEnum
GetListManagedInstanceInstalledPackagesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceInstalledPackagesSortOrderEnum
func GetMappingListManagedInstanceInstalledPackagesSortOrderEnum(val string) (ListManagedInstanceInstalledPackagesSortOrderEnum, bool)
GetMappingListManagedInstanceInstalledPackagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceModulesRequest wrapper for the ListManagedInstanceModules operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceModules.go.html to see an example of how to use ListManagedInstanceModulesRequest.
type ListManagedInstanceModulesRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The resource name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A filter to return resources that may partially match the name given. NameContains *string `mandatory:"false" contributesTo:"query" name:"nameContains"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListManagedInstanceModulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for name is ascending. SortBy ListManagedInstanceModulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedInstanceModulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedInstanceModulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstanceModulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstanceModulesRequest) String() string
func (request ListManagedInstanceModulesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListManagedInstanceModulesResponse wrapper for the ListManagedInstanceModules operation
type ListManagedInstanceModulesResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagedInstanceModuleCollection instances ManagedInstanceModuleCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedInstanceModulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstanceModulesResponse) String() string
ListManagedInstanceModulesSortByEnum Enum with underlying type: string
type ListManagedInstanceModulesSortByEnum string
Set of constants representing the allowable values for ListManagedInstanceModulesSortByEnum
const ( ListManagedInstanceModulesSortByName ListManagedInstanceModulesSortByEnum = "name" )
func GetListManagedInstanceModulesSortByEnumValues() []ListManagedInstanceModulesSortByEnum
GetListManagedInstanceModulesSortByEnumValues Enumerates the set of values for ListManagedInstanceModulesSortByEnum
func GetMappingListManagedInstanceModulesSortByEnum(val string) (ListManagedInstanceModulesSortByEnum, bool)
GetMappingListManagedInstanceModulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceModulesSortOrderEnum Enum with underlying type: string
type ListManagedInstanceModulesSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstanceModulesSortOrderEnum
const ( ListManagedInstanceModulesSortOrderAsc ListManagedInstanceModulesSortOrderEnum = "ASC" ListManagedInstanceModulesSortOrderDesc ListManagedInstanceModulesSortOrderEnum = "DESC" )
func GetListManagedInstanceModulesSortOrderEnumValues() []ListManagedInstanceModulesSortOrderEnum
GetListManagedInstanceModulesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceModulesSortOrderEnum
func GetMappingListManagedInstanceModulesSortOrderEnum(val string) (ListManagedInstanceModulesSortOrderEnum, bool)
GetMappingListManagedInstanceModulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceUpdatablePackagesRequest wrapper for the ListManagedInstanceUpdatablePackages operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceUpdatablePackages.go.html to see an example of how to use ListManagedInstanceUpdatablePackagesRequest.
type ListManagedInstanceUpdatablePackagesRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // A filter to return only packages that match the given update classification type. ClassificationType []ClassificationTypesEnum `contributesTo:"query" name:"classificationType" omitEmpty:"true" collectionFormat:"multi"` // A filter to return resources that match the given display names. DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // The assigned erratum name. It's unique and not changeable. // Example: `ELSA-2020-5804` AdvisoryName []string `contributesTo:"query" name:"advisoryName" collectionFormat:"multi"` // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListManagedInstanceUpdatablePackagesSortOrderEnum `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. SortBy ListManagedInstanceUpdatablePackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedInstanceUpdatablePackagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedInstanceUpdatablePackagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstanceUpdatablePackagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstanceUpdatablePackagesRequest) String() string
func (request ListManagedInstanceUpdatablePackagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListManagedInstanceUpdatablePackagesResponse wrapper for the ListManagedInstanceUpdatablePackages operation
type ListManagedInstanceUpdatablePackagesResponse struct { // The underlying http response RawResponse *http.Response // A list of UpdatablePackageCollection instances UpdatablePackageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedInstanceUpdatablePackagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstanceUpdatablePackagesResponse) String() string
ListManagedInstanceUpdatablePackagesSortByEnum Enum with underlying type: string
type ListManagedInstanceUpdatablePackagesSortByEnum string
Set of constants representing the allowable values for ListManagedInstanceUpdatablePackagesSortByEnum
const ( ListManagedInstanceUpdatablePackagesSortByTimecreated ListManagedInstanceUpdatablePackagesSortByEnum = "timeCreated" ListManagedInstanceUpdatablePackagesSortByDisplayname ListManagedInstanceUpdatablePackagesSortByEnum = "displayName" )
func GetListManagedInstanceUpdatablePackagesSortByEnumValues() []ListManagedInstanceUpdatablePackagesSortByEnum
GetListManagedInstanceUpdatablePackagesSortByEnumValues Enumerates the set of values for ListManagedInstanceUpdatablePackagesSortByEnum
func GetMappingListManagedInstanceUpdatablePackagesSortByEnum(val string) (ListManagedInstanceUpdatablePackagesSortByEnum, bool)
GetMappingListManagedInstanceUpdatablePackagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstanceUpdatablePackagesSortOrderEnum Enum with underlying type: string
type ListManagedInstanceUpdatablePackagesSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstanceUpdatablePackagesSortOrderEnum
const ( ListManagedInstanceUpdatablePackagesSortOrderAsc ListManagedInstanceUpdatablePackagesSortOrderEnum = "ASC" ListManagedInstanceUpdatablePackagesSortOrderDesc ListManagedInstanceUpdatablePackagesSortOrderEnum = "DESC" )
func GetListManagedInstanceUpdatablePackagesSortOrderEnumValues() []ListManagedInstanceUpdatablePackagesSortOrderEnum
GetListManagedInstanceUpdatablePackagesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceUpdatablePackagesSortOrderEnum
func GetMappingListManagedInstanceUpdatablePackagesSortOrderEnum(val string) (ListManagedInstanceUpdatablePackagesSortOrderEnum, bool)
GetMappingListManagedInstanceUpdatablePackagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedInstancesRequest wrapper for the ListManagedInstances operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstances.go.html to see an example of how to use ListManagedInstancesRequest.
type ListManagedInstancesRequest struct { // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A filter to return resources that match the given display names. DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // The OCID of the managed instance for which to list resources. ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"` // A filter to return only instances whose managed instance status matches the given status. Status []ManagedInstanceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` // A filter to return only instances whose architecture type matches the given architecture. ArchType []ArchTypeEnum `contributesTo:"query" name:"archType" omitEmpty:"true" collectionFormat:"multi"` // A filter to return only instances whose OS family type matches the given OS family. OsFamily []OsFamilyEnum `contributesTo:"query" name:"osFamily" omitEmpty:"true" collectionFormat:"multi"` // A filter to return only managed instances acting as management stations. IsManagementStation *bool `mandatory:"false" contributesTo:"query" name:"isManagementStation"` // A filter to return only managed instances that are attached to the specified group. Group *string `mandatory:"false" contributesTo:"query" name:"group"` // A filter to return only managed instances that are NOT attached to the specified group. GroupNotEqualTo *string `mandatory:"false" contributesTo:"query" name:"groupNotEqualTo"` // A filter to return only managed instances that are associated with the specified lifecycle environment. LifecycleStage *string `mandatory:"false" contributesTo:"query" name:"lifecycleStage"` // A filter to return only managed instances that are NOT associated with the specified lifecycle environment. LifecycleStageNotEqualTo *string `mandatory:"false" contributesTo:"query" name:"lifecycleStageNotEqualTo"` // A filter to return only managed instances that are attached to the specified group or lifecycle environment. IsAttachedToGroupOrLifecycleStage *bool `mandatory:"false" contributesTo:"query" name:"isAttachedToGroupOrLifecycleStage"` // The OCID for the software source. SoftwareSourceId *string `mandatory:"false" contributesTo:"query" name:"softwareSourceId"` // The assigned erratum name. It's unique and not changeable. // Example: `ELSA-2020-5804` AdvisoryName []string `contributesTo:"query" name:"advisoryName" collectionFormat:"multi"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` 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. SortBy ListManagedInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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 ManagedInstanceCollection instances ManagedInstanceCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). 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
ListManagementStationsRequest wrapper for the ListManagementStations operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagementStations.go.html to see an example of how to use ListManagementStationsRequest.
type ListManagementStationsRequest struct { // The OCID of the compartment that contains the resources to list. 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"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // The current lifecycle state for the object. LifecycleState ManagementStationLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The OCID of the managed instance for which to list resources. ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListManagementStationsSortOrderEnum `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 ListManagementStationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The OCID of the management station. Id *string `mandatory:"false" contributesTo:"query" name:"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 ListManagementStationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagementStationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagementStationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagementStationsRequest) String() string
func (request ListManagementStationsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListManagementStationsResponse wrapper for the ListManagementStations operation
type ListManagementStationsResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagementStationCollection instances ManagementStationCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagementStationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagementStationsResponse) String() string
ListManagementStationsSortByEnum Enum with underlying type: string
type ListManagementStationsSortByEnum string
Set of constants representing the allowable values for ListManagementStationsSortByEnum
const ( ListManagementStationsSortByTimecreated ListManagementStationsSortByEnum = "timeCreated" ListManagementStationsSortByDisplayname ListManagementStationsSortByEnum = "displayName" )
func GetListManagementStationsSortByEnumValues() []ListManagementStationsSortByEnum
GetListManagementStationsSortByEnumValues Enumerates the set of values for ListManagementStationsSortByEnum
func GetMappingListManagementStationsSortByEnum(val string) (ListManagementStationsSortByEnum, bool)
GetMappingListManagementStationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagementStationsSortOrderEnum Enum with underlying type: string
type ListManagementStationsSortOrderEnum string
Set of constants representing the allowable values for ListManagementStationsSortOrderEnum
const ( ListManagementStationsSortOrderAsc ListManagementStationsSortOrderEnum = "ASC" ListManagementStationsSortOrderDesc ListManagementStationsSortOrderEnum = "DESC" )
func GetListManagementStationsSortOrderEnumValues() []ListManagementStationsSortOrderEnum
GetListManagementStationsSortOrderEnumValues Enumerates the set of values for ListManagementStationsSortOrderEnum
func GetMappingListManagementStationsSortOrderEnum(val string) (ListManagementStationsSortOrderEnum, bool)
GetMappingListManagementStationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListMirrorsRequest wrapper for the ListMirrors operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListMirrors.go.html to see an example of how to use ListMirrorsRequest.
type ListMirrorsRequest struct { // The OCID of the management station. ManagementStationId *string `mandatory:"true" contributesTo:"path" name:"managementStationId"` // 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"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListMirrorsSortOrderEnum `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 ListMirrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // List of Mirror state to filter by MirrorStates []MirrorStateEnum `contributesTo:"query" name:"mirrorStates" omitEmpty:"true" collectionFormat:"multi"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListMirrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMirrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMirrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMirrorsRequest) String() string
func (request ListMirrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListMirrorsResponse wrapper for the ListMirrors operation
type ListMirrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of MirrorsCollection instances MirrorsCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListMirrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMirrorsResponse) String() string
ListMirrorsSortByEnum Enum with underlying type: string
type ListMirrorsSortByEnum string
Set of constants representing the allowable values for ListMirrorsSortByEnum
const ( ListMirrorsSortByTimecreated ListMirrorsSortByEnum = "timeCreated" ListMirrorsSortByDisplayname ListMirrorsSortByEnum = "displayName" )
func GetListMirrorsSortByEnumValues() []ListMirrorsSortByEnum
GetListMirrorsSortByEnumValues Enumerates the set of values for ListMirrorsSortByEnum
func GetMappingListMirrorsSortByEnum(val string) (ListMirrorsSortByEnum, bool)
GetMappingListMirrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListMirrorsSortOrderEnum Enum with underlying type: string
type ListMirrorsSortOrderEnum string
Set of constants representing the allowable values for ListMirrorsSortOrderEnum
const ( ListMirrorsSortOrderAsc ListMirrorsSortOrderEnum = "ASC" ListMirrorsSortOrderDesc ListMirrorsSortOrderEnum = "DESC" )
func GetListMirrorsSortOrderEnumValues() []ListMirrorsSortOrderEnum
GetListMirrorsSortOrderEnumValues Enumerates the set of values for ListMirrorsSortOrderEnum
func GetMappingListMirrorsSortOrderEnum(val string) (ListMirrorsSortOrderEnum, bool)
GetMappingListMirrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListModuleStreamProfilesRequest wrapper for the ListModuleStreamProfiles operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListModuleStreamProfiles.go.html to see an example of how to use ListModuleStreamProfilesRequest.
type ListModuleStreamProfilesRequest struct { // The software source OCID. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // 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 entity to be queried. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` 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 moduleName is ascending. SortBy ListModuleStreamProfilesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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 ModuleStreamProfileCollection instances ModuleStreamProfileCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). 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 ( ListModuleStreamProfilesSortByModulename ListModuleStreamProfilesSortByEnum = "moduleName" )
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
ListModuleStreamsRequest wrapper for the ListModuleStreams operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListModuleStreams.go.html to see an example of how to use ListModuleStreamsRequest.
type ListModuleStreamsRequest struct { // The software source OCID. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // 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 entity to be queried. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A boolean variable that is used to list only the latest versions of packages, module streams, // and stream profiles when set to true. All packages, module streams, and stream profiles are // returned when set to false. IsLatest *bool `mandatory:"false" contributesTo:"query" name:"isLatest"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` 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 moduleName is ascending. SortBy ListModuleStreamsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // A filter to return resources that may partially match the module name given. ModuleNameContains *string `mandatory:"false" contributesTo:"query" name:"moduleNameContains"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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 ModuleStreamCollection instances ModuleStreamCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). 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 ( ListModuleStreamsSortByModulename ListModuleStreamsSortByEnum = "moduleName" )
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
ListPackageGroupsRequest wrapper for the ListPackageGroups operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListPackageGroups.go.html to see an example of how to use ListPackageGroupsRequest.
type ListPackageGroupsRequest struct { // The software source OCID. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The name of the entity to be queried. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A filter to return resources that may partially match the name given. NameContains *string `mandatory:"false" contributesTo:"query" name:"nameContains"` // A filter to return only package groups of the specified type. GroupType []PackageGroupGroupTypeEnum `contributesTo:"query" name:"groupType" omitEmpty:"true" collectionFormat:"multi"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListPackageGroupsSortOrderEnum `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. SortBy ListPackageGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListPackageGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListPackageGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListPackageGroupsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListPackageGroupsRequest) String() string
func (request ListPackageGroupsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListPackageGroupsResponse wrapper for the ListPackageGroups operation
type ListPackageGroupsResponse struct { // The underlying http response RawResponse *http.Response // A list of PackageGroupCollection instances PackageGroupCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListPackageGroupsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListPackageGroupsResponse) String() string
ListPackageGroupsSortByEnum Enum with underlying type: string
type ListPackageGroupsSortByEnum string
Set of constants representing the allowable values for ListPackageGroupsSortByEnum
const ( ListPackageGroupsSortByTimecreated ListPackageGroupsSortByEnum = "timeCreated" ListPackageGroupsSortByDisplayname ListPackageGroupsSortByEnum = "displayName" )
func GetListPackageGroupsSortByEnumValues() []ListPackageGroupsSortByEnum
GetListPackageGroupsSortByEnumValues Enumerates the set of values for ListPackageGroupsSortByEnum
func GetMappingListPackageGroupsSortByEnum(val string) (ListPackageGroupsSortByEnum, bool)
GetMappingListPackageGroupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListPackageGroupsSortOrderEnum Enum with underlying type: string
type ListPackageGroupsSortOrderEnum string
Set of constants representing the allowable values for ListPackageGroupsSortOrderEnum
const ( ListPackageGroupsSortOrderAsc ListPackageGroupsSortOrderEnum = "ASC" ListPackageGroupsSortOrderDesc ListPackageGroupsSortOrderEnum = "DESC" )
func GetListPackageGroupsSortOrderEnumValues() []ListPackageGroupsSortOrderEnum
GetListPackageGroupsSortOrderEnumValues Enumerates the set of values for ListPackageGroupsSortOrderEnum
func GetMappingListPackageGroupsSortOrderEnum(val string) (ListPackageGroupsSortOrderEnum, bool)
GetMappingListPackageGroupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListProfilesArchTypeEnum Enum with underlying type: string
type ListProfilesArchTypeEnum string
Set of constants representing the allowable values for ListProfilesArchTypeEnum
const ( ListProfilesArchTypeX8664 ListProfilesArchTypeEnum = "X86_64" ListProfilesArchTypeAarch64 ListProfilesArchTypeEnum = "AARCH64" ListProfilesArchTypeI686 ListProfilesArchTypeEnum = "I686" ListProfilesArchTypeNoarch ListProfilesArchTypeEnum = "NOARCH" ListProfilesArchTypeSrc ListProfilesArchTypeEnum = "SRC" )
func GetListProfilesArchTypeEnumValues() []ListProfilesArchTypeEnum
GetListProfilesArchTypeEnumValues Enumerates the set of values for ListProfilesArchTypeEnum
func GetMappingListProfilesArchTypeEnum(val string) (ListProfilesArchTypeEnum, bool)
GetMappingListProfilesArchTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListProfilesOsFamilyEnum Enum with underlying type: string
type ListProfilesOsFamilyEnum string
Set of constants representing the allowable values for ListProfilesOsFamilyEnum
const ( ListProfilesOsFamily9 ListProfilesOsFamilyEnum = "ORACLE_LINUX_9" ListProfilesOsFamily8 ListProfilesOsFamilyEnum = "ORACLE_LINUX_8" ListProfilesOsFamily7 ListProfilesOsFamilyEnum = "ORACLE_LINUX_7" )
func GetListProfilesOsFamilyEnumValues() []ListProfilesOsFamilyEnum
GetListProfilesOsFamilyEnumValues Enumerates the set of values for ListProfilesOsFamilyEnum
func GetMappingListProfilesOsFamilyEnum(val string) (ListProfilesOsFamilyEnum, bool)
GetMappingListProfilesOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum
ListProfilesRequest wrapper for the ListProfiles operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListProfiles.go.html to see an example of how to use ListProfilesRequest.
type ListProfilesRequest struct { // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A filter to return resources that match the given display names. DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // A filter to return registration profiles that match the given profileType. ProfileType []ProfileTypeEnum `contributesTo:"query" name:"profileType" omitEmpty:"true" collectionFormat:"multi"` // The OCID of the registration profile. ProfileId *string `mandatory:"false" contributesTo:"query" name:"profileId"` // A filter to return only profiles that match the given osFamily. OsFamily ListProfilesOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"` // A filter to return only profiles that match the given archType. ArchType ListProfilesArchTypeEnum `mandatory:"false" contributesTo:"query" name:"archType" omitEmpty:"true"` // A filter to return only profiles that match the given vendorName. VendorName ListProfilesVendorNameEnum `mandatory:"false" contributesTo:"query" name:"vendorName" omitEmpty:"true"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only registration profile whose lifecycleState matches the given lifecycleState. LifecycleState ProfileLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListProfilesSortOrderEnum `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. SortBy ListProfilesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListProfilesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListProfilesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProfilesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProfilesRequest) String() string
func (request ListProfilesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListProfilesResponse wrapper for the ListProfiles operation
type ListProfilesResponse struct { // The underlying http response RawResponse *http.Response // A list of ProfileCollection instances ProfileCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListProfilesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProfilesResponse) String() string
ListProfilesSortByEnum Enum with underlying type: string
type ListProfilesSortByEnum string
Set of constants representing the allowable values for ListProfilesSortByEnum
const ( ListProfilesSortByTimecreated ListProfilesSortByEnum = "timeCreated" ListProfilesSortByDisplayname ListProfilesSortByEnum = "displayName" )
func GetListProfilesSortByEnumValues() []ListProfilesSortByEnum
GetListProfilesSortByEnumValues Enumerates the set of values for ListProfilesSortByEnum
func GetMappingListProfilesSortByEnum(val string) (ListProfilesSortByEnum, bool)
GetMappingListProfilesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListProfilesSortOrderEnum Enum with underlying type: string
type ListProfilesSortOrderEnum string
Set of constants representing the allowable values for ListProfilesSortOrderEnum
const ( ListProfilesSortOrderAsc ListProfilesSortOrderEnum = "ASC" ListProfilesSortOrderDesc ListProfilesSortOrderEnum = "DESC" )
func GetListProfilesSortOrderEnumValues() []ListProfilesSortOrderEnum
GetListProfilesSortOrderEnumValues Enumerates the set of values for ListProfilesSortOrderEnum
func GetMappingListProfilesSortOrderEnum(val string) (ListProfilesSortOrderEnum, bool)
GetMappingListProfilesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListProfilesVendorNameEnum Enum with underlying type: string
type ListProfilesVendorNameEnum string
Set of constants representing the allowable values for ListProfilesVendorNameEnum
const ( ListProfilesVendorNameOracle ListProfilesVendorNameEnum = "ORACLE" )
func GetListProfilesVendorNameEnumValues() []ListProfilesVendorNameEnum
GetListProfilesVendorNameEnumValues Enumerates the set of values for ListProfilesVendorNameEnum
func GetMappingListProfilesVendorNameEnum(val string) (ListProfilesVendorNameEnum, bool)
GetMappingListProfilesVendorNameEnum 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 ( ListScheduledJobsOperationTypeInstallPackages ListScheduledJobsOperationTypeEnum = "INSTALL_PACKAGES" ListScheduledJobsOperationTypeUpdatePackages ListScheduledJobsOperationTypeEnum = "UPDATE_PACKAGES" ListScheduledJobsOperationTypeRemovePackages ListScheduledJobsOperationTypeEnum = "REMOVE_PACKAGES" ListScheduledJobsOperationTypeUpdateAll ListScheduledJobsOperationTypeEnum = "UPDATE_ALL" ListScheduledJobsOperationTypeUpdateSecurity ListScheduledJobsOperationTypeEnum = "UPDATE_SECURITY" ListScheduledJobsOperationTypeUpdateBugfix ListScheduledJobsOperationTypeEnum = "UPDATE_BUGFIX" ListScheduledJobsOperationTypeUpdateEnhancement ListScheduledJobsOperationTypeEnum = "UPDATE_ENHANCEMENT" ListScheduledJobsOperationTypeUpdateOther ListScheduledJobsOperationTypeEnum = "UPDATE_OTHER" ListScheduledJobsOperationTypeUpdateKspliceUserspace ListScheduledJobsOperationTypeEnum = "UPDATE_KSPLICE_USERSPACE" ListScheduledJobsOperationTypeUpdateKspliceKernel ListScheduledJobsOperationTypeEnum = "UPDATE_KSPLICE_KERNEL" ListScheduledJobsOperationTypeManageModuleStreams ListScheduledJobsOperationTypeEnum = "MANAGE_MODULE_STREAMS" ListScheduledJobsOperationTypeSwitchModuleStream ListScheduledJobsOperationTypeEnum = "SWITCH_MODULE_STREAM" ListScheduledJobsOperationTypeAttachSoftwareSources ListScheduledJobsOperationTypeEnum = "ATTACH_SOFTWARE_SOURCES" ListScheduledJobsOperationTypeDetachSoftwareSources ListScheduledJobsOperationTypeEnum = "DETACH_SOFTWARE_SOURCES" ListScheduledJobsOperationTypeSyncManagementStationMirror ListScheduledJobsOperationTypeEnum = "SYNC_MANAGEMENT_STATION_MIRROR" ListScheduledJobsOperationTypePromoteLifecycle ListScheduledJobsOperationTypeEnum = "PROMOTE_LIFECYCLE" )
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
ListScheduledJobsRequest wrapper for the ListScheduledJobs operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListScheduledJobs.go.html to see an example of how to use ListScheduledJobsRequest.
type ListScheduledJobsRequest struct { // The OCID of the compartment that contains the resources to list. 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"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // A filter to return only resources their lifecycleState matches the given lifecycleState. LifecycleState ScheduledJobLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The OCID of the managed instance for which to list resources. ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"` // The OCID of the managed instance group for which to list resources. ManagedInstanceGroupId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceGroupId"` // The OCID of the managed compartment for which to list resources. ManagedCompartmentId *string `mandatory:"false" contributesTo:"query" name:"managedCompartmentId"` // The OCID of the lifecycle stage for which to list resources. LifecycleStageId *string `mandatory:"false" contributesTo:"query" name:"lifecycleStageId"` // The operation type for which to list resources. OperationType ListScheduledJobsOperationTypeEnum `mandatory:"false" contributesTo:"query" name:"operationType" omitEmpty:"true"` // The schedule type for which to list resources. ScheduleType ListScheduledJobsScheduleTypeEnum `mandatory:"false" contributesTo:"query" name:"scheduleType" omitEmpty:"true"` // The start time after which to list all schedules, in ISO 8601 format. // Example: 2017-07-14T02:40:00.000Z TimeStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStart"` // 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:"false" contributesTo:"query" name:"timeEnd"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` 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. SortBy ListScheduledJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // If true, will only filter out restricted scheduled job. IsRestricted *bool `mandatory:"false" contributesTo:"query" name:"isRestricted"` // The OCID of the scheduled job. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // Default is false. When set to true ,returns results from {compartmentId} or any of its subcompartment. CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"` // 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 ScheduledJobCollection instances ScheduledJobCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListScheduledJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListScheduledJobsResponse) String() string
ListScheduledJobsScheduleTypeEnum Enum with underlying type: string
type ListScheduledJobsScheduleTypeEnum string
Set of constants representing the allowable values for ListScheduledJobsScheduleTypeEnum
const ( ListScheduledJobsScheduleTypeOnetime ListScheduledJobsScheduleTypeEnum = "ONETIME" ListScheduledJobsScheduleTypeRecurring ListScheduledJobsScheduleTypeEnum = "RECURRING" )
func GetListScheduledJobsScheduleTypeEnumValues() []ListScheduledJobsScheduleTypeEnum
GetListScheduledJobsScheduleTypeEnumValues Enumerates the set of values for ListScheduledJobsScheduleTypeEnum
func GetMappingListScheduledJobsScheduleTypeEnum(val string) (ListScheduledJobsScheduleTypeEnum, bool)
GetMappingListScheduledJobsScheduleTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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
ListSoftwarePackagesRequest wrapper for the ListSoftwarePackages operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListSoftwarePackages.go.html to see an example of how to use ListSoftwarePackagesRequest.
type ListSoftwarePackagesRequest struct { // The software source OCID. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // 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"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // A boolean variable that is used to list only the latest versions of packages, module streams, // and stream profiles when set to true. All packages, module streams, and stream profiles are // returned when set to false. IsLatest *bool `mandatory:"false" contributesTo:"query" name:"isLatest"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListSoftwarePackagesSortOrderEnum `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. SortBy ListSoftwarePackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListSoftwarePackagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSoftwarePackagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSoftwarePackagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSoftwarePackagesRequest) String() string
func (request ListSoftwarePackagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListSoftwarePackagesResponse wrapper for the ListSoftwarePackages operation
type ListSoftwarePackagesResponse struct { // The underlying http response RawResponse *http.Response // A list of SoftwarePackageCollection instances SoftwarePackageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListSoftwarePackagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSoftwarePackagesResponse) String() string
ListSoftwarePackagesSortByEnum Enum with underlying type: string
type ListSoftwarePackagesSortByEnum string
Set of constants representing the allowable values for ListSoftwarePackagesSortByEnum
const ( ListSoftwarePackagesSortByTimecreated ListSoftwarePackagesSortByEnum = "timeCreated" ListSoftwarePackagesSortByDisplayname ListSoftwarePackagesSortByEnum = "displayName" )
func GetListSoftwarePackagesSortByEnumValues() []ListSoftwarePackagesSortByEnum
GetListSoftwarePackagesSortByEnumValues Enumerates the set of values for ListSoftwarePackagesSortByEnum
func GetMappingListSoftwarePackagesSortByEnum(val string) (ListSoftwarePackagesSortByEnum, bool)
GetMappingListSoftwarePackagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSoftwarePackagesSortOrderEnum Enum with underlying type: string
type ListSoftwarePackagesSortOrderEnum string
Set of constants representing the allowable values for ListSoftwarePackagesSortOrderEnum
const ( ListSoftwarePackagesSortOrderAsc ListSoftwarePackagesSortOrderEnum = "ASC" ListSoftwarePackagesSortOrderDesc ListSoftwarePackagesSortOrderEnum = "DESC" )
func GetListSoftwarePackagesSortOrderEnumValues() []ListSoftwarePackagesSortOrderEnum
GetListSoftwarePackagesSortOrderEnumValues Enumerates the set of values for ListSoftwarePackagesSortOrderEnum
func GetMappingListSoftwarePackagesSortOrderEnum(val string) (ListSoftwarePackagesSortOrderEnum, bool)
GetMappingListSoftwarePackagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSoftwareSourceVendorsRequest wrapper for the ListSoftwareSourceVendors operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListSoftwareSourceVendors.go.html to see an example of how to use ListSoftwareSourceVendorsRequest.
type ListSoftwareSourceVendorsRequest struct { // The OCID of the compartment that contains the resources to list. This parameter is required. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListSoftwareSourceVendorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort software source vendors by. Only one sort order may be provided. Default order for name is ascending. SortBy ListSoftwareSourceVendorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The name of the entity to be queried. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // 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 ListSoftwareSourceVendorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSoftwareSourceVendorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSoftwareSourceVendorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSoftwareSourceVendorsRequest) String() string
func (request ListSoftwareSourceVendorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListSoftwareSourceVendorsResponse wrapper for the ListSoftwareSourceVendors operation
type ListSoftwareSourceVendorsResponse struct { // The underlying http response RawResponse *http.Response // The SoftwareSourceVendorCollection instance SoftwareSourceVendorCollection `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 ListSoftwareSourceVendorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSoftwareSourceVendorsResponse) String() string
ListSoftwareSourceVendorsSortByEnum Enum with underlying type: string
type ListSoftwareSourceVendorsSortByEnum string
Set of constants representing the allowable values for ListSoftwareSourceVendorsSortByEnum
const ( ListSoftwareSourceVendorsSortByName ListSoftwareSourceVendorsSortByEnum = "name" )
func GetListSoftwareSourceVendorsSortByEnumValues() []ListSoftwareSourceVendorsSortByEnum
GetListSoftwareSourceVendorsSortByEnumValues Enumerates the set of values for ListSoftwareSourceVendorsSortByEnum
func GetMappingListSoftwareSourceVendorsSortByEnum(val string) (ListSoftwareSourceVendorsSortByEnum, bool)
GetMappingListSoftwareSourceVendorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSoftwareSourceVendorsSortOrderEnum Enum with underlying type: string
type ListSoftwareSourceVendorsSortOrderEnum string
Set of constants representing the allowable values for ListSoftwareSourceVendorsSortOrderEnum
const ( ListSoftwareSourceVendorsSortOrderAsc ListSoftwareSourceVendorsSortOrderEnum = "ASC" ListSoftwareSourceVendorsSortOrderDesc ListSoftwareSourceVendorsSortOrderEnum = "DESC" )
func GetListSoftwareSourceVendorsSortOrderEnumValues() []ListSoftwareSourceVendorsSortOrderEnum
GetListSoftwareSourceVendorsSortOrderEnumValues Enumerates the set of values for ListSoftwareSourceVendorsSortOrderEnum
func GetMappingListSoftwareSourceVendorsSortOrderEnum(val string) (ListSoftwareSourceVendorsSortOrderEnum, bool)
GetMappingListSoftwareSourceVendorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSoftwareSourcesRequest wrapper for the ListSoftwareSources operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListSoftwareSources.go.html to see an example of how to use ListSoftwareSourcesRequest.
type ListSoftwareSourcesRequest struct { // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The OCID for the software source. SoftwareSourceId *string `mandatory:"false" contributesTo:"query" name:"softwareSourceId"` // The type of the software source. SoftwareSourceType []SoftwareSourceTypeEnum `contributesTo:"query" name:"softwareSourceType" omitEmpty:"true" collectionFormat:"multi"` // A filter to return only profiles that match the given vendorName. VendorName ListSoftwareSourcesVendorNameEnum `mandatory:"false" contributesTo:"query" name:"vendorName" omitEmpty:"true"` // A filter to return only instances whose OS family type matches the given OS family. OsFamily []OsFamilyEnum `contributesTo:"query" name:"osFamily" omitEmpty:"true" collectionFormat:"multi"` // A filter to return only instances whose architecture type matches the given architecture. ArchType []ArchTypeEnum `contributesTo:"query" name:"archType" omitEmpty:"true" collectionFormat:"multi"` // The availabilities of the software source for a tenant. Availability []AvailabilityEnum `contributesTo:"query" name:"availability" omitEmpty:"true" collectionFormat:"multi"` // 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"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // A multi filter to return resources that do not contains the given display names. DisplayNameNotEqualTo []string `contributesTo:"query" name:"displayNameNotEqualTo" collectionFormat:"multi"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` 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. SortBy ListSoftwareSourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // A filter to return only resources whose lifecycleState matches the given lifecycleStates. LifecycleState []SoftwareSourceLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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 SoftwareSourceCollection instances SoftwareSourceCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). 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
ListSoftwareSourcesVendorNameEnum Enum with underlying type: string
type ListSoftwareSourcesVendorNameEnum string
Set of constants representing the allowable values for ListSoftwareSourcesVendorNameEnum
const ( ListSoftwareSourcesVendorNameOracle ListSoftwareSourcesVendorNameEnum = "ORACLE" )
func GetListSoftwareSourcesVendorNameEnumValues() []ListSoftwareSourcesVendorNameEnum
GetListSoftwareSourcesVendorNameEnumValues Enumerates the set of values for ListSoftwareSourcesVendorNameEnum
func GetMappingListSoftwareSourcesVendorNameEnum(val string) (ListSoftwareSourcesVendorNameEnum, bool)
GetMappingListSoftwareSourcesVendorNameEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order may be provided. // Default order for timeCreated is descending. SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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 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 WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order may be provided. // Default order for timeCreated is descending. SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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 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 WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
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
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // The OCID of the compartment that contains the resources to list. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The OCID of the work request. WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // A filter to return work requests that match the given status. Status []OperationStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` // The OCID of the resource affected by the work request. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // 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. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The OCID of the schedule job that initiated the work request. InitiatorId *string `mandatory:"false" contributesTo:"query" name:"initiatorId"` // The OCID of the parent work request. ParentId *string `mandatory:"false" contributesTo:"query" name:"parentId"` // A filter to return the resources whose parent resources are not the same as the given resource OCID(s). ParentResourcesNotEqualTo []string `contributesTo:"query" name:"parentResourcesNotEqualTo" collectionFormat:"multi"` // The asynchronous operation tracked by this work request. The filter returns only resources that match the given OperationType. OperationType []WorkRequestOperationTypeEnum `contributesTo:"query" name:"operationType" omitEmpty:"true" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // 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 WorkRequestSummaryCollection instances WorkRequestSummaryCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). 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
ManageModuleStreamsInScheduledJobDetails The set of changes to make to the state of the modules, streams, and profiles on the managed target.
type ManageModuleStreamsInScheduledJobDetails struct { // 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 ManageModuleStreamsInScheduledJobDetails) String() string
func (m ManageModuleStreamsInScheduledJobDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 committed. 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"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
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
ManageModuleStreamsOnManagedInstanceGroupDetails The set of changes to make to the state of the modules, streams, and profiles on a managed instance group.
type ManageModuleStreamsOnManagedInstanceGroupDetails struct { // Indicates if this operation is a dry run or if the operation // should be committed. 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(s). 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"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m ManageModuleStreamsOnManagedInstanceGroupDetails) String() string
func (m ManageModuleStreamsOnManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManageModuleStreamsOnManagedInstanceGroupRequest wrapper for the ManageModuleStreamsOnManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ManageModuleStreamsOnManagedInstanceGroup.go.html to see an example of how to use ManageModuleStreamsOnManagedInstanceGroupRequest.
type ManageModuleStreamsOnManagedInstanceGroupRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // A description of an operation to perform against the modules, streams, and profiles of a managed instance group ManageModuleStreamsOnManagedInstanceGroupDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ManageModuleStreamsOnManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ManageModuleStreamsOnManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ManageModuleStreamsOnManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ManageModuleStreamsOnManagedInstanceGroupRequest) String() string
func (request ManageModuleStreamsOnManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManageModuleStreamsOnManagedInstanceGroupResponse wrapper for the ManageModuleStreamsOnManagedInstanceGroup operation
type ManageModuleStreamsOnManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 ManageModuleStreamsOnManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ManageModuleStreamsOnManagedInstanceGroupResponse) String() string
ManageModuleStreamsOnManagedInstanceRequest wrapper for the ManageModuleStreamsOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ManageModuleStreamsOnManagedInstance.go.html to see an example of how to use ManageModuleStreamsOnManagedInstanceRequest.
type ManageModuleStreamsOnManagedInstanceRequest struct { // The OCID of 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"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 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 work. You can use this to query its status. 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 { // The OCID for the managed instance. Id *string `mandatory:"true" json:"id"` // Managed instance identifier. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID for the tenancy this managed instance resides in. TenancyId *string `mandatory:"true" json:"tenancyId"` // The OCID for the compartment this managed instance resides in. CompartmentId *string `mandatory:"true" json:"compartmentId"` // status of the managed instance. Status ManagedInstanceStatusEnum `mandatory:"true" json:"status"` // Information specified by the user about the managed instance. Description *string `mandatory:"false" json:"description"` // location of the managed instance. Location ManagedInstanceLocationEnum `mandatory:"false" json:"location,omitempty"` // Time at which the instance last checked in, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeLastCheckin *common.SDKTime `mandatory:"false" json:"timeLastCheckin"` // Time at which the instance last booted, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeLastBoot *common.SDKTime `mandatory:"false" json:"timeLastBoot"` // 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"` // The ksplice effective kernel version. KspliceEffectiveKernelVersion *string `mandatory:"false" json:"kspliceEffectiveKernelVersion"` // The CPU architecture type of the managed instance. Architecture ArchTypeEnum `mandatory:"false" json:"architecture,omitempty"` // The Operating System type of the managed instance. OsFamily OsFamilyEnum `mandatory:"false" json:"osFamily,omitempty"` // The content profile of this instance. Profile *string `mandatory:"false" json:"profile"` // Whether this managed instance is acting as an on-premise management station. IsManagementStation *bool `mandatory:"false" json:"isManagementStation"` // The OCID of a management station to be used as the preferred primary. PrimaryManagementStationId *string `mandatory:"false" json:"primaryManagementStationId"` // The OCID of a management station to be used as the preferred secondary. SecondaryManagementStationId *string `mandatory:"false" json:"secondaryManagementStationId"` // The list of software sources currently attached to the managed instance. SoftwareSources []SoftwareSourceDetails `mandatory:"false" json:"softwareSources"` ManagedInstanceGroup *Id `mandatory:"false" json:"managedInstanceGroup"` LifecycleEnvironment *Id `mandatory:"false" json:"lifecycleEnvironment"` LifecycleStage *Id `mandatory:"false" json:"lifecycleStage"` // Indicates whether a reboot is required to complete installation of updates. IsRebootRequired *bool `mandatory:"false" json:"isRebootRequired"` // Number of packages installed on the system. InstalledPackages *int `mandatory:"false" json:"installedPackages"` // Number of updates available to be installed. UpdatesAvailable *int `mandatory:"false" json:"updatesAvailable"` // 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"` // The date and time the work request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the work request was updated, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` }
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
ManagedInstanceAnalyticCollection Collection of ManagedInstanceAnalyticSummary.
type ManagedInstanceAnalyticCollection struct { // List of managed instance analytic summary. Items []ManagedInstanceAnalyticSummary `mandatory:"true" json:"items"` }
func (m ManagedInstanceAnalyticCollection) String() string
func (m ManagedInstanceAnalyticCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceAnalyticSummary A metric emitted by managed instance resource.
type ManagedInstanceAnalyticSummary struct { // The name of this metric. Name MetricNameEnum `mandatory:"true" json:"name"` // Qualifiers provided in a metric definition. Available dimensions vary by metric namespace. // Each dimension takes the form of a key-value pair. // Example: `"managedInstanceId": "ocid1.managementagent.123"` Dimensions map[string]string `mandatory:"true" json:"dimensions"` // The value of this metric. Count *int `mandatory:"true" json:"count"` }
func (m ManagedInstanceAnalyticSummary) String() string
func (m ManagedInstanceAnalyticSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceClient a client for ManagedInstance
type ManagedInstanceClient struct { common.BaseClient // contains filtered or unexported fields }
func NewManagedInstanceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ManagedInstanceClient, err error)
NewManagedInstanceClientWithConfigurationProvider Creates a new default ManagedInstance client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewManagedInstanceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ManagedInstanceClient, err error)
NewManagedInstanceClientWithOboToken Creates a new default ManagedInstance 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 ManagedInstanceClient) AttachSoftwareSourcesToManagedInstance(ctx context.Context, request AttachSoftwareSourcesToManagedInstanceRequest) (response AttachSoftwareSourcesToManagedInstanceResponse, err error)
AttachSoftwareSourcesToManagedInstance Adds software sources to a managed instance. After the software source has been added, then packages from that software source can be installed on the managed instance.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/AttachSoftwareSourcesToManagedInstance.go.html to see an example of how to use AttachSoftwareSourcesToManagedInstance API. A default retry strategy applies to this operation AttachSoftwareSourcesToManagedInstance()
func (client *ManagedInstanceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client ManagedInstanceClient) DetachSoftwareSourcesFromManagedInstance(ctx context.Context, request DetachSoftwareSourcesFromManagedInstanceRequest) (response DetachSoftwareSourcesFromManagedInstanceResponse, err error)
DetachSoftwareSourcesFromManagedInstance Removes software sources from a managed instance. Packages will no longer be able to be installed from these software sources.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DetachSoftwareSourcesFromManagedInstance.go.html to see an example of how to use DetachSoftwareSourcesFromManagedInstance API. A default retry strategy applies to this operation DetachSoftwareSourcesFromManagedInstance()
func (client ManagedInstanceClient) DisableModuleStreamOnManagedInstance(ctx context.Context, request DisableModuleStreamOnManagedInstanceRequest) (response DisableModuleStreamOnManagedInstanceResponse, err error)
DisableModuleStreamOnManagedInstance Disables a module stream on a managed instance. After the stream is disabled, it is no longer possible to install the profiles that are contained by the stream. All installed profiles must be removed prior to disabling a module stream.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DisableModuleStreamOnManagedInstance.go.html to see an example of how to use DisableModuleStreamOnManagedInstance API. A default retry strategy applies to this operation DisableModuleStreamOnManagedInstance()
func (client ManagedInstanceClient) EnableModuleStreamOnManagedInstance(ctx context.Context, request EnableModuleStreamOnManagedInstanceRequest) (response EnableModuleStreamOnManagedInstanceResponse, err error)
EnableModuleStreamOnManagedInstance Enables a module stream on a managed instance. After the stream is enabled, it is possible to install the profiles that are contained by the stream. Enabling a stream that is already enabled will succeed. Attempting to enable a different stream for a module that already has a stream enabled results in an error.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/EnableModuleStreamOnManagedInstance.go.html to see an example of how to use EnableModuleStreamOnManagedInstance API. A default retry strategy applies to this operation EnableModuleStreamOnManagedInstance()
func (client ManagedInstanceClient) GetManagedInstance(ctx context.Context, request GetManagedInstanceRequest) (response GetManagedInstanceResponse, err error)
GetManagedInstance Gets information about the specified managed instance.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetManagedInstance.go.html to see an example of how to use GetManagedInstance API. A default retry strategy applies to this operation GetManagedInstance()
func (client ManagedInstanceClient) InstallModuleStreamProfileOnManagedInstance(ctx context.Context, request InstallModuleStreamProfileOnManagedInstanceRequest) (response InstallModuleStreamProfileOnManagedInstanceResponse, err error)
InstallModuleStreamProfileOnManagedInstance Installs a profile for an module stream. The stream must be enabled before a profile can be installed. If a module stream defines multiple profiles, each one can be installed independently.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/InstallModuleStreamProfileOnManagedInstance.go.html to see an example of how to use InstallModuleStreamProfileOnManagedInstance API. A default retry strategy applies to this operation InstallModuleStreamProfileOnManagedInstance()
func (client ManagedInstanceClient) InstallPackagesOnManagedInstance(ctx context.Context, request InstallPackagesOnManagedInstanceRequest) (response InstallPackagesOnManagedInstanceResponse, err error)
InstallPackagesOnManagedInstance Installs packages on a managed instance.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/InstallPackagesOnManagedInstance.go.html to see an example of how to use InstallPackagesOnManagedInstance API. A default retry strategy applies to this operation InstallPackagesOnManagedInstance()
func (client ManagedInstanceClient) ListManagedInstanceAvailablePackages(ctx context.Context, request ListManagedInstanceAvailablePackagesRequest) (response ListManagedInstanceAvailablePackagesResponse, err error)
ListManagedInstanceAvailablePackages Returns a list of available packages for a managed instance.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceAvailablePackages.go.html to see an example of how to use ListManagedInstanceAvailablePackages API. A default retry strategy applies to this operation ListManagedInstanceAvailablePackages()
func (client ManagedInstanceClient) ListManagedInstanceAvailableSoftwareSources(ctx context.Context, request ListManagedInstanceAvailableSoftwareSourcesRequest) (response ListManagedInstanceAvailableSoftwareSourcesResponse, err error)
ListManagedInstanceAvailableSoftwareSources Returns a list of available software sources for a managed instance.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceAvailableSoftwareSources.go.html to see an example of how to use ListManagedInstanceAvailableSoftwareSources API. A default retry strategy applies to this operation ListManagedInstanceAvailableSoftwareSources()
func (client ManagedInstanceClient) ListManagedInstanceErrata(ctx context.Context, request ListManagedInstanceErrataRequest) (response ListManagedInstanceErrataResponse, err error)
ListManagedInstanceErrata Returns a list of applicable errata on the managed instance.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceErrata.go.html to see an example of how to use ListManagedInstanceErrata API. A default retry strategy applies to this operation ListManagedInstanceErrata()
func (client ManagedInstanceClient) ListManagedInstanceInstalledPackages(ctx context.Context, request ListManagedInstanceInstalledPackagesRequest) (response ListManagedInstanceInstalledPackagesResponse, err error)
ListManagedInstanceInstalledPackages Lists the packages that are installed on the managed instance.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceInstalledPackages.go.html to see an example of how to use ListManagedInstanceInstalledPackages API. A default retry strategy applies to this operation ListManagedInstanceInstalledPackages()
func (client ManagedInstanceClient) ListManagedInstanceModules(ctx context.Context, request ListManagedInstanceModulesRequest) (response ListManagedInstanceModulesResponse, err error)
ListManagedInstanceModules Retrieve a list of modules, along with streams of the modules, from a managed instance. Filters may be applied to select a subset of modules based on the filter criteria. The 'name' attribute filters against the name of a module. It accepts strings of the format "<string>". The 'nameContains' attribute filters against the name of a module based on partial match. It accepts strings of the format "<string>". If this attribute is defined, only matching modules are included in the result set. If it is not defined, the request is not subject to this filter.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceModules.go.html to see an example of how to use ListManagedInstanceModules API. A default retry strategy applies to this operation ListManagedInstanceModules()
func (client ManagedInstanceClient) ListManagedInstanceUpdatablePackages(ctx context.Context, request ListManagedInstanceUpdatablePackagesRequest) (response ListManagedInstanceUpdatablePackagesResponse, err error)
ListManagedInstanceUpdatablePackages Returns a list of updatable packages for a managed instance.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceUpdatablePackages.go.html to see an example of how to use ListManagedInstanceUpdatablePackages API. A default retry strategy applies to this operation ListManagedInstanceUpdatablePackages()
func (client ManagedInstanceClient) ListManagedInstances(ctx context.Context, request ListManagedInstancesRequest) (response ListManagedInstancesResponse, err error)
ListManagedInstances Lists managed instances that match the specified compartment or managed instance OCID. Filter the list against a variety of criteria including but not limited to its name, status, architecture, and OS version.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstances.go.html to see an example of how to use ListManagedInstances API. A default retry strategy applies to this operation ListManagedInstances()
func (client ManagedInstanceClient) 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 work request object. The returned work request 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 Hub 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 work requests. The impact of operations that are allowed by the OS Management Hub service are communicated as one or more work request log entries. Operations that are not allowed by the OS Management Hub service are communicated as one or more work request error entries. Each entry, for either logs or errors, contains a structured message containing the results of one or more operations.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ManageModuleStreamsOnManagedInstance.go.html to see an example of how to use ManageModuleStreamsOnManagedInstance API. A default retry strategy applies to this operation ManageModuleStreamsOnManagedInstance()
func (client ManagedInstanceClient) RefreshSoftwareOnManagedInstance(ctx context.Context, request RefreshSoftwareOnManagedInstanceRequest) (response RefreshSoftwareOnManagedInstanceResponse, err error)
RefreshSoftwareOnManagedInstance Refresh all installed and updatable software information on a managed instance.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/RefreshSoftwareOnManagedInstance.go.html to see an example of how to use RefreshSoftwareOnManagedInstance API. A default retry strategy applies to this operation RefreshSoftwareOnManagedInstance()
func (client ManagedInstanceClient) RemoveModuleStreamProfileFromManagedInstance(ctx context.Context, request RemoveModuleStreamProfileFromManagedInstanceRequest) (response RemoveModuleStreamProfileFromManagedInstanceResponse, err error)
RemoveModuleStreamProfileFromManagedInstance Removes a profile for a module stream that is installed on a managed instance. If a module stream is provided, rather than a fully qualified profile, all profiles that have been installed for the module stream will be removed.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/RemoveModuleStreamProfileFromManagedInstance.go.html to see an example of how to use RemoveModuleStreamProfileFromManagedInstance API. A default retry strategy applies to this operation RemoveModuleStreamProfileFromManagedInstance()
func (client ManagedInstanceClient) RemovePackagesFromManagedInstance(ctx context.Context, request RemovePackagesFromManagedInstanceRequest) (response RemovePackagesFromManagedInstanceResponse, err error)
RemovePackagesFromManagedInstance Removes an installed package from a managed instance.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/RemovePackagesFromManagedInstance.go.html to see an example of how to use RemovePackagesFromManagedInstance API. A default retry strategy applies to this operation RemovePackagesFromManagedInstance()
func (client *ManagedInstanceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client ManagedInstanceClient) SwitchModuleStreamOnManagedInstance(ctx context.Context, request SwitchModuleStreamOnManagedInstanceRequest) (response SwitchModuleStreamOnManagedInstanceResponse, err error)
SwitchModuleStreamOnManagedInstance Enables a new stream for a module that already has a stream enabled. If any profiles or packages from the original module are installed, switching to a new stream will remove the existing packages and install their counterparts in the new stream.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/SwitchModuleStreamOnManagedInstance.go.html to see an example of how to use SwitchModuleStreamOnManagedInstance API. A default retry strategy applies to this operation SwitchModuleStreamOnManagedInstance()
func (client ManagedInstanceClient) UpdateAllPackagesOnManagedInstancesInCompartment(ctx context.Context, request UpdateAllPackagesOnManagedInstancesInCompartmentRequest) (response UpdateAllPackagesOnManagedInstancesInCompartmentResponse, err error)
UpdateAllPackagesOnManagedInstancesInCompartment Install all of the available package updates for all of the managed instances in a compartment.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateAllPackagesOnManagedInstancesInCompartment.go.html to see an example of how to use UpdateAllPackagesOnManagedInstancesInCompartment API. A default retry strategy applies to this operation UpdateAllPackagesOnManagedInstancesInCompartment()
func (client ManagedInstanceClient) UpdateManagedInstance(ctx context.Context, request UpdateManagedInstanceRequest) (response UpdateManagedInstanceResponse, err error)
UpdateManagedInstance Updates the managed instance.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateManagedInstance.go.html to see an example of how to use UpdateManagedInstance API. A default retry strategy applies to this operation UpdateManagedInstance()
func (client ManagedInstanceClient) UpdatePackagesOnManagedInstance(ctx context.Context, request UpdatePackagesOnManagedInstanceRequest) (response UpdatePackagesOnManagedInstanceResponse, err error)
UpdatePackagesOnManagedInstance Updates a package on a managed instance.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdatePackagesOnManagedInstance.go.html to see an example of how to use UpdatePackagesOnManagedInstance API. A default retry strategy applies to this operation UpdatePackagesOnManagedInstance()
ManagedInstanceCollection Results of a managed instance search. Contains both managed instance summary items and other data.
type ManagedInstanceCollection struct { // List of managed instances. Items []ManagedInstanceSummary `mandatory:"true" json:"items"` }
func (m ManagedInstanceCollection) String() string
func (m ManagedInstanceCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceDetails Identifying information for the specified managed instance.
type ManagedInstanceDetails struct { // The OCID of the managed instance. Id *string `mandatory:"true" json:"id"` // Managed instance name. DisplayName *string `mandatory:"false" json:"displayName"` }
func (m ManagedInstanceDetails) String() string
func (m ManagedInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceErratumSummary An erratum associated with a managed instance.
type ManagedInstanceErratumSummary struct { // The identifier of the erratum. Name *string `mandatory:"true" json:"name"` // The type of the erratum. AdvisoryType ClassificationTypesEnum `mandatory:"true" json:"advisoryType"` // The list of Packages affected by this erratum. Packages []PackageNameSummary `mandatory:"true" json:"packages"` // The date and time the package was issued by a providing erratum (if available), as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeIssued *common.SDKTime `mandatory:"false" json:"timeIssued"` // Summary description of the erratum. Synopsis *string `mandatory:"false" json:"synopsis"` // List of CVEs applicable to this erratum. RelatedCves []string `mandatory:"false" json:"relatedCves"` }
func (m ManagedInstanceErratumSummary) String() string
func (m ManagedInstanceErratumSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceErratumSummaryCollection Results of an errata search on a managed instance.
type ManagedInstanceErratumSummaryCollection struct { // List of errata. Items []ManagedInstanceErratumSummary `mandatory:"true" json:"items"` }
func (m ManagedInstanceErratumSummaryCollection) String() string
func (m ManagedInstanceErratumSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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 Description of managed instance group.
type ManagedInstanceGroup struct { // The managed instance group OCID that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the managed instance group. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of the managed instance group. LifecycleState ManagedInstanceGroupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Details describing the managed instance group. Description *string `mandatory:"false" json:"description"` // The time the managed instance group was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the managed instance group was last modified. An RFC3339 formatted datetime string. TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"` // The operating system type of the instances in the managed instance group. OsFamily OsFamilyEnum `mandatory:"false" json:"osFamily,omitempty"` // The CPU architecture of the instances in the managed instance group. ArchType ArchTypeEnum `mandatory:"false" json:"archType,omitempty"` // The software source vendor name. VendorName VendorNameEnum `mandatory:"false" json:"vendorName,omitempty"` // The list of software sources that the managed instance group will use. SoftwareSourceIds []SoftwareSourceDetails `mandatory:"false" json:"softwareSourceIds"` // The list of software sources that the managed instance group will use. SoftwareSources []SoftwareSourceDetails `mandatory:"false" json:"softwareSources"` // The list of managed instances OCIDs attached to the managed instance group. ManagedInstanceIds []string `mandatory:"false" json:"managedInstanceIds"` // The number of Managed Instances in the managed instance group. ManagedInstanceCount *int `mandatory:"false" json:"managedInstanceCount"` // The number of scheduled jobs pending against the managed instance group. PendingJobCount *int `mandatory:"false" json:"pendingJobCount"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
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
ManagedInstanceGroupAvailableModuleCollection Results of a module stream profile search. Contains both ModuleStreamProfileSummary items and other information, such as metadata.
type ManagedInstanceGroupAvailableModuleCollection struct { // List of module stream profile. Items []ManagedInstanceGroupAvailableModuleSummary `mandatory:"true" json:"items"` }
func (m ManagedInstanceGroupAvailableModuleCollection) String() string
func (m ManagedInstanceGroupAvailableModuleCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceGroupAvailableModuleSummary Summary information pertaining to a module stream profile provided by a software source.
type ManagedInstanceGroupAvailableModuleSummary struct { // The name of the module that is available to be enabled on the managed instance group. Name *string `mandatory:"true" json:"name"` // The OCID of the software source that provides this module. SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"` }
func (m ManagedInstanceGroupAvailableModuleSummary) String() string
func (m ManagedInstanceGroupAvailableModuleSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceGroupAvailablePackageCollection Results of an available package search on a managed instance group.
type ManagedInstanceGroupAvailablePackageCollection struct { // List of available packages. Items []ManagedInstanceGroupAvailablePackageSummary `mandatory:"true" json:"items"` }
func (m ManagedInstanceGroupAvailablePackageCollection) String() string
func (m ManagedInstanceGroupAvailablePackageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceGroupAvailablePackageSummary Summary information pertaining to an available package for a managed instance group.
type ManagedInstanceGroupAvailablePackageSummary 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 ArchTypeEnum `mandatory:"false" json:"architecture,omitempty"` // List of software sources that provide the software package. SoftwareSources []SoftwareSourceDetails `mandatory:"false" json:"softwareSources"` // Flag to return only latest package versions. IsLatest *bool `mandatory:"false" json:"isLatest"` }
func (m ManagedInstanceGroupAvailablePackageSummary) String() string
func (m ManagedInstanceGroupAvailablePackageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceGroupClient a client for ManagedInstanceGroup
type ManagedInstanceGroupClient struct { common.BaseClient // contains filtered or unexported fields }
func NewManagedInstanceGroupClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ManagedInstanceGroupClient, err error)
NewManagedInstanceGroupClientWithConfigurationProvider Creates a new default ManagedInstanceGroup client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewManagedInstanceGroupClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ManagedInstanceGroupClient, err error)
NewManagedInstanceGroupClientWithOboToken Creates a new default ManagedInstanceGroup 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 ManagedInstanceGroupClient) AttachManagedInstancesToManagedInstanceGroup(ctx context.Context, request AttachManagedInstancesToManagedInstanceGroupRequest) (response AttachManagedInstancesToManagedInstanceGroupResponse, err error)
AttachManagedInstancesToManagedInstanceGroup Adds managed instances to the specified managed instance group. After the managed instances have been added, then operations can be performed on the managed instance group which will then apply to all managed instances in the group.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/AttachManagedInstancesToManagedInstanceGroup.go.html to see an example of how to use AttachManagedInstancesToManagedInstanceGroup API. A default retry strategy applies to this operation AttachManagedInstancesToManagedInstanceGroup()
func (client ManagedInstanceGroupClient) AttachSoftwareSourcesToManagedInstanceGroup(ctx context.Context, request AttachSoftwareSourcesToManagedInstanceGroupRequest) (response AttachSoftwareSourcesToManagedInstanceGroupResponse, err error)
AttachSoftwareSourcesToManagedInstanceGroup Attaches software sources to the specified managed instance group. The software sources must be compatible with the content for the managed instance group.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/AttachSoftwareSourcesToManagedInstanceGroup.go.html to see an example of how to use AttachSoftwareSourcesToManagedInstanceGroup API. A default retry strategy applies to this operation AttachSoftwareSourcesToManagedInstanceGroup()
func (client *ManagedInstanceGroupClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client ManagedInstanceGroupClient) CreateManagedInstanceGroup(ctx context.Context, request CreateManagedInstanceGroupRequest) (response CreateManagedInstanceGroupResponse, err error)
CreateManagedInstanceGroup Creates a new managed instance group.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/CreateManagedInstanceGroup.go.html to see an example of how to use CreateManagedInstanceGroup API. A default retry strategy applies to this operation CreateManagedInstanceGroup()
func (client ManagedInstanceGroupClient) DeleteManagedInstanceGroup(ctx context.Context, request DeleteManagedInstanceGroupRequest) (response DeleteManagedInstanceGroupResponse, err error)
DeleteManagedInstanceGroup Deletes a specified managed instance group.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DeleteManagedInstanceGroup.go.html to see an example of how to use DeleteManagedInstanceGroup API. A default retry strategy applies to this operation DeleteManagedInstanceGroup()
func (client ManagedInstanceGroupClient) DetachManagedInstancesFromManagedInstanceGroup(ctx context.Context, request DetachManagedInstancesFromManagedInstanceGroupRequest) (response DetachManagedInstancesFromManagedInstanceGroupResponse, err error)
DetachManagedInstancesFromManagedInstanceGroup Removes a managed instance from the specified managed instance group.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DetachManagedInstancesFromManagedInstanceGroup.go.html to see an example of how to use DetachManagedInstancesFromManagedInstanceGroup API. A default retry strategy applies to this operation DetachManagedInstancesFromManagedInstanceGroup()
func (client ManagedInstanceGroupClient) DetachSoftwareSourcesFromManagedInstanceGroup(ctx context.Context, request DetachSoftwareSourcesFromManagedInstanceGroupRequest) (response DetachSoftwareSourcesFromManagedInstanceGroupResponse, err error)
DetachSoftwareSourcesFromManagedInstanceGroup Detaches software sources from a group.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DetachSoftwareSourcesFromManagedInstanceGroup.go.html to see an example of how to use DetachSoftwareSourcesFromManagedInstanceGroup API. A default retry strategy applies to this operation DetachSoftwareSourcesFromManagedInstanceGroup()
func (client ManagedInstanceGroupClient) DisableModuleStreamOnManagedInstanceGroup(ctx context.Context, request DisableModuleStreamOnManagedInstanceGroupRequest) (response DisableModuleStreamOnManagedInstanceGroupResponse, err error)
DisableModuleStreamOnManagedInstanceGroup Disables a module stream on a managed instance group. After the stream is disabled, it is no longer possible to install the profiles that are contained by the stream. All installed profiles must be removed prior to disabling a module stream.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DisableModuleStreamOnManagedInstanceGroup.go.html to see an example of how to use DisableModuleStreamOnManagedInstanceGroup API. A default retry strategy applies to this operation DisableModuleStreamOnManagedInstanceGroup()
func (client ManagedInstanceGroupClient) EnableModuleStreamOnManagedInstanceGroup(ctx context.Context, request EnableModuleStreamOnManagedInstanceGroupRequest) (response EnableModuleStreamOnManagedInstanceGroupResponse, err error)
EnableModuleStreamOnManagedInstanceGroup Enables a module stream on a managed instance group. After the stream is enabled, it is possible to install the profiles that are contained by the stream. Enabling a stream that is already enabled will succeed. Attempting to enable a different stream for a module that already has a stream enabled results in an error.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/EnableModuleStreamOnManagedInstanceGroup.go.html to see an example of how to use EnableModuleStreamOnManagedInstanceGroup API. A default retry strategy applies to this operation EnableModuleStreamOnManagedInstanceGroup()
func (client ManagedInstanceGroupClient) GetManagedInstanceGroup(ctx context.Context, request GetManagedInstanceGroupRequest) (response GetManagedInstanceGroupResponse, err error)
GetManagedInstanceGroup Gets information about the specified managed instance group.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetManagedInstanceGroup.go.html to see an example of how to use GetManagedInstanceGroup API. A default retry strategy applies to this operation GetManagedInstanceGroup()
func (client ManagedInstanceGroupClient) InstallModuleStreamProfileOnManagedInstanceGroup(ctx context.Context, request InstallModuleStreamProfileOnManagedInstanceGroupRequest) (response InstallModuleStreamProfileOnManagedInstanceGroupResponse, err error)
InstallModuleStreamProfileOnManagedInstanceGroup Installs a profile for an module stream. The stream must be enabled before a profile can be installed. If a module stream defines multiple profiles, each one can be installed independently.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/InstallModuleStreamProfileOnManagedInstanceGroup.go.html to see an example of how to use InstallModuleStreamProfileOnManagedInstanceGroup API. A default retry strategy applies to this operation InstallModuleStreamProfileOnManagedInstanceGroup()
func (client ManagedInstanceGroupClient) InstallPackagesOnManagedInstanceGroup(ctx context.Context, request InstallPackagesOnManagedInstanceGroupRequest) (response InstallPackagesOnManagedInstanceGroupResponse, err error)
InstallPackagesOnManagedInstanceGroup Installs package(s) on each managed instance in a managed instance group. The package must be compatible with the instances in the managed instance group.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/InstallPackagesOnManagedInstanceGroup.go.html to see an example of how to use InstallPackagesOnManagedInstanceGroup API. A default retry strategy applies to this operation InstallPackagesOnManagedInstanceGroup()
func (client ManagedInstanceGroupClient) ListManagedInstanceGroupAvailableModules(ctx context.Context, request ListManagedInstanceGroupAvailableModulesRequest) (response ListManagedInstanceGroupAvailableModulesResponse, err error)
ListManagedInstanceGroupAvailableModules Lists available modules that for the specified managed instance group. Filter the list against a variety of criteria including but not limited to its name.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceGroupAvailableModules.go.html to see an example of how to use ListManagedInstanceGroupAvailableModules API. A default retry strategy applies to this operation ListManagedInstanceGroupAvailableModules()
func (client ManagedInstanceGroupClient) ListManagedInstanceGroupAvailablePackages(ctx context.Context, request ListManagedInstanceGroupAvailablePackagesRequest) (response ListManagedInstanceGroupAvailablePackagesResponse, err error)
ListManagedInstanceGroupAvailablePackages Lists available packages on the specified managed instances group. Filter the list against a variety of criteria including but not limited to the package name.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceGroupAvailablePackages.go.html to see an example of how to use ListManagedInstanceGroupAvailablePackages API. A default retry strategy applies to this operation ListManagedInstanceGroupAvailablePackages()
func (client ManagedInstanceGroupClient) ListManagedInstanceGroupAvailableSoftwareSources(ctx context.Context, request ListManagedInstanceGroupAvailableSoftwareSourcesRequest) (response ListManagedInstanceGroupAvailableSoftwareSourcesResponse, err error)
ListManagedInstanceGroupAvailableSoftwareSources Lists available software sources for a specified managed instance group. Filter the list against a variety of criteria including but not limited to its name.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceGroupAvailableSoftwareSources.go.html to see an example of how to use ListManagedInstanceGroupAvailableSoftwareSources API. A default retry strategy applies to this operation ListManagedInstanceGroupAvailableSoftwareSources()
func (client ManagedInstanceGroupClient) ListManagedInstanceGroupInstalledPackages(ctx context.Context, request ListManagedInstanceGroupInstalledPackagesRequest) (response ListManagedInstanceGroupInstalledPackagesResponse, err error)
ListManagedInstanceGroupInstalledPackages Lists installed packages on the specified managed instances group. Filter the list against a variety of criteria including but not limited to the package name.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceGroupInstalledPackages.go.html to see an example of how to use ListManagedInstanceGroupInstalledPackages API. A default retry strategy applies to this operation ListManagedInstanceGroupInstalledPackages()
func (client ManagedInstanceGroupClient) ListManagedInstanceGroupModules(ctx context.Context, request ListManagedInstanceGroupModulesRequest) (response ListManagedInstanceGroupModulesResponse, err error)
ListManagedInstanceGroupModules Retrieve a list of module streams, along with a summary of their status, from a managed instance group. Filters may be applied to select a subset of module streams based on the filter criteria. The 'moduleName' attribute filters against the name of a module. It accepts strings of the format "<module>". If this attribute is defined, only streams that belong to the specified module are included in the result set. If it is not defined, the request is not subject to this filter. The "status" attribute filters against the state of a module stream. Valid values are "ENABLED", "DISABLED", and "ACTIVE". If the attribute is set to "ENABLED", only module streams that are enabled are included in the result set. If the attribute is set to "DISABLED", only module streams that are not enabled are included in the result set. If the attribute is set to "ACTIVE", only module streams that are active are included in the result set. If the attribute is not defined, the request is not subject to this filter. When sorting by the display name, the result set is sorted first by the module name and then by the stream name.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceGroupModules.go.html to see an example of how to use ListManagedInstanceGroupModules API. A default retry strategy applies to this operation ListManagedInstanceGroupModules()
func (client ManagedInstanceGroupClient) ListManagedInstanceGroups(ctx context.Context, request ListManagedInstanceGroupsRequest) (response ListManagedInstanceGroupsResponse, err error)
ListManagedInstanceGroups Lists managed instance groups that match the specified compartment or managed instance group OCID. Filter the list against a variety of criteria including but not limited to its name, status, architecture, and OS family.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagedInstanceGroups.go.html to see an example of how to use ListManagedInstanceGroups API. A default retry strategy applies to this operation ListManagedInstanceGroups()
func (client ManagedInstanceGroupClient) ManageModuleStreamsOnManagedInstanceGroup(ctx context.Context, request ManageModuleStreamsOnManagedInstanceGroupRequest) (response ManageModuleStreamsOnManagedInstanceGroupResponse, err error)
ManageModuleStreamsOnManagedInstanceGroup Perform an operation involving modules, streams, and profiles on a managed instance group. 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 group 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 group. Operations that contain one or more elements that are not allowed are rejected. The result of this request is a work request object. The returned work request is the parent of a structure of other work requests. 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 group. If a dry run is requested, the OS Management Hub 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 work request resulting from a dry run behaves differently than a work request resulting from a committable operation. Dry run work requests are always singletons and never have children. The impact of the operation is returned using the log and error facilities of work requests. The impact of operations that are allowed by the OS Management Hub service are communicated as one or more work request log entries. Operations that are not allowed by the OS Management Hub service are communicated as one or more work request error entries. Each entry, for either logs or errors, contains a structured message containing the results of one or more operations.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ManageModuleStreamsOnManagedInstanceGroup.go.html to see an example of how to use ManageModuleStreamsOnManagedInstanceGroup API. A default retry strategy applies to this operation ManageModuleStreamsOnManagedInstanceGroup()
func (client ManagedInstanceGroupClient) RemoveModuleStreamProfileFromManagedInstanceGroup(ctx context.Context, request RemoveModuleStreamProfileFromManagedInstanceGroupRequest) (response RemoveModuleStreamProfileFromManagedInstanceGroupResponse, err error)
RemoveModuleStreamProfileFromManagedInstanceGroup Removes a profile for a module stream that is installed on a managed instance group. If a module stream is provided, rather than a fully qualified profile, all profiles that have been installed for the module stream will be removed.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/RemoveModuleStreamProfileFromManagedInstanceGroup.go.html to see an example of how to use RemoveModuleStreamProfileFromManagedInstanceGroup API. A default retry strategy applies to this operation RemoveModuleStreamProfileFromManagedInstanceGroup()
func (client ManagedInstanceGroupClient) RemovePackagesFromManagedInstanceGroup(ctx context.Context, request RemovePackagesFromManagedInstanceGroupRequest) (response RemovePackagesFromManagedInstanceGroupResponse, err error)
RemovePackagesFromManagedInstanceGroup Removes package(s) from each managed instance in a specified managed instance group.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/RemovePackagesFromManagedInstanceGroup.go.html to see an example of how to use RemovePackagesFromManagedInstanceGroup API. A default retry strategy applies to this operation RemovePackagesFromManagedInstanceGroup()
func (client *ManagedInstanceGroupClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client ManagedInstanceGroupClient) UpdateAllPackagesOnManagedInstanceGroup(ctx context.Context, request UpdateAllPackagesOnManagedInstanceGroupRequest) (response UpdateAllPackagesOnManagedInstanceGroupResponse, err error)
UpdateAllPackagesOnManagedInstanceGroup Updates all packages on each managed instance in the specified managed instance group.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateAllPackagesOnManagedInstanceGroup.go.html to see an example of how to use UpdateAllPackagesOnManagedInstanceGroup API. A default retry strategy applies to this operation UpdateAllPackagesOnManagedInstanceGroup()
func (client ManagedInstanceGroupClient) UpdateManagedInstanceGroup(ctx context.Context, request UpdateManagedInstanceGroupRequest) (response UpdateManagedInstanceGroupResponse, err error)
UpdateManagedInstanceGroup Updates the specified managed instance group's name, description, and tags.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateManagedInstanceGroup.go.html to see an example of how to use UpdateManagedInstanceGroup API. A default retry strategy applies to this operation UpdateManagedInstanceGroup()
ManagedInstanceGroupCollection Results of a managed instance group search. Contains both managed instance group summary items and other data.
type ManagedInstanceGroupCollection struct { // List of managed instance groups. Items []ManagedInstanceGroupSummary `mandatory:"true" json:"items"` }
func (m ManagedInstanceGroupCollection) String() string
func (m ManagedInstanceGroupCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceGroupDetails Identifying information for the specified managed instance group.
type ManagedInstanceGroupDetails struct { // The OCID of the managed instance group. Id *string `mandatory:"true" json:"id"` // Managed instance group displayName. DisplayName *string `mandatory:"false" json:"displayName"` }
func (m ManagedInstanceGroupDetails) String() string
func (m ManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceGroupInstalledPackageCollection Results of a search for installed packages on a managed instance group.
type ManagedInstanceGroupInstalledPackageCollection struct { // List of installed packages. Items []ManagedInstanceGroupInstalledPackageSummary `mandatory:"true" json:"items"` }
func (m ManagedInstanceGroupInstalledPackageCollection) String() string
func (m ManagedInstanceGroupInstalledPackageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceGroupInstalledPackageSummary Summary information pertaining to an installed package on a managed instance group.
type ManagedInstanceGroupInstalledPackageSummary struct { // The name of the package that is installed on the managed instance group. Name *string `mandatory:"true" json:"name"` // The architecture of the package that is installed on the managed instance group. Architecture *string `mandatory:"true" json:"architecture"` }
func (m ManagedInstanceGroupInstalledPackageSummary) String() string
func (m ManagedInstanceGroupInstalledPackageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceGroupLifecycleStateEnum Enum with underlying type: string
type ManagedInstanceGroupLifecycleStateEnum string
Set of constants representing the allowable values for ManagedInstanceGroupLifecycleStateEnum
const ( ManagedInstanceGroupLifecycleStateCreating ManagedInstanceGroupLifecycleStateEnum = "CREATING" ManagedInstanceGroupLifecycleStateUpdating ManagedInstanceGroupLifecycleStateEnum = "UPDATING" ManagedInstanceGroupLifecycleStateActive ManagedInstanceGroupLifecycleStateEnum = "ACTIVE" ManagedInstanceGroupLifecycleStateDeleting ManagedInstanceGroupLifecycleStateEnum = "DELETING" ManagedInstanceGroupLifecycleStateDeleted ManagedInstanceGroupLifecycleStateEnum = "DELETED" ManagedInstanceGroupLifecycleStateFailed ManagedInstanceGroupLifecycleStateEnum = "FAILED" )
func GetManagedInstanceGroupLifecycleStateEnumValues() []ManagedInstanceGroupLifecycleStateEnum
GetManagedInstanceGroupLifecycleStateEnumValues Enumerates the set of values for ManagedInstanceGroupLifecycleStateEnum
func GetMappingManagedInstanceGroupLifecycleStateEnum(val string) (ManagedInstanceGroupLifecycleStateEnum, bool)
GetMappingManagedInstanceGroupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ManagedInstanceGroupModuleCollection Results of a search for module streams on a managed instance group. Contains both ModuleStreamOnManagedInstanceGroupSummary items and other data.
type ManagedInstanceGroupModuleCollection struct { // List of module streams. Items []ManagedInstanceGroupModuleSummary `mandatory:"true" json:"items"` }
func (m ManagedInstanceGroupModuleCollection) String() string
func (m ManagedInstanceGroupModuleCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceGroupModuleSummary Summary information pertaining to a module on a managed instance group.
type ManagedInstanceGroupModuleSummary struct { // The name of the module that contains the stream. Name *string `mandatory:"true" json:"name"` // The name of the module that contains the stream. EnabledStream *string `mandatory:"false" json:"enabledStream"` // The list of installed profiles under the currently enabled module stream. InstalledProfiles []string `mandatory:"false" json:"installedProfiles"` // The OCID of the software source that provides this module stream. SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"` }
func (m ManagedInstanceGroupModuleSummary) String() string
func (m ManagedInstanceGroupModuleSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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 Summary of the managed instance group.
type ManagedInstanceGroupSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the managed instance groups to list. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of the managed instance group. LifecycleState ManagedInstanceGroupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A user-friendly name for the managed instance group. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // managed instance group Description. Description *string `mandatory:"false" json:"description"` // The number of Managed Instances in the managed instance group. ManagedInstanceCount *int `mandatory:"false" json:"managedInstanceCount"` // The time the managed instance group was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the managed instance group was last modified. An RFC3339 formatted datetime string. TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"` // The operating system type of the instances in the managed instance group. OsFamily OsFamilyEnum `mandatory:"false" json:"osFamily,omitempty"` // The CPU architecture of the instances in the managed instance group. ArchType ArchTypeEnum `mandatory:"false" json:"archType,omitempty"` // The software source vendor name. VendorName VendorNameEnum `mandatory:"false" json:"vendorName,omitempty"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
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
ManagedInstanceLocationEnum Enum with underlying type: string
type ManagedInstanceLocationEnum string
Set of constants representing the allowable values for ManagedInstanceLocationEnum
const ( ManagedInstanceLocationOnPremise ManagedInstanceLocationEnum = "ON_PREMISE" ManagedInstanceLocationOciCompute ManagedInstanceLocationEnum = "OCI_COMPUTE" ManagedInstanceLocationAzure ManagedInstanceLocationEnum = "AZURE" ManagedInstanceLocationEc2 ManagedInstanceLocationEnum = "EC2" )
func GetManagedInstanceLocationEnumValues() []ManagedInstanceLocationEnum
GetManagedInstanceLocationEnumValues Enumerates the set of values for ManagedInstanceLocationEnum
func GetMappingManagedInstanceLocationEnum(val string) (ManagedInstanceLocationEnum, bool)
GetMappingManagedInstanceLocationEnum performs case Insensitive comparison on enum value and return the desired enum
ManagedInstanceModuleCollection Results of a search for module streams on a managed instance. Contains both ManagedInstanceModuleSummary items and other data.
type ManagedInstanceModuleCollection struct { // List of module streams. Items []ManagedInstanceModuleSummary `mandatory:"true" json:"items"` }
func (m ManagedInstanceModuleCollection) String() string
func (m ManagedInstanceModuleCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceModuleSummary Summary information pertaining to a module on a managed instance.
type ManagedInstanceModuleSummary struct { // The module name. Name *string `mandatory:"true" json:"name"` // The stream that is enabled in the module. EnabledStream *string `mandatory:"false" json:"enabledStream"` // List of installed profiles in the enabled stream of the module. InstalledProfiles []string `mandatory:"false" json:"installedProfiles"` // List of streams that are active in the module. ActiveStreams []string `mandatory:"false" json:"activeStreams"` // List of streams that are disabled in the module. DisabledStreams []string `mandatory:"false" json:"disabledStreams"` // The OCID of the software source that provides this module and the associated streams. SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"` }
func (m ManagedInstanceModuleSummary) String() string
func (m ManagedInstanceModuleSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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" ManagedInstanceStatusRegistrationError ManagedInstanceStatusEnum = "REGISTRATION_ERROR" )
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 Summary of the ManagedInstance.
type ManagedInstanceSummary struct { // The OCID for the managed instance. Id *string `mandatory:"true" json:"id"` // Managed instance identifier. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID for the tenancy this managed instance resides in. TenancyId *string `mandatory:"true" json:"tenancyId"` // The OCID for the compartment this managed instance resides in. CompartmentId *string `mandatory:"true" json:"compartmentId"` // status of the managed instance. Status ManagedInstanceStatusEnum `mandatory:"true" json:"status"` // Information specified by the user about the managed instance. Description *string `mandatory:"false" json:"description"` // Location of the managed instance. Location ManagedInstanceLocationEnum `mandatory:"false" json:"location,omitempty"` // The CPU architecture type of the managed instance. Architecture ArchTypeEnum `mandatory:"false" json:"architecture,omitempty"` // The Operating System type of the managed instance. OsFamily OsFamilyEnum `mandatory:"false" json:"osFamily,omitempty"` ManagedInstanceGroup *Id `mandatory:"false" json:"managedInstanceGroup"` LifecycleEnvironment *Id `mandatory:"false" json:"lifecycleEnvironment"` LifecycleStage *Id `mandatory:"false" json:"lifecycleStage"` // Indicates whether a reboot is required to complete installation of updates. IsRebootRequired *bool `mandatory:"false" json:"isRebootRequired"` // Number of updates available to be installed. UpdatesAvailable *int `mandatory:"false" json:"updatesAvailable"` // Whether this managed instance is acting as an on-premise management station. IsManagementStation *bool `mandatory:"false" json:"isManagementStation"` }
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
ManagedInstancesDetails The details about the managed instances.
type ManagedInstancesDetails struct { // The list of managed instance OCIDs to be attached/detached. ManagedInstances []string `mandatory:"true" json:"managedInstances"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m ManagedInstancesDetails) String() string
func (m ManagedInstancesDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagementStation Detailed information about an ManagementStation config
type ManagementStation struct { // OCID for the ManagementStation config Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the Management Station. CompartmentId *string `mandatory:"true" json:"compartmentId"` // ManagementStation name DisplayName *string `mandatory:"true" json:"displayName"` // Name of the host Hostname *string `mandatory:"true" json:"hostname"` Proxy *ProxyConfiguration `mandatory:"true" json:"proxy"` Mirror *MirrorConfiguration `mandatory:"true" json:"mirror"` // OCID for the Instance associated with the Management Station. ManagedInstanceId *string `mandatory:"false" json:"managedInstanceId"` // OCID of the Scheduled Job for mirror sync ScheduledJobId *string `mandatory:"false" json:"scheduledJobId"` // OCID of the Profile associated with the Station ProfileId *string `mandatory:"false" json:"profileId"` // Details describing the ManagementStation config. Description *string `mandatory:"false" json:"description"` // Current state of the mirroring OverallState OverallStateEnum `mandatory:"false" json:"overallState,omitempty"` // A decimal number representing the completeness percentage OverallPercentage *int `mandatory:"false" json:"overallPercentage"` // A decimal number representing the mirror capacity MirrorCapacity *int `mandatory:"false" json:"mirrorCapacity"` // A decimal number representing the total of repos TotalMirrors *int `mandatory:"false" json:"totalMirrors"` MirrorSyncStatus *MirrorSyncStatus `mandatory:"false" json:"mirrorSyncStatus"` // The current state of the Management Station config. LifecycleState ManagementStationLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ManagementStation) String() string
func (m ManagementStation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagementStationClient a client for ManagementStation
type ManagementStationClient struct { common.BaseClient // contains filtered or unexported fields }
func NewManagementStationClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ManagementStationClient, err error)
NewManagementStationClientWithConfigurationProvider Creates a new default ManagementStation client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewManagementStationClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ManagementStationClient, err error)
NewManagementStationClientWithOboToken Creates a new default ManagementStation 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 *ManagementStationClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client ManagementStationClient) CreateManagementStation(ctx context.Context, request CreateManagementStationRequest) (response CreateManagementStationResponse, err error)
CreateManagementStation Creates a management station.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/CreateManagementStation.go.html to see an example of how to use CreateManagementStation API. A default retry strategy applies to this operation CreateManagementStation()
func (client ManagementStationClient) DeleteManagementStation(ctx context.Context, request DeleteManagementStationRequest) (response DeleteManagementStationResponse, err error)
DeleteManagementStation Deletes a management station.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DeleteManagementStation.go.html to see an example of how to use DeleteManagementStation API. A default retry strategy applies to this operation DeleteManagementStation()
func (client ManagementStationClient) GetManagementStation(ctx context.Context, request GetManagementStationRequest) (response GetManagementStationResponse, err error)
GetManagementStation Gets information about the specified management station.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetManagementStation.go.html to see an example of how to use GetManagementStation API. A default retry strategy applies to this operation GetManagementStation()
func (client ManagementStationClient) ListManagementStations(ctx context.Context, request ListManagementStationsRequest) (response ListManagementStationsResponse, err error)
ListManagementStations Lists management stations in a compartment.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListManagementStations.go.html to see an example of how to use ListManagementStations API. A default retry strategy applies to this operation ListManagementStations()
func (client ManagementStationClient) ListMirrors(ctx context.Context, request ListMirrorsRequest) (response ListMirrorsResponse, err error)
ListMirrors Lists all software source mirrors associated with a specified management station.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListMirrors.go.html to see an example of how to use ListMirrors API. A default retry strategy applies to this operation ListMirrors()
func (client *ManagementStationClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client ManagementStationClient) SynchronizeMirrors(ctx context.Context, request SynchronizeMirrorsRequest) (response SynchronizeMirrorsResponse, err error)
SynchronizeMirrors Synchronizes the specified mirrors associated with the management station.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/SynchronizeMirrors.go.html to see an example of how to use SynchronizeMirrors API. A default retry strategy applies to this operation SynchronizeMirrors()
func (client ManagementStationClient) SynchronizeSingleMirrors(ctx context.Context, request SynchronizeSingleMirrorsRequest) (response SynchronizeSingleMirrorsResponse, err error)
SynchronizeSingleMirrors Synchronize the specified mirror associated with a management station.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/SynchronizeSingleMirrors.go.html to see an example of how to use SynchronizeSingleMirrors API. A default retry strategy applies to this operation SynchronizeSingleMirrors()
func (client ManagementStationClient) UpdateManagementStation(ctx context.Context, request UpdateManagementStationRequest) (response UpdateManagementStationResponse, err error)
UpdateManagementStation Updates the configuration of the specified management station.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateManagementStation.go.html to see an example of how to use UpdateManagementStation API. A default retry strategy applies to this operation UpdateManagementStation()
ManagementStationCollection Results of a managementstation search. Contains boh ManagementStationSummary items and other information, such as metadata.
type ManagementStationCollection struct { // List of managementStations. Items []ManagementStationSummary `mandatory:"true" json:"items"` }
func (m ManagementStationCollection) String() string
func (m ManagementStationCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagementStationDetails The config details of the management stations to be configured for a managed instance.
type ManagementStationDetails struct { // The OCID of a management station to be used as the preferred primary. PrimaryManagementStationId *string `mandatory:"true" json:"primaryManagementStationId"` // The OCID of a management station to be used as the preferred secondary. SecondaryManagementStationId *string `mandatory:"false" json:"secondaryManagementStationId"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m ManagementStationDetails) String() string
func (m ManagementStationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagementStationLifecycleStateEnum Enum with underlying type: string
type ManagementStationLifecycleStateEnum string
Set of constants representing the allowable values for ManagementStationLifecycleStateEnum
const ( ManagementStationLifecycleStateCreating ManagementStationLifecycleStateEnum = "CREATING" ManagementStationLifecycleStateUpdating ManagementStationLifecycleStateEnum = "UPDATING" ManagementStationLifecycleStateActive ManagementStationLifecycleStateEnum = "ACTIVE" ManagementStationLifecycleStateDeleting ManagementStationLifecycleStateEnum = "DELETING" ManagementStationLifecycleStateDeleted ManagementStationLifecycleStateEnum = "DELETED" ManagementStationLifecycleStateFailed ManagementStationLifecycleStateEnum = "FAILED" )
func GetManagementStationLifecycleStateEnumValues() []ManagementStationLifecycleStateEnum
GetManagementStationLifecycleStateEnumValues Enumerates the set of values for ManagementStationLifecycleStateEnum
func GetMappingManagementStationLifecycleStateEnum(val string) (ManagementStationLifecycleStateEnum, bool)
GetMappingManagementStationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ManagementStationSummary Summary of the Management Station.
type ManagementStationSummary struct { // OCID for the Management Station Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the Management Station. CompartmentId *string `mandatory:"true" json:"compartmentId"` // ManagementStation name DisplayName *string `mandatory:"true" json:"displayName"` // Name of the host Hostname *string `mandatory:"true" json:"hostname"` // OCID for the Instance associated with the Management Station ManagedInstanceId *string `mandatory:"false" json:"managedInstanceId"` // OCID of the Registration Profile associated with the Management Station ProfileId *string `mandatory:"false" json:"profileId"` // OCID of the Scheduled Job for mirror sync ScheduledJobId *string `mandatory:"false" json:"scheduledJobId"` // the time/date of the next scheduled execution of the Scheduled Job TimeNextExecution *common.SDKTime `mandatory:"false" json:"timeNextExecution"` // Details describing the Management Station config. Description *string `mandatory:"false" json:"description"` // Current state of the mirroring OverallState OverallStateEnum `mandatory:"false" json:"overallState,omitempty"` // A decimal number representing the completeness percentage OverallPercentage *int `mandatory:"false" json:"overallPercentage"` // A decimal number representing the mirror capacity MirrorCapacity *int `mandatory:"false" json:"mirrorCapacity"` // The current state of the Management Station config. LifecycleState ManagementStationLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ManagementStationSummary) String() string
func (m ManagementStationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MetricNameEnum Enum with underlying type: string
type MetricNameEnum string
Set of constants representing the allowable values for MetricNameEnum
const ( MetricNameTotalInstanceCount MetricNameEnum = "TOTAL_INSTANCE_COUNT" MetricNameInstanceWithAvailableSecurityUpdatesCount MetricNameEnum = "INSTANCE_WITH_AVAILABLE_SECURITY_UPDATES_COUNT" MetricNameInstanceWithAvailableBugfixUpdatesCount MetricNameEnum = "INSTANCE_WITH_AVAILABLE_BUGFIX_UPDATES_COUNT" MetricNameNormalInstanceCount MetricNameEnum = "NORMAL_INSTANCE_COUNT" MetricNameErrorInstanceCount MetricNameEnum = "ERROR_INSTANCE_COUNT" MetricNameWarningInstanceCount MetricNameEnum = "WARNING_INSTANCE_COUNT" MetricNameUnreachableInstanceCount MetricNameEnum = "UNREACHABLE_INSTANCE_COUNT" MetricNameRegistrationFailedInstanceCount MetricNameEnum = "REGISTRATION_FAILED_INSTANCE_COUNT" MetricNameInstanceSecurityUpdatesCount MetricNameEnum = "INSTANCE_SECURITY_UPDATES_COUNT" MetricNameInstanceBugfixUpdatesCount MetricNameEnum = "INSTANCE_BUGFIX_UPDATES_COUNT" )
func GetMappingMetricNameEnum(val string) (MetricNameEnum, bool)
GetMappingMetricNameEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMetricNameEnumValues() []MetricNameEnum
GetMetricNameEnumValues Enumerates the set of values for MetricNameEnum
MirrorConfiguration Information for a mirror configuration
type MirrorConfiguration struct { // Directory for the mirroring Directory *string `mandatory:"true" json:"directory"` // Default port for the mirror Port *string `mandatory:"true" json:"port"` // Default sslport for the mirror Sslport *string `mandatory:"true" json:"sslport"` // Local path for the sslcert Sslcert *string `mandatory:"false" json:"sslcert"` }
func (m MirrorConfiguration) String() string
func (m MirrorConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MirrorStateEnum Enum with underlying type: string
type MirrorStateEnum string
Set of constants representing the allowable values for MirrorStateEnum
const ( MirrorStateUnsynced MirrorStateEnum = "UNSYNCED" MirrorStateQueued MirrorStateEnum = "QUEUED" MirrorStateSyncing MirrorStateEnum = "SYNCING" MirrorStateSynced MirrorStateEnum = "SYNCED" MirrorStateFailed MirrorStateEnum = "FAILED" )
func GetMappingMirrorStateEnum(val string) (MirrorStateEnum, bool)
GetMappingMirrorStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMirrorStateEnumValues() []MirrorStateEnum
GetMirrorStateEnumValues Enumerates the set of values for MirrorStateEnum
MirrorSummary Summary of a Mirror
type MirrorSummary struct { // OCID of a software source Id *string `mandatory:"true" json:"id"` // Current state of the mirror State MirrorStateEnum `mandatory:"true" json:"state"` // A decimal number representing the completness percentage Percentage *int `mandatory:"true" json:"percentage"` // Timestamp of the last time the mirror was sync TimeLastSynced *common.SDKTime `mandatory:"true" json:"timeLastSynced"` // The current log from the management station plugin. Log *string `mandatory:"true" json:"log"` // Display name of the mirror DisplayName *string `mandatory:"false" json:"displayName"` // Type of the mirror Type MirrorTypeEnum `mandatory:"false" json:"type,omitempty"` // The OS family the Software Source belongs to OsFamily OsFamilyEnum `mandatory:"false" json:"osFamily,omitempty"` // The architecture type supported by the Software Source ArchType ArchTypeEnum `mandatory:"false" json:"archType,omitempty"` }
func (m MirrorSummary) String() string
func (m MirrorSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MirrorSyncStatus Status summary of all repos
type MirrorSyncStatus struct { // Total of mirrors in 'failed' state Unsynced *int `mandatory:"true" json:"unsynced"` // Total of mirrors in 'queued' state Queued *int `mandatory:"true" json:"queued"` // Total of mirrors in 'syncing' state Syncing *int `mandatory:"true" json:"syncing"` // Total of mirrors in 'synced' state Synced *int `mandatory:"true" json:"synced"` // Total of mirrors in 'failed' state Failed *int `mandatory:"true" json:"failed"` }
func (m MirrorSyncStatus) String() string
func (m MirrorSyncStatus) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MirrorTypeEnum Enum with underlying type: string
type MirrorTypeEnum string
Set of constants representing the allowable values for MirrorTypeEnum
const ( MirrorTypeCustom MirrorTypeEnum = "CUSTOM" MirrorTypeVendor MirrorTypeEnum = "VENDOR" MirrorTypeVersioned MirrorTypeEnum = "VERSIONED" )
func GetMappingMirrorTypeEnum(val string) (MirrorTypeEnum, bool)
GetMappingMirrorTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMirrorTypeEnumValues() []MirrorTypeEnum
GetMirrorTypeEnumValues Enumerates the set of values for MirrorTypeEnum
MirrorsCollection List of mirrors associated with a Management Station
type MirrorsCollection struct { // List of mirrors Items []MirrorSummary `mandatory:"true" json:"items"` }
func (m MirrorsCollection) String() string
func (m MirrorsCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModuleCollection Results of a Module search. Contains module summary items and other information, such as metadata.
type ModuleCollection struct { // List of Modules. Items []ModuleSummary `mandatory:"true" json:"items"` }
func (m ModuleCollection) String() string
func (m ModuleCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModuleSpecDetails Details about a specific appstream module.
type ModuleSpecDetails struct { // Name of the module. Name *string `mandatory:"true" json:"name"` // The stream of the module. Stream *string `mandatory:"false" json:"stream"` // The module profile to be used. Profile *string `mandatory:"false" json:"profile"` }
func (m ModuleSpecDetails) String() string
func (m ModuleSpecDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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. Name *string `mandatory:"true" json:"name"` // 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. ArchType ArchTypeEnum `mandatory:"false" json:"archType,omitempty"` // 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 Hub 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 Hub APIs that interact directly // with packages. Packages []string `mandatory:"false" json:"packages"` // Indicates whether this module stream is the latest. IsLatest *bool `mandatory:"false" json:"isLatest"` }
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
ModuleStreamCollection Results of a ModuleStream search. Contains both ModuleStreamSummary items and other information, such as metadata.
type ModuleStreamCollection struct { // List of ModuleStream. Items []ModuleStreamSummary `mandatory:"true" json:"items"` }
func (m ModuleStreamCollection) String() string
func (m ModuleStreamCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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
ModuleStreamDetailsBody The details of the module stream to be enabled/disabled on a managed instance.
type ModuleStreamDetailsBody struct { // The name of a module. ModuleName *string `mandatory:"true" json:"moduleName"` // The name of a stream of the specified module. StreamName *string `mandatory:"false" json:"streamName"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m ModuleStreamDetailsBody) String() string
func (m ModuleStreamDetailsBody) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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. Name *string `mandatory:"true" json:"name"` // 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 Hub 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
ModuleStreamProfileCollection Results of a ModuleStreamProfile search. Contains both ModuleStreamProfileSummary items and other information, such as metadata.
type ModuleStreamProfileCollection struct { // List of ModuleStreamProfile. Items []ModuleStreamProfileSummary `mandatory:"true" json:"items"` }
func (m ModuleStreamProfileCollection) String() string
func (m ModuleStreamProfileCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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
ModuleStreamProfileDetailsBody The details of the module stream profile to be installed/removed on a managed instance.
type ModuleStreamProfileDetailsBody struct { // The name of a module. ModuleName *string `mandatory:"true" json:"moduleName"` // The name of a stream of the specified module. StreamName *string `mandatory:"false" json:"streamName"` // The name of a profile of the specified module stream. ProfileName *string `mandatory:"false" json:"profileName"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m ModuleStreamProfileDetailsBody) String() string
func (m ModuleStreamProfileDetailsBody) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModuleStreamProfileFilter Used to select module stream/profiles from VendorSoftwareSources to create/update CustomSoftwareSources.
type ModuleStreamProfileFilter struct { // Module name. ModuleName *string `mandatory:"true" json:"moduleName"` // The type of the filter, which can be of two types - INCLUDE or EXCLUDE. FilterType FilterTypeEnum `mandatory:"true" json:"filterType"` // Profile name. ProfileName *string `mandatory:"false" json:"profileName"` // Stream name. StreamName *string `mandatory:"false" json:"streamName"` }
func (m ModuleStreamProfileFilter) String() string
func (m ModuleStreamProfileFilter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModuleStreamProfileStatusEnum Enum with underlying type: string
type ModuleStreamProfileStatusEnum string
Set of constants representing the allowable values for ModuleStreamProfileStatusEnum
const ( ModuleStreamProfileStatusInstalled ModuleStreamProfileStatusEnum = "INSTALLED" ModuleStreamProfileStatusAvailable ModuleStreamProfileStatusEnum = "AVAILABLE" )
func GetMappingModuleStreamProfileStatusEnum(val string) (ModuleStreamProfileStatusEnum, bool)
GetMappingModuleStreamProfileStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModuleStreamProfileStatusEnumValues() []ModuleStreamProfileStatusEnum
GetModuleStreamProfileStatusEnumValues Enumerates the set of values for ModuleStreamProfileStatusEnum
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. Name *string `mandatory:"true" json:"name"` // Indicates if this profile is the default for its module stream. IsDefault *bool `mandatory:"false" json:"isDefault"` }
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
ModuleStreamStatusEnum Enum with underlying type: string
type ModuleStreamStatusEnum string
Set of constants representing the allowable values for ModuleStreamStatusEnum
const ( ModuleStreamStatusEnabled ModuleStreamStatusEnum = "ENABLED" ModuleStreamStatusDisabled ModuleStreamStatusEnum = "DISABLED" ModuleStreamStatusActive ModuleStreamStatusEnum = "ACTIVE" )
func GetMappingModuleStreamStatusEnum(val string) (ModuleStreamStatusEnum, bool)
GetMappingModuleStreamStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModuleStreamStatusEnumValues() []ModuleStreamStatusEnum
GetModuleStreamStatusEnumValues Enumerates the set of values for ModuleStreamStatusEnum
ModuleStreamSummary Summary information pertaining to a module stream provided by a software source.
type ModuleStreamSummary struct { // The name of the stream. Name *string `mandatory:"true" json:"name"` // The name of the module that contains the stream. ModuleName *string `mandatory:"true" json:"moduleName"` // List of profiles in the stream. Profiles []string `mandatory:"true" json:"profiles"` // Indicates whether this module stream is the latest. IsLatest *bool `mandatory:"false" json:"isLatest"` // The software source id for the the 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
ModuleSummary Summary information pertaining to a module provided by a software source.
type ModuleSummary struct { // The name of the module. Name *string `mandatory:"true" json:"name"` // The software source that provides the module. SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"` // List of stream names. Streams []string `mandatory:"false" json:"streams"` }
func (m ModuleSummary) String() string
func (m ModuleSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OnboardingClient a client for Onboarding
type OnboardingClient struct { common.BaseClient // contains filtered or unexported fields }
func NewOnboardingClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OnboardingClient, err error)
NewOnboardingClientWithConfigurationProvider Creates a new default Onboarding client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewOnboardingClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OnboardingClient, err error)
NewOnboardingClientWithOboToken Creates a new default Onboarding 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 *OnboardingClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client OnboardingClient) CreateProfile(ctx context.Context, request CreateProfileRequest) (response CreateProfileResponse, err error)
CreateProfile Creates a registration profile. A profile is a supplementary file for the OS Management Hub agentry that dictates the content for a managed instance at registration time.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/CreateProfile.go.html to see an example of how to use CreateProfile API. A default retry strategy applies to this operation CreateProfile()
func (client OnboardingClient) DeleteProfile(ctx context.Context, request DeleteProfileRequest) (response DeleteProfileResponse, err error)
DeleteProfile Deletes a specified registration profile.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DeleteProfile.go.html to see an example of how to use DeleteProfile API. A default retry strategy applies to this operation DeleteProfile()
func (client OnboardingClient) GetProfile(ctx context.Context, request GetProfileRequest) (response GetProfileResponse, err error)
GetProfile Gets information about the specified registration profile.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetProfile.go.html to see an example of how to use GetProfile API. A default retry strategy applies to this operation GetProfile()
func (client OnboardingClient) ListProfiles(ctx context.Context, request ListProfilesRequest) (response ListProfilesResponse, err error)
ListProfiles Lists registration profiles that match the specified compartment or profile OCID. Filter the list against a variety of criteria including but not limited to its name, status, vendor name, and architecture type.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListProfiles.go.html to see an example of how to use ListProfiles API. A default retry strategy applies to this operation ListProfiles()
func (client *OnboardingClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client OnboardingClient) UpdateProfile(ctx context.Context, request UpdateProfileRequest) (response UpdateProfileResponse, err error)
UpdateProfile Updates the specified profile's name, description, and tags.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateProfile.go.html to see an example of how to use UpdateProfile API. A default retry strategy applies to this operation UpdateProfile()
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" OperationStatusCanceling OperationStatusEnum = "CANCELING" 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 ( OperationTypesInstallPackages OperationTypesEnum = "INSTALL_PACKAGES" OperationTypesUpdatePackages OperationTypesEnum = "UPDATE_PACKAGES" OperationTypesRemovePackages OperationTypesEnum = "REMOVE_PACKAGES" OperationTypesUpdateAll OperationTypesEnum = "UPDATE_ALL" OperationTypesUpdateSecurity OperationTypesEnum = "UPDATE_SECURITY" OperationTypesUpdateBugfix OperationTypesEnum = "UPDATE_BUGFIX" OperationTypesUpdateEnhancement OperationTypesEnum = "UPDATE_ENHANCEMENT" OperationTypesUpdateOther OperationTypesEnum = "UPDATE_OTHER" OperationTypesUpdateKspliceUserspace OperationTypesEnum = "UPDATE_KSPLICE_USERSPACE" OperationTypesUpdateKspliceKernel OperationTypesEnum = "UPDATE_KSPLICE_KERNEL" OperationTypesManageModuleStreams OperationTypesEnum = "MANAGE_MODULE_STREAMS" OperationTypesSwitchModuleStream OperationTypesEnum = "SWITCH_MODULE_STREAM" OperationTypesAttachSoftwareSources OperationTypesEnum = "ATTACH_SOFTWARE_SOURCES" OperationTypesDetachSoftwareSources OperationTypesEnum = "DETACH_SOFTWARE_SOURCES" OperationTypesSyncManagementStationMirror OperationTypesEnum = "SYNC_MANAGEMENT_STATION_MIRROR" OperationTypesPromoteLifecycle OperationTypesEnum = "PROMOTE_LIFECYCLE" )
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
OsFamilyEnum Enum with underlying type: string
type OsFamilyEnum string
Set of constants representing the allowable values for OsFamilyEnum
const ( OsFamilyOracleLinux9 OsFamilyEnum = "ORACLE_LINUX_9" OsFamilyOracleLinux8 OsFamilyEnum = "ORACLE_LINUX_8" OsFamilyOracleLinux7 OsFamilyEnum = "ORACLE_LINUX_7" )
func GetMappingOsFamilyEnum(val string) (OsFamilyEnum, bool)
GetMappingOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOsFamilyEnumValues() []OsFamilyEnum
GetOsFamilyEnumValues Enumerates the set of values for OsFamilyEnum
OverallStateEnum Enum with underlying type: string
type OverallStateEnum string
Set of constants representing the allowable values for OverallStateEnum
const ( OverallStateNormal OverallStateEnum = "NORMAL" OverallStateRegistrationerror OverallStateEnum = "REGISTRATIONERROR" OverallStateSyncing OverallStateEnum = "SYNCING" OverallStateSyncfailed OverallStateEnum = "SYNCFAILED" OverallStateWarning OverallStateEnum = "WARNING" OverallStateError OverallStateEnum = "ERROR" OverallStateEnum = "UNAVAILABLE" )
func GetMappingOverallStateEnum(val string) (OverallStateEnum, bool)
GetMappingOverallStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOverallStateEnumValues() []OverallStateEnum
GetOverallStateEnumValues Enumerates the set of values for OverallStateEnum
PackageFilter Used to select packages from VendorSoftwareSources to create/update CustomSoftwareSources.
type PackageFilter struct { // The type of the filter, which can be of two types - INCLUDE or EXCLUDE. FilterType FilterTypeEnum `mandatory:"true" json:"filterType"` // The package name. PackageName *string `mandatory:"false" json:"packageName"` // The package name pattern. PackageNamePattern *string `mandatory:"false" json:"packageNamePattern"` // The package version, which is denoted by 'version-release', or 'epoch:version-release'. PackageVersion *string `mandatory:"false" json:"packageVersion"` }
func (m PackageFilter) String() string
func (m PackageFilter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PackageGroup Yum/DNF package group, category or environment.
type PackageGroup struct { // Package group identifier. Id *string `mandatory:"true" json:"id"` // Package group name. Name *string `mandatory:"true" json:"name"` // The list of packages in the package group. Packages []string `mandatory:"true" json:"packages"` // the IDs of the package group's repositories. Repositories []string `mandatory:"false" json:"repositories"` // description of the package group. Description *string `mandatory:"false" json:"description"` // Indicates if this package group is visible by users. IsUserVisible *bool `mandatory:"false" json:"isUserVisible"` // Indicates if this package group is the default. IsDefault *bool `mandatory:"false" json:"isDefault"` // Indicates if this is a group, category or environment. GroupType PackageGroupGroupTypeEnum `mandatory:"false" json:"groupType,omitempty"` // Indicates the order to display category or environment. DisplayOrder *int `mandatory:"false" json:"displayOrder"` }
func (m PackageGroup) String() string
func (m PackageGroup) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PackageGroupCollection Results of a package group search. Contains both package group summary items and other information, such as metadata.
type PackageGroupCollection struct { // List of package groups. Items []PackageGroupSummary `mandatory:"true" json:"items"` }
func (m PackageGroupCollection) String() string
func (m PackageGroupCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PackageGroupFilter Used to select groups from VendorSoftwareSources to create/update CustomSoftwareSources.
type PackageGroupFilter struct { // The type of the filter, which can be of two types - INCLUDE or EXCLUDE. FilterType FilterTypeEnum `mandatory:"true" json:"filterType"` // List of package group names. PackageGroups []string `mandatory:"false" json:"packageGroups"` }
func (m PackageGroupFilter) String() string
func (m PackageGroupFilter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PackageGroupGroupTypeEnum Enum with underlying type: string
type PackageGroupGroupTypeEnum string
Set of constants representing the allowable values for PackageGroupGroupTypeEnum
const ( PackageGroupGroupTypeGroup PackageGroupGroupTypeEnum = "GROUP" PackageGroupGroupTypeEnvironment PackageGroupGroupTypeEnum = "ENVIRONMENT" PackageGroupGroupTypeCategory PackageGroupGroupTypeEnum = "CATEGORY" )
func GetMappingPackageGroupGroupTypeEnum(val string) (PackageGroupGroupTypeEnum, bool)
GetMappingPackageGroupGroupTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPackageGroupGroupTypeEnumValues() []PackageGroupGroupTypeEnum
GetPackageGroupGroupTypeEnumValues Enumerates the set of values for PackageGroupGroupTypeEnum
PackageGroupSummary Yum/DNF package group that associated with a software source.
type PackageGroupSummary struct { // Package group identifier. Id *string `mandatory:"true" json:"id"` // Package group name. Name *string `mandatory:"true" json:"name"` // description of the package group. Description *string `mandatory:"false" json:"description"` // Indicates if this package group is visible by users. IsUserVisible *bool `mandatory:"false" json:"isUserVisible"` // Indicates if this package group is the default. IsDefault *bool `mandatory:"false" json:"isDefault"` // the IDs of the package group's repositories. Repositories []string `mandatory:"false" json:"repositories"` // Indicates if this is a group, category or environment. GroupType PackageGroupGroupTypeEnum `mandatory:"false" json:"groupType,omitempty"` // Indicates the order to display category or environment. DisplayOrder *int `mandatory:"false" json:"displayOrder"` }
func (m PackageGroupSummary) String() string
func (m PackageGroupSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PackageNameSummary A simple representation of a package using its displayName and NEVRA parts.
type PackageNameSummary struct { // Full package NEVRA name - this value should be unique. DisplayName *string `mandatory:"true" json:"displayName"` // The name of the software package. Name *string `mandatory:"true" json:"name"` // Type of the package. Type *string `mandatory:"false" json:"type"` // Version of the installed package. Version *string `mandatory:"false" json:"version"` // The architecture for which this package was built. Architecture ArchTypeEnum `mandatory:"false" json:"architecture,omitempty"` }
func (m PackageNameSummary) String() string
func (m PackageNameSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PackageSummary A software package summary.
type PackageSummary interface { // Package name. GetDisplayName() *string // Unique identifier for the package. GetName() *string // Type of the package. GetType() *string // Version of the installed package. GetVersion() *string // The architecture for which this package was built. GetArchitecture() ArchTypeEnum // list of software sources that provide the software package. GetSoftwareSources() []SoftwareSourceDetails }
PackageSummaryPackageClassificationEnum Enum with underlying type: string
type PackageSummaryPackageClassificationEnum string
Set of constants representing the allowable values for PackageSummaryPackageClassificationEnum
const ( PackageSummaryPackageClassificationInstalled PackageSummaryPackageClassificationEnum = "INSTALLED" PackageSummaryPackageClassificationAvailable PackageSummaryPackageClassificationEnum = "AVAILABLE" PackageSummaryPackageClassificationUpdatable PackageSummaryPackageClassificationEnum = "UPDATABLE" )
func GetMappingPackageSummaryPackageClassificationEnum(val string) (PackageSummaryPackageClassificationEnum, bool)
GetMappingPackageSummaryPackageClassificationEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPackageSummaryPackageClassificationEnumValues() []PackageSummaryPackageClassificationEnum
GetPackageSummaryPackageClassificationEnumValues Enumerates the set of values for PackageSummaryPackageClassificationEnum
Profile Description of registration profile.
type Profile interface { // The OCID of the profile that is immutable on creation. GetId() *string // The OCID of the tenancy containing the registration profile. GetCompartmentId() *string // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. GetDisplayName() *string // The software source vendor name. GetVendorName() VendorNameEnum // The operating system family. GetOsFamily() OsFamilyEnum // The architecture type. GetArchType() ArchTypeEnum // The description of the registration profile. GetDescription() *string // The OCID of the management station. GetManagementStationId() *string // The time the the registration profile was created. An RFC3339 formatted datetime string. GetTimeCreated() *common.SDKTime // The current state of the registration profile. GetLifecycleState() ProfileLifecycleStateEnum // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` GetSystemTags() map[string]map[string]interface{} }
ProfileCollection Results of a registration profile search. Contains both registration profile summary items and other data.
type ProfileCollection struct { // List of registration profiles. Items []ProfileSummary `mandatory:"true" json:"items"` }
func (m ProfileCollection) String() string
func (m ProfileCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ProfileLifecycleStateEnum Enum with underlying type: string
type ProfileLifecycleStateEnum string
Set of constants representing the allowable values for ProfileLifecycleStateEnum
const ( ProfileLifecycleStateCreating ProfileLifecycleStateEnum = "CREATING" ProfileLifecycleStateUpdating ProfileLifecycleStateEnum = "UPDATING" ProfileLifecycleStateActive ProfileLifecycleStateEnum = "ACTIVE" ProfileLifecycleStateDeleting ProfileLifecycleStateEnum = "DELETING" ProfileLifecycleStateDeleted ProfileLifecycleStateEnum = "DELETED" ProfileLifecycleStateFailed ProfileLifecycleStateEnum = "FAILED" )
func GetMappingProfileLifecycleStateEnum(val string) (ProfileLifecycleStateEnum, bool)
GetMappingProfileLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProfileLifecycleStateEnumValues() []ProfileLifecycleStateEnum
GetProfileLifecycleStateEnumValues Enumerates the set of values for ProfileLifecycleStateEnum
ProfileSummary Summary of the registration profile.
type ProfileSummary struct { // The OCID of the profile that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the registration profile. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The description of the registration profile. Description *string `mandatory:"false" json:"description"` // The OCID of the management station. ManagementStationId *string `mandatory:"false" json:"managementStationId"` // The type of registration profile. Either SOFTWARESOURCE, GROUP or LIFECYCLE. ProfileType ProfileTypeEnum `mandatory:"false" json:"profileType,omitempty"` // The software source vendor name. VendorName VendorNameEnum `mandatory:"false" json:"vendorName,omitempty"` // The operating system family. OsFamily OsFamilyEnum `mandatory:"false" json:"osFamily,omitempty"` // The architecture type. ArchType ArchTypeEnum `mandatory:"false" json:"archType,omitempty"` // The time the the Onboarding was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The current state of the registration profile. LifecycleState ProfileLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ProfileSummary) String() string
func (m ProfileSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ProfileTypeEnum Enum with underlying type: string
type ProfileTypeEnum string
Set of constants representing the allowable values for ProfileTypeEnum
const ( ProfileTypeSoftwaresource ProfileTypeEnum = "SOFTWARESOURCE" ProfileTypeGroup ProfileTypeEnum = "GROUP" ProfileTypeLifecycle ProfileTypeEnum = "LIFECYCLE" ProfileTypeStation ProfileTypeEnum = "STATION" )
func GetMappingProfileTypeEnum(val string) (ProfileTypeEnum, bool)
GetMappingProfileTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProfileTypeEnumValues() []ProfileTypeEnum
GetProfileTypeEnumValues Enumerates the set of values for ProfileTypeEnum
PromoteSoftwareSourceToLifecycleStageDetails A versioned custom software source OCID (softwareSourceId) is required when promoting software source content to lifecycle stage rank one. Software source content must be promoted to lifecycle stage rank one before being eligible for promotion to subsequent lifecycle stages, else an error is returned. Software source content is expected to be promoted in order starting with lifecycle stage rank one, followed by rank two, then rank three and so on. When promoting software source content to lifecycle stage rank two, three, four or five, softwareSourceId is optional. If a softwareSourceId is provided for a lifecycle stage between two and five, the system validates that the softwareSourceId is already promoted to the previous lifecycle stage. If the softwareSourceId from the previous lifecycle stage does not match the provided softwareSourceId an error returns. If a softwareSourceId is not provided for a lifecycle stage between two and five, the system promotes the softwareSourceId from the previous lifecycle stage. If the previous lifecycle stage has no SourceSource content an error returns.
type PromoteSoftwareSourceToLifecycleStageDetails struct { WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m PromoteSoftwareSourceToLifecycleStageDetails) String() string
func (m PromoteSoftwareSourceToLifecycleStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PromoteSoftwareSourceToLifecycleStageRequest wrapper for the PromoteSoftwareSourceToLifecycleStage operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/PromoteSoftwareSourceToLifecycleStage.go.html to see an example of how to use PromoteSoftwareSourceToLifecycleStageRequest.
type PromoteSoftwareSourceToLifecycleStageRequest struct { // The OCID of the lifecycle stage. LifecycleStageId *string `mandatory:"true" contributesTo:"path" name:"lifecycleStageId"` // Details for the software source promotion job. PromoteSoftwareSourceToLifecycleStageDetails `contributesTo:"body"` // The OCID for the software source. SoftwareSourceId *string `mandatory:"false" contributesTo:"query" name:"softwareSourceId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request PromoteSoftwareSourceToLifecycleStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request PromoteSoftwareSourceToLifecycleStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request PromoteSoftwareSourceToLifecycleStageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request PromoteSoftwareSourceToLifecycleStageRequest) String() string
func (request PromoteSoftwareSourceToLifecycleStageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PromoteSoftwareSourceToLifecycleStageResponse wrapper for the PromoteSoftwareSourceToLifecycleStage operation
type PromoteSoftwareSourceToLifecycleStageResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 PromoteSoftwareSourceToLifecycleStageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response PromoteSoftwareSourceToLifecycleStageResponse) String() string
ProxyConfiguration Information for a proxy configuration
type ProxyConfiguration struct { // To enable or disable the proxy (default true) IsEnabled *bool `mandatory:"true" json:"isEnabled"` // List of hosts Hosts []string `mandatory:"false" json:"hosts"` // Port that the proxy will use Port *string `mandatory:"false" json:"port"` // URL that the proxy will forward to Forward *string `mandatory:"false" json:"forward"` }
func (m ProxyConfiguration) String() string
func (m ProxyConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RefreshSoftwareOnManagedInstanceRequest wrapper for the RefreshSoftwareOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/RefreshSoftwareOnManagedInstance.go.html to see an example of how to use RefreshSoftwareOnManagedInstanceRequest.
type RefreshSoftwareOnManagedInstanceRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 RefreshSoftwareOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RefreshSoftwareOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RefreshSoftwareOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RefreshSoftwareOnManagedInstanceRequest) String() string
func (request RefreshSoftwareOnManagedInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RefreshSoftwareOnManagedInstanceResponse wrapper for the RefreshSoftwareOnManagedInstance operation
type RefreshSoftwareOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 RefreshSoftwareOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RefreshSoftwareOnManagedInstanceResponse) String() string
RemoveModuleStreamProfileFromManagedInstanceDetails The details of the module stream profile to be removed on a managed instance.
type RemoveModuleStreamProfileFromManagedInstanceDetails struct { // The name of a module. ModuleName *string `mandatory:"true" json:"moduleName"` // The name of a stream of the specified module. StreamName *string `mandatory:"false" json:"streamName"` // The name of a profile of the specified module stream. ProfileName *string `mandatory:"false" json:"profileName"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m RemoveModuleStreamProfileFromManagedInstanceDetails) String() string
func (m RemoveModuleStreamProfileFromManagedInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveModuleStreamProfileFromManagedInstanceGroupDetails The work request details for the module stream profile operation on the managed instance group.
type RemoveModuleStreamProfileFromManagedInstanceGroupDetails struct { // The name of a module. ModuleName *string `mandatory:"false" json:"moduleName"` // The name of a stream of the specified module. StreamName *string `mandatory:"false" json:"streamName"` // The name of a profile of the specified module stream. ProfileName *string `mandatory:"false" json:"profileName"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m RemoveModuleStreamProfileFromManagedInstanceGroupDetails) String() string
func (m RemoveModuleStreamProfileFromManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveModuleStreamProfileFromManagedInstanceGroupRequest wrapper for the RemoveModuleStreamProfileFromManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/RemoveModuleStreamProfileFromManagedInstanceGroup.go.html to see an example of how to use RemoveModuleStreamProfileFromManagedInstanceGroupRequest.
type RemoveModuleStreamProfileFromManagedInstanceGroupRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // Details for profiles to remove from the managed instance group. RemoveModuleStreamProfileFromManagedInstanceGroupDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RemoveModuleStreamProfileFromManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemoveModuleStreamProfileFromManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveModuleStreamProfileFromManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveModuleStreamProfileFromManagedInstanceGroupRequest) String() string
func (request RemoveModuleStreamProfileFromManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveModuleStreamProfileFromManagedInstanceGroupResponse wrapper for the RemoveModuleStreamProfileFromManagedInstanceGroup operation
type RemoveModuleStreamProfileFromManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 RemoveModuleStreamProfileFromManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveModuleStreamProfileFromManagedInstanceGroupResponse) String() string
RemoveModuleStreamProfileFromManagedInstanceRequest wrapper for the RemoveModuleStreamProfileFromManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/RemoveModuleStreamProfileFromManagedInstance.go.html to see an example of how to use RemoveModuleStreamProfileFromManagedInstanceRequest.
type RemoveModuleStreamProfileFromManagedInstanceRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // The details of the module stream profile to be removed from a managed instance. RemoveModuleStreamProfileFromManagedInstanceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 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 work. You can use this to query its status. 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
RemovePackagesFromManagedInstanceDetails The details about the software packages to be removed.
type RemovePackagesFromManagedInstanceDetails struct { // The list of package names. PackageNames []string `mandatory:"true" json:"packageNames"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m RemovePackagesFromManagedInstanceDetails) String() string
func (m RemovePackagesFromManagedInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemovePackagesFromManagedInstanceGroupDetails The names of the packages to be removed from the managed instance group.
type RemovePackagesFromManagedInstanceGroupDetails struct { // The list of package names. PackageNames []string `mandatory:"false" json:"packageNames"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m RemovePackagesFromManagedInstanceGroupDetails) String() string
func (m RemovePackagesFromManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemovePackagesFromManagedInstanceGroupRequest wrapper for the RemovePackagesFromManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/RemovePackagesFromManagedInstanceGroup.go.html to see an example of how to use RemovePackagesFromManagedInstanceGroupRequest.
type RemovePackagesFromManagedInstanceGroupRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // Details for packages to remove from the managed instance group. RemovePackagesFromManagedInstanceGroupDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RemovePackagesFromManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemovePackagesFromManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemovePackagesFromManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemovePackagesFromManagedInstanceGroupRequest) String() string
func (request RemovePackagesFromManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemovePackagesFromManagedInstanceGroupResponse wrapper for the RemovePackagesFromManagedInstanceGroup operation
type RemovePackagesFromManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 RemovePackagesFromManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemovePackagesFromManagedInstanceGroupResponse) String() string
RemovePackagesFromManagedInstanceRequest wrapper for the RemovePackagesFromManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/RemovePackagesFromManagedInstance.go.html to see an example of how to use RemovePackagesFromManagedInstanceRequest.
type RemovePackagesFromManagedInstanceRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Details about packages to be removed on a managed instance. RemovePackagesFromManagedInstanceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 RemovePackagesFromManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemovePackagesFromManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemovePackagesFromManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemovePackagesFromManagedInstanceRequest) String() string
func (request RemovePackagesFromManagedInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemovePackagesFromManagedInstanceResponse wrapper for the RemovePackagesFromManagedInstance operation
type RemovePackagesFromManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 RemovePackagesFromManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemovePackagesFromManagedInstanceResponse) String() string
ReportingManagedInstanceClient a client for ReportingManagedInstance
type ReportingManagedInstanceClient struct { common.BaseClient // contains filtered or unexported fields }
func NewReportingManagedInstanceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ReportingManagedInstanceClient, err error)
NewReportingManagedInstanceClientWithConfigurationProvider Creates a new default ReportingManagedInstance client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewReportingManagedInstanceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ReportingManagedInstanceClient, err error)
NewReportingManagedInstanceClientWithOboToken Creates a new default ReportingManagedInstance 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 *ReportingManagedInstanceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client ReportingManagedInstanceClient) GetManagedInstanceAnalyticContent(ctx context.Context, request GetManagedInstanceAnalyticContentRequest) (response GetManagedInstanceAnalyticContentResponse, err error)
GetManagedInstanceAnalyticContent Returns a CSV format report of managed instances matching the given filters.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetManagedInstanceAnalyticContent.go.html to see an example of how to use GetManagedInstanceAnalyticContent API. A default retry strategy applies to this operation GetManagedInstanceAnalyticContent()
func (client ReportingManagedInstanceClient) GetManagedInstanceContent(ctx context.Context, request GetManagedInstanceContentRequest) (response GetManagedInstanceContentResponse, err error)
GetManagedInstanceContent Returns a CSV format report of a single managed instance whose associated Erratas match the given filters.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetManagedInstanceContent.go.html to see an example of how to use GetManagedInstanceContent API. A default retry strategy applies to this operation GetManagedInstanceContent()
func (client *ReportingManagedInstanceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client ReportingManagedInstanceClient) SummarizeManagedInstanceAnalytics(ctx context.Context, request SummarizeManagedInstanceAnalyticsRequest) (response SummarizeManagedInstanceAnalyticsResponse, err error)
SummarizeManagedInstanceAnalytics Returns a list of user specified metrics for a collection of managed instances.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/SummarizeManagedInstanceAnalytics.go.html to see an example of how to use SummarizeManagedInstanceAnalytics API. A default retry strategy applies to this operation SummarizeManagedInstanceAnalytics()
RunScheduledJobNowRequest wrapper for the RunScheduledJobNow operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/RunScheduledJobNow.go.html to see an example of how to use RunScheduledJobNowRequest.
type RunScheduledJobNowRequest struct { // The OCID of the scheduled job. ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 // 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 { // The OCID of the scheduled job. Id *string `mandatory:"true" json:"id"` // Scheduled job name. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the compartment containing the scheduled job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The type of scheduling this scheduled job follows. ScheduleType ScheduleTypesEnum `mandatory:"true" json:"scheduleType"` // The time of the next execution of this scheduled job. TimeNextExecution *common.SDKTime `mandatory:"true" json:"timeNextExecution"` // The list of operations this scheduled job needs to perform (can only support one operation if the operationType is not UPDATE_PACKAGES/UPDATE_ALL/UPDATE_SECURITY/UPDATE_BUGFIX/UPDATE_ENHANCEMENT/UPDATE_OTHER/UPDATE_KSPLICE_USERSPACE/UPDATE_KSPLICE_KERNEL). Operations []ScheduledJobOperation `mandatory:"true" json:"operations"` // The time this scheduled job was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time this scheduled job was updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current state of the scheduled job. LifecycleState ScheduledJobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // Details describing the scheduled job. Description *string `mandatory:"false" json:"description"` // The time of the last execution of this scheduled job. TimeLastExecution *common.SDKTime `mandatory:"false" json:"timeLastExecution"` // The recurring rule for a RECURRING scheduled job. RecurringRule *string `mandatory:"false" json:"recurringRule"` // The list of managed instance OCIDs this scheduled job operates on (mutually exclusive with managedInstanceGroupIds, managedCompartmentIds and lifecycleStageIds). ManagedInstanceIds []string `mandatory:"false" json:"managedInstanceIds"` // The list of managed instance group OCIDs this scheduled job operates on (mutually exclusive with managedInstances, managedCompartmentIds and lifecycleStageIds). ManagedInstanceGroupIds []string `mandatory:"false" json:"managedInstanceGroupIds"` // The list of target compartment OCIDs if this scheduled job operates on a compartment level (mutually exclusive with managedInstances, managedInstanceGroupIds and lifecycleStageIds). ManagedCompartmentIds []string `mandatory:"false" json:"managedCompartmentIds"` // The list of target lifecycle stage OCIDs if this scheduled job operates on lifecycle stages (mutually exclusive with managedInstances, managedInstanceGroupIds and managedCompartmentIds). LifecycleStageIds []string `mandatory:"false" json:"lifecycleStageIds"` // Whether to create jobs for all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID. IsSubcompartmentIncluded *bool `mandatory:"false" json:"isSubcompartmentIncluded"` // The list of work request OCIDs associated with this scheduled job. WorkRequestIds []string `mandatory:"false" json:"workRequestIds"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // true, if the schedule job has its update/deletion capabilities restricted. (Used to track scheduled job for management station syncing). 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
ScheduledJobClient a client for ScheduledJob
type ScheduledJobClient struct { common.BaseClient // contains filtered or unexported fields }
func NewScheduledJobClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ScheduledJobClient, err error)
NewScheduledJobClientWithConfigurationProvider Creates a new default ScheduledJob client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewScheduledJobClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ScheduledJobClient, err error)
NewScheduledJobClientWithOboToken Creates a new default ScheduledJob 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 *ScheduledJobClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client ScheduledJobClient) CreateScheduledJob(ctx context.Context, request CreateScheduledJobRequest) (response CreateScheduledJobResponse, err error)
CreateScheduledJob Creates a new scheduled job.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/CreateScheduledJob.go.html to see an example of how to use CreateScheduledJob API. A default retry strategy applies to this operation CreateScheduledJob()
func (client ScheduledJobClient) DeleteScheduledJob(ctx context.Context, request DeleteScheduledJobRequest) (response DeleteScheduledJobResponse, err error)
DeleteScheduledJob Deletes the specified scheduled job.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DeleteScheduledJob.go.html to see an example of how to use DeleteScheduledJob API. A default retry strategy applies to this operation DeleteScheduledJob()
func (client ScheduledJobClient) GetScheduledJob(ctx context.Context, request GetScheduledJobRequest) (response GetScheduledJobResponse, err error)
GetScheduledJob Gets information about the specified scheduled job.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetScheduledJob.go.html to see an example of how to use GetScheduledJob API. A default retry strategy applies to this operation GetScheduledJob()
func (client ScheduledJobClient) ListScheduledJobs(ctx context.Context, request ListScheduledJobsRequest) (response ListScheduledJobsResponse, err error)
ListScheduledJobs Lists scheduled jobs that match the specified compartment or scheduled job OCID. Filter the list against a variety of criteria including but not limited to its display name, lifecycle state, operation type, and schedule type.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListScheduledJobs.go.html to see an example of how to use ListScheduledJobs API. A default retry strategy applies to this operation ListScheduledJobs()
func (client ScheduledJobClient) RunScheduledJobNow(ctx context.Context, request RunScheduledJobNowRequest) (response RunScheduledJobNowResponse, err error)
RunScheduledJobNow Triggers an already created RECURRING scheduled job to run immediately instead of waiting for its next regularly scheduled time. This operation does not support ONETIME scheduled job.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/RunScheduledJobNow.go.html to see an example of how to use RunScheduledJobNow API. A default retry strategy applies to this operation RunScheduledJobNow()
func (client *ScheduledJobClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client ScheduledJobClient) UpdateScheduledJob(ctx context.Context, request UpdateScheduledJobRequest) (response UpdateScheduledJobResponse, err error)
UpdateScheduledJob Updates the specified scheduled job's name, description, and other details, such as next execution and recurrence.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateScheduledJob.go.html to see an example of how to use UpdateScheduledJob API. A default retry strategy applies to this operation UpdateScheduledJob()
ScheduledJobCollection Results of a scheduled job search. Contains boh ScheduledJobSummary items and other information, such as metadata.
type ScheduledJobCollection struct { // List of scheduled jobs. Items []ScheduledJobSummary `mandatory:"true" json:"items"` }
func (m ScheduledJobCollection) String() string
func (m ScheduledJobCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ScheduledJobLifecycleStateEnum Enum with underlying type: string
type ScheduledJobLifecycleStateEnum string
Set of constants representing the allowable values for ScheduledJobLifecycleStateEnum
const ( ScheduledJobLifecycleStateCreating ScheduledJobLifecycleStateEnum = "CREATING" ScheduledJobLifecycleStateUpdating ScheduledJobLifecycleStateEnum = "UPDATING" ScheduledJobLifecycleStateActive ScheduledJobLifecycleStateEnum = "ACTIVE" ScheduledJobLifecycleStateInactive ScheduledJobLifecycleStateEnum = "INACTIVE" ScheduledJobLifecycleStateDeleting ScheduledJobLifecycleStateEnum = "DELETING" ScheduledJobLifecycleStateDeleted ScheduledJobLifecycleStateEnum = "DELETED" ScheduledJobLifecycleStateFailed ScheduledJobLifecycleStateEnum = "FAILED" )
func GetMappingScheduledJobLifecycleStateEnum(val string) (ScheduledJobLifecycleStateEnum, bool)
GetMappingScheduledJobLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetScheduledJobLifecycleStateEnumValues() []ScheduledJobLifecycleStateEnum
GetScheduledJobLifecycleStateEnumValues Enumerates the set of values for ScheduledJobLifecycleStateEnum
ScheduledJobOperation Defines an operation in a scheduled job.
type ScheduledJobOperation struct { // The type of operation this scheduled job performs. OperationType OperationTypesEnum `mandatory:"true" json:"operationType"` // The names of the target packages (only if operation type is INSTALL_PACKAGES/UPDATE_PACKAGES/REMOVE_PACKAGES). PackageNames []string `mandatory:"false" json:"packageNames"` ManageModuleStreamsDetails *ManageModuleStreamsInScheduledJobDetails `mandatory:"false" json:"manageModuleStreamsDetails"` SwitchModuleStreamsDetails *ModuleStreamDetails `mandatory:"false" json:"switchModuleStreamsDetails"` // The OCIDs for the software sources (only if operation type is ATTACH_SOFTWARE_SOURCES/DETACH_SOFTWARE_SOURCES). SoftwareSourceIds []string `mandatory:"false" json:"softwareSourceIds"` }
func (m ScheduledJobOperation) String() string
func (m ScheduledJobOperation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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 Summary of the scheduled job.
type ScheduledJobSummary struct { // The OCID of the scheduled job. Id *string `mandatory:"true" json:"id"` // Scheduled job name. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the compartment containing the scheduled job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The type of scheduling this scheduled job follows. ScheduleType ScheduleTypesEnum `mandatory:"true" json:"scheduleType"` // The time this scheduled job was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time this scheduled job was updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The time/date of the next scheduled execution of this scheduled job. TimeNextExecution *common.SDKTime `mandatory:"true" json:"timeNextExecution"` // The list of operations this scheduled job needs to perform (can only support one operation if the operationType is not UPDATE_PACKAGES/UPDATE_ALL/UPDATE_SECURITY/UPDATE_BUGFIX/UPDATE_ENHANCEMENT/UPDATE_OTHER/UPDATE_KSPLICE_USERSPACE/UPDATE_KSPLICE_KERNEL). Operations []ScheduledJobOperation `mandatory:"true" json:"operations"` // The current state of the scheduled job. LifecycleState ScheduledJobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // The time/date of the last execution of this scheduled job. TimeLastExecution *common.SDKTime `mandatory:"false" json:"timeLastExecution"` // The list of managed instance OCIDs this scheduled job operates on (mutually exclusive with managedInstanceGroupIds, managedCompartmentIds and lifecycleStageIds). ManagedInstanceIds []string `mandatory:"false" json:"managedInstanceIds"` // The list of managed instance group OCIDs this scheduled job operates on (mutually exclusive with managedInstances, managedCompartmentIds and lifecycleStageIds). ManagedInstanceGroupIds []string `mandatory:"false" json:"managedInstanceGroupIds"` // The list of target compartment OCIDs if this scheduled job operates on a compartment level (mutually exclusive with managedInstances, managedInstanceGroupIds and lifecycleStageIds). ManagedCompartmentIds []string `mandatory:"false" json:"managedCompartmentIds"` // The list of target lifecycle stage OCIDs if this scheduled job operates on lifecycle stages (mutually exclusive with managedInstances, managedInstanceGroupIds and managedCompartmentIds). LifecycleStageIds []string `mandatory:"false" json:"lifecycleStageIds"` // true, if the schedule job has its update/deletion capabilities restricted. (Used to track scheduled job for management station syncing). IsRestricted *bool `mandatory:"false" json:"isRestricted"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
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
SearchSoftwareSourceModuleStreamsDetails Contains a list of software sources to get the combined list of module streams from all of those software sources.
type SearchSoftwareSourceModuleStreamsDetails struct { // List of software source OCIDs. SoftwareSourceIds []string `mandatory:"true" json:"softwareSourceIds"` // The sort order. SortOrder SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum `mandatory:"false" json:"sortOrder,omitempty"` // The name of a module. ModuleName *string `mandatory:"false" json:"moduleName"` // The field to sort by. SortBy SearchSoftwareSourceModuleStreamsDetailsSortByEnum `mandatory:"false" json:"sortBy,omitempty"` }
func (m SearchSoftwareSourceModuleStreamsDetails) String() string
func (m SearchSoftwareSourceModuleStreamsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SearchSoftwareSourceModuleStreamsDetailsSortByEnum Enum with underlying type: string
type SearchSoftwareSourceModuleStreamsDetailsSortByEnum string
Set of constants representing the allowable values for SearchSoftwareSourceModuleStreamsDetailsSortByEnum
const ( SearchSoftwareSourceModuleStreamsDetailsSortByModulename SearchSoftwareSourceModuleStreamsDetailsSortByEnum = "MODULENAME" )
func GetMappingSearchSoftwareSourceModuleStreamsDetailsSortByEnum(val string) (SearchSoftwareSourceModuleStreamsDetailsSortByEnum, bool)
GetMappingSearchSoftwareSourceModuleStreamsDetailsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchSoftwareSourceModuleStreamsDetailsSortByEnumValues() []SearchSoftwareSourceModuleStreamsDetailsSortByEnum
GetSearchSoftwareSourceModuleStreamsDetailsSortByEnumValues Enumerates the set of values for SearchSoftwareSourceModuleStreamsDetailsSortByEnum
SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum Enum with underlying type: string
type SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum string
Set of constants representing the allowable values for SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum
const ( SearchSoftwareSourceModuleStreamsDetailsSortOrderAsc SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum = "ASC" SearchSoftwareSourceModuleStreamsDetailsSortOrderDesc SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum = "DESC" )
func GetMappingSearchSoftwareSourceModuleStreamsDetailsSortOrderEnum(val string) (SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum, bool)
GetMappingSearchSoftwareSourceModuleStreamsDetailsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchSoftwareSourceModuleStreamsDetailsSortOrderEnumValues() []SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum
GetSearchSoftwareSourceModuleStreamsDetailsSortOrderEnumValues Enumerates the set of values for SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum
SearchSoftwareSourceModuleStreamsRequest wrapper for the SearchSoftwareSourceModuleStreams operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/SearchSoftwareSourceModuleStreams.go.html to see an example of how to use SearchSoftwareSourceModuleStreamsRequest.
type SearchSoftwareSourceModuleStreamsRequest struct { // Request body that takes a list of software sources and any search filters. SearchSoftwareSourceModuleStreamsDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request SearchSoftwareSourceModuleStreamsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SearchSoftwareSourceModuleStreamsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SearchSoftwareSourceModuleStreamsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SearchSoftwareSourceModuleStreamsRequest) String() string
func (request SearchSoftwareSourceModuleStreamsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SearchSoftwareSourceModuleStreamsResponse wrapper for the SearchSoftwareSourceModuleStreams operation
type SearchSoftwareSourceModuleStreamsResponse struct { // The underlying http response RawResponse *http.Response // A list of ModuleStreamCollection instances ModuleStreamCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SearchSoftwareSourceModuleStreamsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SearchSoftwareSourceModuleStreamsResponse) String() string
SearchSoftwareSourceModulesDetails Contains a list of software sources to get the combined list of modules from all of those software sources.
type SearchSoftwareSourceModulesDetails struct { // List of software source OCIDs. SoftwareSourceIds []string `mandatory:"true" json:"softwareSourceIds"` // The sort order. SortOrder SearchSoftwareSourceModulesDetailsSortOrderEnum `mandatory:"false" json:"sortOrder,omitempty"` // The name of a module. Name *string `mandatory:"false" json:"name"` // filters results, allowing only those with a name which contains the string. NameContains *string `mandatory:"false" json:"nameContains"` // The field to sort by. SortBy SearchSoftwareSourceModulesDetailsSortByEnum `mandatory:"false" json:"sortBy,omitempty"` }
func (m SearchSoftwareSourceModulesDetails) String() string
func (m SearchSoftwareSourceModulesDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SearchSoftwareSourceModulesDetailsSortByEnum Enum with underlying type: string
type SearchSoftwareSourceModulesDetailsSortByEnum string
Set of constants representing the allowable values for SearchSoftwareSourceModulesDetailsSortByEnum
const ( SearchSoftwareSourceModulesDetailsSortByName SearchSoftwareSourceModulesDetailsSortByEnum = "NAME" )
func GetMappingSearchSoftwareSourceModulesDetailsSortByEnum(val string) (SearchSoftwareSourceModulesDetailsSortByEnum, bool)
GetMappingSearchSoftwareSourceModulesDetailsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchSoftwareSourceModulesDetailsSortByEnumValues() []SearchSoftwareSourceModulesDetailsSortByEnum
GetSearchSoftwareSourceModulesDetailsSortByEnumValues Enumerates the set of values for SearchSoftwareSourceModulesDetailsSortByEnum
SearchSoftwareSourceModulesDetailsSortOrderEnum Enum with underlying type: string
type SearchSoftwareSourceModulesDetailsSortOrderEnum string
Set of constants representing the allowable values for SearchSoftwareSourceModulesDetailsSortOrderEnum
const ( SearchSoftwareSourceModulesDetailsSortOrderAsc SearchSoftwareSourceModulesDetailsSortOrderEnum = "ASC" SearchSoftwareSourceModulesDetailsSortOrderDesc SearchSoftwareSourceModulesDetailsSortOrderEnum = "DESC" )
func GetMappingSearchSoftwareSourceModulesDetailsSortOrderEnum(val string) (SearchSoftwareSourceModulesDetailsSortOrderEnum, bool)
GetMappingSearchSoftwareSourceModulesDetailsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchSoftwareSourceModulesDetailsSortOrderEnumValues() []SearchSoftwareSourceModulesDetailsSortOrderEnum
GetSearchSoftwareSourceModulesDetailsSortOrderEnumValues Enumerates the set of values for SearchSoftwareSourceModulesDetailsSortOrderEnum
SearchSoftwareSourceModulesRequest wrapper for the SearchSoftwareSourceModules operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/SearchSoftwareSourceModules.go.html to see an example of how to use SearchSoftwareSourceModulesRequest.
type SearchSoftwareSourceModulesRequest struct { // Request body that takes a list of software sources and any search filters. SearchSoftwareSourceModulesDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request SearchSoftwareSourceModulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SearchSoftwareSourceModulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SearchSoftwareSourceModulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SearchSoftwareSourceModulesRequest) String() string
func (request SearchSoftwareSourceModulesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SearchSoftwareSourceModulesResponse wrapper for the SearchSoftwareSourceModules operation
type SearchSoftwareSourceModulesResponse struct { // The underlying http response RawResponse *http.Response // A list of ModuleCollection instances ModuleCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SearchSoftwareSourceModulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SearchSoftwareSourceModulesResponse) String() string
SearchSoftwareSourcePackageGroupsDetails Contains a list of software sources to get the list of associated package groups.
type SearchSoftwareSourcePackageGroupsDetails struct { // List of software source OCIDs. SoftwareSourceIds []string `mandatory:"true" json:"softwareSourceIds"` // The sort order. SortOrder SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum `mandatory:"false" json:"sortOrder,omitempty"` // The field to sort by. SortBy SearchSoftwareSourcePackageGroupsDetailsSortByEnum `mandatory:"false" json:"sortBy,omitempty"` // filters results, allowing only those with a Name which contains the string. NameContains *string `mandatory:"false" json:"nameContains"` // Indicates if this is a group, category or environment. GroupType PackageGroupGroupTypeEnum `mandatory:"false" json:"groupType,omitempty"` }
func (m SearchSoftwareSourcePackageGroupsDetails) String() string
func (m SearchSoftwareSourcePackageGroupsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SearchSoftwareSourcePackageGroupsDetailsSortByEnum Enum with underlying type: string
type SearchSoftwareSourcePackageGroupsDetailsSortByEnum string
Set of constants representing the allowable values for SearchSoftwareSourcePackageGroupsDetailsSortByEnum
const ( SearchSoftwareSourcePackageGroupsDetailsSortByName SearchSoftwareSourcePackageGroupsDetailsSortByEnum = "NAME" )
func GetMappingSearchSoftwareSourcePackageGroupsDetailsSortByEnum(val string) (SearchSoftwareSourcePackageGroupsDetailsSortByEnum, bool)
GetMappingSearchSoftwareSourcePackageGroupsDetailsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchSoftwareSourcePackageGroupsDetailsSortByEnumValues() []SearchSoftwareSourcePackageGroupsDetailsSortByEnum
GetSearchSoftwareSourcePackageGroupsDetailsSortByEnumValues Enumerates the set of values for SearchSoftwareSourcePackageGroupsDetailsSortByEnum
SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum Enum with underlying type: string
type SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum string
Set of constants representing the allowable values for SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum
const ( SearchSoftwareSourcePackageGroupsDetailsSortOrderAsc SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum = "ASC" SearchSoftwareSourcePackageGroupsDetailsSortOrderDesc SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum = "DESC" )
func GetMappingSearchSoftwareSourcePackageGroupsDetailsSortOrderEnum(val string) (SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum, bool)
GetMappingSearchSoftwareSourcePackageGroupsDetailsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchSoftwareSourcePackageGroupsDetailsSortOrderEnumValues() []SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum
GetSearchSoftwareSourcePackageGroupsDetailsSortOrderEnumValues Enumerates the set of values for SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum
SearchSoftwareSourcePackageGroupsRequest wrapper for the SearchSoftwareSourcePackageGroups operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/SearchSoftwareSourcePackageGroups.go.html to see an example of how to use SearchSoftwareSourcePackageGroupsRequest.
type SearchSoftwareSourcePackageGroupsRequest struct { // Request body that takes in a list of software sources and other search parameters. SearchSoftwareSourcePackageGroupsDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request SearchSoftwareSourcePackageGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SearchSoftwareSourcePackageGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SearchSoftwareSourcePackageGroupsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SearchSoftwareSourcePackageGroupsRequest) String() string
func (request SearchSoftwareSourcePackageGroupsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SearchSoftwareSourcePackageGroupsResponse wrapper for the SearchSoftwareSourcePackageGroups operation
type SearchSoftwareSourcePackageGroupsResponse struct { // The underlying http response RawResponse *http.Response // A list of PackageGroupCollection instances PackageGroupCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SearchSoftwareSourcePackageGroupsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SearchSoftwareSourcePackageGroupsResponse) 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 []SoftwareSourceDetails `mandatory:"false" json:"softwareSources"` // Indicates whether this package is the latest version. IsLatest *bool `mandatory:"false" json:"isLatest"` }
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
SoftwarePackageCollection Results of a software package search. Contains boh software package summary items and other information, such as metadata.
type SoftwarePackageCollection struct { // List of software packages. Items []SoftwarePackageSummary `mandatory:"true" json:"items"` }
func (m SoftwarePackageCollection) String() string
func (m SoftwarePackageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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
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"` // Indicates whether this package is the latest version. IsLatest *bool `mandatory:"false" json:"isLatest"` // List of software sources that provide the software package. SoftwareSources []SoftwareSourceDetails `mandatory:"false" json:"softwareSources"` }
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
SoftwarePackagesDetails The details about the software packages to be installed/removed/updated.
type SoftwarePackagesDetails struct { // The list of package names. PackageNames []string `mandatory:"true" json:"packageNames"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m SoftwarePackagesDetails) String() string
func (m SoftwarePackagesDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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 interface { // OCID for the software source. GetId() *string // The OCID of the tenancy containing the software source. GetCompartmentId() *string // User friendly name for the software source. GetDisplayName() *string // The date and time the software source was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. GetTimeCreated() *common.SDKTime // Possible availabilities of a software source. GetAvailability() AvailabilityEnum // The Repo ID for the software source. GetRepoId() *string // The OS family the software source belongs to. GetOsFamily() OsFamilyEnum // The architecture type supported by the software source. GetArchType() ArchTypeEnum // URL for the repository. GetUrl() *string // Information specified by the user about the software source. GetDescription() *string // The current state of the software source. GetLifecycleState() SoftwareSourceLifecycleStateEnum // Number of packages. GetPackageCount() *int64 // The yum repository checksum type used by this software source. GetChecksumType() ChecksumTypeEnum // URL of the GPG key for this software source. GetGpgKeyUrl() *string // ID of the GPG key for this software source. GetGpgKeyId() *string // Fingerprint of the GPG key for this software source. GetGpgKeyFingerprint() *string // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` GetSystemTags() map[string]map[string]interface{} }
SoftwareSourceAvailability An object that contains a software source OCID and its availability.
type SoftwareSourceAvailability struct { // The OCID for a vendor software source. SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"` // Possible availabilities of a software source. Availability AvailabilityEnum `mandatory:"true" json:"availability"` }
func (m SoftwareSourceAvailability) String() string
func (m SoftwareSourceAvailability) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SoftwareSourceClient a client for SoftwareSource
type SoftwareSourceClient struct { common.BaseClient // contains filtered or unexported fields }
func NewSoftwareSourceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client SoftwareSourceClient, err error)
NewSoftwareSourceClientWithConfigurationProvider Creates a new default SoftwareSource client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewSoftwareSourceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client SoftwareSourceClient, err error)
NewSoftwareSourceClientWithOboToken Creates a new default SoftwareSource 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 SoftwareSourceClient) ChangeAvailabilityOfSoftwareSources(ctx context.Context, request ChangeAvailabilityOfSoftwareSourcesRequest) (response ChangeAvailabilityOfSoftwareSourcesResponse, err error)
ChangeAvailabilityOfSoftwareSources Updates the availability for a list of specified software sources.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ChangeAvailabilityOfSoftwareSources.go.html to see an example of how to use ChangeAvailabilityOfSoftwareSources API. A default retry strategy applies to this operation ChangeAvailabilityOfSoftwareSources()
func (client *SoftwareSourceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client SoftwareSourceClient) CreateEntitlement(ctx context.Context, request CreateEntitlementRequest) (response CreateEntitlementResponse, err error)
CreateEntitlement Registers the necessary entitlement credentials for OS vendor software sources.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/CreateEntitlement.go.html to see an example of how to use CreateEntitlement API. A default retry strategy applies to this operation CreateEntitlement()
func (client SoftwareSourceClient) CreateSoftwareSource(ctx context.Context, request CreateSoftwareSourceRequest) (response CreateSoftwareSourceResponse, err error)
CreateSoftwareSource Creates a new versioned or custom software source.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/CreateSoftwareSource.go.html to see an example of how to use CreateSoftwareSource API. A default retry strategy applies to this operation CreateSoftwareSource()
func (client SoftwareSourceClient) DeleteSoftwareSource(ctx context.Context, request DeleteSoftwareSourceRequest) (response DeleteSoftwareSourceResponse, err error)
DeleteSoftwareSource Deletes the specified software source.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/DeleteSoftwareSource.go.html to see an example of how to use DeleteSoftwareSource API. A default retry strategy applies to this operation DeleteSoftwareSource()
func (client SoftwareSourceClient) GetErratum(ctx context.Context, request GetErratumRequest) (response GetErratumResponse, err error)
GetErratum Gets information about the specified erratum by its advisory name.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetErratum.go.html to see an example of how to use GetErratum API. A default retry strategy applies to this operation GetErratum()
func (client SoftwareSourceClient) GetModuleStream(ctx context.Context, request GetModuleStreamRequest) (response GetModuleStreamResponse, err error)
GetModuleStream Gets information about the specified module stream in a software source.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetModuleStream.go.html to see an example of how to use GetModuleStream API. A default retry strategy applies to this operation GetModuleStream()
func (client SoftwareSourceClient) GetModuleStreamProfile(ctx context.Context, request GetModuleStreamProfileRequest) (response GetModuleStreamProfileResponse, err error)
GetModuleStreamProfile Gets information about the specified module stream profile in a software source.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetModuleStreamProfile.go.html to see an example of how to use GetModuleStreamProfile API. A default retry strategy applies to this operation GetModuleStreamProfile()
func (client SoftwareSourceClient) GetPackageGroup(ctx context.Context, request GetPackageGroupRequest) (response GetPackageGroupResponse, err error)
GetPackageGroup Gets information about the specified package group from a software source.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetPackageGroup.go.html to see an example of how to use GetPackageGroup API. A default retry strategy applies to this operation GetPackageGroup()
func (client SoftwareSourceClient) GetSoftwarePackage(ctx context.Context, request GetSoftwarePackageRequest) (response GetSoftwarePackageResponse, err error)
GetSoftwarePackage Gets information about the specified software package.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetSoftwarePackage.go.html to see an example of how to use GetSoftwarePackage API. A default retry strategy applies to this operation GetSoftwarePackage()
func (client SoftwareSourceClient) GetSoftwareSource(ctx context.Context, request GetSoftwareSourceRequest) (response GetSoftwareSourceResponse, err error)
GetSoftwareSource Gets information about the specified software source.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetSoftwareSource.go.html to see an example of how to use GetSoftwareSource API. A default retry strategy applies to this operation GetSoftwareSource()
func (client SoftwareSourceClient) ListEntitlements(ctx context.Context, request ListEntitlementsRequest) (response ListEntitlementsResponse, err error)
ListEntitlements Lists entitlements in the specified tenancy OCID. Filter the list against a variety of criteria including but not limited to its CSI, and vendor name.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListEntitlements.go.html to see an example of how to use ListEntitlements API. A default retry strategy applies to this operation ListEntitlements()
func (client SoftwareSourceClient) ListErrata(ctx context.Context, request ListErrataRequest) (response ListErrataResponse, err error)
ListErrata Lists all of the currently available errata. Filter the list against a variety of criteria including but not limited to its name, classification type, advisory severity, and OS family.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListErrata.go.html to see an example of how to use ListErrata API. A default retry strategy applies to this operation ListErrata()
func (client SoftwareSourceClient) ListModuleStreamProfiles(ctx context.Context, request ListModuleStreamProfilesRequest) (response ListModuleStreamProfilesResponse, err error)
ListModuleStreamProfiles Lists module stream profiles from the specified software source OCID. Filter the list against a variety of criteria including but not limited to its module name, stream name, and (profile) name.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListModuleStreamProfiles.go.html to see an example of how to use ListModuleStreamProfiles API. A default retry strategy applies to this operation ListModuleStreamProfiles()
func (client SoftwareSourceClient) ListModuleStreams(ctx context.Context, request ListModuleStreamsRequest) (response ListModuleStreamsResponse, err error)
ListModuleStreams Lists module streams from the specified software source OCID. Filter the list against a variety of criteria including but not limited to its module name and (stream) name.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListModuleStreams.go.html to see an example of how to use ListModuleStreams API. A default retry strategy applies to this operation ListModuleStreams()
func (client SoftwareSourceClient) ListPackageGroups(ctx context.Context, request ListPackageGroupsRequest) (response ListPackageGroupsResponse, err error)
ListPackageGroups Lists package groups that associate with the specified software source OCID. Filter the list against a variety of criteria including but not limited to its name, and package group type.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListPackageGroups.go.html to see an example of how to use ListPackageGroups API. A default retry strategy applies to this operation ListPackageGroups()
func (client SoftwareSourceClient) ListSoftwarePackages(ctx context.Context, request ListSoftwarePackagesRequest) (response ListSoftwarePackagesResponse, err error)
ListSoftwarePackages Lists software packages in the specified software source. Filter the list against a variety of criteria including but not limited to its name.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListSoftwarePackages.go.html to see an example of how to use ListSoftwarePackages API. A default retry strategy applies to this operation ListSoftwarePackages()
func (client SoftwareSourceClient) ListSoftwareSourceVendors(ctx context.Context, request ListSoftwareSourceVendorsRequest) (response ListSoftwareSourceVendorsResponse, err error)
ListSoftwareSourceVendors Lists available software source vendors. Filter the list against a variety of criteria including but not limited to its name.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListSoftwareSourceVendors.go.html to see an example of how to use ListSoftwareSourceVendors API. A default retry strategy applies to this operation ListSoftwareSourceVendors()
func (client SoftwareSourceClient) ListSoftwareSources(ctx context.Context, request ListSoftwareSourcesRequest) (response ListSoftwareSourcesResponse, err error)
ListSoftwareSources Lists software sources that match the specified tenancy or software source OCID. Filter the list against a variety of criteria including but not limited to its name, status, architecture, and OS family.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListSoftwareSources.go.html to see an example of how to use ListSoftwareSources API. A default retry strategy applies to this operation ListSoftwareSources()
func (client SoftwareSourceClient) SearchSoftwareSourceModuleStreams(ctx context.Context, request SearchSoftwareSourceModuleStreamsRequest) (response SearchSoftwareSourceModuleStreamsResponse, err error)
SearchSoftwareSourceModuleStreams Lists modules from a list of software sources. Filter the list against a variety of criteria including the module name.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/SearchSoftwareSourceModuleStreams.go.html to see an example of how to use SearchSoftwareSourceModuleStreams API. A default retry strategy applies to this operation SearchSoftwareSourceModuleStreams()
func (client SoftwareSourceClient) SearchSoftwareSourceModules(ctx context.Context, request SearchSoftwareSourceModulesRequest) (response SearchSoftwareSourceModulesResponse, err error)
SearchSoftwareSourceModules Lists modules from a list of software sources. Filter the list against a variety of criteria including the (module) name.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/SearchSoftwareSourceModules.go.html to see an example of how to use SearchSoftwareSourceModules API. A default retry strategy applies to this operation SearchSoftwareSourceModules()
func (client SoftwareSourceClient) SearchSoftwareSourcePackageGroups(ctx context.Context, request SearchSoftwareSourcePackageGroupsRequest) (response SearchSoftwareSourcePackageGroupsResponse, err error)
SearchSoftwareSourcePackageGroups Searches the package groups from the specified list of software sources. Filter the list against a variety of criteria including but not limited to its name, and group type.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/SearchSoftwareSourcePackageGroups.go.html to see an example of how to use SearchSoftwareSourcePackageGroups API. A default retry strategy applies to this operation SearchSoftwareSourcePackageGroups()
func (client *SoftwareSourceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client SoftwareSourceClient) UpdateSoftwareSource(ctx context.Context, request UpdateSoftwareSourceRequest) (response UpdateSoftwareSourceResponse, err error)
UpdateSoftwareSource Updates the specified software source's details, including but not limited to name, description, and tags.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateSoftwareSource.go.html to see an example of how to use UpdateSoftwareSource API. A default retry strategy applies to this operation UpdateSoftwareSource()
SoftwareSourceCollection Results of a SoftwareSource search. Contains boh SoftwareSourceSummary items and other information, such as metadata.
type SoftwareSourceCollection struct { // List of SoftwareSources. Items []SoftwareSourceSummary `mandatory:"true" json:"items"` }
func (m SoftwareSourceCollection) String() string
func (m *SoftwareSourceCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m SoftwareSourceCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SoftwareSourceDetails Identifying information for the specified software source.
type SoftwareSourceDetails struct { // The OCID of the software source. Id *string `mandatory:"true" json:"id"` // Software source name. DisplayName *string `mandatory:"false" json:"displayName"` // Software source description. Description *string `mandatory:"false" json:"description"` // Type of the software source. SoftwareSourceType SoftwareSourceTypeEnum `mandatory:"false" json:"softwareSourceType,omitempty"` }
func (m SoftwareSourceDetails) String() string
func (m SoftwareSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SoftwareSourceLifecycleStateEnum Enum with underlying type: string
type SoftwareSourceLifecycleStateEnum string
Set of constants representing the allowable values for SoftwareSourceLifecycleStateEnum
const ( SoftwareSourceLifecycleStateCreating SoftwareSourceLifecycleStateEnum = "CREATING" SoftwareSourceLifecycleStateUpdating SoftwareSourceLifecycleStateEnum = "UPDATING" SoftwareSourceLifecycleStateActive SoftwareSourceLifecycleStateEnum = "ACTIVE" SoftwareSourceLifecycleStateDeleting SoftwareSourceLifecycleStateEnum = "DELETING" SoftwareSourceLifecycleStateDeleted SoftwareSourceLifecycleStateEnum = "DELETED" SoftwareSourceLifecycleStateFailed SoftwareSourceLifecycleStateEnum = "FAILED" )
func GetMappingSoftwareSourceLifecycleStateEnum(val string) (SoftwareSourceLifecycleStateEnum, bool)
GetMappingSoftwareSourceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSoftwareSourceLifecycleStateEnumValues() []SoftwareSourceLifecycleStateEnum
GetSoftwareSourceLifecycleStateEnumValues Enumerates the set of values for SoftwareSourceLifecycleStateEnum
SoftwareSourceProfile Definition of a registration profile of type SoftwareSource.
type SoftwareSourceProfile struct { // The OCID of the profile that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the registration profile. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The list of software sources that the registration profile will use. SoftwareSources []SoftwareSourceDetails `mandatory:"true" json:"softwareSources"` // The description of the registration profile. Description *string `mandatory:"false" json:"description"` // The OCID of the management station. ManagementStationId *string `mandatory:"false" json:"managementStationId"` // The time the the registration profile was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The software source vendor name. VendorName VendorNameEnum `mandatory:"true" json:"vendorName"` // The operating system family. OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"` // The architecture type. ArchType ArchTypeEnum `mandatory:"true" json:"archType"` // The current state of the registration profile. LifecycleState ProfileLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m SoftwareSourceProfile) GetArchType() ArchTypeEnum
GetArchType returns ArchType
func (m SoftwareSourceProfile) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m SoftwareSourceProfile) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m SoftwareSourceProfile) GetDescription() *string
GetDescription returns Description
func (m SoftwareSourceProfile) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m SoftwareSourceProfile) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m SoftwareSourceProfile) GetId() *string
GetId returns Id
func (m SoftwareSourceProfile) GetLifecycleState() ProfileLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m SoftwareSourceProfile) GetManagementStationId() *string
GetManagementStationId returns ManagementStationId
func (m SoftwareSourceProfile) GetOsFamily() OsFamilyEnum
GetOsFamily returns OsFamily
func (m SoftwareSourceProfile) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m SoftwareSourceProfile) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m SoftwareSourceProfile) GetVendorName() VendorNameEnum
GetVendorName returns VendorName
func (m SoftwareSourceProfile) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SoftwareSourceProfile) String() string
func (m SoftwareSourceProfile) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SoftwareSourceSummary A software source contains a collection of packages.
type SoftwareSourceSummary interface { // The OCID for the software source. GetId() *string // The OCID of the tenancy containing the software source. GetCompartmentId() *string // User friendly name for the software source. GetDisplayName() *string // The Repo ID for the software source. GetRepoId() *string // URL for the repository. GetUrl() *string // The date and time the software source was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. GetTimeCreated() *common.SDKTime // The date and time of when the software source was updated as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. GetTimeUpdated() *common.SDKTime // Possible availabilities of a software source. GetAvailability() AvailabilityEnum // The OS family the software source belongs to. GetOsFamily() OsFamilyEnum // The architecture type supported by the software source. GetArchType() ArchTypeEnum // Information specified by the user about the software source. GetDescription() *string // Number of packages. GetPackageCount() *int64 // The current state of the software source. GetLifecycleState() SoftwareSourceLifecycleStateEnum // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` GetSystemTags() map[string]map[string]interface{} }
SoftwareSourceTypeEnum Enum with underlying type: string
type SoftwareSourceTypeEnum string
Set of constants representing the allowable values for SoftwareSourceTypeEnum
const ( SoftwareSourceTypeVendor SoftwareSourceTypeEnum = "VENDOR" SoftwareSourceTypeCustom SoftwareSourceTypeEnum = "CUSTOM" SoftwareSourceTypeVersioned SoftwareSourceTypeEnum = "VERSIONED" )
func GetMappingSoftwareSourceTypeEnum(val string) (SoftwareSourceTypeEnum, bool)
GetMappingSoftwareSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSoftwareSourceTypeEnumValues() []SoftwareSourceTypeEnum
GetSoftwareSourceTypeEnumValues Enumerates the set of values for SoftwareSourceTypeEnum
SoftwareSourceVendorCollection Results of a SoftwareSourceVendor search. Contains boh SoftwareSourceVendorSummary items and other information, such as metadata.
type SoftwareSourceVendorCollection struct { // List of SoftwareSourceVendor. Items []SoftwareSourceVendorSummary `mandatory:"true" json:"items"` }
func (m SoftwareSourceVendorCollection) String() string
func (m SoftwareSourceVendorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SoftwareSourceVendorSummary Software vendor name, list of osFamily and archType.
type SoftwareSourceVendorSummary struct { // Name of the vendor providing the software source. Name VendorNameEnum `mandatory:"true" json:"name"` // List of corresponding osFamilies. OsFamilies []OsFamilyEnum `mandatory:"true" json:"osFamilies"` // List of corresponding archTypes. ArchTypes []ArchTypeEnum `mandatory:"true" json:"archTypes"` }
func (m SoftwareSourceVendorSummary) String() string
func (m SoftwareSourceVendorSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SoftwareSourcesDetails The details about the software sources to be attached/detached.
type SoftwareSourcesDetails struct { // The list of software source OCIDs to be attached/detached. SoftwareSources []string `mandatory:"true" json:"softwareSources"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m SoftwareSourcesDetails) String() string
func (m SoftwareSourcesDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
StationProfile Definition of a registration profile of type STATION.
type StationProfile struct { // The OCID of the profile that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the registration profile. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The description of the registration profile. Description *string `mandatory:"false" json:"description"` // The OCID of the management station. ManagementStationId *string `mandatory:"false" json:"managementStationId"` // The time the the registration profile was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The software source vendor name. VendorName VendorNameEnum `mandatory:"true" json:"vendorName"` // The operating system family. OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"` // The architecture type. ArchType ArchTypeEnum `mandatory:"true" json:"archType"` // The current state of the registration profile. LifecycleState ProfileLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m StationProfile) GetArchType() ArchTypeEnum
GetArchType returns ArchType
func (m StationProfile) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m StationProfile) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m StationProfile) GetDescription() *string
GetDescription returns Description
func (m StationProfile) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m StationProfile) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m StationProfile) GetId() *string
GetId returns Id
func (m StationProfile) GetLifecycleState() ProfileLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m StationProfile) GetManagementStationId() *string
GetManagementStationId returns ManagementStationId
func (m StationProfile) GetOsFamily() OsFamilyEnum
GetOsFamily returns OsFamily
func (m StationProfile) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m StationProfile) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m StationProfile) GetVendorName() VendorNameEnum
GetVendorName returns VendorName
func (m StationProfile) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m StationProfile) String() string
func (m StationProfile) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeManagedInstanceAnalyticsInstanceLocationEnum Enum with underlying type: string
type SummarizeManagedInstanceAnalyticsInstanceLocationEnum string
Set of constants representing the allowable values for SummarizeManagedInstanceAnalyticsInstanceLocationEnum
const ( SummarizeManagedInstanceAnalyticsInstanceLocationOnPremise SummarizeManagedInstanceAnalyticsInstanceLocationEnum = "ON_PREMISE" SummarizeManagedInstanceAnalyticsInstanceLocationOciCompute SummarizeManagedInstanceAnalyticsInstanceLocationEnum = "OCI_COMPUTE" SummarizeManagedInstanceAnalyticsInstanceLocationAzure SummarizeManagedInstanceAnalyticsInstanceLocationEnum = "AZURE" SummarizeManagedInstanceAnalyticsInstanceLocationEc2 SummarizeManagedInstanceAnalyticsInstanceLocationEnum = "EC2" )
func GetMappingSummarizeManagedInstanceAnalyticsInstanceLocationEnum(val string) (SummarizeManagedInstanceAnalyticsInstanceLocationEnum, bool)
GetMappingSummarizeManagedInstanceAnalyticsInstanceLocationEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeManagedInstanceAnalyticsInstanceLocationEnumValues() []SummarizeManagedInstanceAnalyticsInstanceLocationEnum
GetSummarizeManagedInstanceAnalyticsInstanceLocationEnumValues Enumerates the set of values for SummarizeManagedInstanceAnalyticsInstanceLocationEnum
SummarizeManagedInstanceAnalyticsRequest wrapper for the SummarizeManagedInstanceAnalytics operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/SummarizeManagedInstanceAnalytics.go.html to see an example of how to use SummarizeManagedInstanceAnalyticsRequest.
type SummarizeManagedInstanceAnalyticsRequest struct { // A filter to return only metrics whose name matches the given metric names. MetricNames []MetricNameEnum `contributesTo:"query" name:"metricNames" omitEmpty:"true" collectionFormat:"multi"` // This compartmentId is used to list managed instances within a compartment. // Or serve as an additional filter to restrict only managed instances with in certain compartment if other filter presents. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The OCID of the managed instance group for which to list resources. ManagedInstanceGroupId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceGroupId"` // The OCID of the lifecycle environment. LifecycleEnvironmentId *string `mandatory:"false" contributesTo:"query" name:"lifecycleEnvironmentId"` // The OCID of the lifecycle stage for which to list resources. LifecycleStageId *string `mandatory:"false" contributesTo:"query" name:"lifecycleStageId"` // A filter to return only instances whose managed instance status matches the given status. Status []ManagedInstanceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` // A filter to return resources that match the given display names. DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"` // A filter to return resources that may partially match the given display name. DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"` // Filter instances by Location. Used when report target type is compartment or group. InstanceLocation SummarizeManagedInstanceAnalyticsInstanceLocationEnum `mandatory:"false" contributesTo:"query" name:"instanceLocation" omitEmpty:"true"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. Only one sort order may be provided. Default order for name is ascending. SortBy SummarizeManagedInstanceAnalyticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder SummarizeManagedInstanceAnalyticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request SummarizeManagedInstanceAnalyticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeManagedInstanceAnalyticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeManagedInstanceAnalyticsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeManagedInstanceAnalyticsRequest) String() string
func (request SummarizeManagedInstanceAnalyticsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeManagedInstanceAnalyticsResponse wrapper for the SummarizeManagedInstanceAnalytics operation
type SummarizeManagedInstanceAnalyticsResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagedInstanceAnalyticCollection instances ManagedInstanceAnalyticCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeManagedInstanceAnalyticsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeManagedInstanceAnalyticsResponse) String() string
SummarizeManagedInstanceAnalyticsSortByEnum Enum with underlying type: string
type SummarizeManagedInstanceAnalyticsSortByEnum string
Set of constants representing the allowable values for SummarizeManagedInstanceAnalyticsSortByEnum
const ( SummarizeManagedInstanceAnalyticsSortByName SummarizeManagedInstanceAnalyticsSortByEnum = "name" )
func GetMappingSummarizeManagedInstanceAnalyticsSortByEnum(val string) (SummarizeManagedInstanceAnalyticsSortByEnum, bool)
GetMappingSummarizeManagedInstanceAnalyticsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeManagedInstanceAnalyticsSortByEnumValues() []SummarizeManagedInstanceAnalyticsSortByEnum
GetSummarizeManagedInstanceAnalyticsSortByEnumValues Enumerates the set of values for SummarizeManagedInstanceAnalyticsSortByEnum
SummarizeManagedInstanceAnalyticsSortOrderEnum Enum with underlying type: string
type SummarizeManagedInstanceAnalyticsSortOrderEnum string
Set of constants representing the allowable values for SummarizeManagedInstanceAnalyticsSortOrderEnum
const ( SummarizeManagedInstanceAnalyticsSortOrderAsc SummarizeManagedInstanceAnalyticsSortOrderEnum = "ASC" SummarizeManagedInstanceAnalyticsSortOrderDesc SummarizeManagedInstanceAnalyticsSortOrderEnum = "DESC" )
func GetMappingSummarizeManagedInstanceAnalyticsSortOrderEnum(val string) (SummarizeManagedInstanceAnalyticsSortOrderEnum, bool)
GetMappingSummarizeManagedInstanceAnalyticsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeManagedInstanceAnalyticsSortOrderEnumValues() []SummarizeManagedInstanceAnalyticsSortOrderEnum
GetSummarizeManagedInstanceAnalyticsSortOrderEnumValues Enumerates the set of values for SummarizeManagedInstanceAnalyticsSortOrderEnum
SwitchModuleStreamOnManagedInstanceDetails The details of the module stream to be version switched on a managed instance.
type SwitchModuleStreamOnManagedInstanceDetails 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"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m SwitchModuleStreamOnManagedInstanceDetails) String() string
func (m SwitchModuleStreamOnManagedInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SwitchModuleStreamOnManagedInstanceRequest wrapper for the SwitchModuleStreamOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/SwitchModuleStreamOnManagedInstance.go.html to see an example of how to use SwitchModuleStreamOnManagedInstanceRequest.
type SwitchModuleStreamOnManagedInstanceRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // The details of the module stream to be switched on a managed instance. SwitchModuleStreamOnManagedInstanceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 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 work. You can use this to query its status. 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
SynchronizeMirrorsDetails Details for syncing selected mirrors
type SynchronizeMirrorsDetails struct { // List of Software Source OCIDs to synchronize SoftwareSourceList []string `mandatory:"true" json:"softwareSourceList"` }
func (m SynchronizeMirrorsDetails) String() string
func (m SynchronizeMirrorsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SynchronizeMirrorsRequest wrapper for the SynchronizeMirrors operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/SynchronizeMirrors.go.html to see an example of how to use SynchronizeMirrorsRequest.
type SynchronizeMirrorsRequest struct { // The OCID of the management station. ManagementStationId *string `mandatory:"true" contributesTo:"path" name:"managementStationId"` // Details for syncing mirrors SynchronizeMirrorsDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 SynchronizeMirrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SynchronizeMirrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SynchronizeMirrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SynchronizeMirrorsRequest) String() string
func (request SynchronizeMirrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SynchronizeMirrorsResponse wrapper for the SynchronizeMirrors operation
type SynchronizeMirrorsResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 SynchronizeMirrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SynchronizeMirrorsResponse) String() string
SynchronizeSingleMirrorsRequest wrapper for the SynchronizeSingleMirrors operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/SynchronizeSingleMirrors.go.html to see an example of how to use SynchronizeSingleMirrorsRequest.
type SynchronizeSingleMirrorsRequest struct { // The OCID of the management station. ManagementStationId *string `mandatory:"true" contributesTo:"path" name:"managementStationId"` // Unique Software Source identifier MirrorId *string `mandatory:"true" contributesTo:"path" name:"mirrorId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 SynchronizeSingleMirrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SynchronizeSingleMirrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SynchronizeSingleMirrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SynchronizeSingleMirrorsRequest) String() string
func (request SynchronizeSingleMirrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SynchronizeSingleMirrorsResponse wrapper for the SynchronizeSingleMirrors operation
type SynchronizeSingleMirrorsResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 SynchronizeSingleMirrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SynchronizeSingleMirrorsResponse) String() string
TargetResourceEntityTypeEnum Enum with underlying type: string
type TargetResourceEntityTypeEnum string
Set of constants representing the allowable values for TargetResourceEntityTypeEnum
const ( TargetResourceEntityTypeInstance TargetResourceEntityTypeEnum = "INSTANCE" TargetResourceEntityTypeGroup TargetResourceEntityTypeEnum = "GROUP" TargetResourceEntityTypeCompartment TargetResourceEntityTypeEnum = "COMPARTMENT" TargetResourceEntityTypeLifecycleEnvironment TargetResourceEntityTypeEnum = "LIFECYCLE_ENVIRONMENT" TargetResourceEntityTypeSoftwareSource TargetResourceEntityTypeEnum = "SOFTWARE_SOURCE" )
func GetMappingTargetResourceEntityTypeEnum(val string) (TargetResourceEntityTypeEnum, bool)
GetMappingTargetResourceEntityTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTargetResourceEntityTypeEnumValues() []TargetResourceEntityTypeEnum
GetTargetResourceEntityTypeEnumValues Enumerates the set of values for TargetResourceEntityTypeEnum
UpdatablePackageCollection Results of an updatable package search on a managed instance.
type UpdatablePackageCollection struct { // List of updatable packages. Items []UpdatablePackageSummary `mandatory:"true" json:"items"` }
func (m UpdatablePackageCollection) String() string
func (m UpdatablePackageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdatablePackageSummary A software package available for install on a managed instance.
type UpdatablePackageSummary struct { // Package name. DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the package. 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"` // list of software sources that provide the software package. SoftwareSources []SoftwareSourceDetails `mandatory:"false" json:"softwareSources"` // The version of this upgradable package already installed on the instance. InstalledVersion *string `mandatory:"false" json:"installedVersion"` // List of errata containing this update. Errata []string `mandatory:"false" json:"errata"` // List of CVEs applicable to this erratum. RelatedCves []string `mandatory:"false" json:"relatedCves"` // The architecture for which this package was built. Architecture ArchTypeEnum `mandatory:"false" json:"architecture,omitempty"` // The classification of this update. UpdateType ClassificationTypesEnum `mandatory:"true" json:"updateType"` }
func (m UpdatablePackageSummary) GetArchitecture() ArchTypeEnum
GetArchitecture returns Architecture
func (m UpdatablePackageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdatablePackageSummary) GetName() *string
GetName returns Name
func (m UpdatablePackageSummary) GetSoftwareSources() []SoftwareSourceDetails
GetSoftwareSources returns SoftwareSources
func (m UpdatablePackageSummary) GetType() *string
GetType returns Type
func (m UpdatablePackageSummary) GetVersion() *string
GetVersion returns Version
func (m UpdatablePackageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdatablePackageSummary) String() string
func (m UpdatablePackageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateAllPackagesOnManagedInstanceGroupDetails The work request details for the update operation on the managed instance group.
type UpdateAllPackagesOnManagedInstanceGroupDetails struct { // The type of updates to be applied. UpdateTypes []UpdateTypesEnum `mandatory:"false" json:"updateTypes,omitempty"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m UpdateAllPackagesOnManagedInstanceGroupDetails) String() string
func (m UpdateAllPackagesOnManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateAllPackagesOnManagedInstanceGroupRequest wrapper for the UpdateAllPackagesOnManagedInstanceGroup operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateAllPackagesOnManagedInstanceGroup.go.html to see an example of how to use UpdateAllPackagesOnManagedInstanceGroupRequest.
type UpdateAllPackagesOnManagedInstanceGroupRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // Details for update operation on the managed instance group. UpdateAllPackagesOnManagedInstanceGroupDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateAllPackagesOnManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateAllPackagesOnManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateAllPackagesOnManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateAllPackagesOnManagedInstanceGroupRequest) String() string
func (request UpdateAllPackagesOnManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateAllPackagesOnManagedInstanceGroupResponse wrapper for the UpdateAllPackagesOnManagedInstanceGroup operation
type UpdateAllPackagesOnManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 UpdateAllPackagesOnManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateAllPackagesOnManagedInstanceGroupResponse) String() string
UpdateAllPackagesOnManagedInstancesInCompartmentDetails The details about the package types to be updated.
type UpdateAllPackagesOnManagedInstancesInCompartmentDetails struct { // The compartment being targeted by this operation. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The type of updates to be applied. UpdateTypes []UpdateTypesEnum `mandatory:"false" json:"updateTypes,omitempty"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m UpdateAllPackagesOnManagedInstancesInCompartmentDetails) String() string
func (m UpdateAllPackagesOnManagedInstancesInCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateAllPackagesOnManagedInstancesInCompartmentRequest wrapper for the UpdateAllPackagesOnManagedInstancesInCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateAllPackagesOnManagedInstancesInCompartment.go.html to see an example of how to use UpdateAllPackagesOnManagedInstancesInCompartmentRequest.
type UpdateAllPackagesOnManagedInstancesInCompartmentRequest struct { // The details about package types are to be updated on all managed instances in a compartment. UpdateAllPackagesOnManagedInstancesInCompartmentDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateAllPackagesOnManagedInstancesInCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateAllPackagesOnManagedInstancesInCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateAllPackagesOnManagedInstancesInCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateAllPackagesOnManagedInstancesInCompartmentRequest) String() string
func (request UpdateAllPackagesOnManagedInstancesInCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateAllPackagesOnManagedInstancesInCompartmentResponse wrapper for the UpdateAllPackagesOnManagedInstancesInCompartment operation
type UpdateAllPackagesOnManagedInstancesInCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 UpdateAllPackagesOnManagedInstancesInCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateAllPackagesOnManagedInstancesInCompartmentResponse) String() string
UpdateCustomSoftwareSourceDetails Information for updating a custom or software source.
type UpdateCustomSoftwareSourceDetails struct { // The OCID of the tenancy containing the software source. CompartmentId *string `mandatory:"false" json:"compartmentId"` // 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"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // List of vendor software sources. VendorSoftwareSources []Id `mandatory:"false" json:"vendorSoftwareSources"` CustomSoftwareSourceFilter *CustomSoftwareSourceFilter `mandatory:"false" json:"customSoftwareSourceFilter"` // Indicates whether service should automatically update the custom software source for the user. IsAutomaticallyUpdated *bool `mandatory:"false" json:"isAutomaticallyUpdated"` }
func (m UpdateCustomSoftwareSourceDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m UpdateCustomSoftwareSourceDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateCustomSoftwareSourceDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateCustomSoftwareSourceDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateCustomSoftwareSourceDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateCustomSoftwareSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateCustomSoftwareSourceDetails) String() string
func (m UpdateCustomSoftwareSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateLifecycleEnvironmentDetails The information to be updated.
type UpdateLifecycleEnvironmentDetails struct { // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // User specified information about the lifecycle environment. Does not have to be unique, and it's changeable. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // The list of lifecycle stages to be updated. Stages []UpdateLifecycleStageDetails `mandatory:"false" json:"stages"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateLifecycleEnvironmentDetails) String() string
func (m UpdateLifecycleEnvironmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateLifecycleEnvironmentRequest wrapper for the UpdateLifecycleEnvironment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateLifecycleEnvironment.go.html to see an example of how to use UpdateLifecycleEnvironmentRequest.
type UpdateLifecycleEnvironmentRequest struct { // The OCID of the lifecycle environment. LifecycleEnvironmentId *string `mandatory:"true" contributesTo:"path" name:"lifecycleEnvironmentId"` // The information to be updated. UpdateLifecycleEnvironmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateLifecycleEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateLifecycleEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateLifecycleEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateLifecycleEnvironmentRequest) String() string
func (request UpdateLifecycleEnvironmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateLifecycleEnvironmentResponse wrapper for the UpdateLifecycleEnvironment operation
type UpdateLifecycleEnvironmentResponse struct { // The underlying http response RawResponse *http.Response // The LifecycleEnvironment instance LifecycleEnvironment `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 UpdateLifecycleEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateLifecycleEnvironmentResponse) String() string
UpdateLifecycleStageDetails The information to be updated.
type UpdateLifecycleStageDetails struct { // The lifecycle stage OCID that is immutable on creation. Id *string `mandatory:"true" json:"id"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateLifecycleStageDetails) String() string
func (m UpdateLifecycleStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateManagedInstanceDetails The information to be updated.
type UpdateManagedInstanceDetails struct { // The OCID of a management station to be used as the preferred primary. PrimaryManagementStationId *string `mandatory:"false" json:"primaryManagementStationId"` // The OCID of a management station to be used as the preferred secondary. SecondaryManagementStationId *string `mandatory:"false" json:"secondaryManagementStationId"` }
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 The information to be updated.
type UpdateManagedInstanceGroupDetails struct { // A user-friendly name for the managed instance group job. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // User specified information about the managed instance group. Does not have to be unique, and it's changeable. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateManagedInstanceGroup.go.html to see an example of how to use UpdateManagedInstanceGroupRequest.
type UpdateManagedInstanceGroupRequest struct { // The managed instance group OCID. ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // The information to be updated. UpdateManagedInstanceGroupDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateManagedInstance.go.html to see an example of how to use UpdateManagedInstanceRequest.
type UpdateManagedInstanceRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Details about a managed instance to be updated. UpdateManagedInstanceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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
UpdateManagementStationDetails Information for updating an ManagementStation
type UpdateManagementStationDetails struct { // ManagementStation name DisplayName *string `mandatory:"false" json:"displayName"` // Details describing the ManagementStation config. Description *string `mandatory:"false" json:"description"` // Name of the host Hostname *string `mandatory:"false" json:"hostname"` Proxy *UpdateProxyConfigurationDetails `mandatory:"false" json:"proxy"` Mirror *UpdateMirrorConfigurationDetails `mandatory:"false" json:"mirror"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateManagementStationDetails) String() string
func (m UpdateManagementStationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateManagementStationRequest wrapper for the UpdateManagementStation operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateManagementStation.go.html to see an example of how to use UpdateManagementStationRequest.
type UpdateManagementStationRequest struct { // The OCID of the management station. ManagementStationId *string `mandatory:"true" contributesTo:"path" name:"managementStationId"` // The information to be updated. UpdateManagementStationDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateManagementStationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateManagementStationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateManagementStationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateManagementStationRequest) String() string
func (request UpdateManagementStationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateManagementStationResponse wrapper for the UpdateManagementStation operation
type UpdateManagementStationResponse struct { // The underlying http response RawResponse *http.Response // The ManagementStation instance ManagementStation `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 UpdateManagementStationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateManagementStationResponse) String() string
UpdateMirrorConfigurationDetails Information for updating a mirror configuration
type UpdateMirrorConfigurationDetails struct { // Directory for the mirroring Directory *string `mandatory:"true" json:"directory"` // Default port for the mirror Port *string `mandatory:"true" json:"port"` // Default sslport for the mirror Sslport *string `mandatory:"true" json:"sslport"` // Local path for the sslcert Sslcert *string `mandatory:"false" json:"sslcert"` }
func (m UpdateMirrorConfigurationDetails) String() string
func (m UpdateMirrorConfigurationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdatePackagesOnManagedInstanceDetails The details about the software packages to be updated.
type UpdatePackagesOnManagedInstanceDetails struct { // The list of package names. PackageNames []string `mandatory:"false" json:"packageNames"` // The type of updates to be applied. UpdateTypes []UpdateTypesEnum `mandatory:"false" json:"updateTypes,omitempty"` WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"` }
func (m UpdatePackagesOnManagedInstanceDetails) String() string
func (m UpdatePackagesOnManagedInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdatePackagesOnManagedInstanceRequest wrapper for the UpdatePackagesOnManagedInstance operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdatePackagesOnManagedInstance.go.html to see an example of how to use UpdatePackagesOnManagedInstanceRequest.
type UpdatePackagesOnManagedInstanceRequest struct { // The OCID of the managed instance. ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Details about packages to be updated on a managed instance. UpdatePackagesOnManagedInstanceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 UpdatePackagesOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdatePackagesOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdatePackagesOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdatePackagesOnManagedInstanceRequest) String() string
func (request UpdatePackagesOnManagedInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdatePackagesOnManagedInstanceResponse wrapper for the UpdatePackagesOnManagedInstance operation
type UpdatePackagesOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. 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 UpdatePackagesOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdatePackagesOnManagedInstanceResponse) String() string
UpdateProfileDetails Information for updating a registration profile
type UpdateProfileDetails struct { // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Details describing the scheduled job. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateProfileDetails) String() string
func (m UpdateProfileDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateProfileRequest wrapper for the UpdateProfile operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateProfile.go.html to see an example of how to use UpdateProfileRequest.
type UpdateProfileRequest struct { // The OCID of the registration profile. ProfileId *string `mandatory:"true" contributesTo:"path" name:"profileId"` // The information to be updated. UpdateProfileDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateProfileRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateProfileRequest) String() string
func (request UpdateProfileRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateProfileResponse wrapper for the UpdateProfile operation
type UpdateProfileResponse struct { // The underlying http response RawResponse *http.Response // The Profile instance Profile `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 UpdateProfileResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateProfileResponse) String() string
UpdateProxyConfigurationDetails Information for updating a proxy configuration
type UpdateProxyConfigurationDetails struct { // To enable or disable the proxy (default true) IsEnabled *bool `mandatory:"true" json:"isEnabled"` // List of hosts Hosts []string `mandatory:"false" json:"hosts"` // Port that the proxy will use Port *string `mandatory:"false" json:"port"` // URL that the proxy will forward to Forward *string `mandatory:"false" json:"forward"` }
func (m UpdateProxyConfigurationDetails) String() string
func (m UpdateProxyConfigurationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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 recurring rule for a recurring scheduled job. RecurringRule *string `mandatory:"false" json:"recurringRule"` // The list of operations this scheduled job needs to perform (can only support one operation if the operationType is not UPDATE_PACKAGES/UPDATE_ALL/UPDATE_SECURITY/UPDATE_BUGFIX/UPDATE_ENHANCEMENT/UPDATE_OTHER/UPDATE_KSPLICE_USERSPACE/UPDATE_KSPLICE_KERNEL). Operations []ScheduledJobOperation `mandatory:"false" json:"operations"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateScheduledJob.go.html to see an example of how to use UpdateScheduledJobRequest.
type UpdateScheduledJobRequest struct { // The OCID of the scheduled job. ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"` // The information to be updated. UpdateScheduledJobDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
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.
type UpdateSoftwareSourceDetails interface { // The OCID of the tenancy containing the software source. GetCompartmentId() *string // User friendly name for the software source. GetDisplayName() *string // Information specified by the user about the software source. GetDescription() *string // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} }
UpdateSoftwareSourceRequest wrapper for the UpdateSoftwareSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/UpdateSoftwareSource.go.html to see an example of how to use UpdateSoftwareSourceRequest.
type UpdateSoftwareSourceRequest struct { // The software source OCID. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // The information to be updated. UpdateSoftwareSourceDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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"` // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-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" UpdateTypesBugfix UpdateTypesEnum = "BUGFIX" UpdateTypesEnhancement UpdateTypesEnum = "ENHANCEMENT" UpdateTypesOther UpdateTypesEnum = "OTHER" UpdateTypesKspliceKernel UpdateTypesEnum = "KSPLICE_KERNEL" UpdateTypesKspliceUserspace UpdateTypesEnum = "KSPLICE_USERSPACE" UpdateTypesAll UpdateTypesEnum = "ALL" )
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
UpdateVendorSoftwareSourceDetails Information for updating a vendor source. Tags only.
type UpdateVendorSoftwareSourceDetails struct { // The OCID of the tenancy containing the software source. CompartmentId *string `mandatory:"false" json:"compartmentId"` // 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"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateVendorSoftwareSourceDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m UpdateVendorSoftwareSourceDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateVendorSoftwareSourceDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateVendorSoftwareSourceDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateVendorSoftwareSourceDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateVendorSoftwareSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateVendorSoftwareSourceDetails) String() string
func (m UpdateVendorSoftwareSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateWorkRequestDetails Detail information for updating a work request.
type UpdateWorkRequestDetails struct { // status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The percentage complete of the operation tracked by this work request. PercentComplete *float32 `mandatory:"false" json:"percentComplete"` // 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"` // A short description about the work request. Description *string `mandatory:"false" json:"description"` // A short display for about the work request. DisplayName *string `mandatory:"false" json:"displayName"` }
func (m UpdateWorkRequestDetails) String() string
func (m UpdateWorkRequestDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VendorNameEnum Enum with underlying type: string
type VendorNameEnum string
Set of constants representing the allowable values for VendorNameEnum
const ( VendorNameOracle VendorNameEnum = "ORACLE" )
func GetMappingVendorNameEnum(val string) (VendorNameEnum, bool)
GetMappingVendorNameEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVendorNameEnumValues() []VendorNameEnum
GetVendorNameEnumValues Enumerates the set of values for VendorNameEnum
VendorSoftwareSource A vendor software source contains a collection of packages.
type VendorSoftwareSource struct { // OCID for the software source. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the software source. CompartmentId *string `mandatory:"true" json:"compartmentId"` // User friendly name for the software source. DisplayName *string `mandatory:"true" json:"displayName"` // The date and time the software source was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The Repo ID for the software source. RepoId *string `mandatory:"true" json:"repoId"` // URL for the repository. Url *string `mandatory:"true" json:"url"` // Information specified by the user about the software source. Description *string `mandatory:"false" json:"description"` // Number of packages. PackageCount *int64 `mandatory:"false" json:"packageCount"` // 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"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Possible availabilities of a software source. Availability AvailabilityEnum `mandatory:"true" json:"availability"` // The OS family the software source belongs to. OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"` // The architecture type supported by the software source. ArchType ArchTypeEnum `mandatory:"true" json:"archType"` // The current state of the software source. LifecycleState SoftwareSourceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The yum repository checksum type used by this software source. ChecksumType ChecksumTypeEnum `mandatory:"false" json:"checksumType,omitempty"` // Name of the vendor providing the software source. VendorName VendorNameEnum `mandatory:"true" json:"vendorName"` }
func (m VendorSoftwareSource) GetArchType() ArchTypeEnum
GetArchType returns ArchType
func (m VendorSoftwareSource) GetAvailability() AvailabilityEnum
GetAvailability returns Availability
func (m VendorSoftwareSource) GetChecksumType() ChecksumTypeEnum
GetChecksumType returns ChecksumType
func (m VendorSoftwareSource) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m VendorSoftwareSource) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m VendorSoftwareSource) GetDescription() *string
GetDescription returns Description
func (m VendorSoftwareSource) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m VendorSoftwareSource) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m VendorSoftwareSource) GetGpgKeyFingerprint() *string
GetGpgKeyFingerprint returns GpgKeyFingerprint
func (m VendorSoftwareSource) GetGpgKeyId() *string
GetGpgKeyId returns GpgKeyId
func (m VendorSoftwareSource) GetGpgKeyUrl() *string
GetGpgKeyUrl returns GpgKeyUrl
func (m VendorSoftwareSource) GetId() *string
GetId returns Id
func (m VendorSoftwareSource) GetLifecycleState() SoftwareSourceLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m VendorSoftwareSource) GetOsFamily() OsFamilyEnum
GetOsFamily returns OsFamily
func (m VendorSoftwareSource) GetPackageCount() *int64
GetPackageCount returns PackageCount
func (m VendorSoftwareSource) GetRepoId() *string
GetRepoId returns RepoId
func (m VendorSoftwareSource) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m VendorSoftwareSource) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m VendorSoftwareSource) GetUrl() *string
GetUrl returns Url
func (m VendorSoftwareSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VendorSoftwareSource) String() string
func (m VendorSoftwareSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VendorSoftwareSourceSummary A vendor software source summary summarizes a vendor software source.
type VendorSoftwareSourceSummary struct { // The OCID for the software source. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the software source. CompartmentId *string `mandatory:"true" json:"compartmentId"` // User friendly name for the software source. DisplayName *string `mandatory:"true" json:"displayName"` // The Repo ID for the software source. RepoId *string `mandatory:"true" json:"repoId"` // URL for the repository. Url *string `mandatory:"true" json:"url"` // The date and time the software source was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time of when the software source was updated as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Information specified by the user about the software source. Description *string `mandatory:"false" json:"description"` // Number of packages. PackageCount *int64 `mandatory:"false" json:"packageCount"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the software source. LifecycleState SoftwareSourceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Possible availabilities of a software source. Availability AvailabilityEnum `mandatory:"true" json:"availability"` // The OS family the software source belongs to. OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"` // The architecture type supported by the software source. ArchType ArchTypeEnum `mandatory:"true" json:"archType"` // Name of the vendor providing the software source. VendorName VendorNameEnum `mandatory:"true" json:"vendorName"` }
func (m VendorSoftwareSourceSummary) GetArchType() ArchTypeEnum
GetArchType returns ArchType
func (m VendorSoftwareSourceSummary) GetAvailability() AvailabilityEnum
GetAvailability returns Availability
func (m VendorSoftwareSourceSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m VendorSoftwareSourceSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m VendorSoftwareSourceSummary) GetDescription() *string
GetDescription returns Description
func (m VendorSoftwareSourceSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m VendorSoftwareSourceSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m VendorSoftwareSourceSummary) GetId() *string
GetId returns Id
func (m VendorSoftwareSourceSummary) GetLifecycleState() SoftwareSourceLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m VendorSoftwareSourceSummary) GetOsFamily() OsFamilyEnum
GetOsFamily returns OsFamily
func (m VendorSoftwareSourceSummary) GetPackageCount() *int64
GetPackageCount returns PackageCount
func (m VendorSoftwareSourceSummary) GetRepoId() *string
GetRepoId returns RepoId
func (m VendorSoftwareSourceSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m VendorSoftwareSourceSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m VendorSoftwareSourceSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m VendorSoftwareSourceSummary) GetUrl() *string
GetUrl returns Url
func (m VendorSoftwareSourceSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VendorSoftwareSourceSummary) String() string
func (m VendorSoftwareSourceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VersionedCustomSoftwareSource An immutable custom software source that is assigned a version and contains a custom collection of packages.
type VersionedCustomSoftwareSource struct { // OCID for the software source. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the software source. CompartmentId *string `mandatory:"true" json:"compartmentId"` // User friendly name for the software source. DisplayName *string `mandatory:"true" json:"displayName"` // The date and time the software source was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The Repo ID for the software source. RepoId *string `mandatory:"true" json:"repoId"` // URL for the repository. Url *string `mandatory:"true" json:"url"` // List of vendor software sources. VendorSoftwareSources []Id `mandatory:"true" json:"vendorSoftwareSources"` // The version to assign to this custom software source. SoftwareSourceVersion *string `mandatory:"true" json:"softwareSourceVersion"` // Information specified by the user about the software source. Description *string `mandatory:"false" json:"description"` // Number of packages. PackageCount *int64 `mandatory:"false" json:"packageCount"` // 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"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` CustomSoftwareSourceFilter *CustomSoftwareSourceFilter `mandatory:"false" json:"customSoftwareSourceFilter"` // Possible availabilities of a software source. Availability AvailabilityEnum `mandatory:"true" json:"availability"` // The OS family the software source belongs to. OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"` // The architecture type supported by the software source. ArchType ArchTypeEnum `mandatory:"true" json:"archType"` // The current state of the software source. LifecycleState SoftwareSourceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The yum repository checksum type used by this software source. ChecksumType ChecksumTypeEnum `mandatory:"false" json:"checksumType,omitempty"` }
func (m VersionedCustomSoftwareSource) GetArchType() ArchTypeEnum
GetArchType returns ArchType
func (m VersionedCustomSoftwareSource) GetAvailability() AvailabilityEnum
GetAvailability returns Availability
func (m VersionedCustomSoftwareSource) GetChecksumType() ChecksumTypeEnum
GetChecksumType returns ChecksumType
func (m VersionedCustomSoftwareSource) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m VersionedCustomSoftwareSource) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m VersionedCustomSoftwareSource) GetDescription() *string
GetDescription returns Description
func (m VersionedCustomSoftwareSource) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m VersionedCustomSoftwareSource) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m VersionedCustomSoftwareSource) GetGpgKeyFingerprint() *string
GetGpgKeyFingerprint returns GpgKeyFingerprint
func (m VersionedCustomSoftwareSource) GetGpgKeyId() *string
GetGpgKeyId returns GpgKeyId
func (m VersionedCustomSoftwareSource) GetGpgKeyUrl() *string
GetGpgKeyUrl returns GpgKeyUrl
func (m VersionedCustomSoftwareSource) GetId() *string
GetId returns Id
func (m VersionedCustomSoftwareSource) GetLifecycleState() SoftwareSourceLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m VersionedCustomSoftwareSource) GetOsFamily() OsFamilyEnum
GetOsFamily returns OsFamily
func (m VersionedCustomSoftwareSource) GetPackageCount() *int64
GetPackageCount returns PackageCount
func (m VersionedCustomSoftwareSource) GetRepoId() *string
GetRepoId returns RepoId
func (m VersionedCustomSoftwareSource) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m VersionedCustomSoftwareSource) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m VersionedCustomSoftwareSource) GetUrl() *string
GetUrl returns Url
func (m VersionedCustomSoftwareSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VersionedCustomSoftwareSource) String() string
func (m VersionedCustomSoftwareSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VersionedCustomSoftwareSourceSummary An immutable custom software source that is assigned a version and contains a custom collection of packages.
type VersionedCustomSoftwareSourceSummary struct { // The OCID for the software source. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the software source. CompartmentId *string `mandatory:"true" json:"compartmentId"` // User friendly name for the software source. DisplayName *string `mandatory:"true" json:"displayName"` // The Repo ID for the software source. RepoId *string `mandatory:"true" json:"repoId"` // URL for the repository. Url *string `mandatory:"true" json:"url"` // The date and time the software source was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time of when the software source was updated as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // List of vendor software sources. VendorSoftwareSources []Id `mandatory:"true" json:"vendorSoftwareSources"` // The version to assign to this custom software source. SoftwareSourceVersion *string `mandatory:"true" json:"softwareSourceVersion"` // Information specified by the user about the software source. Description *string `mandatory:"false" json:"description"` // Number of packages. PackageCount *int64 `mandatory:"false" json:"packageCount"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the software source. LifecycleState SoftwareSourceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Possible availabilities of a software source. Availability AvailabilityEnum `mandatory:"true" json:"availability"` // The OS family the software source belongs to. OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"` // The architecture type supported by the software source. ArchType ArchTypeEnum `mandatory:"true" json:"archType"` }
func (m VersionedCustomSoftwareSourceSummary) GetArchType() ArchTypeEnum
GetArchType returns ArchType
func (m VersionedCustomSoftwareSourceSummary) GetAvailability() AvailabilityEnum
GetAvailability returns Availability
func (m VersionedCustomSoftwareSourceSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m VersionedCustomSoftwareSourceSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m VersionedCustomSoftwareSourceSummary) GetDescription() *string
GetDescription returns Description
func (m VersionedCustomSoftwareSourceSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m VersionedCustomSoftwareSourceSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m VersionedCustomSoftwareSourceSummary) GetId() *string
GetId returns Id
func (m VersionedCustomSoftwareSourceSummary) GetLifecycleState() SoftwareSourceLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m VersionedCustomSoftwareSourceSummary) GetOsFamily() OsFamilyEnum
GetOsFamily returns OsFamily
func (m VersionedCustomSoftwareSourceSummary) GetPackageCount() *int64
GetPackageCount returns PackageCount
func (m VersionedCustomSoftwareSourceSummary) GetRepoId() *string
GetRepoId returns RepoId
func (m VersionedCustomSoftwareSourceSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m VersionedCustomSoftwareSourceSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m VersionedCustomSoftwareSourceSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m VersionedCustomSoftwareSourceSummary) GetUrl() *string
GetUrl returns Url
func (m VersionedCustomSoftwareSourceSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VersionedCustomSoftwareSourceSummary) String() string
func (m VersionedCustomSoftwareSourceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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 Describes a work request.
type WorkRequest struct { // Type of the work request. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // Status of the work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The OCID 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 it 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 list of OCIDs for the resources affected by the work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The percentage complete of the operation tracked by this work request. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the work request was created - as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A short description about the work request. Description *string `mandatory:"false" json:"description"` // A short display name for the work request. DisplayName *string `mandatory:"false" json:"displayName"` // A progress or error message, if there is any. Message *string `mandatory:"false" json:"message"` // The OCID of the parent work request, if there is any. ParentId *string `mandatory:"false" json:"parentId"` // The list of OCIDs for the child work requests. ChildrenId []string `mandatory:"false" json:"childrenId"` // A list of package names to be installed/updated/removed. PackageNames []string `mandatory:"false" json:"packageNames"` // The list of appstream modules being operated on. ModuleSpecs []ModuleSpecDetails `mandatory:"false" json:"moduleSpecs"` // The date and time the work request was created - as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The date and time the work 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 work request was finished - as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // The OCID of the resource that initiated the work request. InitiatorId *string `mandatory:"false" json:"initiatorId"` ManagementStation *WorkRequestManagementStationDetails `mandatory:"false" json:"managementStation"` }
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
WorkRequestClient a client for WorkRequest
type WorkRequestClient struct { common.BaseClient // contains filtered or unexported fields }
func NewWorkRequestClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client WorkRequestClient, err error)
NewWorkRequestClientWithConfigurationProvider Creates a new default WorkRequest client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewWorkRequestClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client WorkRequestClient, err error)
NewWorkRequestClientWithOboToken Creates a new default WorkRequest 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 *WorkRequestClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client WorkRequestClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets information about the specified work request.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (client WorkRequestClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Gets the errors for the specified work request.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (client WorkRequestClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Gets the logs for the specified work request.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (client WorkRequestClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists work requests that match the specified compartment or work request OCID. Filter the list against a variety of criteria including but not limited to its name, status, and operation type.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.52.0/osmanagementhub/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (client *WorkRequestClient) SetRegion(region string)
SetRegion overrides the region of this client.
WorkRequestDetails The details of the user-friendly names to be used for actions.
type WorkRequestDetails struct { // A user-friendly name for the resulting job. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // User specified information about the resulting job. Does not have to be unique, and it's changeable. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` }
func (m WorkRequestDetails) String() string
func (m WorkRequestDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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 An error encountered while executing a work request.
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed on // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // The time the error occured. An RFC3339 formatted datetime string. Timestamp *common.SDKTime `mandatory:"true" 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
WorkRequestErrorCollection Results of a work request error search. Contains both work request error items and other information, such as metadata.
type WorkRequestErrorCollection struct { // List of work request error objects. Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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 A log message from the execution of a work request.
type WorkRequestLogEntry struct { // A human readable log message. Message *string `mandatory:"true" json:"message"` // The time the log message was written. An RFC3339 formatted datetime string. 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
WorkRequestLogEntryCollection Results of a work request log search. Contains both work request log items and other information, such as metadata.
type WorkRequestLogEntryCollection struct { // List of work request log entries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestManagementStationDetails Details about management station actions.
type WorkRequestManagementStationDetails struct { // Target version to update the management station software. ManagementStationVersion *string `mandatory:"false" json:"managementStationVersion"` // Target config needed for set management station config. Config []byte `mandatory:"false" json:"config"` // Optional list for mirrors to sync. SoftwareSourceIds []string `mandatory:"false" json:"softwareSourceIds"` }
func (m WorkRequestManagementStationDetails) String() string
func (m WorkRequestManagementStationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestOperationTypeEnum Enum with underlying type: string
type WorkRequestOperationTypeEnum string
Set of constants representing the allowable values for WorkRequestOperationTypeEnum
const ( WorkRequestOperationTypeInstallPackages WorkRequestOperationTypeEnum = "INSTALL_PACKAGES" WorkRequestOperationTypeRemovePackages WorkRequestOperationTypeEnum = "REMOVE_PACKAGES" WorkRequestOperationTypeUpdatePackages WorkRequestOperationTypeEnum = "UPDATE_PACKAGES" WorkRequestOperationTypeUpdateAllPackages WorkRequestOperationTypeEnum = "UPDATE_ALL_PACKAGES" WorkRequestOperationTypeUpdateSecurity WorkRequestOperationTypeEnum = "UPDATE_SECURITY" WorkRequestOperationTypeUpdateBugfix WorkRequestOperationTypeEnum = "UPDATE_BUGFIX" WorkRequestOperationTypeUpdateEnhancement WorkRequestOperationTypeEnum = "UPDATE_ENHANCEMENT" WorkRequestOperationTypeUpdateOther WorkRequestOperationTypeEnum = "UPDATE_OTHER" WorkRequestOperationTypeUpdateKspliceKernel WorkRequestOperationTypeEnum = "UPDATE_KSPLICE_KERNEL" WorkRequestOperationTypeUpdateKspliceUserspace WorkRequestOperationTypeEnum = "UPDATE_KSPLICE_USERSPACE" WorkRequestOperationTypeEnableModuleStreams WorkRequestOperationTypeEnum = "ENABLE_MODULE_STREAMS" WorkRequestOperationTypeDisableModuleStreams WorkRequestOperationTypeEnum = "DISABLE_MODULE_STREAMS" WorkRequestOperationTypeSwitchModuleStream WorkRequestOperationTypeEnum = "SWITCH_MODULE_STREAM" WorkRequestOperationTypeInstallModuleProfiles WorkRequestOperationTypeEnum = "INSTALL_MODULE_PROFILES" WorkRequestOperationTypeRemoveModuleProfiles WorkRequestOperationTypeEnum = "REMOVE_MODULE_PROFILES" WorkRequestOperationTypeSetSoftwareSources WorkRequestOperationTypeEnum = "SET_SOFTWARE_SOURCES" WorkRequestOperationTypeListPackages WorkRequestOperationTypeEnum = "LIST_PACKAGES" WorkRequestOperationTypeSetManagementStationConfig WorkRequestOperationTypeEnum = "SET_MANAGEMENT_STATION_CONFIG" WorkRequestOperationTypeSyncManagementStationMirror WorkRequestOperationTypeEnum = "SYNC_MANAGEMENT_STATION_MIRROR" WorkRequestOperationTypeUpdateManagementStationSoftware WorkRequestOperationTypeEnum = "UPDATE_MANAGEMENT_STATION_SOFTWARE" WorkRequestOperationTypeUpdate WorkRequestOperationTypeEnum = "UPDATE" WorkRequestOperationTypeModuleActions WorkRequestOperationTypeEnum = "MODULE_ACTIONS" WorkRequestOperationTypeLifecyclePromotion WorkRequestOperationTypeEnum = "LIFECYCLE_PROMOTION" WorkRequestOperationTypeCreateSoftwareSource WorkRequestOperationTypeEnum = "CREATE_SOFTWARE_SOURCE" WorkRequestOperationTypeUpdateSoftwareSource WorkRequestOperationTypeEnum = "UPDATE_SOFTWARE_SOURCE" )
func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)
GetMappingWorkRequestOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct { // The resource type that the work request affects. EntityType TargetResourceEntityTypeEnum `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. ActionType ActionTypeEnum `mandatory:"true" json:"actionType"` // The identifier of the resource the work request affects. 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:"false" json:"entityUri"` // The name of the resource. Not all resources will have a name specified. Name *string `mandatory:"false" json:"name"` // Additional information that helps to explain the resource. Metadata map[string]string `mandatory:"false" json:"metadata"` }
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
WorkRequestResourceMetadataKeyEnum Enum with underlying type: string
type WorkRequestResourceMetadataKeyEnum string
Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum
const ( WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN" )
func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum
WorkRequestSummary The summary of a work request.
type WorkRequestSummary struct { // Type of the work request. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // Status of the work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The OCID 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. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A short description about the work request. Description *string `mandatory:"false" json:"description"` // A short display name for the work request. DisplayName *string `mandatory:"false" json:"displayName"` // A progress or error message, if there is any. Message *string `mandatory:"false" json:"message"` // The OCID of the parent work request. ParentId *string `mandatory:"false" json:"parentId"` // The list of OCIDs for the child work requests. ChildrenId []string `mandatory:"false" json:"childrenId"` // The percentage complete of the operation tracked by this work request. PercentComplete *float32 `mandatory:"false" json:"percentComplete"` }
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
WorkRequestSummaryCollection Results of a work request search. Contains both work request items and other information, such as metadata.
type WorkRequestSummaryCollection struct { // List of work request summary objects. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
func (m WorkRequestSummaryCollection) String() string
func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly