osmanagementhub

package
v65.61.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0, UPL-1.0 Imports: 8 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func GetActionTypeEnumStringValues ¶

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetAdvisorySeverityEnumStringValues ¶

func GetAdvisorySeverityEnumStringValues() []string

GetAdvisorySeverityEnumStringValues Enumerates the set of values in String for AdvisorySeverityEnum

func GetArchTypeEnumStringValues ¶

func GetArchTypeEnumStringValues() []string

GetArchTypeEnumStringValues Enumerates the set of values in String for ArchTypeEnum

func GetAvailabilityEnumStringValues ¶

func GetAvailabilityEnumStringValues() []string

GetAvailabilityEnumStringValues Enumerates the set of values in String for AvailabilityEnum

func GetChecksumTypeEnumStringValues ¶

func GetChecksumTypeEnumStringValues() []string

GetChecksumTypeEnumStringValues Enumerates the set of values in String for ChecksumTypeEnum

func GetClassificationTypesEnumStringValues ¶

func GetClassificationTypesEnumStringValues() []string

GetClassificationTypesEnumStringValues Enumerates the set of values in String for ClassificationTypesEnum

func GetFilterTypeEnumStringValues ¶

func GetFilterTypeEnumStringValues() []string

GetFilterTypeEnumStringValues Enumerates the set of values in String for FilterTypeEnum

func GetGetManagedInstanceAnalyticContentInstanceLocationEnumStringValues ¶

func GetGetManagedInstanceAnalyticContentInstanceLocationEnumStringValues() []string

GetGetManagedInstanceAnalyticContentInstanceLocationEnumStringValues Enumerates the set of values in String for GetManagedInstanceAnalyticContentInstanceLocationEnum

func GetGetManagedInstanceContentAdvisoryTypeEnumStringValues ¶

func GetGetManagedInstanceContentAdvisoryTypeEnumStringValues() []string

GetGetManagedInstanceContentAdvisoryTypeEnumStringValues Enumerates the set of values in String for GetManagedInstanceContentAdvisoryTypeEnum

func GetLifecycleEnvironmentLifecycleStateEnumStringValues ¶

func GetLifecycleEnvironmentLifecycleStateEnumStringValues() []string

GetLifecycleEnvironmentLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleEnvironmentLifecycleStateEnum

func GetLifecycleStageLifecycleStateEnumStringValues ¶

func GetLifecycleStageLifecycleStateEnumStringValues() []string

GetLifecycleStageLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStageLifecycleStateEnum

func GetListEntitlementsSortByEnumStringValues ¶

func GetListEntitlementsSortByEnumStringValues() []string

GetListEntitlementsSortByEnumStringValues Enumerates the set of values in String for ListEntitlementsSortByEnum

func GetListEntitlementsSortOrderEnumStringValues ¶

func GetListEntitlementsSortOrderEnumStringValues() []string

GetListEntitlementsSortOrderEnumStringValues Enumerates the set of values in String for ListEntitlementsSortOrderEnum

func GetListEntitlementsVendorNameEnumStringValues ¶

func GetListEntitlementsVendorNameEnumStringValues() []string

GetListEntitlementsVendorNameEnumStringValues Enumerates the set of values in String for ListEntitlementsVendorNameEnum

func GetListErrataOsFamilyEnumStringValues ¶

func GetListErrataOsFamilyEnumStringValues() []string

GetListErrataOsFamilyEnumStringValues Enumerates the set of values in String for ListErrataOsFamilyEnum

func GetListErrataSortByEnumStringValues ¶

func GetListErrataSortByEnumStringValues() []string

GetListErrataSortByEnumStringValues Enumerates the set of values in String for ListErrataSortByEnum

func GetListErrataSortOrderEnumStringValues ¶

func GetListErrataSortOrderEnumStringValues() []string

GetListErrataSortOrderEnumStringValues Enumerates the set of values in String for ListErrataSortOrderEnum

func GetListLifecycleEnvironmentsArchTypeEnumStringValues ¶

func GetListLifecycleEnvironmentsArchTypeEnumStringValues() []string

GetListLifecycleEnvironmentsArchTypeEnumStringValues Enumerates the set of values in String for ListLifecycleEnvironmentsArchTypeEnum

func GetListLifecycleEnvironmentsOsFamilyEnumStringValues ¶

func GetListLifecycleEnvironmentsOsFamilyEnumStringValues() []string

GetListLifecycleEnvironmentsOsFamilyEnumStringValues Enumerates the set of values in String for ListLifecycleEnvironmentsOsFamilyEnum

func GetListLifecycleEnvironmentsSortByEnumStringValues ¶

func GetListLifecycleEnvironmentsSortByEnumStringValues() []string

GetListLifecycleEnvironmentsSortByEnumStringValues Enumerates the set of values in String for ListLifecycleEnvironmentsSortByEnum

func GetListLifecycleEnvironmentsSortOrderEnumStringValues ¶

func GetListLifecycleEnvironmentsSortOrderEnumStringValues() []string

GetListLifecycleEnvironmentsSortOrderEnumStringValues Enumerates the set of values in String for ListLifecycleEnvironmentsSortOrderEnum

func GetListLifecycleStageInstalledPackagesSortByEnumStringValues ¶

func GetListLifecycleStageInstalledPackagesSortByEnumStringValues() []string

GetListLifecycleStageInstalledPackagesSortByEnumStringValues Enumerates the set of values in String for ListLifecycleStageInstalledPackagesSortByEnum

func GetListLifecycleStageInstalledPackagesSortOrderEnumStringValues ¶

func GetListLifecycleStageInstalledPackagesSortOrderEnumStringValues() []string

GetListLifecycleStageInstalledPackagesSortOrderEnumStringValues Enumerates the set of values in String for ListLifecycleStageInstalledPackagesSortOrderEnum

func GetListLifecycleStagesArchTypeEnumStringValues ¶

func GetListLifecycleStagesArchTypeEnumStringValues() []string

GetListLifecycleStagesArchTypeEnumStringValues Enumerates the set of values in String for ListLifecycleStagesArchTypeEnum

func GetListLifecycleStagesOsFamilyEnumStringValues ¶

func GetListLifecycleStagesOsFamilyEnumStringValues() []string

GetListLifecycleStagesOsFamilyEnumStringValues Enumerates the set of values in String for ListLifecycleStagesOsFamilyEnum

func GetListLifecycleStagesSortByEnumStringValues ¶

func GetListLifecycleStagesSortByEnumStringValues() []string

GetListLifecycleStagesSortByEnumStringValues Enumerates the set of values in String for ListLifecycleStagesSortByEnum

func GetListLifecycleStagesSortOrderEnumStringValues ¶

func GetListLifecycleStagesSortOrderEnumStringValues() []string

GetListLifecycleStagesSortOrderEnumStringValues Enumerates the set of values in String for ListLifecycleStagesSortOrderEnum

func GetListManagedInstanceAvailablePackagesSortByEnumStringValues ¶

func GetListManagedInstanceAvailablePackagesSortByEnumStringValues() []string

GetListManagedInstanceAvailablePackagesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceAvailablePackagesSortByEnum

func GetListManagedInstanceAvailablePackagesSortOrderEnumStringValues ¶

func GetListManagedInstanceAvailablePackagesSortOrderEnumStringValues() []string

GetListManagedInstanceAvailablePackagesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceAvailablePackagesSortOrderEnum

func GetListManagedInstanceAvailableSoftwareSourcesSortByEnumStringValues ¶

func GetListManagedInstanceAvailableSoftwareSourcesSortByEnumStringValues() []string

GetListManagedInstanceAvailableSoftwareSourcesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceAvailableSoftwareSourcesSortByEnum

func GetListManagedInstanceAvailableSoftwareSourcesSortOrderEnumStringValues ¶

func GetListManagedInstanceAvailableSoftwareSourcesSortOrderEnumStringValues() []string

GetListManagedInstanceAvailableSoftwareSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum

func GetListManagedInstanceErrataAdvisoryTypeEnumStringValues ¶

func GetListManagedInstanceErrataAdvisoryTypeEnumStringValues() []string

GetListManagedInstanceErrataAdvisoryTypeEnumStringValues Enumerates the set of values in String for ListManagedInstanceErrataAdvisoryTypeEnum

func GetListManagedInstanceErrataSortByEnumStringValues ¶

func GetListManagedInstanceErrataSortByEnumStringValues() []string

GetListManagedInstanceErrataSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceErrataSortByEnum

func GetListManagedInstanceErrataSortOrderEnumStringValues ¶

func GetListManagedInstanceErrataSortOrderEnumStringValues() []string

GetListManagedInstanceErrataSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceErrataSortOrderEnum

func GetListManagedInstanceGroupAvailableModulesSortByEnumStringValues ¶

func GetListManagedInstanceGroupAvailableModulesSortByEnumStringValues() []string

GetListManagedInstanceGroupAvailableModulesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupAvailableModulesSortByEnum

func GetListManagedInstanceGroupAvailableModulesSortOrderEnumStringValues ¶

func GetListManagedInstanceGroupAvailableModulesSortOrderEnumStringValues() []string

GetListManagedInstanceGroupAvailableModulesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupAvailableModulesSortOrderEnum

func GetListManagedInstanceGroupAvailablePackagesSortByEnumStringValues ¶

func GetListManagedInstanceGroupAvailablePackagesSortByEnumStringValues() []string

GetListManagedInstanceGroupAvailablePackagesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupAvailablePackagesSortByEnum

func GetListManagedInstanceGroupAvailablePackagesSortOrderEnumStringValues ¶

func GetListManagedInstanceGroupAvailablePackagesSortOrderEnumStringValues() []string

GetListManagedInstanceGroupAvailablePackagesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupAvailablePackagesSortOrderEnum

func GetListManagedInstanceGroupAvailableSoftwareSourcesSortByEnumStringValues ¶

func GetListManagedInstanceGroupAvailableSoftwareSourcesSortByEnumStringValues() []string

GetListManagedInstanceGroupAvailableSoftwareSourcesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum

func GetListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnumStringValues ¶

func GetListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnumStringValues() []string

GetListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum

func GetListManagedInstanceGroupInstalledPackagesSortByEnumStringValues ¶

func GetListManagedInstanceGroupInstalledPackagesSortByEnumStringValues() []string

GetListManagedInstanceGroupInstalledPackagesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupInstalledPackagesSortByEnum

func GetListManagedInstanceGroupInstalledPackagesSortOrderEnumStringValues ¶

func GetListManagedInstanceGroupInstalledPackagesSortOrderEnumStringValues() []string

GetListManagedInstanceGroupInstalledPackagesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupInstalledPackagesSortOrderEnum

func GetListManagedInstanceGroupModulesSortByEnumStringValues ¶

func GetListManagedInstanceGroupModulesSortByEnumStringValues() []string

GetListManagedInstanceGroupModulesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupModulesSortByEnum

func GetListManagedInstanceGroupModulesSortOrderEnumStringValues ¶

func GetListManagedInstanceGroupModulesSortOrderEnumStringValues() []string

GetListManagedInstanceGroupModulesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupModulesSortOrderEnum

func GetListManagedInstanceGroupsArchTypeEnumStringValues ¶

func GetListManagedInstanceGroupsArchTypeEnumStringValues() []string

GetListManagedInstanceGroupsArchTypeEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupsArchTypeEnum

func GetListManagedInstanceGroupsOsFamilyEnumStringValues ¶

func GetListManagedInstanceGroupsOsFamilyEnumStringValues() []string

GetListManagedInstanceGroupsOsFamilyEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupsOsFamilyEnum

func GetListManagedInstanceGroupsSortByEnumStringValues ¶

func GetListManagedInstanceGroupsSortByEnumStringValues() []string

GetListManagedInstanceGroupsSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupsSortByEnum

func GetListManagedInstanceGroupsSortOrderEnumStringValues ¶

func GetListManagedInstanceGroupsSortOrderEnumStringValues() []string

GetListManagedInstanceGroupsSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceGroupsSortOrderEnum

func GetListManagedInstanceInstalledPackagesSortByEnumStringValues ¶

func GetListManagedInstanceInstalledPackagesSortByEnumStringValues() []string

GetListManagedInstanceInstalledPackagesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceInstalledPackagesSortByEnum

func GetListManagedInstanceInstalledPackagesSortOrderEnumStringValues ¶

func GetListManagedInstanceInstalledPackagesSortOrderEnumStringValues() []string

GetListManagedInstanceInstalledPackagesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceInstalledPackagesSortOrderEnum

func GetListManagedInstanceModulesSortByEnumStringValues ¶

func GetListManagedInstanceModulesSortByEnumStringValues() []string

GetListManagedInstanceModulesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceModulesSortByEnum

func GetListManagedInstanceModulesSortOrderEnumStringValues ¶

func GetListManagedInstanceModulesSortOrderEnumStringValues() []string

GetListManagedInstanceModulesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceModulesSortOrderEnum

func GetListManagedInstanceUpdatablePackagesSortByEnumStringValues ¶

func GetListManagedInstanceUpdatablePackagesSortByEnumStringValues() []string

GetListManagedInstanceUpdatablePackagesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceUpdatablePackagesSortByEnum

func GetListManagedInstanceUpdatablePackagesSortOrderEnumStringValues ¶

func GetListManagedInstanceUpdatablePackagesSortOrderEnumStringValues() []string

GetListManagedInstanceUpdatablePackagesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceUpdatablePackagesSortOrderEnum

func GetListManagedInstancesSortByEnumStringValues ¶

func GetListManagedInstancesSortByEnumStringValues() []string

GetListManagedInstancesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstancesSortByEnum

func GetListManagedInstancesSortOrderEnumStringValues ¶

func GetListManagedInstancesSortOrderEnumStringValues() []string

GetListManagedInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstancesSortOrderEnum

func GetListManagementStationsSortByEnumStringValues ¶

func GetListManagementStationsSortByEnumStringValues() []string

GetListManagementStationsSortByEnumStringValues Enumerates the set of values in String for ListManagementStationsSortByEnum

func GetListManagementStationsSortOrderEnumStringValues ¶

func GetListManagementStationsSortOrderEnumStringValues() []string

GetListManagementStationsSortOrderEnumStringValues Enumerates the set of values in String for ListManagementStationsSortOrderEnum

func GetListMirrorsSortByEnumStringValues ¶

func GetListMirrorsSortByEnumStringValues() []string

GetListMirrorsSortByEnumStringValues Enumerates the set of values in String for ListMirrorsSortByEnum

func GetListMirrorsSortOrderEnumStringValues ¶

func GetListMirrorsSortOrderEnumStringValues() []string

GetListMirrorsSortOrderEnumStringValues Enumerates the set of values in String for ListMirrorsSortOrderEnum

func GetListModuleStreamProfilesSortByEnumStringValues ¶

func GetListModuleStreamProfilesSortByEnumStringValues() []string

GetListModuleStreamProfilesSortByEnumStringValues Enumerates the set of values in String for ListModuleStreamProfilesSortByEnum

func GetListModuleStreamProfilesSortOrderEnumStringValues ¶

func GetListModuleStreamProfilesSortOrderEnumStringValues() []string

GetListModuleStreamProfilesSortOrderEnumStringValues Enumerates the set of values in String for ListModuleStreamProfilesSortOrderEnum

func GetListModuleStreamsSortByEnumStringValues ¶

func GetListModuleStreamsSortByEnumStringValues() []string

GetListModuleStreamsSortByEnumStringValues Enumerates the set of values in String for ListModuleStreamsSortByEnum

func GetListModuleStreamsSortOrderEnumStringValues ¶

func GetListModuleStreamsSortOrderEnumStringValues() []string

GetListModuleStreamsSortOrderEnumStringValues Enumerates the set of values in String for ListModuleStreamsSortOrderEnum

func GetListPackageGroupsSortByEnumStringValues ¶

func GetListPackageGroupsSortByEnumStringValues() []string

GetListPackageGroupsSortByEnumStringValues Enumerates the set of values in String for ListPackageGroupsSortByEnum

func GetListPackageGroupsSortOrderEnumStringValues ¶

func GetListPackageGroupsSortOrderEnumStringValues() []string

GetListPackageGroupsSortOrderEnumStringValues Enumerates the set of values in String for ListPackageGroupsSortOrderEnum

func GetListProfilesArchTypeEnumStringValues ¶

func GetListProfilesArchTypeEnumStringValues() []string

GetListProfilesArchTypeEnumStringValues Enumerates the set of values in String for ListProfilesArchTypeEnum

func GetListProfilesOsFamilyEnumStringValues ¶

func GetListProfilesOsFamilyEnumStringValues() []string

GetListProfilesOsFamilyEnumStringValues Enumerates the set of values in String for ListProfilesOsFamilyEnum

func GetListProfilesSortByEnumStringValues ¶

func GetListProfilesSortByEnumStringValues() []string

GetListProfilesSortByEnumStringValues Enumerates the set of values in String for ListProfilesSortByEnum

func GetListProfilesSortOrderEnumStringValues ¶

func GetListProfilesSortOrderEnumStringValues() []string

GetListProfilesSortOrderEnumStringValues Enumerates the set of values in String for ListProfilesSortOrderEnum

func GetListProfilesVendorNameEnumStringValues ¶

func GetListProfilesVendorNameEnumStringValues() []string

GetListProfilesVendorNameEnumStringValues Enumerates the set of values in String for ListProfilesVendorNameEnum

func GetListScheduledJobsOperationTypeEnumStringValues ¶

func GetListScheduledJobsOperationTypeEnumStringValues() []string

GetListScheduledJobsOperationTypeEnumStringValues Enumerates the set of values in String for ListScheduledJobsOperationTypeEnum

func GetListScheduledJobsScheduleTypeEnumStringValues ¶

func GetListScheduledJobsScheduleTypeEnumStringValues() []string

GetListScheduledJobsScheduleTypeEnumStringValues Enumerates the set of values in String for ListScheduledJobsScheduleTypeEnum

func GetListScheduledJobsSortByEnumStringValues ¶

func GetListScheduledJobsSortByEnumStringValues() []string

GetListScheduledJobsSortByEnumStringValues Enumerates the set of values in String for ListScheduledJobsSortByEnum

func GetListScheduledJobsSortOrderEnumStringValues ¶

func GetListScheduledJobsSortOrderEnumStringValues() []string

GetListScheduledJobsSortOrderEnumStringValues Enumerates the set of values in String for ListScheduledJobsSortOrderEnum

func GetListSoftwarePackagesSortByEnumStringValues ¶

func GetListSoftwarePackagesSortByEnumStringValues() []string

GetListSoftwarePackagesSortByEnumStringValues Enumerates the set of values in String for ListSoftwarePackagesSortByEnum

func GetListSoftwarePackagesSortOrderEnumStringValues ¶

func GetListSoftwarePackagesSortOrderEnumStringValues() []string

GetListSoftwarePackagesSortOrderEnumStringValues Enumerates the set of values in String for ListSoftwarePackagesSortOrderEnum

func GetListSoftwareSourceVendorsSortByEnumStringValues ¶

func GetListSoftwareSourceVendorsSortByEnumStringValues() []string

GetListSoftwareSourceVendorsSortByEnumStringValues Enumerates the set of values in String for ListSoftwareSourceVendorsSortByEnum

func GetListSoftwareSourceVendorsSortOrderEnumStringValues ¶

func GetListSoftwareSourceVendorsSortOrderEnumStringValues() []string

GetListSoftwareSourceVendorsSortOrderEnumStringValues Enumerates the set of values in String for ListSoftwareSourceVendorsSortOrderEnum

func GetListSoftwareSourcesSortByEnumStringValues ¶

func GetListSoftwareSourcesSortByEnumStringValues() []string

GetListSoftwareSourcesSortByEnumStringValues Enumerates the set of values in String for ListSoftwareSourcesSortByEnum

func GetListSoftwareSourcesSortOrderEnumStringValues ¶

func GetListSoftwareSourcesSortOrderEnumStringValues() []string

GetListSoftwareSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListSoftwareSourcesSortOrderEnum

func GetListSoftwareSourcesVendorNameEnumStringValues ¶

func GetListSoftwareSourcesVendorNameEnumStringValues() []string

GetListSoftwareSourcesVendorNameEnumStringValues Enumerates the set of values in String for ListSoftwareSourcesVendorNameEnum

func GetListWorkRequestErrorsSortByEnumStringValues ¶

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues ¶

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues ¶

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues ¶

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues ¶

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues ¶

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetManagedInstanceGroupLifecycleStateEnumStringValues ¶

func GetManagedInstanceGroupLifecycleStateEnumStringValues() []string

GetManagedInstanceGroupLifecycleStateEnumStringValues Enumerates the set of values in String for ManagedInstanceGroupLifecycleStateEnum

func GetManagedInstanceLocationEnumStringValues ¶

func GetManagedInstanceLocationEnumStringValues() []string

GetManagedInstanceLocationEnumStringValues Enumerates the set of values in String for ManagedInstanceLocationEnum

func GetManagedInstanceStatusEnumStringValues ¶

func GetManagedInstanceStatusEnumStringValues() []string

GetManagedInstanceStatusEnumStringValues Enumerates the set of values in String for ManagedInstanceStatusEnum

func GetManagementStationLifecycleStateEnumStringValues ¶

func GetManagementStationLifecycleStateEnumStringValues() []string

GetManagementStationLifecycleStateEnumStringValues Enumerates the set of values in String for ManagementStationLifecycleStateEnum

func GetMetricNameEnumStringValues ¶

func GetMetricNameEnumStringValues() []string

GetMetricNameEnumStringValues Enumerates the set of values in String for MetricNameEnum

func GetMirrorStateEnumStringValues ¶

func GetMirrorStateEnumStringValues() []string

GetMirrorStateEnumStringValues Enumerates the set of values in String for MirrorStateEnum

func GetMirrorTypeEnumStringValues ¶

func GetMirrorTypeEnumStringValues() []string

GetMirrorTypeEnumStringValues Enumerates the set of values in String for MirrorTypeEnum

func GetModuleStreamProfileStatusEnumStringValues ¶

func GetModuleStreamProfileStatusEnumStringValues() []string

GetModuleStreamProfileStatusEnumStringValues Enumerates the set of values in String for ModuleStreamProfileStatusEnum

func GetModuleStreamStatusEnumStringValues ¶

func GetModuleStreamStatusEnumStringValues() []string

GetModuleStreamStatusEnumStringValues Enumerates the set of values in String for ModuleStreamStatusEnum

func GetOperationStatusEnumStringValues ¶

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypesEnumStringValues ¶

func GetOperationTypesEnumStringValues() []string

GetOperationTypesEnumStringValues Enumerates the set of values in String for OperationTypesEnum

func GetOsFamilyEnumStringValues ¶

func GetOsFamilyEnumStringValues() []string

GetOsFamilyEnumStringValues Enumerates the set of values in String for OsFamilyEnum

func GetOverallStateEnumStringValues ¶

func GetOverallStateEnumStringValues() []string

GetOverallStateEnumStringValues Enumerates the set of values in String for OverallStateEnum

func GetPackageGroupGroupTypeEnumStringValues ¶

func GetPackageGroupGroupTypeEnumStringValues() []string

GetPackageGroupGroupTypeEnumStringValues Enumerates the set of values in String for PackageGroupGroupTypeEnum

func GetPackageSummaryPackageClassificationEnumStringValues ¶

func GetPackageSummaryPackageClassificationEnumStringValues() []string

GetPackageSummaryPackageClassificationEnumStringValues Enumerates the set of values in String for PackageSummaryPackageClassificationEnum

func GetProfileLifecycleStateEnumStringValues ¶

func GetProfileLifecycleStateEnumStringValues() []string

GetProfileLifecycleStateEnumStringValues Enumerates the set of values in String for ProfileLifecycleStateEnum

func GetProfileTypeEnumStringValues ¶

func GetProfileTypeEnumStringValues() []string

GetProfileTypeEnumStringValues Enumerates the set of values in String for ProfileTypeEnum

func GetScheduleTypesEnumStringValues ¶

func GetScheduleTypesEnumStringValues() []string

GetScheduleTypesEnumStringValues Enumerates the set of values in String for ScheduleTypesEnum

func GetScheduledJobLifecycleStateEnumStringValues ¶

func GetScheduledJobLifecycleStateEnumStringValues() []string

GetScheduledJobLifecycleStateEnumStringValues Enumerates the set of values in String for ScheduledJobLifecycleStateEnum

func GetSearchSoftwareSourceModuleStreamsDetailsSortByEnumStringValues ¶

func GetSearchSoftwareSourceModuleStreamsDetailsSortByEnumStringValues() []string

GetSearchSoftwareSourceModuleStreamsDetailsSortByEnumStringValues Enumerates the set of values in String for SearchSoftwareSourceModuleStreamsDetailsSortByEnum

func GetSearchSoftwareSourceModuleStreamsDetailsSortOrderEnumStringValues ¶

func GetSearchSoftwareSourceModuleStreamsDetailsSortOrderEnumStringValues() []string

GetSearchSoftwareSourceModuleStreamsDetailsSortOrderEnumStringValues Enumerates the set of values in String for SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum

func GetSearchSoftwareSourceModulesDetailsSortByEnumStringValues ¶

func GetSearchSoftwareSourceModulesDetailsSortByEnumStringValues() []string

GetSearchSoftwareSourceModulesDetailsSortByEnumStringValues Enumerates the set of values in String for SearchSoftwareSourceModulesDetailsSortByEnum

func GetSearchSoftwareSourceModulesDetailsSortOrderEnumStringValues ¶

func GetSearchSoftwareSourceModulesDetailsSortOrderEnumStringValues() []string

GetSearchSoftwareSourceModulesDetailsSortOrderEnumStringValues Enumerates the set of values in String for SearchSoftwareSourceModulesDetailsSortOrderEnum

func GetSearchSoftwareSourcePackageGroupsDetailsSortByEnumStringValues ¶

func GetSearchSoftwareSourcePackageGroupsDetailsSortByEnumStringValues() []string

GetSearchSoftwareSourcePackageGroupsDetailsSortByEnumStringValues Enumerates the set of values in String for SearchSoftwareSourcePackageGroupsDetailsSortByEnum

func GetSearchSoftwareSourcePackageGroupsDetailsSortOrderEnumStringValues ¶

func GetSearchSoftwareSourcePackageGroupsDetailsSortOrderEnumStringValues() []string

GetSearchSoftwareSourcePackageGroupsDetailsSortOrderEnumStringValues Enumerates the set of values in String for SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum

func GetSoftwareSourceLifecycleStateEnumStringValues ¶

func GetSoftwareSourceLifecycleStateEnumStringValues() []string

GetSoftwareSourceLifecycleStateEnumStringValues Enumerates the set of values in String for SoftwareSourceLifecycleStateEnum

func GetSoftwareSourceTypeEnumStringValues ¶

func GetSoftwareSourceTypeEnumStringValues() []string

GetSoftwareSourceTypeEnumStringValues Enumerates the set of values in String for SoftwareSourceTypeEnum

func GetSortOrderEnumStringValues ¶

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetSummarizeManagedInstanceAnalyticsInstanceLocationEnumStringValues ¶

func GetSummarizeManagedInstanceAnalyticsInstanceLocationEnumStringValues() []string

GetSummarizeManagedInstanceAnalyticsInstanceLocationEnumStringValues Enumerates the set of values in String for SummarizeManagedInstanceAnalyticsInstanceLocationEnum

func GetSummarizeManagedInstanceAnalyticsSortByEnumStringValues ¶

func GetSummarizeManagedInstanceAnalyticsSortByEnumStringValues() []string

GetSummarizeManagedInstanceAnalyticsSortByEnumStringValues Enumerates the set of values in String for SummarizeManagedInstanceAnalyticsSortByEnum

func GetSummarizeManagedInstanceAnalyticsSortOrderEnumStringValues ¶

func GetSummarizeManagedInstanceAnalyticsSortOrderEnumStringValues() []string

GetSummarizeManagedInstanceAnalyticsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeManagedInstanceAnalyticsSortOrderEnum

func GetTargetResourceEntityTypeEnumStringValues ¶

func GetTargetResourceEntityTypeEnumStringValues() []string

GetTargetResourceEntityTypeEnumStringValues Enumerates the set of values in String for TargetResourceEntityTypeEnum

func GetUpdateTypesEnumStringValues ¶

func GetUpdateTypesEnumStringValues() []string

GetUpdateTypesEnumStringValues Enumerates the set of values in String for UpdateTypesEnum

func GetVendorNameEnumStringValues ¶

func GetVendorNameEnumStringValues() []string

GetVendorNameEnumStringValues Enumerates the set of values in String for VendorNameEnum

func GetWorkRequestOperationTypeEnumStringValues ¶

func GetWorkRequestOperationTypeEnumStringValues() []string

GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues ¶

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

Types ¶

type ActionTypeEnum ¶

type ActionTypeEnum string

ActionTypeEnum Enum with underlying type: string

const (
	ActionTypeCreated    ActionTypeEnum = "CREATED"
	ActionTypeUpdated    ActionTypeEnum = "UPDATED"
	ActionTypeDeleted    ActionTypeEnum = "DELETED"
	ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
	ActionTypeRelated    ActionTypeEnum = "RELATED"
	ActionTypeFailed     ActionTypeEnum = "FAILED"
)

Set of constants representing the allowable values for ActionTypeEnum

func GetActionTypeEnumValues ¶

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum ¶

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

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

type AdvisorySeverityEnum ¶

type AdvisorySeverityEnum string

AdvisorySeverityEnum Enum with underlying type: string

const (
	AdvisorySeverityLow       AdvisorySeverityEnum = "LOW"
	AdvisorySeverityModerate  AdvisorySeverityEnum = "MODERATE"
	AdvisorySeverityImportant AdvisorySeverityEnum = "IMPORTANT"
	AdvisorySeverityCritical  AdvisorySeverityEnum = "CRITICAL"
)

Set of constants representing the allowable values for AdvisorySeverityEnum

func GetAdvisorySeverityEnumValues ¶

func GetAdvisorySeverityEnumValues() []AdvisorySeverityEnum

GetAdvisorySeverityEnumValues Enumerates the set of values for AdvisorySeverityEnum

func GetMappingAdvisorySeverityEnum ¶

func GetMappingAdvisorySeverityEnum(val string) (AdvisorySeverityEnum, bool)

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

type ArchTypeEnum ¶

type ArchTypeEnum string

ArchTypeEnum Enum with underlying type: string

const (
	ArchTypeX8664   ArchTypeEnum = "X86_64"
	ArchTypeAarch64 ArchTypeEnum = "AARCH64"
	ArchTypeI686    ArchTypeEnum = "I686"
	ArchTypeNoarch  ArchTypeEnum = "NOARCH"
	ArchTypeSrc     ArchTypeEnum = "SRC"
)

Set of constants representing the allowable values for ArchTypeEnum

func GetArchTypeEnumValues ¶

func GetArchTypeEnumValues() []ArchTypeEnum

GetArchTypeEnumValues Enumerates the set of values for ArchTypeEnum

func GetMappingArchTypeEnum ¶

func GetMappingArchTypeEnum(val string) (ArchTypeEnum, bool)

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

type AttachManagedInstancesToLifecycleStageDetails ¶

type AttachManagedInstancesToLifecycleStageDetails struct {
	ManagedInstanceDetails *ManagedInstancesDetails `mandatory:"false" json:"managedInstanceDetails"`
}

AttachManagedInstancesToLifecycleStageDetails The managed instances to attach to the lifecycle stage.

func (AttachManagedInstancesToLifecycleStageDetails) String ¶

func (AttachManagedInstancesToLifecycleStageDetails) ValidateEnumValue ¶

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

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

AttachManagedInstancesToLifecycleStageRequest wrapper for the AttachManagedInstancesToLifecycleStage operation

See also ¶

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

func (AttachManagedInstancesToLifecycleStageRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (AttachManagedInstancesToLifecycleStageRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AttachManagedInstancesToLifecycleStageRequest) RetryPolicy ¶

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

func (AttachManagedInstancesToLifecycleStageRequest) String ¶

func (AttachManagedInstancesToLifecycleStageRequest) ValidateEnumValue ¶

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

type AttachManagedInstancesToLifecycleStageResponse ¶

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

AttachManagedInstancesToLifecycleStageResponse wrapper for the AttachManagedInstancesToLifecycleStage operation

func (AttachManagedInstancesToLifecycleStageResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (AttachManagedInstancesToLifecycleStageResponse) String ¶

type AttachManagedInstancesToManagedInstanceGroupDetails ¶

type AttachManagedInstancesToManagedInstanceGroupDetails struct {

	// The list of managed instance OCIDs to be attached.
	ManagedInstances []string `mandatory:"false" json:"managedInstances"`

	WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"`
}

AttachManagedInstancesToManagedInstanceGroupDetails The managed instance OCIDs to attach to the managed instance group.

func (AttachManagedInstancesToManagedInstanceGroupDetails) String ¶

func (AttachManagedInstancesToManagedInstanceGroupDetails) ValidateEnumValue ¶

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

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

AttachManagedInstancesToManagedInstanceGroupRequest wrapper for the AttachManagedInstancesToManagedInstanceGroup operation

See also ¶

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

func (AttachManagedInstancesToManagedInstanceGroupRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (AttachManagedInstancesToManagedInstanceGroupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AttachManagedInstancesToManagedInstanceGroupRequest) RetryPolicy ¶

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

func (AttachManagedInstancesToManagedInstanceGroupRequest) String ¶

func (AttachManagedInstancesToManagedInstanceGroupRequest) ValidateEnumValue ¶

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

type AttachManagedInstancesToManagedInstanceGroupResponse ¶

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

AttachManagedInstancesToManagedInstanceGroupResponse wrapper for the AttachManagedInstancesToManagedInstanceGroup operation

func (AttachManagedInstancesToManagedInstanceGroupResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (AttachManagedInstancesToManagedInstanceGroupResponse) String ¶

type AttachSoftwareSourcesToManagedInstanceDetails ¶

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

AttachSoftwareSourcesToManagedInstanceDetails The details about the software sources to be attached.

func (AttachSoftwareSourcesToManagedInstanceDetails) String ¶

func (AttachSoftwareSourcesToManagedInstanceDetails) ValidateEnumValue ¶

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

type AttachSoftwareSourcesToManagedInstanceGroupDetails ¶

type AttachSoftwareSourcesToManagedInstanceGroupDetails struct {

	// The list of software sources OCIDs to be attached.
	SoftwareSources []string `mandatory:"false" json:"softwareSources"`

	WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"`
}

AttachSoftwareSourcesToManagedInstanceGroupDetails The software sources OCIDs to attach to the managed instance group.

func (AttachSoftwareSourcesToManagedInstanceGroupDetails) String ¶

func (AttachSoftwareSourcesToManagedInstanceGroupDetails) ValidateEnumValue ¶

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

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

AttachSoftwareSourcesToManagedInstanceGroupRequest wrapper for the AttachSoftwareSourcesToManagedInstanceGroup operation

See also ¶

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

func (AttachSoftwareSourcesToManagedInstanceGroupRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (AttachSoftwareSourcesToManagedInstanceGroupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AttachSoftwareSourcesToManagedInstanceGroupRequest) RetryPolicy ¶

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

func (AttachSoftwareSourcesToManagedInstanceGroupRequest) String ¶

func (AttachSoftwareSourcesToManagedInstanceGroupRequest) ValidateEnumValue ¶

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

type AttachSoftwareSourcesToManagedInstanceGroupResponse ¶

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

AttachSoftwareSourcesToManagedInstanceGroupResponse wrapper for the AttachSoftwareSourcesToManagedInstanceGroup operation

func (AttachSoftwareSourcesToManagedInstanceGroupResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (AttachSoftwareSourcesToManagedInstanceGroupResponse) String ¶

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

AttachSoftwareSourcesToManagedInstanceRequest wrapper for the AttachSoftwareSourcesToManagedInstance operation

See also ¶

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

func (AttachSoftwareSourcesToManagedInstanceRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (AttachSoftwareSourcesToManagedInstanceRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AttachSoftwareSourcesToManagedInstanceRequest) RetryPolicy ¶

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

func (AttachSoftwareSourcesToManagedInstanceRequest) String ¶

func (AttachSoftwareSourcesToManagedInstanceRequest) ValidateEnumValue ¶

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

type AttachSoftwareSourcesToManagedInstanceResponse ¶

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

AttachSoftwareSourcesToManagedInstanceResponse wrapper for the AttachSoftwareSourcesToManagedInstance operation

func (AttachSoftwareSourcesToManagedInstanceResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (AttachSoftwareSourcesToManagedInstanceResponse) String ¶

type AvailabilityEnum ¶

type AvailabilityEnum string

AvailabilityEnum Enum with underlying type: string

const (
	AvailabilityAvailable  AvailabilityEnum = "AVAILABLE"
	AvailabilitySelected   AvailabilityEnum = "SELECTED"
	AvailabilityRestricted AvailabilityEnum = "RESTRICTED"
)

Set of constants representing the allowable values for AvailabilityEnum

func GetAvailabilityEnumValues ¶

func GetAvailabilityEnumValues() []AvailabilityEnum

GetAvailabilityEnumValues Enumerates the set of values for AvailabilityEnum

func GetMappingAvailabilityEnum ¶

func GetMappingAvailabilityEnum(val string) (AvailabilityEnum, bool)

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

type AvailablePackageCollection ¶

type AvailablePackageCollection struct {

	// List of available packages.
	Items []AvailablePackageSummary `mandatory:"true" json:"items"`
}

AvailablePackageCollection Results of an available package search on a managed instance.

func (AvailablePackageCollection) String ¶

func (AvailablePackageCollection) ValidateEnumValue ¶

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

type AvailablePackageSummary ¶

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

AvailablePackageSummary A software package available for install on a managed instance.

func (AvailablePackageSummary) GetArchitecture ¶

func (m AvailablePackageSummary) GetArchitecture() ArchTypeEnum

GetArchitecture returns Architecture

func (AvailablePackageSummary) GetDisplayName ¶

func (m AvailablePackageSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (AvailablePackageSummary) GetName ¶

func (m AvailablePackageSummary) GetName() *string

GetName returns Name

func (AvailablePackageSummary) GetSoftwareSources ¶

func (m AvailablePackageSummary) GetSoftwareSources() []SoftwareSourceDetails

GetSoftwareSources returns SoftwareSources

func (AvailablePackageSummary) GetType ¶

func (m AvailablePackageSummary) GetType() *string

GetType returns Type

func (AvailablePackageSummary) GetVersion ¶

func (m AvailablePackageSummary) GetVersion() *string

GetVersion returns Version

func (AvailablePackageSummary) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (AvailablePackageSummary) String ¶

func (m AvailablePackageSummary) String() string

func (AvailablePackageSummary) ValidateEnumValue ¶

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

type AvailableSoftwareSourceCollection ¶

type AvailableSoftwareSourceCollection struct {

	// List of available software sources.
	Items []AvailableSoftwareSourceSummary `mandatory:"true" json:"items"`
}

AvailableSoftwareSourceCollection Results of searching for available software sources for a managed instance.

func (AvailableSoftwareSourceCollection) String ¶

func (AvailableSoftwareSourceCollection) ValidateEnumValue ¶

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

type AvailableSoftwareSourceSummary ¶

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

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

func (AvailableSoftwareSourceSummary) String ¶

func (AvailableSoftwareSourceSummary) ValidateEnumValue ¶

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

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

type ChangeAvailabilityOfSoftwareSourcesDetails ¶

type ChangeAvailabilityOfSoftwareSourcesDetails struct {

	// List of objects containing software source ids and its availability.
	SoftwareSourceAvailabilities []SoftwareSourceAvailability `mandatory:"false" json:"softwareSourceAvailabilities"`
}

ChangeAvailabilityOfSoftwareSourcesDetails Request body that contains a list of software sources whose availability needs to be updated.

func (ChangeAvailabilityOfSoftwareSourcesDetails) String ¶

func (ChangeAvailabilityOfSoftwareSourcesDetails) ValidateEnumValue ¶

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

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

ChangeAvailabilityOfSoftwareSourcesRequest wrapper for the ChangeAvailabilityOfSoftwareSources operation

See also ¶

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

func (ChangeAvailabilityOfSoftwareSourcesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeAvailabilityOfSoftwareSourcesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeAvailabilityOfSoftwareSourcesRequest) RetryPolicy ¶

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

func (ChangeAvailabilityOfSoftwareSourcesRequest) String ¶

func (ChangeAvailabilityOfSoftwareSourcesRequest) ValidateEnumValue ¶

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

type ChangeAvailabilityOfSoftwareSourcesResponse ¶

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

ChangeAvailabilityOfSoftwareSourcesResponse wrapper for the ChangeAvailabilityOfSoftwareSources operation

func (ChangeAvailabilityOfSoftwareSourcesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ChangeAvailabilityOfSoftwareSourcesResponse) String ¶

type ChecksumTypeEnum ¶

type ChecksumTypeEnum string

ChecksumTypeEnum Enum with underlying type: string

const (
	ChecksumTypeSha1   ChecksumTypeEnum = "SHA1"
	ChecksumTypeSha256 ChecksumTypeEnum = "SHA256"
	ChecksumTypeSha384 ChecksumTypeEnum = "SHA384"
	ChecksumTypeSha512 ChecksumTypeEnum = "SHA512"
)

Set of constants representing the allowable values for ChecksumTypeEnum

func GetChecksumTypeEnumValues ¶

func GetChecksumTypeEnumValues() []ChecksumTypeEnum

GetChecksumTypeEnumValues Enumerates the set of values for ChecksumTypeEnum

func GetMappingChecksumTypeEnum ¶

func GetMappingChecksumTypeEnum(val string) (ChecksumTypeEnum, bool)

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

type ClassificationTypesEnum ¶

type ClassificationTypesEnum string

ClassificationTypesEnum Enum with underlying type: string

const (
	ClassificationTypesSecurity    ClassificationTypesEnum = "SECURITY"
	ClassificationTypesBugfix      ClassificationTypesEnum = "BUGFIX"
	ClassificationTypesEnhancement ClassificationTypesEnum = "ENHANCEMENT"
	ClassificationTypesOther       ClassificationTypesEnum = "OTHER"
)

Set of constants representing the allowable values for ClassificationTypesEnum

func GetClassificationTypesEnumValues ¶

func GetClassificationTypesEnumValues() []ClassificationTypesEnum

GetClassificationTypesEnumValues Enumerates the set of values for ClassificationTypesEnum

func GetMappingClassificationTypesEnum ¶

func GetMappingClassificationTypesEnum(val string) (ClassificationTypesEnum, bool)

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

type CreateCustomSoftwareSourceDetails ¶

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

CreateCustomSoftwareSourceDetails Description of a custom software source to be created.

func (CreateCustomSoftwareSourceDetails) GetCompartmentId ¶

func (m CreateCustomSoftwareSourceDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateCustomSoftwareSourceDetails) GetDefinedTags ¶

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

GetDefinedTags returns DefinedTags

func (CreateCustomSoftwareSourceDetails) GetDescription ¶

func (m CreateCustomSoftwareSourceDetails) GetDescription() *string

GetDescription returns Description

func (CreateCustomSoftwareSourceDetails) GetDisplayName ¶

func (m CreateCustomSoftwareSourceDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateCustomSoftwareSourceDetails) GetFreeformTags ¶

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

GetFreeformTags returns FreeformTags

func (CreateCustomSoftwareSourceDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (CreateCustomSoftwareSourceDetails) String ¶

func (CreateCustomSoftwareSourceDetails) ValidateEnumValue ¶

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

type CreateEntitlementDetails ¶

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

CreateEntitlementDetails Creates an entitlement for the specified compartment OCID and CSI.

func (CreateEntitlementDetails) String ¶

func (m CreateEntitlementDetails) String() string

func (CreateEntitlementDetails) ValidateEnumValue ¶

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

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

CreateEntitlementRequest wrapper for the CreateEntitlement operation

See also ¶

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

func (CreateEntitlementRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateEntitlementRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateEntitlementRequest) RetryPolicy ¶

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

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

func (CreateEntitlementRequest) String ¶

func (request CreateEntitlementRequest) String() string

func (CreateEntitlementRequest) ValidateEnumValue ¶

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

type CreateEntitlementResponse ¶

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

CreateEntitlementResponse wrapper for the CreateEntitlement operation

func (CreateEntitlementResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateEntitlementResponse) String ¶

func (response CreateEntitlementResponse) String() string

type CreateGroupProfileDetails ¶

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

CreateGroupProfileDetails Description of a group registration profile to be created.

func (CreateGroupProfileDetails) GetCompartmentId ¶

func (m CreateGroupProfileDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateGroupProfileDetails) GetDefinedTags ¶

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

GetDefinedTags returns DefinedTags

func (CreateGroupProfileDetails) GetDescription ¶

func (m CreateGroupProfileDetails) GetDescription() *string

GetDescription returns Description

func (CreateGroupProfileDetails) GetDisplayName ¶

func (m CreateGroupProfileDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateGroupProfileDetails) GetFreeformTags ¶

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

GetFreeformTags returns FreeformTags

func (CreateGroupProfileDetails) GetManagementStationId ¶

func (m CreateGroupProfileDetails) GetManagementStationId() *string

GetManagementStationId returns ManagementStationId

func (CreateGroupProfileDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (CreateGroupProfileDetails) String ¶

func (m CreateGroupProfileDetails) String() string

func (CreateGroupProfileDetails) ValidateEnumValue ¶

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

type CreateLifecycleEnvironmentDetails ¶

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

CreateLifecycleEnvironmentDetails Creates a lifecycle environment. A lifecycle environment is a user-defined pipeline to deliver curated, versioned content in a prescribed, methodical manner.

func (CreateLifecycleEnvironmentDetails) String ¶

func (CreateLifecycleEnvironmentDetails) ValidateEnumValue ¶

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

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

CreateLifecycleEnvironmentRequest wrapper for the CreateLifecycleEnvironment operation

See also ¶

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

func (CreateLifecycleEnvironmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateLifecycleEnvironmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateLifecycleEnvironmentRequest) RetryPolicy ¶

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

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

func (CreateLifecycleEnvironmentRequest) String ¶

func (request CreateLifecycleEnvironmentRequest) String() string

func (CreateLifecycleEnvironmentRequest) ValidateEnumValue ¶

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

type CreateLifecycleEnvironmentResponse ¶

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

CreateLifecycleEnvironmentResponse wrapper for the CreateLifecycleEnvironment operation

func (CreateLifecycleEnvironmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateLifecycleEnvironmentResponse) String ¶

func (response CreateLifecycleEnvironmentResponse) String() string

type CreateLifecycleProfileDetails ¶

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

CreateLifecycleProfileDetails Description of a lifecycle registration profile to be created.

func (CreateLifecycleProfileDetails) GetCompartmentId ¶

func (m CreateLifecycleProfileDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateLifecycleProfileDetails) GetDefinedTags ¶

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

GetDefinedTags returns DefinedTags

func (CreateLifecycleProfileDetails) GetDescription ¶

func (m CreateLifecycleProfileDetails) GetDescription() *string

GetDescription returns Description

func (CreateLifecycleProfileDetails) GetDisplayName ¶

func (m CreateLifecycleProfileDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateLifecycleProfileDetails) GetFreeformTags ¶

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

GetFreeformTags returns FreeformTags

func (CreateLifecycleProfileDetails) GetManagementStationId ¶

func (m CreateLifecycleProfileDetails) GetManagementStationId() *string

GetManagementStationId returns ManagementStationId

func (CreateLifecycleProfileDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (CreateLifecycleProfileDetails) String ¶

func (CreateLifecycleProfileDetails) ValidateEnumValue ¶

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

type CreateLifecycleStageDetails ¶

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

CreateLifecycleStageDetails The information about a lifecycle stage.

func (CreateLifecycleStageDetails) String ¶

func (CreateLifecycleStageDetails) ValidateEnumValue ¶

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

type CreateManagedInstanceGroupDetails ¶

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

CreateManagedInstanceGroupDetails The information about new managed instance group.

func (CreateManagedInstanceGroupDetails) String ¶

func (CreateManagedInstanceGroupDetails) ValidateEnumValue ¶

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

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

type CreateManagedInstanceGroupRequest ¶

type CreateManagedInstanceGroupRequest struct {

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

CreateManagedInstanceGroupRequest wrapper for the CreateManagedInstanceGroup operation

See also ¶

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

func (CreateManagedInstanceGroupRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateManagedInstanceGroupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateManagedInstanceGroupRequest) RetryPolicy ¶

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

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

func (CreateManagedInstanceGroupRequest) String ¶

func (request CreateManagedInstanceGroupRequest) String() string

func (CreateManagedInstanceGroupRequest) ValidateEnumValue ¶

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

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

type CreateManagedInstanceGroupResponse ¶

type CreateManagedInstanceGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

CreateManagedInstanceGroupResponse wrapper for the CreateManagedInstanceGroup operation

func (CreateManagedInstanceGroupResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateManagedInstanceGroupResponse) String ¶

func (response CreateManagedInstanceGroupResponse) String() string

type CreateManagementStationDetails ¶

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

CreateManagementStationDetails Information for creating an ManagementStation

func (CreateManagementStationDetails) String ¶

func (CreateManagementStationDetails) ValidateEnumValue ¶

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

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

CreateManagementStationRequest wrapper for the CreateManagementStation operation

See also ¶

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

func (CreateManagementStationRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateManagementStationRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateManagementStationRequest) RetryPolicy ¶

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

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

func (CreateManagementStationRequest) String ¶

func (request CreateManagementStationRequest) String() string

func (CreateManagementStationRequest) ValidateEnumValue ¶

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

type CreateManagementStationResponse ¶

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

CreateManagementStationResponse wrapper for the CreateManagementStation operation

func (CreateManagementStationResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateManagementStationResponse) String ¶

func (response CreateManagementStationResponse) String() string

type CreateMirrorConfigurationDetails ¶

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

CreateMirrorConfigurationDetails Information for creating a mirror configuration

func (CreateMirrorConfigurationDetails) String ¶

func (CreateMirrorConfigurationDetails) ValidateEnumValue ¶

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

type CreateProfileDetails ¶

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

CreateProfileDetails The information about new registration profile.

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

CreateProfileRequest wrapper for the CreateProfile operation

See also ¶

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

func (CreateProfileRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateProfileRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateProfileRequest) RetryPolicy ¶

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

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

func (CreateProfileRequest) String ¶

func (request CreateProfileRequest) String() string

func (CreateProfileRequest) ValidateEnumValue ¶

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

type CreateProfileResponse ¶

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

CreateProfileResponse wrapper for the CreateProfile operation

func (CreateProfileResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateProfileResponse) String ¶

func (response CreateProfileResponse) String() string

type CreateProxyConfigurationDetails ¶

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

CreateProxyConfigurationDetails Information for creating a proxy configuration

func (CreateProxyConfigurationDetails) String ¶

func (CreateProxyConfigurationDetails) ValidateEnumValue ¶

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

type CreateScheduledJobDetails ¶

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

CreateScheduledJobDetails Information for creating a scheduled job.

func (CreateScheduledJobDetails) String ¶

func (m CreateScheduledJobDetails) String() string

func (CreateScheduledJobDetails) ValidateEnumValue ¶

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

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

type CreateScheduledJobRequest ¶

type CreateScheduledJobRequest struct {

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

CreateScheduledJobRequest wrapper for the CreateScheduledJob operation

See also ¶

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

func (CreateScheduledJobRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateScheduledJobRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateScheduledJobRequest) RetryPolicy ¶

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

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

func (CreateScheduledJobRequest) String ¶

func (request CreateScheduledJobRequest) String() string

func (CreateScheduledJobRequest) ValidateEnumValue ¶

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

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

type CreateScheduledJobResponse ¶

type CreateScheduledJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// A link to the created scheduled job.
	Location *string `presentIn:"header" name:"location"`

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

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

CreateScheduledJobResponse wrapper for the CreateScheduledJob operation

func (CreateScheduledJobResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateScheduledJobResponse) String ¶

func (response CreateScheduledJobResponse) String() string

type CreateSoftwareSourceDetails ¶

type CreateSoftwareSourceDetails 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{}
}

CreateSoftwareSourceDetails Description of a software source to be created.

type CreateSoftwareSourceProfileDetails ¶

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

CreateSoftwareSourceProfileDetails Description of a software source registration profile to be created.

func (CreateSoftwareSourceProfileDetails) GetCompartmentId ¶

func (m CreateSoftwareSourceProfileDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateSoftwareSourceProfileDetails) GetDefinedTags ¶

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

GetDefinedTags returns DefinedTags

func (CreateSoftwareSourceProfileDetails) GetDescription ¶

func (m CreateSoftwareSourceProfileDetails) GetDescription() *string

GetDescription returns Description

func (CreateSoftwareSourceProfileDetails) GetDisplayName ¶

func (m CreateSoftwareSourceProfileDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateSoftwareSourceProfileDetails) GetFreeformTags ¶

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

GetFreeformTags returns FreeformTags

func (CreateSoftwareSourceProfileDetails) GetManagementStationId ¶

func (m CreateSoftwareSourceProfileDetails) GetManagementStationId() *string

GetManagementStationId returns ManagementStationId

func (CreateSoftwareSourceProfileDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (CreateSoftwareSourceProfileDetails) String ¶

func (CreateSoftwareSourceProfileDetails) ValidateEnumValue ¶

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

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

CreateSoftwareSourceRequest wrapper for the CreateSoftwareSource operation

See also ¶

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

func (CreateSoftwareSourceRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateSoftwareSourceRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateSoftwareSourceRequest) RetryPolicy ¶

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

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

func (CreateSoftwareSourceRequest) String ¶

func (request CreateSoftwareSourceRequest) String() string

func (CreateSoftwareSourceRequest) ValidateEnumValue ¶

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

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

type CreateSoftwareSourceResponse ¶

type CreateSoftwareSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

CreateSoftwareSourceResponse wrapper for the CreateSoftwareSource operation

func (CreateSoftwareSourceResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateSoftwareSourceResponse) String ¶

func (response CreateSoftwareSourceResponse) String() string

type CreateStationProfileDetails ¶

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

CreateStationProfileDetails Description of a group registration profile to be created.

func (CreateStationProfileDetails) GetCompartmentId ¶

func (m CreateStationProfileDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateStationProfileDetails) GetDefinedTags ¶

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

GetDefinedTags returns DefinedTags

func (CreateStationProfileDetails) GetDescription ¶

func (m CreateStationProfileDetails) GetDescription() *string

GetDescription returns Description

func (CreateStationProfileDetails) GetDisplayName ¶

func (m CreateStationProfileDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateStationProfileDetails) GetFreeformTags ¶

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

GetFreeformTags returns FreeformTags

func (CreateStationProfileDetails) GetManagementStationId ¶

func (m CreateStationProfileDetails) GetManagementStationId() *string

GetManagementStationId returns ManagementStationId

func (CreateStationProfileDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (CreateStationProfileDetails) String ¶

func (CreateStationProfileDetails) ValidateEnumValue ¶

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

type CreateVersionedCustomSoftwareSourceDetails ¶

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

CreateVersionedCustomSoftwareSourceDetails Description of a versioned custom software source to be created.

func (CreateVersionedCustomSoftwareSourceDetails) GetCompartmentId ¶

func (m CreateVersionedCustomSoftwareSourceDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateVersionedCustomSoftwareSourceDetails) GetDefinedTags ¶

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

GetDefinedTags returns DefinedTags

func (CreateVersionedCustomSoftwareSourceDetails) GetDescription ¶

GetDescription returns Description

func (CreateVersionedCustomSoftwareSourceDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (CreateVersionedCustomSoftwareSourceDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (CreateVersionedCustomSoftwareSourceDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (CreateVersionedCustomSoftwareSourceDetails) String ¶

func (CreateVersionedCustomSoftwareSourceDetails) ValidateEnumValue ¶

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

type CustomSoftwareSource ¶

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

CustomSoftwareSource A custom software source contains a custom collection of packages.

func (CustomSoftwareSource) GetArchType ¶

func (m CustomSoftwareSource) GetArchType() ArchTypeEnum

GetArchType returns ArchType

func (CustomSoftwareSource) GetAvailability ¶

func (m CustomSoftwareSource) GetAvailability() AvailabilityEnum

GetAvailability returns Availability

func (CustomSoftwareSource) GetChecksumType ¶

func (m CustomSoftwareSource) GetChecksumType() ChecksumTypeEnum

GetChecksumType returns ChecksumType

func (CustomSoftwareSource) GetCompartmentId ¶

func (m CustomSoftwareSource) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CustomSoftwareSource) GetDefinedTags ¶

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

GetDefinedTags returns DefinedTags

func (CustomSoftwareSource) GetDescription ¶

func (m CustomSoftwareSource) GetDescription() *string

GetDescription returns Description

func (CustomSoftwareSource) GetDisplayName ¶

func (m CustomSoftwareSource) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CustomSoftwareSource) GetFreeformTags ¶

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

GetFreeformTags returns FreeformTags

func (CustomSoftwareSource) GetGpgKeyFingerprint ¶

func (m CustomSoftwareSource) GetGpgKeyFingerprint() *string

GetGpgKeyFingerprint returns GpgKeyFingerprint

func (CustomSoftwareSource) GetGpgKeyId ¶

func (m CustomSoftwareSource) GetGpgKeyId() *string

GetGpgKeyId returns GpgKeyId

func (CustomSoftwareSource) GetGpgKeyUrl ¶

func (m CustomSoftwareSource) GetGpgKeyUrl() *string

GetGpgKeyUrl returns GpgKeyUrl

func (CustomSoftwareSource) GetId ¶

func (m CustomSoftwareSource) GetId() *string

GetId returns Id

func (CustomSoftwareSource) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (CustomSoftwareSource) GetOsFamily ¶

func (m CustomSoftwareSource) GetOsFamily() OsFamilyEnum

GetOsFamily returns OsFamily

func (CustomSoftwareSource) GetPackageCount ¶

func (m CustomSoftwareSource) GetPackageCount() *int64

GetPackageCount returns PackageCount

func (CustomSoftwareSource) GetRepoId ¶

func (m CustomSoftwareSource) GetRepoId() *string

GetRepoId returns RepoId

func (CustomSoftwareSource) GetSystemTags ¶

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

GetSystemTags returns SystemTags

func (CustomSoftwareSource) GetTimeCreated ¶

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

GetTimeCreated returns TimeCreated

func (CustomSoftwareSource) GetUrl ¶

func (m CustomSoftwareSource) GetUrl() *string

GetUrl returns Url

func (CustomSoftwareSource) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (CustomSoftwareSource) String ¶

func (m CustomSoftwareSource) String() string

func (CustomSoftwareSource) ValidateEnumValue ¶

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

type CustomSoftwareSourceFilter ¶

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

CustomSoftwareSourceFilter Used to apply filters to a VendorSoftwareSource to create/update CustomSoftwareSources.

func (CustomSoftwareSourceFilter) String ¶

func (CustomSoftwareSourceFilter) ValidateEnumValue ¶

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

type CustomSoftwareSourceSummary ¶

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

CustomSoftwareSourceSummary A custom software source contains a custom collection of packages.

func (CustomSoftwareSourceSummary) GetArchType ¶

func (m CustomSoftwareSourceSummary) GetArchType() ArchTypeEnum

GetArchType returns ArchType

func (CustomSoftwareSourceSummary) GetAvailability ¶

func (m CustomSoftwareSourceSummary) GetAvailability() AvailabilityEnum

GetAvailability returns Availability

func (CustomSoftwareSourceSummary) GetCompartmentId ¶

func (m CustomSoftwareSourceSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CustomSoftwareSourceSummary) GetDefinedTags ¶

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

GetDefinedTags returns DefinedTags

func (CustomSoftwareSourceSummary) GetDescription ¶

func (m CustomSoftwareSourceSummary) GetDescription() *string

GetDescription returns Description

func (CustomSoftwareSourceSummary) GetDisplayName ¶

func (m CustomSoftwareSourceSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CustomSoftwareSourceSummary) GetFreeformTags ¶

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

GetFreeformTags returns FreeformTags

func (CustomSoftwareSourceSummary) GetId ¶

GetId returns Id

func (CustomSoftwareSourceSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (CustomSoftwareSourceSummary) GetOsFamily ¶

func (m CustomSoftwareSourceSummary) GetOsFamily() OsFamilyEnum

GetOsFamily returns OsFamily

func (CustomSoftwareSourceSummary) GetPackageCount ¶

func (m CustomSoftwareSourceSummary) GetPackageCount() *int64

GetPackageCount returns PackageCount

func (CustomSoftwareSourceSummary) GetRepoId ¶

func (m CustomSoftwareSourceSummary) GetRepoId() *string

GetRepoId returns RepoId

func (CustomSoftwareSourceSummary) GetSystemTags ¶

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

GetSystemTags returns SystemTags

func (CustomSoftwareSourceSummary) GetTimeCreated ¶

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

GetTimeCreated returns TimeCreated

func (CustomSoftwareSourceSummary) GetTimeUpdated ¶

func (m CustomSoftwareSourceSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (CustomSoftwareSourceSummary) GetUrl ¶

func (m CustomSoftwareSourceSummary) GetUrl() *string

GetUrl returns Url

func (CustomSoftwareSourceSummary) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (CustomSoftwareSourceSummary) String ¶

func (CustomSoftwareSourceSummary) ValidateEnumValue ¶

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

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

DeleteLifecycleEnvironmentRequest wrapper for the DeleteLifecycleEnvironment operation

See also ¶

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

func (DeleteLifecycleEnvironmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteLifecycleEnvironmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteLifecycleEnvironmentRequest) RetryPolicy ¶

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

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

func (DeleteLifecycleEnvironmentRequest) String ¶

func (request DeleteLifecycleEnvironmentRequest) String() string

func (DeleteLifecycleEnvironmentRequest) ValidateEnumValue ¶

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

type DeleteLifecycleEnvironmentResponse ¶

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

DeleteLifecycleEnvironmentResponse wrapper for the DeleteLifecycleEnvironment operation

func (DeleteLifecycleEnvironmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteLifecycleEnvironmentResponse) String ¶

func (response DeleteLifecycleEnvironmentResponse) String() string

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

DeleteManagedInstanceGroupRequest wrapper for the DeleteManagedInstanceGroup operation

See also ¶

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

func (DeleteManagedInstanceGroupRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteManagedInstanceGroupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteManagedInstanceGroupRequest) RetryPolicy ¶

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

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

func (DeleteManagedInstanceGroupRequest) String ¶

func (request DeleteManagedInstanceGroupRequest) String() string

func (DeleteManagedInstanceGroupRequest) ValidateEnumValue ¶

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

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

type DeleteManagedInstanceGroupResponse ¶

type DeleteManagedInstanceGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

DeleteManagedInstanceGroupResponse wrapper for the DeleteManagedInstanceGroup operation

func (DeleteManagedInstanceGroupResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteManagedInstanceGroupResponse) String ¶

func (response DeleteManagedInstanceGroupResponse) String() string

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

DeleteManagementStationRequest wrapper for the DeleteManagementStation operation

See also ¶

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

func (DeleteManagementStationRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteManagementStationRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteManagementStationRequest) RetryPolicy ¶

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

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

func (DeleteManagementStationRequest) String ¶

func (request DeleteManagementStationRequest) String() string

func (DeleteManagementStationRequest) ValidateEnumValue ¶

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

type DeleteManagementStationResponse ¶

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

DeleteManagementStationResponse wrapper for the DeleteManagementStation operation

func (DeleteManagementStationResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteManagementStationResponse) String ¶

func (response DeleteManagementStationResponse) String() string

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

DeleteProfileRequest wrapper for the DeleteProfile operation

See also ¶

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

func (DeleteProfileRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteProfileRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteProfileRequest) RetryPolicy ¶

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

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

func (DeleteProfileRequest) String ¶

func (request DeleteProfileRequest) String() string

func (DeleteProfileRequest) ValidateEnumValue ¶

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

type DeleteProfileResponse ¶

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

DeleteProfileResponse wrapper for the DeleteProfile operation

func (DeleteProfileResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteProfileResponse) String ¶

func (response DeleteProfileResponse) String() string

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

DeleteScheduledJobRequest wrapper for the DeleteScheduledJob operation

See also ¶

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

func (DeleteScheduledJobRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteScheduledJobRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteScheduledJobRequest) RetryPolicy ¶

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

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

func (DeleteScheduledJobRequest) String ¶

func (request DeleteScheduledJobRequest) String() string

func (DeleteScheduledJobRequest) ValidateEnumValue ¶

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

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

type DeleteScheduledJobResponse ¶

type DeleteScheduledJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

DeleteScheduledJobResponse wrapper for the DeleteScheduledJob operation

func (DeleteScheduledJobResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteScheduledJobResponse) String ¶

func (response DeleteScheduledJobResponse) String() string

type DeleteSoftwareSourceRequest ¶

type DeleteSoftwareSourceRequest struct {

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

DeleteSoftwareSourceRequest wrapper for the DeleteSoftwareSource operation

See also ¶

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

func (DeleteSoftwareSourceRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteSoftwareSourceRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteSoftwareSourceRequest) RetryPolicy ¶

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

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

func (DeleteSoftwareSourceRequest) String ¶

func (request DeleteSoftwareSourceRequest) String() string

func (DeleteSoftwareSourceRequest) ValidateEnumValue ¶

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

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

type DeleteSoftwareSourceResponse ¶

type DeleteSoftwareSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

DeleteSoftwareSourceResponse wrapper for the DeleteSoftwareSource operation

func (DeleteSoftwareSourceResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteSoftwareSourceResponse) String ¶

func (response DeleteSoftwareSourceResponse) String() string

type DetachManagedInstancesFromLifecycleStageDetails ¶

type DetachManagedInstancesFromLifecycleStageDetails struct {
	ManagedInstanceDetails *ManagedInstancesDetails `mandatory:"false" json:"managedInstanceDetails"`
}

DetachManagedInstancesFromLifecycleStageDetails The managed instances to detach from the lifecycle stage.

func (DetachManagedInstancesFromLifecycleStageDetails) String ¶

func (DetachManagedInstancesFromLifecycleStageDetails) ValidateEnumValue ¶

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

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

DetachManagedInstancesFromLifecycleStageRequest wrapper for the DetachManagedInstancesFromLifecycleStage operation

See also ¶

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

func (DetachManagedInstancesFromLifecycleStageRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (DetachManagedInstancesFromLifecycleStageRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DetachManagedInstancesFromLifecycleStageRequest) RetryPolicy ¶

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

func (DetachManagedInstancesFromLifecycleStageRequest) String ¶

func (DetachManagedInstancesFromLifecycleStageRequest) ValidateEnumValue ¶

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

type DetachManagedInstancesFromLifecycleStageResponse ¶

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

DetachManagedInstancesFromLifecycleStageResponse wrapper for the DetachManagedInstancesFromLifecycleStage operation

func (DetachManagedInstancesFromLifecycleStageResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (DetachManagedInstancesFromLifecycleStageResponse) String ¶

type DetachManagedInstancesFromManagedInstanceGroupDetails ¶

type DetachManagedInstancesFromManagedInstanceGroupDetails struct {

	// The list of managed instance OCIDs to be detached.
	ManagedInstances []string `mandatory:"false" json:"managedInstances"`
}

DetachManagedInstancesFromManagedInstanceGroupDetails The managed instance OCIDs to detach from the managed instance group.

func (DetachManagedInstancesFromManagedInstanceGroupDetails) String ¶

func (DetachManagedInstancesFromManagedInstanceGroupDetails) ValidateEnumValue ¶

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

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

DetachManagedInstancesFromManagedInstanceGroupRequest wrapper for the DetachManagedInstancesFromManagedInstanceGroup operation

See also ¶

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

func (DetachManagedInstancesFromManagedInstanceGroupRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (DetachManagedInstancesFromManagedInstanceGroupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DetachManagedInstancesFromManagedInstanceGroupRequest) RetryPolicy ¶

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

func (DetachManagedInstancesFromManagedInstanceGroupRequest) String ¶

func (DetachManagedInstancesFromManagedInstanceGroupRequest) ValidateEnumValue ¶

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

type DetachManagedInstancesFromManagedInstanceGroupResponse ¶

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

DetachManagedInstancesFromManagedInstanceGroupResponse wrapper for the DetachManagedInstancesFromManagedInstanceGroup operation

func (DetachManagedInstancesFromManagedInstanceGroupResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (DetachManagedInstancesFromManagedInstanceGroupResponse) String ¶

type DetachSoftwareSourcesFromManagedInstanceDetails ¶

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

DetachSoftwareSourcesFromManagedInstanceDetails The details about the software sources to be detached.

func (DetachSoftwareSourcesFromManagedInstanceDetails) String ¶

func (DetachSoftwareSourcesFromManagedInstanceDetails) ValidateEnumValue ¶

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

type DetachSoftwareSourcesFromManagedInstanceGroupDetails ¶

type DetachSoftwareSourcesFromManagedInstanceGroupDetails struct {

	// The list of software sources OCIDs to be detached.
	SoftwareSources []string `mandatory:"false" json:"softwareSources"`

	WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"`
}

DetachSoftwareSourcesFromManagedInstanceGroupDetails The software sources OCIDs to detach from the managed instance group.

func (DetachSoftwareSourcesFromManagedInstanceGroupDetails) String ¶

func (DetachSoftwareSourcesFromManagedInstanceGroupDetails) ValidateEnumValue ¶

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

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

DetachSoftwareSourcesFromManagedInstanceGroupRequest wrapper for the DetachSoftwareSourcesFromManagedInstanceGroup operation

See also ¶

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

func (DetachSoftwareSourcesFromManagedInstanceGroupRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (DetachSoftwareSourcesFromManagedInstanceGroupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DetachSoftwareSourcesFromManagedInstanceGroupRequest) RetryPolicy ¶

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

func (DetachSoftwareSourcesFromManagedInstanceGroupRequest) String ¶

func (DetachSoftwareSourcesFromManagedInstanceGroupRequest) ValidateEnumValue ¶

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

type DetachSoftwareSourcesFromManagedInstanceGroupResponse ¶

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

DetachSoftwareSourcesFromManagedInstanceGroupResponse wrapper for the DetachSoftwareSourcesFromManagedInstanceGroup operation

func (DetachSoftwareSourcesFromManagedInstanceGroupResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (DetachSoftwareSourcesFromManagedInstanceGroupResponse) String ¶

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

DetachSoftwareSourcesFromManagedInstanceRequest wrapper for the DetachSoftwareSourcesFromManagedInstance operation

See also ¶

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

func (DetachSoftwareSourcesFromManagedInstanceRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (DetachSoftwareSourcesFromManagedInstanceRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DetachSoftwareSourcesFromManagedInstanceRequest) RetryPolicy ¶

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

func (DetachSoftwareSourcesFromManagedInstanceRequest) String ¶

func (DetachSoftwareSourcesFromManagedInstanceRequest) ValidateEnumValue ¶

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

type DetachSoftwareSourcesFromManagedInstanceResponse ¶

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

DetachSoftwareSourcesFromManagedInstanceResponse wrapper for the DetachSoftwareSourcesFromManagedInstance operation

func (DetachSoftwareSourcesFromManagedInstanceResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (DetachSoftwareSourcesFromManagedInstanceResponse) String ¶

type DisableModuleStreamOnManagedInstanceDetails ¶

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

DisableModuleStreamOnManagedInstanceDetails The details of the module stream to be disabled on a managed instance.

func (DisableModuleStreamOnManagedInstanceDetails) String ¶

func (DisableModuleStreamOnManagedInstanceDetails) ValidateEnumValue ¶

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

type DisableModuleStreamOnManagedInstanceGroupDetails ¶

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

DisableModuleStreamOnManagedInstanceGroupDetails The work request details for the module stream operation on the managed instance group.

func (DisableModuleStreamOnManagedInstanceGroupDetails) String ¶

func (DisableModuleStreamOnManagedInstanceGroupDetails) ValidateEnumValue ¶

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

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

DisableModuleStreamOnManagedInstanceGroupRequest wrapper for the DisableModuleStreamOnManagedInstanceGroup operation

See also ¶

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

func (DisableModuleStreamOnManagedInstanceGroupRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (DisableModuleStreamOnManagedInstanceGroupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DisableModuleStreamOnManagedInstanceGroupRequest) RetryPolicy ¶

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

func (DisableModuleStreamOnManagedInstanceGroupRequest) String ¶

func (DisableModuleStreamOnManagedInstanceGroupRequest) ValidateEnumValue ¶

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

type DisableModuleStreamOnManagedInstanceGroupResponse ¶

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

DisableModuleStreamOnManagedInstanceGroupResponse wrapper for the DisableModuleStreamOnManagedInstanceGroup operation

func (DisableModuleStreamOnManagedInstanceGroupResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (DisableModuleStreamOnManagedInstanceGroupResponse) String ¶

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

DisableModuleStreamOnManagedInstanceRequest wrapper for the DisableModuleStreamOnManagedInstance operation

See also ¶

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

func (DisableModuleStreamOnManagedInstanceRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (DisableModuleStreamOnManagedInstanceRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DisableModuleStreamOnManagedInstanceRequest) RetryPolicy ¶

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

func (DisableModuleStreamOnManagedInstanceRequest) String ¶

func (DisableModuleStreamOnManagedInstanceRequest) ValidateEnumValue ¶

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

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

type DisableModuleStreamOnManagedInstanceResponse ¶

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

DisableModuleStreamOnManagedInstanceResponse wrapper for the DisableModuleStreamOnManagedInstance operation

func (DisableModuleStreamOnManagedInstanceResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (DisableModuleStreamOnManagedInstanceResponse) String ¶

type EnableModuleStreamOnManagedInstanceDetails ¶

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

EnableModuleStreamOnManagedInstanceDetails The details of the module stream to be enabled on a managed instance.

func (EnableModuleStreamOnManagedInstanceDetails) String ¶

func (EnableModuleStreamOnManagedInstanceDetails) ValidateEnumValue ¶

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

type EnableModuleStreamOnManagedInstanceGroupDetails ¶

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

EnableModuleStreamOnManagedInstanceGroupDetails The work request details for the module stream operation on the managed instance group.

func (EnableModuleStreamOnManagedInstanceGroupDetails) String ¶

func (EnableModuleStreamOnManagedInstanceGroupDetails) ValidateEnumValue ¶

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

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

EnableModuleStreamOnManagedInstanceGroupRequest wrapper for the EnableModuleStreamOnManagedInstanceGroup operation

See also ¶

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

func (EnableModuleStreamOnManagedInstanceGroupRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (EnableModuleStreamOnManagedInstanceGroupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (EnableModuleStreamOnManagedInstanceGroupRequest) RetryPolicy ¶

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

func (EnableModuleStreamOnManagedInstanceGroupRequest) String ¶

func (EnableModuleStreamOnManagedInstanceGroupRequest) ValidateEnumValue ¶

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

type EnableModuleStreamOnManagedInstanceGroupResponse ¶

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

EnableModuleStreamOnManagedInstanceGroupResponse wrapper for the EnableModuleStreamOnManagedInstanceGroup operation

func (EnableModuleStreamOnManagedInstanceGroupResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (EnableModuleStreamOnManagedInstanceGroupResponse) String ¶

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

EnableModuleStreamOnManagedInstanceRequest wrapper for the EnableModuleStreamOnManagedInstance operation

See also ¶

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

func (EnableModuleStreamOnManagedInstanceRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (EnableModuleStreamOnManagedInstanceRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (EnableModuleStreamOnManagedInstanceRequest) RetryPolicy ¶

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

func (EnableModuleStreamOnManagedInstanceRequest) String ¶

func (EnableModuleStreamOnManagedInstanceRequest) ValidateEnumValue ¶

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

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

type EnableModuleStreamOnManagedInstanceResponse ¶

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

EnableModuleStreamOnManagedInstanceResponse wrapper for the EnableModuleStreamOnManagedInstance operation

func (EnableModuleStreamOnManagedInstanceResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (EnableModuleStreamOnManagedInstanceResponse) String ¶

type EntitlementCollection ¶

type EntitlementCollection struct {

	// List of Entitlement.
	Items []EntitlementSummary `mandatory:"true" json:"items"`
}

EntitlementCollection Results of a Entitlement search. Contains boh EntitlementSummary items and other information, such as metadata.

func (EntitlementCollection) String ¶

func (m EntitlementCollection) String() string

func (EntitlementCollection) ValidateEnumValue ¶

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

type EntitlementSummary ¶

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

EntitlementSummary A summary of an entitlement.

func (EntitlementSummary) String ¶

func (m EntitlementSummary) String() string

func (EntitlementSummary) ValidateEnumValue ¶

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

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

Erratum Details about the erratum.

func (Erratum) String ¶

func (m Erratum) String() string

func (Erratum) ValidateEnumValue ¶

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

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

type ErratumCollection ¶

type ErratumCollection struct {

	// List of Errata.
	Items []ErratumSummary `mandatory:"true" json:"items"`
}

ErratumCollection Results of a Erratum search. Contains boh ErratumSummary items and other information, such as metadata.

func (ErratumCollection) String ¶

func (m ErratumCollection) String() string

func (ErratumCollection) ValidateEnumValue ¶

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

type ErratumSummary ¶

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

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

func (ErratumSummary) String ¶

func (m ErratumSummary) String() string

func (ErratumSummary) ValidateEnumValue ¶

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

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

type FilterTypeEnum ¶

type FilterTypeEnum string

FilterTypeEnum Enum with underlying type: string

const (
	FilterTypeInclude FilterTypeEnum = "INCLUDE"
	FilterTypeExclude FilterTypeEnum = "EXCLUDE"
)

Set of constants representing the allowable values for FilterTypeEnum

func GetFilterTypeEnumValues ¶

func GetFilterTypeEnumValues() []FilterTypeEnum

GetFilterTypeEnumValues Enumerates the set of values for FilterTypeEnum

func GetMappingFilterTypeEnum ¶

func GetMappingFilterTypeEnum(val string) (FilterTypeEnum, bool)

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

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

GetErratumRequest wrapper for the GetErratum operation

See also ¶

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

func (GetErratumRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetErratumRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetErratumRequest) RetryPolicy ¶

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

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

func (GetErratumRequest) String ¶

func (request GetErratumRequest) String() string

func (GetErratumRequest) ValidateEnumValue ¶

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

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

type GetErratumResponse ¶

type GetErratumResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

GetErratumResponse wrapper for the GetErratum operation

func (GetErratumResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetErratumResponse) String ¶

func (response GetErratumResponse) String() string

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

GetLifecycleEnvironmentRequest wrapper for the GetLifecycleEnvironment operation

See also ¶

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

func (GetLifecycleEnvironmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetLifecycleEnvironmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetLifecycleEnvironmentRequest) RetryPolicy ¶

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

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

func (GetLifecycleEnvironmentRequest) String ¶

func (request GetLifecycleEnvironmentRequest) String() string

func (GetLifecycleEnvironmentRequest) ValidateEnumValue ¶

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

type GetLifecycleEnvironmentResponse ¶

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

GetLifecycleEnvironmentResponse wrapper for the GetLifecycleEnvironment operation

func (GetLifecycleEnvironmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetLifecycleEnvironmentResponse) String ¶

func (response GetLifecycleEnvironmentResponse) String() string

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

GetLifecycleStageRequest wrapper for the GetLifecycleStage operation

See also ¶

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

func (GetLifecycleStageRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetLifecycleStageRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetLifecycleStageRequest) RetryPolicy ¶

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

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

func (GetLifecycleStageRequest) String ¶

func (request GetLifecycleStageRequest) String() string

func (GetLifecycleStageRequest) ValidateEnumValue ¶

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

type GetLifecycleStageResponse ¶

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

GetLifecycleStageResponse wrapper for the GetLifecycleStage operation

func (GetLifecycleStageResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetLifecycleStageResponse) String ¶

func (response GetLifecycleStageResponse) String() string

type GetManagedInstanceAnalyticContentInstanceLocationEnum ¶

type GetManagedInstanceAnalyticContentInstanceLocationEnum string

GetManagedInstanceAnalyticContentInstanceLocationEnum Enum with underlying type: string

const (
	GetManagedInstanceAnalyticContentInstanceLocationOnPremise  GetManagedInstanceAnalyticContentInstanceLocationEnum = "ON_PREMISE"
	GetManagedInstanceAnalyticContentInstanceLocationOciCompute GetManagedInstanceAnalyticContentInstanceLocationEnum = "OCI_COMPUTE"
	GetManagedInstanceAnalyticContentInstanceLocationAzure      GetManagedInstanceAnalyticContentInstanceLocationEnum = "AZURE"
	GetManagedInstanceAnalyticContentInstanceLocationEc2        GetManagedInstanceAnalyticContentInstanceLocationEnum = "EC2"
)

Set of constants representing the allowable values for GetManagedInstanceAnalyticContentInstanceLocationEnum

func GetGetManagedInstanceAnalyticContentInstanceLocationEnumValues ¶

func GetGetManagedInstanceAnalyticContentInstanceLocationEnumValues() []GetManagedInstanceAnalyticContentInstanceLocationEnum

GetGetManagedInstanceAnalyticContentInstanceLocationEnumValues Enumerates the set of values for GetManagedInstanceAnalyticContentInstanceLocationEnum

func GetMappingGetManagedInstanceAnalyticContentInstanceLocationEnum ¶

func GetMappingGetManagedInstanceAnalyticContentInstanceLocationEnum(val string) (GetManagedInstanceAnalyticContentInstanceLocationEnum, bool)

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

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

GetManagedInstanceAnalyticContentRequest wrapper for the GetManagedInstanceAnalyticContent operation

See also ¶

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

func (GetManagedInstanceAnalyticContentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GetManagedInstanceAnalyticContentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetManagedInstanceAnalyticContentRequest) RetryPolicy ¶

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

func (GetManagedInstanceAnalyticContentRequest) String ¶

func (GetManagedInstanceAnalyticContentRequest) ValidateEnumValue ¶

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

type GetManagedInstanceAnalyticContentResponse ¶

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

GetManagedInstanceAnalyticContentResponse wrapper for the GetManagedInstanceAnalyticContent operation

func (GetManagedInstanceAnalyticContentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetManagedInstanceAnalyticContentResponse) String ¶

type GetManagedInstanceContentAdvisoryTypeEnum ¶

type GetManagedInstanceContentAdvisoryTypeEnum string

GetManagedInstanceContentAdvisoryTypeEnum Enum with underlying type: string

const (
	GetManagedInstanceContentAdvisoryTypeSecurity    GetManagedInstanceContentAdvisoryTypeEnum = "SECURITY"
	GetManagedInstanceContentAdvisoryTypeBugfix      GetManagedInstanceContentAdvisoryTypeEnum = "BUGFIX"
	GetManagedInstanceContentAdvisoryTypeEnhancement GetManagedInstanceContentAdvisoryTypeEnum = "ENHANCEMENT"
)

Set of constants representing the allowable values for GetManagedInstanceContentAdvisoryTypeEnum

func GetGetManagedInstanceContentAdvisoryTypeEnumValues ¶

func GetGetManagedInstanceContentAdvisoryTypeEnumValues() []GetManagedInstanceContentAdvisoryTypeEnum

GetGetManagedInstanceContentAdvisoryTypeEnumValues Enumerates the set of values for GetManagedInstanceContentAdvisoryTypeEnum

func GetMappingGetManagedInstanceContentAdvisoryTypeEnum ¶

func GetMappingGetManagedInstanceContentAdvisoryTypeEnum(val string) (GetManagedInstanceContentAdvisoryTypeEnum, bool)

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

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

GetManagedInstanceContentRequest wrapper for the GetManagedInstanceContent operation

See also ¶

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

func (GetManagedInstanceContentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetManagedInstanceContentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetManagedInstanceContentRequest) RetryPolicy ¶

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

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

func (GetManagedInstanceContentRequest) String ¶

func (request GetManagedInstanceContentRequest) String() string

func (GetManagedInstanceContentRequest) ValidateEnumValue ¶

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

type GetManagedInstanceContentResponse ¶

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

GetManagedInstanceContentResponse wrapper for the GetManagedInstanceContent operation

func (GetManagedInstanceContentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetManagedInstanceContentResponse) String ¶

func (response GetManagedInstanceContentResponse) String() string

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

GetManagedInstanceGroupRequest wrapper for the GetManagedInstanceGroup operation

See also ¶

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

func (GetManagedInstanceGroupRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetManagedInstanceGroupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetManagedInstanceGroupRequest) RetryPolicy ¶

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

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

func (GetManagedInstanceGroupRequest) String ¶

func (request GetManagedInstanceGroupRequest) String() string

func (GetManagedInstanceGroupRequest) ValidateEnumValue ¶

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

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

type GetManagedInstanceGroupResponse ¶

type GetManagedInstanceGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetManagedInstanceGroupResponse wrapper for the GetManagedInstanceGroup operation

func (GetManagedInstanceGroupResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetManagedInstanceGroupResponse) String ¶

func (response GetManagedInstanceGroupResponse) String() string

type GetManagedInstanceRequest ¶

type GetManagedInstanceRequest struct {

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

GetManagedInstanceRequest wrapper for the GetManagedInstance operation

See also ¶

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

func (GetManagedInstanceRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetManagedInstanceRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetManagedInstanceRequest) RetryPolicy ¶

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

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

func (GetManagedInstanceRequest) String ¶

func (request GetManagedInstanceRequest) String() string

func (GetManagedInstanceRequest) ValidateEnumValue ¶

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

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

type GetManagedInstanceResponse ¶

type GetManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

GetManagedInstanceResponse wrapper for the GetManagedInstance operation

func (GetManagedInstanceResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetManagedInstanceResponse) String ¶

func (response GetManagedInstanceResponse) String() string

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

GetManagementStationRequest wrapper for the GetManagementStation operation

See also ¶

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

func (GetManagementStationRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetManagementStationRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetManagementStationRequest) RetryPolicy ¶

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

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

func (GetManagementStationRequest) String ¶

func (request GetManagementStationRequest) String() string

func (GetManagementStationRequest) ValidateEnumValue ¶

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

type GetManagementStationResponse ¶

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

GetManagementStationResponse wrapper for the GetManagementStation operation

func (GetManagementStationResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetManagementStationResponse) String ¶

func (response GetManagementStationResponse) String() string

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

GetModuleStreamProfileRequest wrapper for the GetModuleStreamProfile operation

See also ¶

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

func (GetModuleStreamProfileRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetModuleStreamProfileRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetModuleStreamProfileRequest) RetryPolicy ¶

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

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

func (GetModuleStreamProfileRequest) String ¶

func (request GetModuleStreamProfileRequest) String() string

func (GetModuleStreamProfileRequest) ValidateEnumValue ¶

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

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

type GetModuleStreamProfileResponse ¶

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

GetModuleStreamProfileResponse wrapper for the GetModuleStreamProfile operation

func (GetModuleStreamProfileResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetModuleStreamProfileResponse) String ¶

func (response GetModuleStreamProfileResponse) String() string

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

GetModuleStreamRequest wrapper for the GetModuleStream operation

See also ¶

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

func (GetModuleStreamRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetModuleStreamRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetModuleStreamRequest) RetryPolicy ¶

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

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

func (GetModuleStreamRequest) String ¶

func (request GetModuleStreamRequest) String() string

func (GetModuleStreamRequest) ValidateEnumValue ¶

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

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

type GetModuleStreamResponse ¶

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

GetModuleStreamResponse wrapper for the GetModuleStream operation

func (GetModuleStreamResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetModuleStreamResponse) String ¶

func (response GetModuleStreamResponse) String() string

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

GetPackageGroupRequest wrapper for the GetPackageGroup operation

See also ¶

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

func (GetPackageGroupRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetPackageGroupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetPackageGroupRequest) RetryPolicy ¶

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

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

func (GetPackageGroupRequest) String ¶

func (request GetPackageGroupRequest) String() string

func (GetPackageGroupRequest) ValidateEnumValue ¶

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

type GetPackageGroupResponse ¶

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

GetPackageGroupResponse wrapper for the GetPackageGroup operation

func (GetPackageGroupResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetPackageGroupResponse) String ¶

func (response GetPackageGroupResponse) String() string

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

GetProfileRequest wrapper for the GetProfile operation

See also ¶

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

func (GetProfileRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetProfileRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetProfileRequest) RetryPolicy ¶

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

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

func (GetProfileRequest) String ¶

func (request GetProfileRequest) String() string

func (GetProfileRequest) ValidateEnumValue ¶

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

type GetProfileResponse ¶

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

GetProfileResponse wrapper for the GetProfile operation

func (GetProfileResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetProfileResponse) String ¶

func (response GetProfileResponse) String() string

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

GetScheduledJobRequest wrapper for the GetScheduledJob operation

See also ¶

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

func (GetScheduledJobRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetScheduledJobRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetScheduledJobRequest) RetryPolicy ¶

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

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

func (GetScheduledJobRequest) String ¶

func (request GetScheduledJobRequest) String() string

func (GetScheduledJobRequest) ValidateEnumValue ¶

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

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

type GetScheduledJobResponse ¶

type GetScheduledJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

GetScheduledJobResponse wrapper for the GetScheduledJob operation

func (GetScheduledJobResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetScheduledJobResponse) String ¶

func (response GetScheduledJobResponse) String() string

type GetSoftwarePackageRequest ¶

type GetSoftwarePackageRequest struct {

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

GetSoftwarePackageRequest wrapper for the GetSoftwarePackage operation

See also ¶

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

func (GetSoftwarePackageRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetSoftwarePackageRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetSoftwarePackageRequest) RetryPolicy ¶

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

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

func (GetSoftwarePackageRequest) String ¶

func (request GetSoftwarePackageRequest) String() string

func (GetSoftwarePackageRequest) ValidateEnumValue ¶

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

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

type GetSoftwarePackageResponse ¶

type GetSoftwarePackageResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

GetSoftwarePackageResponse wrapper for the GetSoftwarePackage operation

func (GetSoftwarePackageResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetSoftwarePackageResponse) String ¶

func (response GetSoftwarePackageResponse) String() string

type GetSoftwareSourceRequest ¶

type GetSoftwareSourceRequest struct {

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

GetSoftwareSourceRequest wrapper for the GetSoftwareSource operation

See also ¶

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

func (GetSoftwareSourceRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetSoftwareSourceRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetSoftwareSourceRequest) RetryPolicy ¶

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

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

func (GetSoftwareSourceRequest) String ¶

func (request GetSoftwareSourceRequest) String() string

func (GetSoftwareSourceRequest) ValidateEnumValue ¶

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

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

type GetSoftwareSourceResponse ¶

type GetSoftwareSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

GetSoftwareSourceResponse wrapper for the GetSoftwareSource operation

func (GetSoftwareSourceResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetSoftwareSourceResponse) String ¶

func (response GetSoftwareSourceResponse) String() string

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

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also ¶

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

func (GetWorkRequestRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy ¶

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

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

func (GetWorkRequestRequest) String ¶

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue ¶

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

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

type GetWorkRequestResponse ¶

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String ¶

func (response GetWorkRequestResponse) String() string

type GroupProfile ¶

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

GroupProfile Definition of a registration profile of type GROUP.

func (GroupProfile) GetArchType ¶

func (m GroupProfile) GetArchType() ArchTypeEnum

GetArchType returns ArchType

func (GroupProfile) GetCompartmentId ¶

func (m GroupProfile) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (GroupProfile) GetDefinedTags ¶

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

GetDefinedTags returns DefinedTags

func (GroupProfile) GetDescription ¶

func (m GroupProfile) GetDescription() *string

GetDescription returns Description

func (GroupProfile) GetDisplayName ¶

func (m GroupProfile) GetDisplayName() *string

GetDisplayName returns DisplayName

func (GroupProfile) GetFreeformTags ¶

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

GetFreeformTags returns FreeformTags

func (GroupProfile) GetId ¶

func (m GroupProfile) GetId() *string

GetId returns Id

func (GroupProfile) GetLifecycleState ¶

func (m GroupProfile) GetLifecycleState() ProfileLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (GroupProfile) GetManagementStationId ¶

func (m GroupProfile) GetManagementStationId() *string

GetManagementStationId returns ManagementStationId

func (GroupProfile) GetOsFamily ¶

func (m GroupProfile) GetOsFamily() OsFamilyEnum

GetOsFamily returns OsFamily

func (GroupProfile) GetSystemTags ¶

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

GetSystemTags returns SystemTags

func (GroupProfile) GetTimeCreated ¶

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

GetTimeCreated returns TimeCreated

func (GroupProfile) GetVendorName ¶

func (m GroupProfile) GetVendorName() VendorNameEnum

GetVendorName returns VendorName

func (GroupProfile) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (GroupProfile) String ¶

func (m GroupProfile) String() string

func (GroupProfile) ValidateEnumValue ¶

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

type Id ¶

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

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

func (Id) String ¶

func (m Id) String() string

func (Id) ValidateEnumValue ¶

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

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

type InstallModuleStreamProfileOnManagedInstanceDetails ¶

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

InstallModuleStreamProfileOnManagedInstanceDetails The details of the module stream profile to be installed on a managed instance.

func (InstallModuleStreamProfileOnManagedInstanceDetails) String ¶

func (InstallModuleStreamProfileOnManagedInstanceDetails) ValidateEnumValue ¶

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

type InstallModuleStreamProfileOnManagedInstanceGroupDetails ¶

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

InstallModuleStreamProfileOnManagedInstanceGroupDetails The work request details for the module stream profile operation on the managed instance group.

func (InstallModuleStreamProfileOnManagedInstanceGroupDetails) String ¶

func (InstallModuleStreamProfileOnManagedInstanceGroupDetails) ValidateEnumValue ¶

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

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

InstallModuleStreamProfileOnManagedInstanceGroupRequest wrapper for the InstallModuleStreamProfileOnManagedInstanceGroup operation

See also ¶

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

func (InstallModuleStreamProfileOnManagedInstanceGroupRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (InstallModuleStreamProfileOnManagedInstanceGroupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (InstallModuleStreamProfileOnManagedInstanceGroupRequest) RetryPolicy ¶

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

func (InstallModuleStreamProfileOnManagedInstanceGroupRequest) String ¶

func (InstallModuleStreamProfileOnManagedInstanceGroupRequest) ValidateEnumValue ¶

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

type InstallModuleStreamProfileOnManagedInstanceGroupResponse ¶

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

InstallModuleStreamProfileOnManagedInstanceGroupResponse wrapper for the InstallModuleStreamProfileOnManagedInstanceGroup operation

func (InstallModuleStreamProfileOnManagedInstanceGroupResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (InstallModuleStreamProfileOnManagedInstanceGroupResponse) String ¶

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

InstallModuleStreamProfileOnManagedInstanceRequest wrapper for the InstallModuleStreamProfileOnManagedInstance operation

See also ¶

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

func (InstallModuleStreamProfileOnManagedInstanceRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (InstallModuleStreamProfileOnManagedInstanceRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (InstallModuleStreamProfileOnManagedInstanceRequest) RetryPolicy ¶

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

func (InstallModuleStreamProfileOnManagedInstanceRequest) String ¶

func (InstallModuleStreamProfileOnManagedInstanceRequest) ValidateEnumValue ¶

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

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

type InstallModuleStreamProfileOnManagedInstanceResponse ¶

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

InstallModuleStreamProfileOnManagedInstanceResponse wrapper for the InstallModuleStreamProfileOnManagedInstance operation

func (InstallModuleStreamProfileOnManagedInstanceResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (InstallModuleStreamProfileOnManagedInstanceResponse) String ¶

type InstallPackagesOnManagedInstanceDetails ¶

type InstallPackagesOnManagedInstanceDetails struct {

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

	WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"`
}

InstallPackagesOnManagedInstanceDetails The details about the software packages to be installed.

func (InstallPackagesOnManagedInstanceDetails) String ¶

func (InstallPackagesOnManagedInstanceDetails) ValidateEnumValue ¶

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

type InstallPackagesOnManagedInstanceGroupDetails ¶

type InstallPackagesOnManagedInstanceGroupDetails struct {

	// The list of package names.
	PackageNames []string `mandatory:"false" json:"packageNames"`

	WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"`
}

InstallPackagesOnManagedInstanceGroupDetails The names of the packages to be installed on the managed instance group.

func (InstallPackagesOnManagedInstanceGroupDetails) String ¶

func (InstallPackagesOnManagedInstanceGroupDetails) ValidateEnumValue ¶

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

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

InstallPackagesOnManagedInstanceGroupRequest wrapper for the InstallPackagesOnManagedInstanceGroup operation

See also ¶

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

func (InstallPackagesOnManagedInstanceGroupRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (InstallPackagesOnManagedInstanceGroupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (InstallPackagesOnManagedInstanceGroupRequest) RetryPolicy ¶

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

func (InstallPackagesOnManagedInstanceGroupRequest) String ¶

func (InstallPackagesOnManagedInstanceGroupRequest) ValidateEnumValue ¶

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

type InstallPackagesOnManagedInstanceGroupResponse ¶

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

InstallPackagesOnManagedInstanceGroupResponse wrapper for the InstallPackagesOnManagedInstanceGroup operation

func (InstallPackagesOnManagedInstanceGroupResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (InstallPackagesOnManagedInstanceGroupResponse) String ¶

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

InstallPackagesOnManagedInstanceRequest wrapper for the InstallPackagesOnManagedInstance operation

See also ¶

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

func (InstallPackagesOnManagedInstanceRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (InstallPackagesOnManagedInstanceRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (InstallPackagesOnManagedInstanceRequest) RetryPolicy ¶

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

func (InstallPackagesOnManagedInstanceRequest) String ¶

func (InstallPackagesOnManagedInstanceRequest) ValidateEnumValue ¶

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

type InstallPackagesOnManagedInstanceResponse ¶

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

InstallPackagesOnManagedInstanceResponse wrapper for the InstallPackagesOnManagedInstance operation

func (InstallPackagesOnManagedInstanceResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (InstallPackagesOnManagedInstanceResponse) String ¶

type InstalledPackageCollection ¶

type InstalledPackageCollection struct {

	// List of installed packages.
	Items []InstalledPackageSummary `mandatory:"true" json:"items"`
}

InstalledPackageCollection Results of an installed package search on a managed instance.

func (InstalledPackageCollection) String ¶

func (InstalledPackageCollection) ValidateEnumValue ¶

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

type InstalledPackageSummary ¶

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

InstalledPackageSummary A software package installed on a managed instance.

func (InstalledPackageSummary) GetArchitecture ¶

func (m InstalledPackageSummary) GetArchitecture() ArchTypeEnum

GetArchitecture returns Architecture

func (InstalledPackageSummary) GetDisplayName ¶

func (m InstalledPackageSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (InstalledPackageSummary) GetName ¶

func (m InstalledPackageSummary) GetName() *string

GetName returns Name

func (InstalledPackageSummary) GetSoftwareSources ¶

func (m InstalledPackageSummary) GetSoftwareSources() []SoftwareSourceDetails

GetSoftwareSources returns SoftwareSources

func (InstalledPackageSummary) GetType ¶

func (m InstalledPackageSummary) GetType() *string

GetType returns Type

func (InstalledPackageSummary) GetVersion ¶

func (m InstalledPackageSummary) GetVersion() *string

GetVersion returns Version

func (InstalledPackageSummary) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (InstalledPackageSummary) String ¶

func (m InstalledPackageSummary) String() string

func (InstalledPackageSummary) ValidateEnumValue ¶

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

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

type LifecycleEnvironment ¶

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

LifecycleEnvironment Contains versioned software source content and lifecycle stages for a managed instance.

func (LifecycleEnvironment) String ¶

func (m LifecycleEnvironment) String() string

func (LifecycleEnvironment) ValidateEnumValue ¶

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

type LifecycleEnvironmentClient ¶

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

LifecycleEnvironmentClient a client for LifecycleEnvironment

func NewLifecycleEnvironmentClientWithConfigurationProvider ¶

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 ¶

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 (LifecycleEnvironmentClient) AttachManagedInstancesToLifecycleStage ¶

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/latest/osmanagementhub/AttachManagedInstancesToLifecycleStage.go.html to see an example of how to use AttachManagedInstancesToLifecycleStage API. A default retry strategy applies to this operation AttachManagedInstancesToLifecycleStage()

func (*LifecycleEnvironmentClient) ConfigurationProvider ¶

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

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

func (LifecycleEnvironmentClient) CreateLifecycleEnvironment ¶

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/latest/osmanagementhub/CreateLifecycleEnvironment.go.html to see an example of how to use CreateLifecycleEnvironment API. A default retry strategy applies to this operation CreateLifecycleEnvironment()

func (LifecycleEnvironmentClient) DeleteLifecycleEnvironment ¶

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/latest/osmanagementhub/DeleteLifecycleEnvironment.go.html to see an example of how to use DeleteLifecycleEnvironment API. A default retry strategy applies to this operation DeleteLifecycleEnvironment()

func (LifecycleEnvironmentClient) DetachManagedInstancesFromLifecycleStage ¶

DetachManagedInstancesFromLifecycleStage Detach(remove) managed instance from a lifecycle stage.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/DetachManagedInstancesFromLifecycleStage.go.html to see an example of how to use DetachManagedInstancesFromLifecycleStage API. A default retry strategy applies to this operation DetachManagedInstancesFromLifecycleStage()

func (LifecycleEnvironmentClient) GetLifecycleEnvironment ¶

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/latest/osmanagementhub/GetLifecycleEnvironment.go.html to see an example of how to use GetLifecycleEnvironment API. A default retry strategy applies to this operation GetLifecycleEnvironment()

func (LifecycleEnvironmentClient) GetLifecycleStage ¶

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/latest/osmanagementhub/GetLifecycleStage.go.html to see an example of how to use GetLifecycleStage API. A default retry strategy applies to this operation GetLifecycleStage()

func (LifecycleEnvironmentClient) ListLifecycleEnvironments ¶

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/latest/osmanagementhub/ListLifecycleEnvironments.go.html to see an example of how to use ListLifecycleEnvironments API. A default retry strategy applies to this operation ListLifecycleEnvironments()

func (LifecycleEnvironmentClient) ListLifecycleStageInstalledPackages ¶

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/latest/osmanagementhub/ListLifecycleStageInstalledPackages.go.html to see an example of how to use ListLifecycleStageInstalledPackages API. A default retry strategy applies to this operation ListLifecycleStageInstalledPackages()

func (LifecycleEnvironmentClient) ListLifecycleStages ¶

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/latest/osmanagementhub/ListLifecycleStages.go.html to see an example of how to use ListLifecycleStages API. A default retry strategy applies to this operation ListLifecycleStages()

func (LifecycleEnvironmentClient) PromoteSoftwareSourceToLifecycleStage ¶

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/latest/osmanagementhub/PromoteSoftwareSourceToLifecycleStage.go.html to see an example of how to use PromoteSoftwareSourceToLifecycleStage API. A default retry strategy applies to this operation PromoteSoftwareSourceToLifecycleStage()

func (*LifecycleEnvironmentClient) SetRegion ¶

func (client *LifecycleEnvironmentClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (LifecycleEnvironmentClient) UpdateLifecycleEnvironment ¶

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/latest/osmanagementhub/UpdateLifecycleEnvironment.go.html to see an example of how to use UpdateLifecycleEnvironment API. A default retry strategy applies to this operation UpdateLifecycleEnvironment()

type LifecycleEnvironmentCollection ¶

type LifecycleEnvironmentCollection struct {

	// List of lifecycle environments.
	Items []LifecycleEnvironmentSummary `mandatory:"true" json:"items"`
}

LifecycleEnvironmentCollection Results of a lifecycle environment search. Contains both lifecycle environment summary items and other data.

func (LifecycleEnvironmentCollection) String ¶

func (LifecycleEnvironmentCollection) ValidateEnumValue ¶

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

type LifecycleEnvironmentDetails ¶

type LifecycleEnvironmentDetails struct {

	// The OCID of the lifecycle environment.
	Id *string `mandatory:"true" json:"id"`

	// Lifecycle environment name.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

LifecycleEnvironmentDetails Identifying information for the specified lifecycle environment.

func (LifecycleEnvironmentDetails) String ¶

func (LifecycleEnvironmentDetails) ValidateEnumValue ¶

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

type LifecycleEnvironmentLifecycleStateEnum ¶

type LifecycleEnvironmentLifecycleStateEnum string

LifecycleEnvironmentLifecycleStateEnum Enum with underlying type: string

const (
	LifecycleEnvironmentLifecycleStateCreating LifecycleEnvironmentLifecycleStateEnum = "CREATING"
	LifecycleEnvironmentLifecycleStateUpdating LifecycleEnvironmentLifecycleStateEnum = "UPDATING"
	LifecycleEnvironmentLifecycleStateActive   LifecycleEnvironmentLifecycleStateEnum = "ACTIVE"
	LifecycleEnvironmentLifecycleStateDeleting LifecycleEnvironmentLifecycleStateEnum = "DELETING"
	LifecycleEnvironmentLifecycleStateDeleted  LifecycleEnvironmentLifecycleStateEnum = "DELETED"
	LifecycleEnvironmentLifecycleStateFailed   LifecycleEnvironmentLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for LifecycleEnvironmentLifecycleStateEnum

func GetLifecycleEnvironmentLifecycleStateEnumValues ¶

func GetLifecycleEnvironmentLifecycleStateEnumValues() []LifecycleEnvironmentLifecycleStateEnum

GetLifecycleEnvironmentLifecycleStateEnumValues Enumerates the set of values for LifecycleEnvironmentLifecycleStateEnum

func GetMappingLifecycleEnvironmentLifecycleStateEnum ¶

func GetMappingLifecycleEnvironmentLifecycleStateEnum(val string) (LifecycleEnvironmentLifecycleStateEnum, bool)

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

type LifecycleEnvironmentSummary ¶

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

LifecycleEnvironmentSummary Summary of the lifecycle environment.

func (LifecycleEnvironmentSummary) String ¶

func (LifecycleEnvironmentSummary) ValidateEnumValue ¶

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

type LifecycleProfile ¶

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

LifecycleProfile Definition of a registration profile of type LIFECYCLE.

func (LifecycleProfile) GetArchType ¶

func (m LifecycleProfile) GetArchType() ArchTypeEnum

GetArchType returns ArchType

func (LifecycleProfile) GetCompartmentId ¶

func (m LifecycleProfile) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (LifecycleProfile) GetDefinedTags ¶

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

GetDefinedTags returns DefinedTags

func (LifecycleProfile) GetDescription ¶

func (m LifecycleProfile) GetDescription() *string

GetDescription returns Description

func (LifecycleProfile) GetDisplayName ¶

func (m LifecycleProfile) GetDisplayName() *string

GetDisplayName returns DisplayName

func (LifecycleProfile) GetFreeformTags ¶

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

GetFreeformTags returns FreeformTags

func (LifecycleProfile) GetId ¶

func (m LifecycleProfile) GetId() *string

GetId returns Id

func (LifecycleProfile) GetLifecycleState ¶

func (m LifecycleProfile) GetLifecycleState() ProfileLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (LifecycleProfile) GetManagementStationId ¶

func (m LifecycleProfile) GetManagementStationId() *string

GetManagementStationId returns ManagementStationId

func (LifecycleProfile) GetOsFamily ¶

func (m LifecycleProfile) GetOsFamily() OsFamilyEnum

GetOsFamily returns OsFamily

func (LifecycleProfile) GetSystemTags ¶

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

GetSystemTags returns SystemTags

func (LifecycleProfile) GetTimeCreated ¶

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

GetTimeCreated returns TimeCreated

func (LifecycleProfile) GetVendorName ¶

func (m LifecycleProfile) GetVendorName() VendorNameEnum

GetVendorName returns VendorName

func (LifecycleProfile) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (LifecycleProfile) String ¶

func (m LifecycleProfile) String() string

func (LifecycleProfile) ValidateEnumValue ¶

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

type LifecycleStage ¶

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

LifecycleStage Defines the lifecycle stage.

func (LifecycleStage) String ¶

func (m LifecycleStage) String() string

func (LifecycleStage) ValidateEnumValue ¶

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

type LifecycleStageCollection ¶

type LifecycleStageCollection struct {

	// List of lifecycle stages.
	Items []LifecycleStageSummary `mandatory:"true" json:"items"`
}

LifecycleStageCollection Results of a lifecycle stage search. Contains both lifecycle stage summary items and other data.

func (LifecycleStageCollection) String ¶

func (m LifecycleStageCollection) String() string

func (LifecycleStageCollection) ValidateEnumValue ¶

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

type LifecycleStageDetails ¶

type LifecycleStageDetails struct {

	// The OCID of the lifecycle stage.
	Id *string `mandatory:"true" json:"id"`

	// Lifecycle stage name.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

LifecycleStageDetails Identifying information for the specified lifecycle stage.

func (LifecycleStageDetails) String ¶

func (m LifecycleStageDetails) String() string

func (LifecycleStageDetails) ValidateEnumValue ¶

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

type LifecycleStageLifecycleStateEnum ¶

type LifecycleStageLifecycleStateEnum string

LifecycleStageLifecycleStateEnum Enum with underlying type: string

const (
	LifecycleStageLifecycleStateCreating LifecycleStageLifecycleStateEnum = "CREATING"
	LifecycleStageLifecycleStateUpdating LifecycleStageLifecycleStateEnum = "UPDATING"
	LifecycleStageLifecycleStateActive   LifecycleStageLifecycleStateEnum = "ACTIVE"
	LifecycleStageLifecycleStateDeleting LifecycleStageLifecycleStateEnum = "DELETING"
	LifecycleStageLifecycleStateDeleted  LifecycleStageLifecycleStateEnum = "DELETED"
	LifecycleStageLifecycleStateFailed   LifecycleStageLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for LifecycleStageLifecycleStateEnum

func GetLifecycleStageLifecycleStateEnumValues ¶

func GetLifecycleStageLifecycleStateEnumValues() []LifecycleStageLifecycleStateEnum

GetLifecycleStageLifecycleStateEnumValues Enumerates the set of values for LifecycleStageLifecycleStateEnum

func GetMappingLifecycleStageLifecycleStateEnum ¶

func GetMappingLifecycleStageLifecycleStateEnum(val string) (LifecycleStageLifecycleStateEnum, bool)

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

type LifecycleStageSummary ¶

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

LifecycleStageSummary Defines the lifecycle stage summary.

func (LifecycleStageSummary) String ¶

func (m LifecycleStageSummary) String() string

func (LifecycleStageSummary) ValidateEnumValue ¶

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

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

ListEntitlementsRequest wrapper for the ListEntitlements operation

See also ¶

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

func (ListEntitlementsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListEntitlementsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListEntitlementsRequest) RetryPolicy ¶

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

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

func (ListEntitlementsRequest) String ¶

func (request ListEntitlementsRequest) String() string

func (ListEntitlementsRequest) ValidateEnumValue ¶

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

type ListEntitlementsResponse ¶

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

ListEntitlementsResponse wrapper for the ListEntitlements operation

func (ListEntitlementsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListEntitlementsResponse) String ¶

func (response ListEntitlementsResponse) String() string

type ListEntitlementsSortByEnum ¶

type ListEntitlementsSortByEnum string

ListEntitlementsSortByEnum Enum with underlying type: string

const (
	ListEntitlementsSortByCsi        ListEntitlementsSortByEnum = "csi"
	ListEntitlementsSortByVendorname ListEntitlementsSortByEnum = "vendorName"
)

Set of constants representing the allowable values for ListEntitlementsSortByEnum

func GetListEntitlementsSortByEnumValues ¶

func GetListEntitlementsSortByEnumValues() []ListEntitlementsSortByEnum

GetListEntitlementsSortByEnumValues Enumerates the set of values for ListEntitlementsSortByEnum

func GetMappingListEntitlementsSortByEnum ¶

func GetMappingListEntitlementsSortByEnum(val string) (ListEntitlementsSortByEnum, bool)

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

type ListEntitlementsSortOrderEnum ¶

type ListEntitlementsSortOrderEnum string

ListEntitlementsSortOrderEnum Enum with underlying type: string

const (
	ListEntitlementsSortOrderAsc  ListEntitlementsSortOrderEnum = "ASC"
	ListEntitlementsSortOrderDesc ListEntitlementsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListEntitlementsSortOrderEnum

func GetListEntitlementsSortOrderEnumValues ¶

func GetListEntitlementsSortOrderEnumValues() []ListEntitlementsSortOrderEnum

GetListEntitlementsSortOrderEnumValues Enumerates the set of values for ListEntitlementsSortOrderEnum

func GetMappingListEntitlementsSortOrderEnum ¶

func GetMappingListEntitlementsSortOrderEnum(val string) (ListEntitlementsSortOrderEnum, bool)

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

type ListEntitlementsVendorNameEnum ¶

type ListEntitlementsVendorNameEnum string

ListEntitlementsVendorNameEnum Enum with underlying type: string

const (
	ListEntitlementsVendorNameOracle ListEntitlementsVendorNameEnum = "ORACLE"
)

Set of constants representing the allowable values for ListEntitlementsVendorNameEnum

func GetListEntitlementsVendorNameEnumValues ¶

func GetListEntitlementsVendorNameEnumValues() []ListEntitlementsVendorNameEnum

GetListEntitlementsVendorNameEnumValues Enumerates the set of values for ListEntitlementsVendorNameEnum

func GetMappingListEntitlementsVendorNameEnum ¶

func GetMappingListEntitlementsVendorNameEnum(val string) (ListEntitlementsVendorNameEnum, bool)

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

type ListErrataOsFamilyEnum ¶

type ListErrataOsFamilyEnum string

ListErrataOsFamilyEnum Enum with underlying type: string

const (
	ListErrataOsFamily9 ListErrataOsFamilyEnum = "ORACLE_LINUX_9"
	ListErrataOsFamily8 ListErrataOsFamilyEnum = "ORACLE_LINUX_8"
	ListErrataOsFamily7 ListErrataOsFamilyEnum = "ORACLE_LINUX_7"
)

Set of constants representing the allowable values for ListErrataOsFamilyEnum

func GetListErrataOsFamilyEnumValues ¶

func GetListErrataOsFamilyEnumValues() []ListErrataOsFamilyEnum

GetListErrataOsFamilyEnumValues Enumerates the set of values for ListErrataOsFamilyEnum

func GetMappingListErrataOsFamilyEnum ¶

func GetMappingListErrataOsFamilyEnum(val string) (ListErrataOsFamilyEnum, bool)

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

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

ListErrataRequest wrapper for the ListErrata operation

See also ¶

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

func (ListErrataRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListErrataRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListErrataRequest) RetryPolicy ¶

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

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

func (ListErrataRequest) String ¶

func (request ListErrataRequest) String() string

func (ListErrataRequest) ValidateEnumValue ¶

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

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

type ListErrataResponse ¶

type ListErrataResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ListErrataResponse wrapper for the ListErrata operation

func (ListErrataResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListErrataResponse) String ¶

func (response ListErrataResponse) String() string

type ListErrataSortByEnum ¶

type ListErrataSortByEnum string

ListErrataSortByEnum Enum with underlying type: string

const (
	ListErrataSortByTimeissued ListErrataSortByEnum = "timeIssued"
	ListErrataSortByName       ListErrataSortByEnum = "name"
)

Set of constants representing the allowable values for ListErrataSortByEnum

func GetListErrataSortByEnumValues ¶

func GetListErrataSortByEnumValues() []ListErrataSortByEnum

GetListErrataSortByEnumValues Enumerates the set of values for ListErrataSortByEnum

func GetMappingListErrataSortByEnum ¶

func GetMappingListErrataSortByEnum(val string) (ListErrataSortByEnum, bool)

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

type ListErrataSortOrderEnum ¶

type ListErrataSortOrderEnum string

ListErrataSortOrderEnum Enum with underlying type: string

const (
	ListErrataSortOrderAsc  ListErrataSortOrderEnum = "ASC"
	ListErrataSortOrderDesc ListErrataSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListErrataSortOrderEnum

func GetListErrataSortOrderEnumValues ¶

func GetListErrataSortOrderEnumValues() []ListErrataSortOrderEnum

GetListErrataSortOrderEnumValues Enumerates the set of values for ListErrataSortOrderEnum

func GetMappingListErrataSortOrderEnum ¶

func GetMappingListErrataSortOrderEnum(val string) (ListErrataSortOrderEnum, bool)

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

type ListLifecycleEnvironmentsArchTypeEnum ¶

type ListLifecycleEnvironmentsArchTypeEnum string

ListLifecycleEnvironmentsArchTypeEnum Enum with underlying type: string

const (
	ListLifecycleEnvironmentsArchTypeX8664   ListLifecycleEnvironmentsArchTypeEnum = "X86_64"
	ListLifecycleEnvironmentsArchTypeAarch64 ListLifecycleEnvironmentsArchTypeEnum = "AARCH64"
	ListLifecycleEnvironmentsArchTypeI686    ListLifecycleEnvironmentsArchTypeEnum = "I686"
	ListLifecycleEnvironmentsArchTypeNoarch  ListLifecycleEnvironmentsArchTypeEnum = "NOARCH"
	ListLifecycleEnvironmentsArchTypeSrc     ListLifecycleEnvironmentsArchTypeEnum = "SRC"
)

Set of constants representing the allowable values for ListLifecycleEnvironmentsArchTypeEnum

func GetListLifecycleEnvironmentsArchTypeEnumValues ¶

func GetListLifecycleEnvironmentsArchTypeEnumValues() []ListLifecycleEnvironmentsArchTypeEnum

GetListLifecycleEnvironmentsArchTypeEnumValues Enumerates the set of values for ListLifecycleEnvironmentsArchTypeEnum

func GetMappingListLifecycleEnvironmentsArchTypeEnum ¶

func GetMappingListLifecycleEnvironmentsArchTypeEnum(val string) (ListLifecycleEnvironmentsArchTypeEnum, bool)

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

type ListLifecycleEnvironmentsOsFamilyEnum ¶

type ListLifecycleEnvironmentsOsFamilyEnum string

ListLifecycleEnvironmentsOsFamilyEnum Enum with underlying type: string

const (
	ListLifecycleEnvironmentsOsFamily9 ListLifecycleEnvironmentsOsFamilyEnum = "ORACLE_LINUX_9"
	ListLifecycleEnvironmentsOsFamily8 ListLifecycleEnvironmentsOsFamilyEnum = "ORACLE_LINUX_8"
	ListLifecycleEnvironmentsOsFamily7 ListLifecycleEnvironmentsOsFamilyEnum = "ORACLE_LINUX_7"
)

Set of constants representing the allowable values for ListLifecycleEnvironmentsOsFamilyEnum

func GetListLifecycleEnvironmentsOsFamilyEnumValues ¶

func GetListLifecycleEnvironmentsOsFamilyEnumValues() []ListLifecycleEnvironmentsOsFamilyEnum

GetListLifecycleEnvironmentsOsFamilyEnumValues Enumerates the set of values for ListLifecycleEnvironmentsOsFamilyEnum

func GetMappingListLifecycleEnvironmentsOsFamilyEnum ¶

func GetMappingListLifecycleEnvironmentsOsFamilyEnum(val string) (ListLifecycleEnvironmentsOsFamilyEnum, bool)

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

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

ListLifecycleEnvironmentsRequest wrapper for the ListLifecycleEnvironments operation

See also ¶

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

func (ListLifecycleEnvironmentsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListLifecycleEnvironmentsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListLifecycleEnvironmentsRequest) RetryPolicy ¶

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

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

func (ListLifecycleEnvironmentsRequest) String ¶

func (request ListLifecycleEnvironmentsRequest) String() string

func (ListLifecycleEnvironmentsRequest) ValidateEnumValue ¶

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

type ListLifecycleEnvironmentsResponse ¶

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

ListLifecycleEnvironmentsResponse wrapper for the ListLifecycleEnvironments operation

func (ListLifecycleEnvironmentsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListLifecycleEnvironmentsResponse) String ¶

func (response ListLifecycleEnvironmentsResponse) String() string

type ListLifecycleEnvironmentsSortByEnum ¶

type ListLifecycleEnvironmentsSortByEnum string

ListLifecycleEnvironmentsSortByEnum Enum with underlying type: string

const (
	ListLifecycleEnvironmentsSortByTimecreated ListLifecycleEnvironmentsSortByEnum = "timeCreated"
	ListLifecycleEnvironmentsSortByDisplayname ListLifecycleEnvironmentsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListLifecycleEnvironmentsSortByEnum

func GetListLifecycleEnvironmentsSortByEnumValues ¶

func GetListLifecycleEnvironmentsSortByEnumValues() []ListLifecycleEnvironmentsSortByEnum

GetListLifecycleEnvironmentsSortByEnumValues Enumerates the set of values for ListLifecycleEnvironmentsSortByEnum

func GetMappingListLifecycleEnvironmentsSortByEnum ¶

func GetMappingListLifecycleEnvironmentsSortByEnum(val string) (ListLifecycleEnvironmentsSortByEnum, bool)

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

type ListLifecycleEnvironmentsSortOrderEnum ¶

type ListLifecycleEnvironmentsSortOrderEnum string

ListLifecycleEnvironmentsSortOrderEnum Enum with underlying type: string

const (
	ListLifecycleEnvironmentsSortOrderAsc  ListLifecycleEnvironmentsSortOrderEnum = "ASC"
	ListLifecycleEnvironmentsSortOrderDesc ListLifecycleEnvironmentsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListLifecycleEnvironmentsSortOrderEnum

func GetListLifecycleEnvironmentsSortOrderEnumValues ¶

func GetListLifecycleEnvironmentsSortOrderEnumValues() []ListLifecycleEnvironmentsSortOrderEnum

GetListLifecycleEnvironmentsSortOrderEnumValues Enumerates the set of values for ListLifecycleEnvironmentsSortOrderEnum

func GetMappingListLifecycleEnvironmentsSortOrderEnum ¶

func GetMappingListLifecycleEnvironmentsSortOrderEnum(val string) (ListLifecycleEnvironmentsSortOrderEnum, bool)

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

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

ListLifecycleStageInstalledPackagesRequest wrapper for the ListLifecycleStageInstalledPackages operation

See also ¶

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

func (ListLifecycleStageInstalledPackagesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListLifecycleStageInstalledPackagesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListLifecycleStageInstalledPackagesRequest) RetryPolicy ¶

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

func (ListLifecycleStageInstalledPackagesRequest) String ¶

func (ListLifecycleStageInstalledPackagesRequest) ValidateEnumValue ¶

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

type ListLifecycleStageInstalledPackagesResponse ¶

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

ListLifecycleStageInstalledPackagesResponse wrapper for the ListLifecycleStageInstalledPackages operation

func (ListLifecycleStageInstalledPackagesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListLifecycleStageInstalledPackagesResponse) String ¶

type ListLifecycleStageInstalledPackagesSortByEnum ¶

type ListLifecycleStageInstalledPackagesSortByEnum string

ListLifecycleStageInstalledPackagesSortByEnum Enum with underlying type: string

const (
	ListLifecycleStageInstalledPackagesSortByTimecreated ListLifecycleStageInstalledPackagesSortByEnum = "timeCreated"
	ListLifecycleStageInstalledPackagesSortByDisplayname ListLifecycleStageInstalledPackagesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListLifecycleStageInstalledPackagesSortByEnum

func GetListLifecycleStageInstalledPackagesSortByEnumValues ¶

func GetListLifecycleStageInstalledPackagesSortByEnumValues() []ListLifecycleStageInstalledPackagesSortByEnum

GetListLifecycleStageInstalledPackagesSortByEnumValues Enumerates the set of values for ListLifecycleStageInstalledPackagesSortByEnum

func GetMappingListLifecycleStageInstalledPackagesSortByEnum ¶

func GetMappingListLifecycleStageInstalledPackagesSortByEnum(val string) (ListLifecycleStageInstalledPackagesSortByEnum, bool)

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

type ListLifecycleStageInstalledPackagesSortOrderEnum ¶

type ListLifecycleStageInstalledPackagesSortOrderEnum string

ListLifecycleStageInstalledPackagesSortOrderEnum Enum with underlying type: string

const (
	ListLifecycleStageInstalledPackagesSortOrderAsc  ListLifecycleStageInstalledPackagesSortOrderEnum = "ASC"
	ListLifecycleStageInstalledPackagesSortOrderDesc ListLifecycleStageInstalledPackagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListLifecycleStageInstalledPackagesSortOrderEnum

func GetListLifecycleStageInstalledPackagesSortOrderEnumValues ¶

func GetListLifecycleStageInstalledPackagesSortOrderEnumValues() []ListLifecycleStageInstalledPackagesSortOrderEnum

GetListLifecycleStageInstalledPackagesSortOrderEnumValues Enumerates the set of values for ListLifecycleStageInstalledPackagesSortOrderEnum

func GetMappingListLifecycleStageInstalledPackagesSortOrderEnum ¶

func GetMappingListLifecycleStageInstalledPackagesSortOrderEnum(val string) (ListLifecycleStageInstalledPackagesSortOrderEnum, bool)

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

type ListLifecycleStagesArchTypeEnum ¶

type ListLifecycleStagesArchTypeEnum string

ListLifecycleStagesArchTypeEnum Enum with underlying type: string

const (
	ListLifecycleStagesArchTypeX8664   ListLifecycleStagesArchTypeEnum = "X86_64"
	ListLifecycleStagesArchTypeAarch64 ListLifecycleStagesArchTypeEnum = "AARCH64"
	ListLifecycleStagesArchTypeI686    ListLifecycleStagesArchTypeEnum = "I686"
	ListLifecycleStagesArchTypeNoarch  ListLifecycleStagesArchTypeEnum = "NOARCH"
	ListLifecycleStagesArchTypeSrc     ListLifecycleStagesArchTypeEnum = "SRC"
)

Set of constants representing the allowable values for ListLifecycleStagesArchTypeEnum

func GetListLifecycleStagesArchTypeEnumValues ¶

func GetListLifecycleStagesArchTypeEnumValues() []ListLifecycleStagesArchTypeEnum

GetListLifecycleStagesArchTypeEnumValues Enumerates the set of values for ListLifecycleStagesArchTypeEnum

func GetMappingListLifecycleStagesArchTypeEnum ¶

func GetMappingListLifecycleStagesArchTypeEnum(val string) (ListLifecycleStagesArchTypeEnum, bool)

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

type ListLifecycleStagesOsFamilyEnum ¶

type ListLifecycleStagesOsFamilyEnum string

ListLifecycleStagesOsFamilyEnum Enum with underlying type: string

const (
	ListLifecycleStagesOsFamily9 ListLifecycleStagesOsFamilyEnum = "ORACLE_LINUX_9"
	ListLifecycleStagesOsFamily8 ListLifecycleStagesOsFamilyEnum = "ORACLE_LINUX_8"
	ListLifecycleStagesOsFamily7 ListLifecycleStagesOsFamilyEnum = "ORACLE_LINUX_7"
)

Set of constants representing the allowable values for ListLifecycleStagesOsFamilyEnum

func GetListLifecycleStagesOsFamilyEnumValues ¶

func GetListLifecycleStagesOsFamilyEnumValues() []ListLifecycleStagesOsFamilyEnum

GetListLifecycleStagesOsFamilyEnumValues Enumerates the set of values for ListLifecycleStagesOsFamilyEnum

func GetMappingListLifecycleStagesOsFamilyEnum ¶

func GetMappingListLifecycleStagesOsFamilyEnum(val string) (ListLifecycleStagesOsFamilyEnum, bool)

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

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

ListLifecycleStagesRequest wrapper for the ListLifecycleStages operation

See also ¶

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

func (ListLifecycleStagesRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListLifecycleStagesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListLifecycleStagesRequest) RetryPolicy ¶

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

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

func (ListLifecycleStagesRequest) String ¶

func (request ListLifecycleStagesRequest) String() string

func (ListLifecycleStagesRequest) ValidateEnumValue ¶

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

type ListLifecycleStagesResponse ¶

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

ListLifecycleStagesResponse wrapper for the ListLifecycleStages operation

func (ListLifecycleStagesResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListLifecycleStagesResponse) String ¶

func (response ListLifecycleStagesResponse) String() string

type ListLifecycleStagesSortByEnum ¶

type ListLifecycleStagesSortByEnum string

ListLifecycleStagesSortByEnum Enum with underlying type: string

const (
	ListLifecycleStagesSortByTimecreated ListLifecycleStagesSortByEnum = "timeCreated"
	ListLifecycleStagesSortByDisplayname ListLifecycleStagesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListLifecycleStagesSortByEnum

func GetListLifecycleStagesSortByEnumValues ¶

func GetListLifecycleStagesSortByEnumValues() []ListLifecycleStagesSortByEnum

GetListLifecycleStagesSortByEnumValues Enumerates the set of values for ListLifecycleStagesSortByEnum

func GetMappingListLifecycleStagesSortByEnum ¶

func GetMappingListLifecycleStagesSortByEnum(val string) (ListLifecycleStagesSortByEnum, bool)

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

type ListLifecycleStagesSortOrderEnum ¶

type ListLifecycleStagesSortOrderEnum string

ListLifecycleStagesSortOrderEnum Enum with underlying type: string

const (
	ListLifecycleStagesSortOrderAsc  ListLifecycleStagesSortOrderEnum = "ASC"
	ListLifecycleStagesSortOrderDesc ListLifecycleStagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListLifecycleStagesSortOrderEnum

func GetListLifecycleStagesSortOrderEnumValues ¶

func GetListLifecycleStagesSortOrderEnumValues() []ListLifecycleStagesSortOrderEnum

GetListLifecycleStagesSortOrderEnumValues Enumerates the set of values for ListLifecycleStagesSortOrderEnum

func GetMappingListLifecycleStagesSortOrderEnum ¶

func GetMappingListLifecycleStagesSortOrderEnum(val string) (ListLifecycleStagesSortOrderEnum, bool)

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

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

ListManagedInstanceAvailablePackagesRequest wrapper for the ListManagedInstanceAvailablePackages operation

See also ¶

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

func (ListManagedInstanceAvailablePackagesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceAvailablePackagesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceAvailablePackagesRequest) RetryPolicy ¶

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

func (ListManagedInstanceAvailablePackagesRequest) String ¶

func (ListManagedInstanceAvailablePackagesRequest) ValidateEnumValue ¶

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

type ListManagedInstanceAvailablePackagesResponse ¶

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

ListManagedInstanceAvailablePackagesResponse wrapper for the ListManagedInstanceAvailablePackages operation

func (ListManagedInstanceAvailablePackagesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceAvailablePackagesResponse) String ¶

type ListManagedInstanceAvailablePackagesSortByEnum ¶

type ListManagedInstanceAvailablePackagesSortByEnum string

ListManagedInstanceAvailablePackagesSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceAvailablePackagesSortByTimecreated ListManagedInstanceAvailablePackagesSortByEnum = "timeCreated"
	ListManagedInstanceAvailablePackagesSortByDisplayname ListManagedInstanceAvailablePackagesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagedInstanceAvailablePackagesSortByEnum

func GetListManagedInstanceAvailablePackagesSortByEnumValues ¶

func GetListManagedInstanceAvailablePackagesSortByEnumValues() []ListManagedInstanceAvailablePackagesSortByEnum

GetListManagedInstanceAvailablePackagesSortByEnumValues Enumerates the set of values for ListManagedInstanceAvailablePackagesSortByEnum

func GetMappingListManagedInstanceAvailablePackagesSortByEnum ¶

func GetMappingListManagedInstanceAvailablePackagesSortByEnum(val string) (ListManagedInstanceAvailablePackagesSortByEnum, bool)

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

type ListManagedInstanceAvailablePackagesSortOrderEnum ¶

type ListManagedInstanceAvailablePackagesSortOrderEnum string

ListManagedInstanceAvailablePackagesSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceAvailablePackagesSortOrderAsc  ListManagedInstanceAvailablePackagesSortOrderEnum = "ASC"
	ListManagedInstanceAvailablePackagesSortOrderDesc ListManagedInstanceAvailablePackagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceAvailablePackagesSortOrderEnum

func GetListManagedInstanceAvailablePackagesSortOrderEnumValues ¶

func GetListManagedInstanceAvailablePackagesSortOrderEnumValues() []ListManagedInstanceAvailablePackagesSortOrderEnum

GetListManagedInstanceAvailablePackagesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceAvailablePackagesSortOrderEnum

func GetMappingListManagedInstanceAvailablePackagesSortOrderEnum ¶

func GetMappingListManagedInstanceAvailablePackagesSortOrderEnum(val string) (ListManagedInstanceAvailablePackagesSortOrderEnum, bool)

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

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

ListManagedInstanceAvailableSoftwareSourcesRequest wrapper for the ListManagedInstanceAvailableSoftwareSources operation

See also ¶

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

func (ListManagedInstanceAvailableSoftwareSourcesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceAvailableSoftwareSourcesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceAvailableSoftwareSourcesRequest) RetryPolicy ¶

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

func (ListManagedInstanceAvailableSoftwareSourcesRequest) String ¶

func (ListManagedInstanceAvailableSoftwareSourcesRequest) ValidateEnumValue ¶

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

type ListManagedInstanceAvailableSoftwareSourcesResponse ¶

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

ListManagedInstanceAvailableSoftwareSourcesResponse wrapper for the ListManagedInstanceAvailableSoftwareSources operation

func (ListManagedInstanceAvailableSoftwareSourcesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceAvailableSoftwareSourcesResponse) String ¶

type ListManagedInstanceAvailableSoftwareSourcesSortByEnum ¶

type ListManagedInstanceAvailableSoftwareSourcesSortByEnum string

ListManagedInstanceAvailableSoftwareSourcesSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceAvailableSoftwareSourcesSortByTimecreated ListManagedInstanceAvailableSoftwareSourcesSortByEnum = "timeCreated"
	ListManagedInstanceAvailableSoftwareSourcesSortByDisplayname ListManagedInstanceAvailableSoftwareSourcesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagedInstanceAvailableSoftwareSourcesSortByEnum

func GetListManagedInstanceAvailableSoftwareSourcesSortByEnumValues ¶

func GetListManagedInstanceAvailableSoftwareSourcesSortByEnumValues() []ListManagedInstanceAvailableSoftwareSourcesSortByEnum

GetListManagedInstanceAvailableSoftwareSourcesSortByEnumValues Enumerates the set of values for ListManagedInstanceAvailableSoftwareSourcesSortByEnum

func GetMappingListManagedInstanceAvailableSoftwareSourcesSortByEnum ¶

func GetMappingListManagedInstanceAvailableSoftwareSourcesSortByEnum(val string) (ListManagedInstanceAvailableSoftwareSourcesSortByEnum, bool)

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

type ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum ¶

type ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum string

ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceAvailableSoftwareSourcesSortOrderAsc  ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum = "ASC"
	ListManagedInstanceAvailableSoftwareSourcesSortOrderDesc ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum

func GetListManagedInstanceAvailableSoftwareSourcesSortOrderEnumValues ¶

func GetListManagedInstanceAvailableSoftwareSourcesSortOrderEnumValues() []ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum

GetListManagedInstanceAvailableSoftwareSourcesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum

func GetMappingListManagedInstanceAvailableSoftwareSourcesSortOrderEnum ¶

func GetMappingListManagedInstanceAvailableSoftwareSourcesSortOrderEnum(val string) (ListManagedInstanceAvailableSoftwareSourcesSortOrderEnum, bool)

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

type ListManagedInstanceErrataAdvisoryTypeEnum ¶

type ListManagedInstanceErrataAdvisoryTypeEnum string

ListManagedInstanceErrataAdvisoryTypeEnum Enum with underlying type: string

const (
	ListManagedInstanceErrataAdvisoryTypeSecurity    ListManagedInstanceErrataAdvisoryTypeEnum = "SECURITY"
	ListManagedInstanceErrataAdvisoryTypeBugfix      ListManagedInstanceErrataAdvisoryTypeEnum = "BUGFIX"
	ListManagedInstanceErrataAdvisoryTypeEnhancement ListManagedInstanceErrataAdvisoryTypeEnum = "ENHANCEMENT"
)

Set of constants representing the allowable values for ListManagedInstanceErrataAdvisoryTypeEnum

func GetListManagedInstanceErrataAdvisoryTypeEnumValues ¶

func GetListManagedInstanceErrataAdvisoryTypeEnumValues() []ListManagedInstanceErrataAdvisoryTypeEnum

GetListManagedInstanceErrataAdvisoryTypeEnumValues Enumerates the set of values for ListManagedInstanceErrataAdvisoryTypeEnum

func GetMappingListManagedInstanceErrataAdvisoryTypeEnum ¶

func GetMappingListManagedInstanceErrataAdvisoryTypeEnum(val string) (ListManagedInstanceErrataAdvisoryTypeEnum, bool)

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

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

ListManagedInstanceErrataRequest wrapper for the ListManagedInstanceErrata operation

See also ¶

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

func (ListManagedInstanceErrataRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceErrataRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceErrataRequest) RetryPolicy ¶

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

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

func (ListManagedInstanceErrataRequest) String ¶

func (request ListManagedInstanceErrataRequest) String() string

func (ListManagedInstanceErrataRequest) ValidateEnumValue ¶

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

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

type ListManagedInstanceErrataResponse ¶

type ListManagedInstanceErrataResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ListManagedInstanceErrataResponse wrapper for the ListManagedInstanceErrata operation

func (ListManagedInstanceErrataResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceErrataResponse) String ¶

func (response ListManagedInstanceErrataResponse) String() string

type ListManagedInstanceErrataSortByEnum ¶

type ListManagedInstanceErrataSortByEnum string

ListManagedInstanceErrataSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceErrataSortByTimeissued ListManagedInstanceErrataSortByEnum = "timeIssued"
	ListManagedInstanceErrataSortByName       ListManagedInstanceErrataSortByEnum = "name"
)

Set of constants representing the allowable values for ListManagedInstanceErrataSortByEnum

func GetListManagedInstanceErrataSortByEnumValues ¶

func GetListManagedInstanceErrataSortByEnumValues() []ListManagedInstanceErrataSortByEnum

GetListManagedInstanceErrataSortByEnumValues Enumerates the set of values for ListManagedInstanceErrataSortByEnum

func GetMappingListManagedInstanceErrataSortByEnum ¶

func GetMappingListManagedInstanceErrataSortByEnum(val string) (ListManagedInstanceErrataSortByEnum, bool)

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

type ListManagedInstanceErrataSortOrderEnum ¶

type ListManagedInstanceErrataSortOrderEnum string

ListManagedInstanceErrataSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceErrataSortOrderAsc  ListManagedInstanceErrataSortOrderEnum = "ASC"
	ListManagedInstanceErrataSortOrderDesc ListManagedInstanceErrataSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceErrataSortOrderEnum

func GetListManagedInstanceErrataSortOrderEnumValues ¶

func GetListManagedInstanceErrataSortOrderEnumValues() []ListManagedInstanceErrataSortOrderEnum

GetListManagedInstanceErrataSortOrderEnumValues Enumerates the set of values for ListManagedInstanceErrataSortOrderEnum

func GetMappingListManagedInstanceErrataSortOrderEnum ¶

func GetMappingListManagedInstanceErrataSortOrderEnum(val string) (ListManagedInstanceErrataSortOrderEnum, bool)

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

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

ListManagedInstanceGroupAvailableModulesRequest wrapper for the ListManagedInstanceGroupAvailableModules operation

See also ¶

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

func (ListManagedInstanceGroupAvailableModulesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceGroupAvailableModulesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceGroupAvailableModulesRequest) RetryPolicy ¶

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

func (ListManagedInstanceGroupAvailableModulesRequest) String ¶

func (ListManagedInstanceGroupAvailableModulesRequest) ValidateEnumValue ¶

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

type ListManagedInstanceGroupAvailableModulesResponse ¶

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

ListManagedInstanceGroupAvailableModulesResponse wrapper for the ListManagedInstanceGroupAvailableModules operation

func (ListManagedInstanceGroupAvailableModulesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceGroupAvailableModulesResponse) String ¶

type ListManagedInstanceGroupAvailableModulesSortByEnum ¶

type ListManagedInstanceGroupAvailableModulesSortByEnum string

ListManagedInstanceGroupAvailableModulesSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupAvailableModulesSortByName ListManagedInstanceGroupAvailableModulesSortByEnum = "name"
)

Set of constants representing the allowable values for ListManagedInstanceGroupAvailableModulesSortByEnum

func GetListManagedInstanceGroupAvailableModulesSortByEnumValues ¶

func GetListManagedInstanceGroupAvailableModulesSortByEnumValues() []ListManagedInstanceGroupAvailableModulesSortByEnum

GetListManagedInstanceGroupAvailableModulesSortByEnumValues Enumerates the set of values for ListManagedInstanceGroupAvailableModulesSortByEnum

func GetMappingListManagedInstanceGroupAvailableModulesSortByEnum ¶

func GetMappingListManagedInstanceGroupAvailableModulesSortByEnum(val string) (ListManagedInstanceGroupAvailableModulesSortByEnum, bool)

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

type ListManagedInstanceGroupAvailableModulesSortOrderEnum ¶

type ListManagedInstanceGroupAvailableModulesSortOrderEnum string

ListManagedInstanceGroupAvailableModulesSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupAvailableModulesSortOrderAsc  ListManagedInstanceGroupAvailableModulesSortOrderEnum = "ASC"
	ListManagedInstanceGroupAvailableModulesSortOrderDesc ListManagedInstanceGroupAvailableModulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceGroupAvailableModulesSortOrderEnum

func GetListManagedInstanceGroupAvailableModulesSortOrderEnumValues ¶

func GetListManagedInstanceGroupAvailableModulesSortOrderEnumValues() []ListManagedInstanceGroupAvailableModulesSortOrderEnum

GetListManagedInstanceGroupAvailableModulesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceGroupAvailableModulesSortOrderEnum

func GetMappingListManagedInstanceGroupAvailableModulesSortOrderEnum ¶

func GetMappingListManagedInstanceGroupAvailableModulesSortOrderEnum(val string) (ListManagedInstanceGroupAvailableModulesSortOrderEnum, bool)

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

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

ListManagedInstanceGroupAvailablePackagesRequest wrapper for the ListManagedInstanceGroupAvailablePackages operation

See also ¶

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

func (ListManagedInstanceGroupAvailablePackagesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceGroupAvailablePackagesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceGroupAvailablePackagesRequest) RetryPolicy ¶

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

func (ListManagedInstanceGroupAvailablePackagesRequest) String ¶

func (ListManagedInstanceGroupAvailablePackagesRequest) ValidateEnumValue ¶

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

type ListManagedInstanceGroupAvailablePackagesResponse ¶

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

ListManagedInstanceGroupAvailablePackagesResponse wrapper for the ListManagedInstanceGroupAvailablePackages operation

func (ListManagedInstanceGroupAvailablePackagesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceGroupAvailablePackagesResponse) String ¶

type ListManagedInstanceGroupAvailablePackagesSortByEnum ¶

type ListManagedInstanceGroupAvailablePackagesSortByEnum string

ListManagedInstanceGroupAvailablePackagesSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupAvailablePackagesSortByTimecreated ListManagedInstanceGroupAvailablePackagesSortByEnum = "timeCreated"
	ListManagedInstanceGroupAvailablePackagesSortByDisplayname ListManagedInstanceGroupAvailablePackagesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagedInstanceGroupAvailablePackagesSortByEnum

func GetListManagedInstanceGroupAvailablePackagesSortByEnumValues ¶

func GetListManagedInstanceGroupAvailablePackagesSortByEnumValues() []ListManagedInstanceGroupAvailablePackagesSortByEnum

GetListManagedInstanceGroupAvailablePackagesSortByEnumValues Enumerates the set of values for ListManagedInstanceGroupAvailablePackagesSortByEnum

func GetMappingListManagedInstanceGroupAvailablePackagesSortByEnum ¶

func GetMappingListManagedInstanceGroupAvailablePackagesSortByEnum(val string) (ListManagedInstanceGroupAvailablePackagesSortByEnum, bool)

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

type ListManagedInstanceGroupAvailablePackagesSortOrderEnum ¶

type ListManagedInstanceGroupAvailablePackagesSortOrderEnum string

ListManagedInstanceGroupAvailablePackagesSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupAvailablePackagesSortOrderAsc  ListManagedInstanceGroupAvailablePackagesSortOrderEnum = "ASC"
	ListManagedInstanceGroupAvailablePackagesSortOrderDesc ListManagedInstanceGroupAvailablePackagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceGroupAvailablePackagesSortOrderEnum

func GetListManagedInstanceGroupAvailablePackagesSortOrderEnumValues ¶

func GetListManagedInstanceGroupAvailablePackagesSortOrderEnumValues() []ListManagedInstanceGroupAvailablePackagesSortOrderEnum

GetListManagedInstanceGroupAvailablePackagesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceGroupAvailablePackagesSortOrderEnum

func GetMappingListManagedInstanceGroupAvailablePackagesSortOrderEnum ¶

func GetMappingListManagedInstanceGroupAvailablePackagesSortOrderEnum(val string) (ListManagedInstanceGroupAvailablePackagesSortOrderEnum, bool)

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

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

ListManagedInstanceGroupAvailableSoftwareSourcesRequest wrapper for the ListManagedInstanceGroupAvailableSoftwareSources operation

See also ¶

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

func (ListManagedInstanceGroupAvailableSoftwareSourcesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceGroupAvailableSoftwareSourcesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceGroupAvailableSoftwareSourcesRequest) RetryPolicy ¶

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

func (ListManagedInstanceGroupAvailableSoftwareSourcesRequest) String ¶

func (ListManagedInstanceGroupAvailableSoftwareSourcesRequest) ValidateEnumValue ¶

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

type ListManagedInstanceGroupAvailableSoftwareSourcesResponse ¶

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

ListManagedInstanceGroupAvailableSoftwareSourcesResponse wrapper for the ListManagedInstanceGroupAvailableSoftwareSources operation

func (ListManagedInstanceGroupAvailableSoftwareSourcesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceGroupAvailableSoftwareSourcesResponse) String ¶

type ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum ¶

type ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum string

ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupAvailableSoftwareSourcesSortByTimecreated ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum = "timeCreated"
	ListManagedInstanceGroupAvailableSoftwareSourcesSortByDisplayname ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum

func GetListManagedInstanceGroupAvailableSoftwareSourcesSortByEnumValues ¶

func GetListManagedInstanceGroupAvailableSoftwareSourcesSortByEnumValues() []ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum

GetListManagedInstanceGroupAvailableSoftwareSourcesSortByEnumValues Enumerates the set of values for ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum

func GetMappingListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum ¶

func GetMappingListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum(val string) (ListManagedInstanceGroupAvailableSoftwareSourcesSortByEnum, bool)

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

type ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum ¶

type ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum string

ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderAsc  ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum = "ASC"
	ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderDesc ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum

func GetListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnumValues ¶

func GetListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnumValues() []ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum

GetListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum

func GetMappingListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum ¶

func GetMappingListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum(val string) (ListManagedInstanceGroupAvailableSoftwareSourcesSortOrderEnum, bool)

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

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

ListManagedInstanceGroupInstalledPackagesRequest wrapper for the ListManagedInstanceGroupInstalledPackages operation

See also ¶

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

func (ListManagedInstanceGroupInstalledPackagesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceGroupInstalledPackagesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceGroupInstalledPackagesRequest) RetryPolicy ¶

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

func (ListManagedInstanceGroupInstalledPackagesRequest) String ¶

func (ListManagedInstanceGroupInstalledPackagesRequest) ValidateEnumValue ¶

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

type ListManagedInstanceGroupInstalledPackagesResponse ¶

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

ListManagedInstanceGroupInstalledPackagesResponse wrapper for the ListManagedInstanceGroupInstalledPackages operation

func (ListManagedInstanceGroupInstalledPackagesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceGroupInstalledPackagesResponse) String ¶

type ListManagedInstanceGroupInstalledPackagesSortByEnum ¶

type ListManagedInstanceGroupInstalledPackagesSortByEnum string

ListManagedInstanceGroupInstalledPackagesSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupInstalledPackagesSortByTimeinstalled ListManagedInstanceGroupInstalledPackagesSortByEnum = "timeInstalled"
	ListManagedInstanceGroupInstalledPackagesSortByTimecreated   ListManagedInstanceGroupInstalledPackagesSortByEnum = "timeCreated"
	ListManagedInstanceGroupInstalledPackagesSortByDisplayname   ListManagedInstanceGroupInstalledPackagesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagedInstanceGroupInstalledPackagesSortByEnum

func GetListManagedInstanceGroupInstalledPackagesSortByEnumValues ¶

func GetListManagedInstanceGroupInstalledPackagesSortByEnumValues() []ListManagedInstanceGroupInstalledPackagesSortByEnum

GetListManagedInstanceGroupInstalledPackagesSortByEnumValues Enumerates the set of values for ListManagedInstanceGroupInstalledPackagesSortByEnum

func GetMappingListManagedInstanceGroupInstalledPackagesSortByEnum ¶

func GetMappingListManagedInstanceGroupInstalledPackagesSortByEnum(val string) (ListManagedInstanceGroupInstalledPackagesSortByEnum, bool)

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

type ListManagedInstanceGroupInstalledPackagesSortOrderEnum ¶

type ListManagedInstanceGroupInstalledPackagesSortOrderEnum string

ListManagedInstanceGroupInstalledPackagesSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupInstalledPackagesSortOrderAsc  ListManagedInstanceGroupInstalledPackagesSortOrderEnum = "ASC"
	ListManagedInstanceGroupInstalledPackagesSortOrderDesc ListManagedInstanceGroupInstalledPackagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceGroupInstalledPackagesSortOrderEnum

func GetListManagedInstanceGroupInstalledPackagesSortOrderEnumValues ¶

func GetListManagedInstanceGroupInstalledPackagesSortOrderEnumValues() []ListManagedInstanceGroupInstalledPackagesSortOrderEnum

GetListManagedInstanceGroupInstalledPackagesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceGroupInstalledPackagesSortOrderEnum

func GetMappingListManagedInstanceGroupInstalledPackagesSortOrderEnum ¶

func GetMappingListManagedInstanceGroupInstalledPackagesSortOrderEnum(val string) (ListManagedInstanceGroupInstalledPackagesSortOrderEnum, bool)

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

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

ListManagedInstanceGroupModulesRequest wrapper for the ListManagedInstanceGroupModules operation

See also ¶

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

func (ListManagedInstanceGroupModulesRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceGroupModulesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceGroupModulesRequest) RetryPolicy ¶

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

func (ListManagedInstanceGroupModulesRequest) String ¶

func (ListManagedInstanceGroupModulesRequest) ValidateEnumValue ¶

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

type ListManagedInstanceGroupModulesResponse ¶

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

ListManagedInstanceGroupModulesResponse wrapper for the ListManagedInstanceGroupModules operation

func (ListManagedInstanceGroupModulesResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceGroupModulesResponse) String ¶

type ListManagedInstanceGroupModulesSortByEnum ¶

type ListManagedInstanceGroupModulesSortByEnum string

ListManagedInstanceGroupModulesSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupModulesSortByName ListManagedInstanceGroupModulesSortByEnum = "name"
)

Set of constants representing the allowable values for ListManagedInstanceGroupModulesSortByEnum

func GetListManagedInstanceGroupModulesSortByEnumValues ¶

func GetListManagedInstanceGroupModulesSortByEnumValues() []ListManagedInstanceGroupModulesSortByEnum

GetListManagedInstanceGroupModulesSortByEnumValues Enumerates the set of values for ListManagedInstanceGroupModulesSortByEnum

func GetMappingListManagedInstanceGroupModulesSortByEnum ¶

func GetMappingListManagedInstanceGroupModulesSortByEnum(val string) (ListManagedInstanceGroupModulesSortByEnum, bool)

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

type ListManagedInstanceGroupModulesSortOrderEnum ¶

type ListManagedInstanceGroupModulesSortOrderEnum string

ListManagedInstanceGroupModulesSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupModulesSortOrderAsc  ListManagedInstanceGroupModulesSortOrderEnum = "ASC"
	ListManagedInstanceGroupModulesSortOrderDesc ListManagedInstanceGroupModulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceGroupModulesSortOrderEnum

func GetListManagedInstanceGroupModulesSortOrderEnumValues ¶

func GetListManagedInstanceGroupModulesSortOrderEnumValues() []ListManagedInstanceGroupModulesSortOrderEnum

GetListManagedInstanceGroupModulesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceGroupModulesSortOrderEnum

func GetMappingListManagedInstanceGroupModulesSortOrderEnum ¶

func GetMappingListManagedInstanceGroupModulesSortOrderEnum(val string) (ListManagedInstanceGroupModulesSortOrderEnum, bool)

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

type ListManagedInstanceGroupsArchTypeEnum ¶

type ListManagedInstanceGroupsArchTypeEnum string

ListManagedInstanceGroupsArchTypeEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupsArchTypeX8664   ListManagedInstanceGroupsArchTypeEnum = "X86_64"
	ListManagedInstanceGroupsArchTypeAarch64 ListManagedInstanceGroupsArchTypeEnum = "AARCH64"
	ListManagedInstanceGroupsArchTypeI686    ListManagedInstanceGroupsArchTypeEnum = "I686"
	ListManagedInstanceGroupsArchTypeNoarch  ListManagedInstanceGroupsArchTypeEnum = "NOARCH"
	ListManagedInstanceGroupsArchTypeSrc     ListManagedInstanceGroupsArchTypeEnum = "SRC"
)

Set of constants representing the allowable values for ListManagedInstanceGroupsArchTypeEnum

func GetListManagedInstanceGroupsArchTypeEnumValues ¶

func GetListManagedInstanceGroupsArchTypeEnumValues() []ListManagedInstanceGroupsArchTypeEnum

GetListManagedInstanceGroupsArchTypeEnumValues Enumerates the set of values for ListManagedInstanceGroupsArchTypeEnum

func GetMappingListManagedInstanceGroupsArchTypeEnum ¶

func GetMappingListManagedInstanceGroupsArchTypeEnum(val string) (ListManagedInstanceGroupsArchTypeEnum, bool)

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

type ListManagedInstanceGroupsOsFamilyEnum ¶

type ListManagedInstanceGroupsOsFamilyEnum string

ListManagedInstanceGroupsOsFamilyEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupsOsFamily9 ListManagedInstanceGroupsOsFamilyEnum = "ORACLE_LINUX_9"
	ListManagedInstanceGroupsOsFamily8 ListManagedInstanceGroupsOsFamilyEnum = "ORACLE_LINUX_8"
	ListManagedInstanceGroupsOsFamily7 ListManagedInstanceGroupsOsFamilyEnum = "ORACLE_LINUX_7"
)

Set of constants representing the allowable values for ListManagedInstanceGroupsOsFamilyEnum

func GetListManagedInstanceGroupsOsFamilyEnumValues ¶

func GetListManagedInstanceGroupsOsFamilyEnumValues() []ListManagedInstanceGroupsOsFamilyEnum

GetListManagedInstanceGroupsOsFamilyEnumValues Enumerates the set of values for ListManagedInstanceGroupsOsFamilyEnum

func GetMappingListManagedInstanceGroupsOsFamilyEnum ¶

func GetMappingListManagedInstanceGroupsOsFamilyEnum(val string) (ListManagedInstanceGroupsOsFamilyEnum, bool)

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

type ListManagedInstanceGroupsRequest ¶

type ListManagedInstanceGroupsRequest struct {

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

ListManagedInstanceGroupsRequest wrapper for the ListManagedInstanceGroups operation

See also ¶

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

func (ListManagedInstanceGroupsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceGroupsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceGroupsRequest) RetryPolicy ¶

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

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

func (ListManagedInstanceGroupsRequest) String ¶

func (request ListManagedInstanceGroupsRequest) String() string

func (ListManagedInstanceGroupsRequest) ValidateEnumValue ¶

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

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

type ListManagedInstanceGroupsResponse ¶

type ListManagedInstanceGroupsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ListManagedInstanceGroupsResponse wrapper for the ListManagedInstanceGroups operation

func (ListManagedInstanceGroupsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceGroupsResponse) String ¶

func (response ListManagedInstanceGroupsResponse) String() string

type ListManagedInstanceGroupsSortByEnum ¶

type ListManagedInstanceGroupsSortByEnum string

ListManagedInstanceGroupsSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupsSortByTimecreated ListManagedInstanceGroupsSortByEnum = "timeCreated"
	ListManagedInstanceGroupsSortByDisplayname ListManagedInstanceGroupsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagedInstanceGroupsSortByEnum

func GetListManagedInstanceGroupsSortByEnumValues ¶

func GetListManagedInstanceGroupsSortByEnumValues() []ListManagedInstanceGroupsSortByEnum

GetListManagedInstanceGroupsSortByEnumValues Enumerates the set of values for ListManagedInstanceGroupsSortByEnum

func GetMappingListManagedInstanceGroupsSortByEnum ¶

func GetMappingListManagedInstanceGroupsSortByEnum(val string) (ListManagedInstanceGroupsSortByEnum, bool)

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

type ListManagedInstanceGroupsSortOrderEnum ¶

type ListManagedInstanceGroupsSortOrderEnum string

ListManagedInstanceGroupsSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceGroupsSortOrderAsc  ListManagedInstanceGroupsSortOrderEnum = "ASC"
	ListManagedInstanceGroupsSortOrderDesc ListManagedInstanceGroupsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceGroupsSortOrderEnum

func GetListManagedInstanceGroupsSortOrderEnumValues ¶

func GetListManagedInstanceGroupsSortOrderEnumValues() []ListManagedInstanceGroupsSortOrderEnum

GetListManagedInstanceGroupsSortOrderEnumValues Enumerates the set of values for ListManagedInstanceGroupsSortOrderEnum

func GetMappingListManagedInstanceGroupsSortOrderEnum ¶

func GetMappingListManagedInstanceGroupsSortOrderEnum(val string) (ListManagedInstanceGroupsSortOrderEnum, bool)

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

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

ListManagedInstanceInstalledPackagesRequest wrapper for the ListManagedInstanceInstalledPackages operation

See also ¶

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

func (ListManagedInstanceInstalledPackagesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceInstalledPackagesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceInstalledPackagesRequest) RetryPolicy ¶

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

func (ListManagedInstanceInstalledPackagesRequest) String ¶

func (ListManagedInstanceInstalledPackagesRequest) ValidateEnumValue ¶

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

type ListManagedInstanceInstalledPackagesResponse ¶

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

ListManagedInstanceInstalledPackagesResponse wrapper for the ListManagedInstanceInstalledPackages operation

func (ListManagedInstanceInstalledPackagesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceInstalledPackagesResponse) String ¶

type ListManagedInstanceInstalledPackagesSortByEnum ¶

type ListManagedInstanceInstalledPackagesSortByEnum string

ListManagedInstanceInstalledPackagesSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceInstalledPackagesSortByTimeinstalled ListManagedInstanceInstalledPackagesSortByEnum = "timeInstalled"
	ListManagedInstanceInstalledPackagesSortByTimecreated   ListManagedInstanceInstalledPackagesSortByEnum = "timeCreated"
	ListManagedInstanceInstalledPackagesSortByDisplayname   ListManagedInstanceInstalledPackagesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagedInstanceInstalledPackagesSortByEnum

func GetListManagedInstanceInstalledPackagesSortByEnumValues ¶

func GetListManagedInstanceInstalledPackagesSortByEnumValues() []ListManagedInstanceInstalledPackagesSortByEnum

GetListManagedInstanceInstalledPackagesSortByEnumValues Enumerates the set of values for ListManagedInstanceInstalledPackagesSortByEnum

func GetMappingListManagedInstanceInstalledPackagesSortByEnum ¶

func GetMappingListManagedInstanceInstalledPackagesSortByEnum(val string) (ListManagedInstanceInstalledPackagesSortByEnum, bool)

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

type ListManagedInstanceInstalledPackagesSortOrderEnum ¶

type ListManagedInstanceInstalledPackagesSortOrderEnum string

ListManagedInstanceInstalledPackagesSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceInstalledPackagesSortOrderAsc  ListManagedInstanceInstalledPackagesSortOrderEnum = "ASC"
	ListManagedInstanceInstalledPackagesSortOrderDesc ListManagedInstanceInstalledPackagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceInstalledPackagesSortOrderEnum

func GetListManagedInstanceInstalledPackagesSortOrderEnumValues ¶

func GetListManagedInstanceInstalledPackagesSortOrderEnumValues() []ListManagedInstanceInstalledPackagesSortOrderEnum

GetListManagedInstanceInstalledPackagesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceInstalledPackagesSortOrderEnum

func GetMappingListManagedInstanceInstalledPackagesSortOrderEnum ¶

func GetMappingListManagedInstanceInstalledPackagesSortOrderEnum(val string) (ListManagedInstanceInstalledPackagesSortOrderEnum, bool)

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

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

ListManagedInstanceModulesRequest wrapper for the ListManagedInstanceModules operation

See also ¶

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

func (ListManagedInstanceModulesRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceModulesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceModulesRequest) RetryPolicy ¶

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

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

func (ListManagedInstanceModulesRequest) String ¶

func (request ListManagedInstanceModulesRequest) String() string

func (ListManagedInstanceModulesRequest) ValidateEnumValue ¶

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

type ListManagedInstanceModulesResponse ¶

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

ListManagedInstanceModulesResponse wrapper for the ListManagedInstanceModules operation

func (ListManagedInstanceModulesResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceModulesResponse) String ¶

func (response ListManagedInstanceModulesResponse) String() string

type ListManagedInstanceModulesSortByEnum ¶

type ListManagedInstanceModulesSortByEnum string

ListManagedInstanceModulesSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceModulesSortByName ListManagedInstanceModulesSortByEnum = "name"
)

Set of constants representing the allowable values for ListManagedInstanceModulesSortByEnum

func GetListManagedInstanceModulesSortByEnumValues ¶

func GetListManagedInstanceModulesSortByEnumValues() []ListManagedInstanceModulesSortByEnum

GetListManagedInstanceModulesSortByEnumValues Enumerates the set of values for ListManagedInstanceModulesSortByEnum

func GetMappingListManagedInstanceModulesSortByEnum ¶

func GetMappingListManagedInstanceModulesSortByEnum(val string) (ListManagedInstanceModulesSortByEnum, bool)

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

type ListManagedInstanceModulesSortOrderEnum ¶

type ListManagedInstanceModulesSortOrderEnum string

ListManagedInstanceModulesSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceModulesSortOrderAsc  ListManagedInstanceModulesSortOrderEnum = "ASC"
	ListManagedInstanceModulesSortOrderDesc ListManagedInstanceModulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceModulesSortOrderEnum

func GetListManagedInstanceModulesSortOrderEnumValues ¶

func GetListManagedInstanceModulesSortOrderEnumValues() []ListManagedInstanceModulesSortOrderEnum

GetListManagedInstanceModulesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceModulesSortOrderEnum

func GetMappingListManagedInstanceModulesSortOrderEnum ¶

func GetMappingListManagedInstanceModulesSortOrderEnum(val string) (ListManagedInstanceModulesSortOrderEnum, bool)

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

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

ListManagedInstanceUpdatablePackagesRequest wrapper for the ListManagedInstanceUpdatablePackages operation

See also ¶

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

func (ListManagedInstanceUpdatablePackagesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceUpdatablePackagesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceUpdatablePackagesRequest) RetryPolicy ¶

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

func (ListManagedInstanceUpdatablePackagesRequest) String ¶

func (ListManagedInstanceUpdatablePackagesRequest) ValidateEnumValue ¶

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

type ListManagedInstanceUpdatablePackagesResponse ¶

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

ListManagedInstanceUpdatablePackagesResponse wrapper for the ListManagedInstanceUpdatablePackages operation

func (ListManagedInstanceUpdatablePackagesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceUpdatablePackagesResponse) String ¶

type ListManagedInstanceUpdatablePackagesSortByEnum ¶

type ListManagedInstanceUpdatablePackagesSortByEnum string

ListManagedInstanceUpdatablePackagesSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceUpdatablePackagesSortByTimecreated ListManagedInstanceUpdatablePackagesSortByEnum = "timeCreated"
	ListManagedInstanceUpdatablePackagesSortByDisplayname ListManagedInstanceUpdatablePackagesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagedInstanceUpdatablePackagesSortByEnum

func GetListManagedInstanceUpdatablePackagesSortByEnumValues ¶

func GetListManagedInstanceUpdatablePackagesSortByEnumValues() []ListManagedInstanceUpdatablePackagesSortByEnum

GetListManagedInstanceUpdatablePackagesSortByEnumValues Enumerates the set of values for ListManagedInstanceUpdatablePackagesSortByEnum

func GetMappingListManagedInstanceUpdatablePackagesSortByEnum ¶

func GetMappingListManagedInstanceUpdatablePackagesSortByEnum(val string) (ListManagedInstanceUpdatablePackagesSortByEnum, bool)

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

type ListManagedInstanceUpdatablePackagesSortOrderEnum ¶

type ListManagedInstanceUpdatablePackagesSortOrderEnum string

ListManagedInstanceUpdatablePackagesSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceUpdatablePackagesSortOrderAsc  ListManagedInstanceUpdatablePackagesSortOrderEnum = "ASC"
	ListManagedInstanceUpdatablePackagesSortOrderDesc ListManagedInstanceUpdatablePackagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceUpdatablePackagesSortOrderEnum

func GetListManagedInstanceUpdatablePackagesSortOrderEnumValues ¶

func GetListManagedInstanceUpdatablePackagesSortOrderEnumValues() []ListManagedInstanceUpdatablePackagesSortOrderEnum

GetListManagedInstanceUpdatablePackagesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceUpdatablePackagesSortOrderEnum

func GetMappingListManagedInstanceUpdatablePackagesSortOrderEnum ¶

func GetMappingListManagedInstanceUpdatablePackagesSortOrderEnum(val string) (ListManagedInstanceUpdatablePackagesSortOrderEnum, bool)

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

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

ListManagedInstancesRequest wrapper for the ListManagedInstances operation

See also ¶

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

func (ListManagedInstancesRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstancesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstancesRequest) RetryPolicy ¶

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

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

func (ListManagedInstancesRequest) String ¶

func (request ListManagedInstancesRequest) String() string

func (ListManagedInstancesRequest) ValidateEnumValue ¶

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

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

type ListManagedInstancesResponse ¶

type ListManagedInstancesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ListManagedInstancesResponse wrapper for the ListManagedInstances operation

func (ListManagedInstancesResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListManagedInstancesResponse) String ¶

func (response ListManagedInstancesResponse) String() string

type ListManagedInstancesSortByEnum ¶

type ListManagedInstancesSortByEnum string

ListManagedInstancesSortByEnum Enum with underlying type: string

const (
	ListManagedInstancesSortByTimecreated ListManagedInstancesSortByEnum = "timeCreated"
	ListManagedInstancesSortByDisplayname ListManagedInstancesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagedInstancesSortByEnum

func GetListManagedInstancesSortByEnumValues ¶

func GetListManagedInstancesSortByEnumValues() []ListManagedInstancesSortByEnum

GetListManagedInstancesSortByEnumValues Enumerates the set of values for ListManagedInstancesSortByEnum

func GetMappingListManagedInstancesSortByEnum ¶

func GetMappingListManagedInstancesSortByEnum(val string) (ListManagedInstancesSortByEnum, bool)

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

type ListManagedInstancesSortOrderEnum ¶

type ListManagedInstancesSortOrderEnum string

ListManagedInstancesSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstancesSortOrderAsc  ListManagedInstancesSortOrderEnum = "ASC"
	ListManagedInstancesSortOrderDesc ListManagedInstancesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstancesSortOrderEnum

func GetListManagedInstancesSortOrderEnumValues ¶

func GetListManagedInstancesSortOrderEnumValues() []ListManagedInstancesSortOrderEnum

GetListManagedInstancesSortOrderEnumValues Enumerates the set of values for ListManagedInstancesSortOrderEnum

func GetMappingListManagedInstancesSortOrderEnum ¶

func GetMappingListManagedInstancesSortOrderEnum(val string) (ListManagedInstancesSortOrderEnum, bool)

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

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

ListManagementStationsRequest wrapper for the ListManagementStations operation

See also ¶

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

func (ListManagementStationsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListManagementStationsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListManagementStationsRequest) RetryPolicy ¶

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

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

func (ListManagementStationsRequest) String ¶

func (request ListManagementStationsRequest) String() string

func (ListManagementStationsRequest) ValidateEnumValue ¶

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

type ListManagementStationsResponse ¶

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

ListManagementStationsResponse wrapper for the ListManagementStations operation

func (ListManagementStationsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListManagementStationsResponse) String ¶

func (response ListManagementStationsResponse) String() string

type ListManagementStationsSortByEnum ¶

type ListManagementStationsSortByEnum string

ListManagementStationsSortByEnum Enum with underlying type: string

const (
	ListManagementStationsSortByTimecreated ListManagementStationsSortByEnum = "timeCreated"
	ListManagementStationsSortByDisplayname ListManagementStationsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagementStationsSortByEnum

func GetListManagementStationsSortByEnumValues ¶

func GetListManagementStationsSortByEnumValues() []ListManagementStationsSortByEnum

GetListManagementStationsSortByEnumValues Enumerates the set of values for ListManagementStationsSortByEnum

func GetMappingListManagementStationsSortByEnum ¶

func GetMappingListManagementStationsSortByEnum(val string) (ListManagementStationsSortByEnum, bool)

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

type ListManagementStationsSortOrderEnum ¶

type ListManagementStationsSortOrderEnum string

ListManagementStationsSortOrderEnum Enum with underlying type: string

const (
	ListManagementStationsSortOrderAsc  ListManagementStationsSortOrderEnum = "ASC"
	ListManagementStationsSortOrderDesc ListManagementStationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagementStationsSortOrderEnum

func GetListManagementStationsSortOrderEnumValues ¶

func GetListManagementStationsSortOrderEnumValues() []ListManagementStationsSortOrderEnum

GetListManagementStationsSortOrderEnumValues Enumerates the set of values for ListManagementStationsSortOrderEnum

func GetMappingListManagementStationsSortOrderEnum ¶

func GetMappingListManagementStationsSortOrderEnum(val string) (ListManagementStationsSortOrderEnum, bool)

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

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

ListMirrorsRequest wrapper for the ListMirrors operation

See also ¶

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

func (ListMirrorsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListMirrorsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListMirrorsRequest) RetryPolicy ¶

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

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

func (ListMirrorsRequest) String ¶

func (request ListMirrorsRequest) String() string

func (ListMirrorsRequest) ValidateEnumValue ¶

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

type ListMirrorsResponse ¶

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

ListMirrorsResponse wrapper for the ListMirrors operation

func (ListMirrorsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListMirrorsResponse) String ¶

func (response ListMirrorsResponse) String() string

type ListMirrorsSortByEnum ¶

type ListMirrorsSortByEnum string

ListMirrorsSortByEnum Enum with underlying type: string

const (
	ListMirrorsSortByTimecreated ListMirrorsSortByEnum = "timeCreated"
	ListMirrorsSortByDisplayname ListMirrorsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListMirrorsSortByEnum

func GetListMirrorsSortByEnumValues ¶

func GetListMirrorsSortByEnumValues() []ListMirrorsSortByEnum

GetListMirrorsSortByEnumValues Enumerates the set of values for ListMirrorsSortByEnum

func GetMappingListMirrorsSortByEnum ¶

func GetMappingListMirrorsSortByEnum(val string) (ListMirrorsSortByEnum, bool)

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

type ListMirrorsSortOrderEnum ¶

type ListMirrorsSortOrderEnum string

ListMirrorsSortOrderEnum Enum with underlying type: string

const (
	ListMirrorsSortOrderAsc  ListMirrorsSortOrderEnum = "ASC"
	ListMirrorsSortOrderDesc ListMirrorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMirrorsSortOrderEnum

func GetListMirrorsSortOrderEnumValues ¶

func GetListMirrorsSortOrderEnumValues() []ListMirrorsSortOrderEnum

GetListMirrorsSortOrderEnumValues Enumerates the set of values for ListMirrorsSortOrderEnum

func GetMappingListMirrorsSortOrderEnum ¶

func GetMappingListMirrorsSortOrderEnum(val string) (ListMirrorsSortOrderEnum, bool)

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

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

ListModuleStreamProfilesRequest wrapper for the ListModuleStreamProfiles operation

See also ¶

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

func (ListModuleStreamProfilesRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListModuleStreamProfilesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListModuleStreamProfilesRequest) RetryPolicy ¶

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

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

func (ListModuleStreamProfilesRequest) String ¶

func (request ListModuleStreamProfilesRequest) String() string

func (ListModuleStreamProfilesRequest) ValidateEnumValue ¶

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

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

type ListModuleStreamProfilesResponse ¶

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

ListModuleStreamProfilesResponse wrapper for the ListModuleStreamProfiles operation

func (ListModuleStreamProfilesResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListModuleStreamProfilesResponse) String ¶

func (response ListModuleStreamProfilesResponse) String() string

type ListModuleStreamProfilesSortByEnum ¶

type ListModuleStreamProfilesSortByEnum string

ListModuleStreamProfilesSortByEnum Enum with underlying type: string

const (
	ListModuleStreamProfilesSortByModulename ListModuleStreamProfilesSortByEnum = "moduleName"
)

Set of constants representing the allowable values for ListModuleStreamProfilesSortByEnum

func GetListModuleStreamProfilesSortByEnumValues ¶

func GetListModuleStreamProfilesSortByEnumValues() []ListModuleStreamProfilesSortByEnum

GetListModuleStreamProfilesSortByEnumValues Enumerates the set of values for ListModuleStreamProfilesSortByEnum

func GetMappingListModuleStreamProfilesSortByEnum ¶

func GetMappingListModuleStreamProfilesSortByEnum(val string) (ListModuleStreamProfilesSortByEnum, bool)

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

type ListModuleStreamProfilesSortOrderEnum ¶

type ListModuleStreamProfilesSortOrderEnum string

ListModuleStreamProfilesSortOrderEnum Enum with underlying type: string

const (
	ListModuleStreamProfilesSortOrderAsc  ListModuleStreamProfilesSortOrderEnum = "ASC"
	ListModuleStreamProfilesSortOrderDesc ListModuleStreamProfilesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListModuleStreamProfilesSortOrderEnum

func GetListModuleStreamProfilesSortOrderEnumValues ¶

func GetListModuleStreamProfilesSortOrderEnumValues() []ListModuleStreamProfilesSortOrderEnum

GetListModuleStreamProfilesSortOrderEnumValues Enumerates the set of values for ListModuleStreamProfilesSortOrderEnum

func GetMappingListModuleStreamProfilesSortOrderEnum ¶

func GetMappingListModuleStreamProfilesSortOrderEnum(val string) (ListModuleStreamProfilesSortOrderEnum, bool)

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

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

ListModuleStreamsRequest wrapper for the ListModuleStreams operation

See also ¶

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

func (ListModuleStreamsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListModuleStreamsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListModuleStreamsRequest) RetryPolicy ¶

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

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

func (ListModuleStreamsRequest) String ¶

func (request ListModuleStreamsRequest) String() string

func (ListModuleStreamsRequest) ValidateEnumValue ¶

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

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

type ListModuleStreamsResponse ¶

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

ListModuleStreamsResponse wrapper for the ListModuleStreams operation

func (ListModuleStreamsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListModuleStreamsResponse) String ¶

func (response ListModuleStreamsResponse) String() string

type ListModuleStreamsSortByEnum ¶

type ListModuleStreamsSortByEnum string

ListModuleStreamsSortByEnum Enum with underlying type: string

const (
	ListModuleStreamsSortByModulename ListModuleStreamsSortByEnum = "moduleName"
)

Set of constants representing the allowable values for ListModuleStreamsSortByEnum

func GetListModuleStreamsSortByEnumValues ¶

func GetListModuleStreamsSortByEnumValues() []ListModuleStreamsSortByEnum

GetListModuleStreamsSortByEnumValues Enumerates the set of values for ListModuleStreamsSortByEnum

func GetMappingListModuleStreamsSortByEnum ¶

func GetMappingListModuleStreamsSortByEnum(val string) (ListModuleStreamsSortByEnum, bool)

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

type ListModuleStreamsSortOrderEnum ¶

type ListModuleStreamsSortOrderEnum string

ListModuleStreamsSortOrderEnum Enum with underlying type: string

const (
	ListModuleStreamsSortOrderAsc  ListModuleStreamsSortOrderEnum = "ASC"
	ListModuleStreamsSortOrderDesc ListModuleStreamsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListModuleStreamsSortOrderEnum

func GetListModuleStreamsSortOrderEnumValues ¶

func GetListModuleStreamsSortOrderEnumValues() []ListModuleStreamsSortOrderEnum

GetListModuleStreamsSortOrderEnumValues Enumerates the set of values for ListModuleStreamsSortOrderEnum

func GetMappingListModuleStreamsSortOrderEnum ¶

func GetMappingListModuleStreamsSortOrderEnum(val string) (ListModuleStreamsSortOrderEnum, bool)

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

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

ListPackageGroupsRequest wrapper for the ListPackageGroups operation

See also ¶

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

func (ListPackageGroupsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListPackageGroupsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListPackageGroupsRequest) RetryPolicy ¶

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

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

func (ListPackageGroupsRequest) String ¶

func (request ListPackageGroupsRequest) String() string

func (ListPackageGroupsRequest) ValidateEnumValue ¶

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

type ListPackageGroupsResponse ¶

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

ListPackageGroupsResponse wrapper for the ListPackageGroups operation

func (ListPackageGroupsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListPackageGroupsResponse) String ¶

func (response ListPackageGroupsResponse) String() string

type ListPackageGroupsSortByEnum ¶

type ListPackageGroupsSortByEnum string

ListPackageGroupsSortByEnum Enum with underlying type: string

const (
	ListPackageGroupsSortByTimecreated ListPackageGroupsSortByEnum = "timeCreated"
	ListPackageGroupsSortByDisplayname ListPackageGroupsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListPackageGroupsSortByEnum

func GetListPackageGroupsSortByEnumValues ¶

func GetListPackageGroupsSortByEnumValues() []ListPackageGroupsSortByEnum

GetListPackageGroupsSortByEnumValues Enumerates the set of values for ListPackageGroupsSortByEnum

func GetMappingListPackageGroupsSortByEnum ¶

func GetMappingListPackageGroupsSortByEnum(val string) (ListPackageGroupsSortByEnum, bool)

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

type ListPackageGroupsSortOrderEnum ¶

type ListPackageGroupsSortOrderEnum string

ListPackageGroupsSortOrderEnum Enum with underlying type: string

const (
	ListPackageGroupsSortOrderAsc  ListPackageGroupsSortOrderEnum = "ASC"
	ListPackageGroupsSortOrderDesc ListPackageGroupsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPackageGroupsSortOrderEnum

func GetListPackageGroupsSortOrderEnumValues ¶

func GetListPackageGroupsSortOrderEnumValues() []ListPackageGroupsSortOrderEnum

GetListPackageGroupsSortOrderEnumValues Enumerates the set of values for ListPackageGroupsSortOrderEnum

func GetMappingListPackageGroupsSortOrderEnum ¶

func GetMappingListPackageGroupsSortOrderEnum(val string) (ListPackageGroupsSortOrderEnum, bool)

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

type ListProfilesArchTypeEnum ¶

type ListProfilesArchTypeEnum string

ListProfilesArchTypeEnum Enum with underlying type: string

const (
	ListProfilesArchTypeX8664   ListProfilesArchTypeEnum = "X86_64"
	ListProfilesArchTypeAarch64 ListProfilesArchTypeEnum = "AARCH64"
	ListProfilesArchTypeI686    ListProfilesArchTypeEnum = "I686"
	ListProfilesArchTypeNoarch  ListProfilesArchTypeEnum = "NOARCH"
	ListProfilesArchTypeSrc     ListProfilesArchTypeEnum = "SRC"
)

Set of constants representing the allowable values for ListProfilesArchTypeEnum

func GetListProfilesArchTypeEnumValues ¶

func GetListProfilesArchTypeEnumValues() []ListProfilesArchTypeEnum

GetListProfilesArchTypeEnumValues Enumerates the set of values for ListProfilesArchTypeEnum

func GetMappingListProfilesArchTypeEnum ¶

func GetMappingListProfilesArchTypeEnum(val string) (ListProfilesArchTypeEnum, bool)

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

type ListProfilesOsFamilyEnum ¶

type ListProfilesOsFamilyEnum string

ListProfilesOsFamilyEnum Enum with underlying type: string

const (
	ListProfilesOsFamily9 ListProfilesOsFamilyEnum = "ORACLE_LINUX_9"
	ListProfilesOsFamily8 ListProfilesOsFamilyEnum = "ORACLE_LINUX_8"
	ListProfilesOsFamily7 ListProfilesOsFamilyEnum = "ORACLE_LINUX_7"
)

Set of constants representing the allowable values for ListProfilesOsFamilyEnum

func GetListProfilesOsFamilyEnumValues ¶

func GetListProfilesOsFamilyEnumValues() []ListProfilesOsFamilyEnum

GetListProfilesOsFamilyEnumValues Enumerates the set of values for ListProfilesOsFamilyEnum

func GetMappingListProfilesOsFamilyEnum ¶

func GetMappingListProfilesOsFamilyEnum(val string) (ListProfilesOsFamilyEnum, bool)

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

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

ListProfilesRequest wrapper for the ListProfiles operation

See also ¶

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

func (ListProfilesRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListProfilesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListProfilesRequest) RetryPolicy ¶

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

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

func (ListProfilesRequest) String ¶

func (request ListProfilesRequest) String() string

func (ListProfilesRequest) ValidateEnumValue ¶

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

type ListProfilesResponse ¶

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

ListProfilesResponse wrapper for the ListProfiles operation

func (ListProfilesResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListProfilesResponse) String ¶

func (response ListProfilesResponse) String() string

type ListProfilesSortByEnum ¶

type ListProfilesSortByEnum string

ListProfilesSortByEnum Enum with underlying type: string

const (
	ListProfilesSortByTimecreated ListProfilesSortByEnum = "timeCreated"
	ListProfilesSortByDisplayname ListProfilesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListProfilesSortByEnum

func GetListProfilesSortByEnumValues ¶

func GetListProfilesSortByEnumValues() []ListProfilesSortByEnum

GetListProfilesSortByEnumValues Enumerates the set of values for ListProfilesSortByEnum

func GetMappingListProfilesSortByEnum ¶

func GetMappingListProfilesSortByEnum(val string) (ListProfilesSortByEnum, bool)

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

type ListProfilesSortOrderEnum ¶

type ListProfilesSortOrderEnum string

ListProfilesSortOrderEnum Enum with underlying type: string

const (
	ListProfilesSortOrderAsc  ListProfilesSortOrderEnum = "ASC"
	ListProfilesSortOrderDesc ListProfilesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListProfilesSortOrderEnum

func GetListProfilesSortOrderEnumValues ¶

func GetListProfilesSortOrderEnumValues() []ListProfilesSortOrderEnum

GetListProfilesSortOrderEnumValues Enumerates the set of values for ListProfilesSortOrderEnum

func GetMappingListProfilesSortOrderEnum ¶

func GetMappingListProfilesSortOrderEnum(val string) (ListProfilesSortOrderEnum, bool)

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

type ListProfilesVendorNameEnum ¶

type ListProfilesVendorNameEnum string

ListProfilesVendorNameEnum Enum with underlying type: string

const (
	ListProfilesVendorNameOracle ListProfilesVendorNameEnum = "ORACLE"
)

Set of constants representing the allowable values for ListProfilesVendorNameEnum

func GetListProfilesVendorNameEnumValues ¶

func GetListProfilesVendorNameEnumValues() []ListProfilesVendorNameEnum

GetListProfilesVendorNameEnumValues Enumerates the set of values for ListProfilesVendorNameEnum

func GetMappingListProfilesVendorNameEnum ¶

func GetMappingListProfilesVendorNameEnum(val string) (ListProfilesVendorNameEnum, bool)

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

type ListScheduledJobsOperationTypeEnum ¶

type ListScheduledJobsOperationTypeEnum string

ListScheduledJobsOperationTypeEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for ListScheduledJobsOperationTypeEnum

func GetListScheduledJobsOperationTypeEnumValues ¶

func GetListScheduledJobsOperationTypeEnumValues() []ListScheduledJobsOperationTypeEnum

GetListScheduledJobsOperationTypeEnumValues Enumerates the set of values for ListScheduledJobsOperationTypeEnum

func GetMappingListScheduledJobsOperationTypeEnum ¶

func GetMappingListScheduledJobsOperationTypeEnum(val string) (ListScheduledJobsOperationTypeEnum, bool)

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

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

ListScheduledJobsRequest wrapper for the ListScheduledJobs operation

See also ¶

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

func (ListScheduledJobsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListScheduledJobsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListScheduledJobsRequest) RetryPolicy ¶

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

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

func (ListScheduledJobsRequest) String ¶

func (request ListScheduledJobsRequest) String() string

func (ListScheduledJobsRequest) ValidateEnumValue ¶

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

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

type ListScheduledJobsResponse ¶

type ListScheduledJobsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ListScheduledJobsResponse wrapper for the ListScheduledJobs operation

func (ListScheduledJobsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListScheduledJobsResponse) String ¶

func (response ListScheduledJobsResponse) String() string

type ListScheduledJobsScheduleTypeEnum ¶

type ListScheduledJobsScheduleTypeEnum string

ListScheduledJobsScheduleTypeEnum Enum with underlying type: string

const (
	ListScheduledJobsScheduleTypeOnetime   ListScheduledJobsScheduleTypeEnum = "ONETIME"
	ListScheduledJobsScheduleTypeRecurring ListScheduledJobsScheduleTypeEnum = "RECURRING"
)

Set of constants representing the allowable values for ListScheduledJobsScheduleTypeEnum

func GetListScheduledJobsScheduleTypeEnumValues ¶

func GetListScheduledJobsScheduleTypeEnumValues() []ListScheduledJobsScheduleTypeEnum

GetListScheduledJobsScheduleTypeEnumValues Enumerates the set of values for ListScheduledJobsScheduleTypeEnum

func GetMappingListScheduledJobsScheduleTypeEnum ¶

func GetMappingListScheduledJobsScheduleTypeEnum(val string) (ListScheduledJobsScheduleTypeEnum, bool)

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

type ListScheduledJobsSortByEnum ¶

type ListScheduledJobsSortByEnum string

ListScheduledJobsSortByEnum Enum with underlying type: string

const (
	ListScheduledJobsSortByTimecreated ListScheduledJobsSortByEnum = "timeCreated"
	ListScheduledJobsSortByDisplayname ListScheduledJobsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListScheduledJobsSortByEnum

func GetListScheduledJobsSortByEnumValues ¶

func GetListScheduledJobsSortByEnumValues() []ListScheduledJobsSortByEnum

GetListScheduledJobsSortByEnumValues Enumerates the set of values for ListScheduledJobsSortByEnum

func GetMappingListScheduledJobsSortByEnum ¶

func GetMappingListScheduledJobsSortByEnum(val string) (ListScheduledJobsSortByEnum, bool)

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

type ListScheduledJobsSortOrderEnum ¶

type ListScheduledJobsSortOrderEnum string

ListScheduledJobsSortOrderEnum Enum with underlying type: string

const (
	ListScheduledJobsSortOrderAsc  ListScheduledJobsSortOrderEnum = "ASC"
	ListScheduledJobsSortOrderDesc ListScheduledJobsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListScheduledJobsSortOrderEnum

func GetListScheduledJobsSortOrderEnumValues ¶

func GetListScheduledJobsSortOrderEnumValues() []ListScheduledJobsSortOrderEnum

GetListScheduledJobsSortOrderEnumValues Enumerates the set of values for ListScheduledJobsSortOrderEnum

func GetMappingListScheduledJobsSortOrderEnum ¶

func GetMappingListScheduledJobsSortOrderEnum(val string) (ListScheduledJobsSortOrderEnum, bool)

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

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

ListSoftwarePackagesRequest wrapper for the ListSoftwarePackages operation

See also ¶

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

func (ListSoftwarePackagesRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListSoftwarePackagesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListSoftwarePackagesRequest) RetryPolicy ¶

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

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

func (ListSoftwarePackagesRequest) String ¶

func (request ListSoftwarePackagesRequest) String() string

func (ListSoftwarePackagesRequest) ValidateEnumValue ¶

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

type ListSoftwarePackagesResponse ¶

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

ListSoftwarePackagesResponse wrapper for the ListSoftwarePackages operation

func (ListSoftwarePackagesResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListSoftwarePackagesResponse) String ¶

func (response ListSoftwarePackagesResponse) String() string

type ListSoftwarePackagesSortByEnum ¶

type ListSoftwarePackagesSortByEnum string

ListSoftwarePackagesSortByEnum Enum with underlying type: string

const (
	ListSoftwarePackagesSortByTimecreated ListSoftwarePackagesSortByEnum = "timeCreated"
	ListSoftwarePackagesSortByDisplayname ListSoftwarePackagesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListSoftwarePackagesSortByEnum

func GetListSoftwarePackagesSortByEnumValues ¶

func GetListSoftwarePackagesSortByEnumValues() []ListSoftwarePackagesSortByEnum

GetListSoftwarePackagesSortByEnumValues Enumerates the set of values for ListSoftwarePackagesSortByEnum

func GetMappingListSoftwarePackagesSortByEnum ¶

func GetMappingListSoftwarePackagesSortByEnum(val string) (ListSoftwarePackagesSortByEnum, bool)

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

type ListSoftwarePackagesSortOrderEnum ¶

type ListSoftwarePackagesSortOrderEnum string

ListSoftwarePackagesSortOrderEnum Enum with underlying type: string

const (
	ListSoftwarePackagesSortOrderAsc  ListSoftwarePackagesSortOrderEnum = "ASC"
	ListSoftwarePackagesSortOrderDesc ListSoftwarePackagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSoftwarePackagesSortOrderEnum

func GetListSoftwarePackagesSortOrderEnumValues ¶

func GetListSoftwarePackagesSortOrderEnumValues() []ListSoftwarePackagesSortOrderEnum

GetListSoftwarePackagesSortOrderEnumValues Enumerates the set of values for ListSoftwarePackagesSortOrderEnum

func GetMappingListSoftwarePackagesSortOrderEnum ¶

func GetMappingListSoftwarePackagesSortOrderEnum(val string) (ListSoftwarePackagesSortOrderEnum, bool)

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

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

ListSoftwareSourceVendorsRequest wrapper for the ListSoftwareSourceVendors operation

See also ¶

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

func (ListSoftwareSourceVendorsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListSoftwareSourceVendorsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListSoftwareSourceVendorsRequest) RetryPolicy ¶

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

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

func (ListSoftwareSourceVendorsRequest) String ¶

func (request ListSoftwareSourceVendorsRequest) String() string

func (ListSoftwareSourceVendorsRequest) ValidateEnumValue ¶

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

type ListSoftwareSourceVendorsResponse ¶

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

ListSoftwareSourceVendorsResponse wrapper for the ListSoftwareSourceVendors operation

func (ListSoftwareSourceVendorsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListSoftwareSourceVendorsResponse) String ¶

func (response ListSoftwareSourceVendorsResponse) String() string

type ListSoftwareSourceVendorsSortByEnum ¶

type ListSoftwareSourceVendorsSortByEnum string

ListSoftwareSourceVendorsSortByEnum Enum with underlying type: string

const (
	ListSoftwareSourceVendorsSortByName ListSoftwareSourceVendorsSortByEnum = "name"
)

Set of constants representing the allowable values for ListSoftwareSourceVendorsSortByEnum

func GetListSoftwareSourceVendorsSortByEnumValues ¶

func GetListSoftwareSourceVendorsSortByEnumValues() []ListSoftwareSourceVendorsSortByEnum

GetListSoftwareSourceVendorsSortByEnumValues Enumerates the set of values for ListSoftwareSourceVendorsSortByEnum

func GetMappingListSoftwareSourceVendorsSortByEnum ¶

func GetMappingListSoftwareSourceVendorsSortByEnum(val string) (ListSoftwareSourceVendorsSortByEnum, bool)

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

type ListSoftwareSourceVendorsSortOrderEnum ¶

type ListSoftwareSourceVendorsSortOrderEnum string

ListSoftwareSourceVendorsSortOrderEnum Enum with underlying type: string

const (
	ListSoftwareSourceVendorsSortOrderAsc  ListSoftwareSourceVendorsSortOrderEnum = "ASC"
	ListSoftwareSourceVendorsSortOrderDesc ListSoftwareSourceVendorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSoftwareSourceVendorsSortOrderEnum

func GetListSoftwareSourceVendorsSortOrderEnumValues ¶

func GetListSoftwareSourceVendorsSortOrderEnumValues() []ListSoftwareSourceVendorsSortOrderEnum

GetListSoftwareSourceVendorsSortOrderEnumValues Enumerates the set of values for ListSoftwareSourceVendorsSortOrderEnum

func GetMappingListSoftwareSourceVendorsSortOrderEnum ¶

func GetMappingListSoftwareSourceVendorsSortOrderEnum(val string) (ListSoftwareSourceVendorsSortOrderEnum, bool)

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

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

ListSoftwareSourcesRequest wrapper for the ListSoftwareSources operation

See also ¶

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

func (ListSoftwareSourcesRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListSoftwareSourcesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListSoftwareSourcesRequest) RetryPolicy ¶

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

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

func (ListSoftwareSourcesRequest) String ¶

func (request ListSoftwareSourcesRequest) String() string

func (ListSoftwareSourcesRequest) ValidateEnumValue ¶

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

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

type ListSoftwareSourcesResponse ¶

type ListSoftwareSourcesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ListSoftwareSourcesResponse wrapper for the ListSoftwareSources operation

func (ListSoftwareSourcesResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListSoftwareSourcesResponse) String ¶

func (response ListSoftwareSourcesResponse) String() string

type ListSoftwareSourcesSortByEnum ¶

type ListSoftwareSourcesSortByEnum string

ListSoftwareSourcesSortByEnum Enum with underlying type: string

const (
	ListSoftwareSourcesSortByTimecreated ListSoftwareSourcesSortByEnum = "timeCreated"
	ListSoftwareSourcesSortByDisplayname ListSoftwareSourcesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListSoftwareSourcesSortByEnum

func GetListSoftwareSourcesSortByEnumValues ¶

func GetListSoftwareSourcesSortByEnumValues() []ListSoftwareSourcesSortByEnum

GetListSoftwareSourcesSortByEnumValues Enumerates the set of values for ListSoftwareSourcesSortByEnum

func GetMappingListSoftwareSourcesSortByEnum ¶

func GetMappingListSoftwareSourcesSortByEnum(val string) (ListSoftwareSourcesSortByEnum, bool)

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

type ListSoftwareSourcesSortOrderEnum ¶

type ListSoftwareSourcesSortOrderEnum string

ListSoftwareSourcesSortOrderEnum Enum with underlying type: string

const (
	ListSoftwareSourcesSortOrderAsc  ListSoftwareSourcesSortOrderEnum = "ASC"
	ListSoftwareSourcesSortOrderDesc ListSoftwareSourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSoftwareSourcesSortOrderEnum

func GetListSoftwareSourcesSortOrderEnumValues ¶

func GetListSoftwareSourcesSortOrderEnumValues() []ListSoftwareSourcesSortOrderEnum

GetListSoftwareSourcesSortOrderEnumValues Enumerates the set of values for ListSoftwareSourcesSortOrderEnum

func GetMappingListSoftwareSourcesSortOrderEnum ¶

func GetMappingListSoftwareSourcesSortOrderEnum(val string) (ListSoftwareSourcesSortOrderEnum, bool)

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

type ListSoftwareSourcesVendorNameEnum ¶

type ListSoftwareSourcesVendorNameEnum string

ListSoftwareSourcesVendorNameEnum Enum with underlying type: string

const (
	ListSoftwareSourcesVendorNameOracle ListSoftwareSourcesVendorNameEnum = "ORACLE"
)

Set of constants representing the allowable values for ListSoftwareSourcesVendorNameEnum

func GetListSoftwareSourcesVendorNameEnumValues ¶

func GetListSoftwareSourcesVendorNameEnumValues() []ListSoftwareSourcesVendorNameEnum

GetListSoftwareSourcesVendorNameEnumValues Enumerates the set of values for ListSoftwareSourcesVendorNameEnum

func GetMappingListSoftwareSourcesVendorNameEnum ¶

func GetMappingListSoftwareSourcesVendorNameEnum(val string) (ListSoftwareSourcesVendorNameEnum, bool)

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

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

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also ¶

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy ¶

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

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

func (ListWorkRequestErrorsRequest) String ¶

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue ¶

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

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

type ListWorkRequestErrorsResponse ¶

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String ¶

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum ¶

type ListWorkRequestErrorsSortByEnum string

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "timeCreated"
	ListWorkRequestErrorsSortByDisplayname ListWorkRequestErrorsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortByEnumValues ¶

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum ¶

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

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

type ListWorkRequestErrorsSortOrderEnum ¶

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
	ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues ¶

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum ¶

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

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

type ListWorkRequestLogsRequest ¶

type ListWorkRequestLogsRequest struct {

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

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also ¶

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

func (ListWorkRequestLogsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy ¶

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

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

func (ListWorkRequestLogsRequest) String ¶

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue ¶

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

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

type ListWorkRequestLogsResponse ¶

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse ¶

func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String ¶

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum ¶

type ListWorkRequestLogsSortByEnum string

ListWorkRequestLogsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "timeCreated"
	ListWorkRequestLogsSortByDisplayname ListWorkRequestLogsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortByEnumValues ¶

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum ¶

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsSortOrderEnum ¶

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
	ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues ¶

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum ¶

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

func (ListWorkRequestsRequest) BinaryRequestBody ¶

func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest ¶

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy ¶

func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestsRequest) String ¶

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue ¶

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResponse ¶

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of 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"`
}

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse ¶

func (response ListWorkRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String ¶

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum ¶

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByTimecreated ListWorkRequestsSortByEnum = "timeCreated"
	ListWorkRequestsSortByDisplayname ListWorkRequestsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues ¶

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum ¶

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsSortOrderEnum ¶

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
	ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues ¶

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum ¶

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ManageModuleStreamsInScheduledJobDetails ¶

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"`
}

ManageModuleStreamsInScheduledJobDetails The set of changes to make to the state of the modules, streams, and profiles on the managed target.

func (ManageModuleStreamsInScheduledJobDetails) String ¶

func (ManageModuleStreamsInScheduledJobDetails) ValidateEnumValue ¶

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

type ManageModuleStreamsOnManagedInstanceDetails ¶

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"`
}

ManageModuleStreamsOnManagedInstanceDetails The set of changes to make to the state of the modules, streams, and profiles on a managed instance

func (ManageModuleStreamsOnManagedInstanceDetails) String ¶

func (ManageModuleStreamsOnManagedInstanceDetails) ValidateEnumValue ¶

func (m ManageModuleStreamsOnManagedInstanceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManageModuleStreamsOnManagedInstanceGroupDetails ¶

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"`
}

ManageModuleStreamsOnManagedInstanceGroupDetails The set of changes to make to the state of the modules, streams, and profiles on a managed instance group.

func (ManageModuleStreamsOnManagedInstanceGroupDetails) String ¶

func (ManageModuleStreamsOnManagedInstanceGroupDetails) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type 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
}

ManageModuleStreamsOnManagedInstanceGroupRequest wrapper for the ManageModuleStreamsOnManagedInstanceGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/ManageModuleStreamsOnManagedInstanceGroup.go.html to see an example of how to use ManageModuleStreamsOnManagedInstanceGroupRequest.

func (ManageModuleStreamsOnManagedInstanceGroupRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ManageModuleStreamsOnManagedInstanceGroupRequest) HTTPRequest ¶

func (request ManageModuleStreamsOnManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ManageModuleStreamsOnManagedInstanceGroupRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ManageModuleStreamsOnManagedInstanceGroupRequest) String ¶

func (ManageModuleStreamsOnManagedInstanceGroupRequest) ValidateEnumValue ¶

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

type ManageModuleStreamsOnManagedInstanceGroupResponse ¶

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"`
}

ManageModuleStreamsOnManagedInstanceGroupResponse wrapper for the ManageModuleStreamsOnManagedInstanceGroup operation

func (ManageModuleStreamsOnManagedInstanceGroupResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ManageModuleStreamsOnManagedInstanceGroupResponse) String ¶

type 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
}

ManageModuleStreamsOnManagedInstanceRequest wrapper for the ManageModuleStreamsOnManagedInstance operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/ManageModuleStreamsOnManagedInstance.go.html to see an example of how to use ManageModuleStreamsOnManagedInstanceRequest.

func (ManageModuleStreamsOnManagedInstanceRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ManageModuleStreamsOnManagedInstanceRequest) HTTPRequest ¶

func (request ManageModuleStreamsOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ManageModuleStreamsOnManagedInstanceRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ManageModuleStreamsOnManagedInstanceRequest) String ¶

func (ManageModuleStreamsOnManagedInstanceRequest) ValidateEnumValue ¶

func (request ManageModuleStreamsOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManageModuleStreamsOnManagedInstanceResponse ¶

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"`
}

ManageModuleStreamsOnManagedInstanceResponse wrapper for the ManageModuleStreamsOnManagedInstance operation

func (ManageModuleStreamsOnManagedInstanceResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ManageModuleStreamsOnManagedInstanceResponse) String ¶

type ManagedInstance ¶

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"`
}

ManagedInstance Detail information for an OCI Compute instance that is being managed.

func (ManagedInstance) String ¶

func (m ManagedInstance) String() string

func (ManagedInstance) ValidateEnumValue ¶

func (m ManagedInstance) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedInstanceAnalyticCollection ¶

type ManagedInstanceAnalyticCollection struct {

	// List of managed instance analytic summary.
	Items []ManagedInstanceAnalyticSummary `mandatory:"true" json:"items"`
}

ManagedInstanceAnalyticCollection Collection of ManagedInstanceAnalyticSummary.

func (ManagedInstanceAnalyticCollection) String ¶

func (ManagedInstanceAnalyticCollection) ValidateEnumValue ¶

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

type ManagedInstanceAnalyticSummary ¶

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"`
}

ManagedInstanceAnalyticSummary A metric emitted by managed instance resource.

func (ManagedInstanceAnalyticSummary) String ¶

func (ManagedInstanceAnalyticSummary) ValidateEnumValue ¶

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

type ManagedInstanceClient ¶

type ManagedInstanceClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

ManagedInstanceClient a client for ManagedInstance

func NewManagedInstanceClientWithConfigurationProvider ¶

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 ¶

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 (ManagedInstanceClient) AttachSoftwareSourcesToManagedInstance ¶

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/latest/osmanagementhub/AttachSoftwareSourcesToManagedInstance.go.html to see an example of how to use AttachSoftwareSourcesToManagedInstance API. A default retry strategy applies to this operation AttachSoftwareSourcesToManagedInstance()

func (*ManagedInstanceClient) ConfigurationProvider ¶

func (client *ManagedInstanceClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (ManagedInstanceClient) DetachSoftwareSourcesFromManagedInstance ¶

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/latest/osmanagementhub/DetachSoftwareSourcesFromManagedInstance.go.html to see an example of how to use DetachSoftwareSourcesFromManagedInstance API. A default retry strategy applies to this operation DetachSoftwareSourcesFromManagedInstance()

func (ManagedInstanceClient) DisableModuleStreamOnManagedInstance ¶

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/latest/osmanagementhub/DisableModuleStreamOnManagedInstance.go.html to see an example of how to use DisableModuleStreamOnManagedInstance API. A default retry strategy applies to this operation DisableModuleStreamOnManagedInstance()

func (ManagedInstanceClient) EnableModuleStreamOnManagedInstance ¶

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/latest/osmanagementhub/EnableModuleStreamOnManagedInstance.go.html to see an example of how to use EnableModuleStreamOnManagedInstance API. A default retry strategy applies to this operation EnableModuleStreamOnManagedInstance()

func (ManagedInstanceClient) GetManagedInstance ¶

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/latest/osmanagementhub/GetManagedInstance.go.html to see an example of how to use GetManagedInstance API. A default retry strategy applies to this operation GetManagedInstance()

func (ManagedInstanceClient) InstallModuleStreamProfileOnManagedInstance ¶

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/latest/osmanagementhub/InstallModuleStreamProfileOnManagedInstance.go.html to see an example of how to use InstallModuleStreamProfileOnManagedInstance API. A default retry strategy applies to this operation InstallModuleStreamProfileOnManagedInstance()

func (ManagedInstanceClient) InstallPackagesOnManagedInstance ¶

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/latest/osmanagementhub/InstallPackagesOnManagedInstance.go.html to see an example of how to use InstallPackagesOnManagedInstance API. A default retry strategy applies to this operation InstallPackagesOnManagedInstance()

func (ManagedInstanceClient) ListManagedInstanceAvailablePackages ¶

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/latest/osmanagementhub/ListManagedInstanceAvailablePackages.go.html to see an example of how to use ListManagedInstanceAvailablePackages API. A default retry strategy applies to this operation ListManagedInstanceAvailablePackages()

func (ManagedInstanceClient) ListManagedInstanceAvailableSoftwareSources ¶

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/latest/osmanagementhub/ListManagedInstanceAvailableSoftwareSources.go.html to see an example of how to use ListManagedInstanceAvailableSoftwareSources API. A default retry strategy applies to this operation ListManagedInstanceAvailableSoftwareSources()

func (ManagedInstanceClient) ListManagedInstanceErrata ¶

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/latest/osmanagementhub/ListManagedInstanceErrata.go.html to see an example of how to use ListManagedInstanceErrata API. A default retry strategy applies to this operation ListManagedInstanceErrata()

func (ManagedInstanceClient) ListManagedInstanceInstalledPackages ¶

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/latest/osmanagementhub/ListManagedInstanceInstalledPackages.go.html to see an example of how to use ListManagedInstanceInstalledPackages API. A default retry strategy applies to this operation ListManagedInstanceInstalledPackages()

func (ManagedInstanceClient) ListManagedInstanceModules ¶

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/latest/osmanagementhub/ListManagedInstanceModules.go.html to see an example of how to use ListManagedInstanceModules API. A default retry strategy applies to this operation ListManagedInstanceModules()

func (ManagedInstanceClient) ListManagedInstanceUpdatablePackages ¶

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/latest/osmanagementhub/ListManagedInstanceUpdatablePackages.go.html to see an example of how to use ListManagedInstanceUpdatablePackages API. A default retry strategy applies to this operation ListManagedInstanceUpdatablePackages()

func (ManagedInstanceClient) ListManagedInstances ¶

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/latest/osmanagementhub/ListManagedInstances.go.html to see an example of how to use ListManagedInstances API. A default retry strategy applies to this operation ListManagedInstances()

func (ManagedInstanceClient) ManageModuleStreamsOnManagedInstance ¶

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/latest/osmanagementhub/ManageModuleStreamsOnManagedInstance.go.html to see an example of how to use ManageModuleStreamsOnManagedInstance API. A default retry strategy applies to this operation ManageModuleStreamsOnManagedInstance()

func (ManagedInstanceClient) RefreshSoftwareOnManagedInstance ¶

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/latest/osmanagementhub/RefreshSoftwareOnManagedInstance.go.html to see an example of how to use RefreshSoftwareOnManagedInstance API. A default retry strategy applies to this operation RefreshSoftwareOnManagedInstance()

func (ManagedInstanceClient) RemoveModuleStreamProfileFromManagedInstance ¶

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/latest/osmanagementhub/RemoveModuleStreamProfileFromManagedInstance.go.html to see an example of how to use RemoveModuleStreamProfileFromManagedInstance API. A default retry strategy applies to this operation RemoveModuleStreamProfileFromManagedInstance()

func (ManagedInstanceClient) RemovePackagesFromManagedInstance ¶

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/latest/osmanagementhub/RemovePackagesFromManagedInstance.go.html to see an example of how to use RemovePackagesFromManagedInstance API. A default retry strategy applies to this operation RemovePackagesFromManagedInstance()

func (*ManagedInstanceClient) SetRegion ¶

func (client *ManagedInstanceClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ManagedInstanceClient) SwitchModuleStreamOnManagedInstance ¶

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/latest/osmanagementhub/SwitchModuleStreamOnManagedInstance.go.html to see an example of how to use SwitchModuleStreamOnManagedInstance API. A default retry strategy applies to this operation SwitchModuleStreamOnManagedInstance()

func (ManagedInstanceClient) UpdateAllPackagesOnManagedInstancesInCompartment ¶

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/latest/osmanagementhub/UpdateAllPackagesOnManagedInstancesInCompartment.go.html to see an example of how to use UpdateAllPackagesOnManagedInstancesInCompartment API. A default retry strategy applies to this operation UpdateAllPackagesOnManagedInstancesInCompartment()

func (ManagedInstanceClient) UpdateManagedInstance ¶

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/latest/osmanagementhub/UpdateManagedInstance.go.html to see an example of how to use UpdateManagedInstance API. A default retry strategy applies to this operation UpdateManagedInstance()

func (ManagedInstanceClient) UpdatePackagesOnManagedInstance ¶

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/latest/osmanagementhub/UpdatePackagesOnManagedInstance.go.html to see an example of how to use UpdatePackagesOnManagedInstance API. A default retry strategy applies to this operation UpdatePackagesOnManagedInstance()

type ManagedInstanceCollection ¶

type ManagedInstanceCollection struct {

	// List of managed instances.
	Items []ManagedInstanceSummary `mandatory:"true" json:"items"`
}

ManagedInstanceCollection Results of a managed instance search. Contains both managed instance summary items and other data.

func (ManagedInstanceCollection) String ¶

func (m ManagedInstanceCollection) String() string

func (ManagedInstanceCollection) ValidateEnumValue ¶

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

type ManagedInstanceDetails ¶

type ManagedInstanceDetails struct {

	// The OCID of the managed instance.
	Id *string `mandatory:"true" json:"id"`

	// Managed instance name.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

ManagedInstanceDetails Identifying information for the specified managed instance.

func (ManagedInstanceDetails) String ¶

func (m ManagedInstanceDetails) String() string

func (ManagedInstanceDetails) ValidateEnumValue ¶

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

type ManagedInstanceErratumSummary ¶

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"`
}

ManagedInstanceErratumSummary An erratum associated with a managed instance.

func (ManagedInstanceErratumSummary) String ¶

func (ManagedInstanceErratumSummary) ValidateEnumValue ¶

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

type ManagedInstanceErratumSummaryCollection ¶

type ManagedInstanceErratumSummaryCollection struct {

	// List of errata.
	Items []ManagedInstanceErratumSummary `mandatory:"true" json:"items"`
}

ManagedInstanceErratumSummaryCollection Results of an errata search on a managed instance.

func (ManagedInstanceErratumSummaryCollection) String ¶

func (ManagedInstanceErratumSummaryCollection) ValidateEnumValue ¶

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

type ManagedInstanceGroup ¶

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"`
}

ManagedInstanceGroup Description of managed instance group.

func (ManagedInstanceGroup) String ¶

func (m ManagedInstanceGroup) String() string

func (ManagedInstanceGroup) ValidateEnumValue ¶

func (m ManagedInstanceGroup) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedInstanceGroupAvailableModuleCollection ¶

type ManagedInstanceGroupAvailableModuleCollection struct {

	// List of module stream profile.
	Items []ManagedInstanceGroupAvailableModuleSummary `mandatory:"true" json:"items"`
}

ManagedInstanceGroupAvailableModuleCollection Results of a module stream profile search. Contains both ModuleStreamProfileSummary items and other information, such as metadata.

func (ManagedInstanceGroupAvailableModuleCollection) String ¶

func (ManagedInstanceGroupAvailableModuleCollection) ValidateEnumValue ¶

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

type ManagedInstanceGroupAvailableModuleSummary ¶

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"`
}

ManagedInstanceGroupAvailableModuleSummary Summary information pertaining to a module stream profile provided by a software source.

func (ManagedInstanceGroupAvailableModuleSummary) String ¶

func (ManagedInstanceGroupAvailableModuleSummary) ValidateEnumValue ¶

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

type ManagedInstanceGroupAvailablePackageCollection ¶

type ManagedInstanceGroupAvailablePackageCollection struct {

	// List of available packages.
	Items []ManagedInstanceGroupAvailablePackageSummary `mandatory:"true" json:"items"`
}

ManagedInstanceGroupAvailablePackageCollection Results of an available package search on a managed instance group.

func (ManagedInstanceGroupAvailablePackageCollection) String ¶

func (ManagedInstanceGroupAvailablePackageCollection) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedInstanceGroupAvailablePackageSummary ¶

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"`
}

ManagedInstanceGroupAvailablePackageSummary Summary information pertaining to an available package for a managed instance group.

func (ManagedInstanceGroupAvailablePackageSummary) String ¶

func (ManagedInstanceGroupAvailablePackageSummary) ValidateEnumValue ¶

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

type ManagedInstanceGroupClient ¶

type ManagedInstanceGroupClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

ManagedInstanceGroupClient a client for ManagedInstanceGroup

func NewManagedInstanceGroupClientWithConfigurationProvider ¶

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 ¶

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 (ManagedInstanceGroupClient) AttachManagedInstancesToManagedInstanceGroup ¶

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/latest/osmanagementhub/AttachManagedInstancesToManagedInstanceGroup.go.html to see an example of how to use AttachManagedInstancesToManagedInstanceGroup API. A default retry strategy applies to this operation AttachManagedInstancesToManagedInstanceGroup()

func (ManagedInstanceGroupClient) AttachSoftwareSourcesToManagedInstanceGroup ¶

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/latest/osmanagementhub/AttachSoftwareSourcesToManagedInstanceGroup.go.html to see an example of how to use AttachSoftwareSourcesToManagedInstanceGroup API. A default retry strategy applies to this operation AttachSoftwareSourcesToManagedInstanceGroup()

func (*ManagedInstanceGroupClient) ConfigurationProvider ¶

func (client *ManagedInstanceGroupClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (ManagedInstanceGroupClient) CreateManagedInstanceGroup ¶

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/latest/osmanagementhub/CreateManagedInstanceGroup.go.html to see an example of how to use CreateManagedInstanceGroup API. A default retry strategy applies to this operation CreateManagedInstanceGroup()

func (ManagedInstanceGroupClient) DeleteManagedInstanceGroup ¶

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/latest/osmanagementhub/DeleteManagedInstanceGroup.go.html to see an example of how to use DeleteManagedInstanceGroup API. A default retry strategy applies to this operation DeleteManagedInstanceGroup()

func (ManagedInstanceGroupClient) DetachManagedInstancesFromManagedInstanceGroup ¶

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/latest/osmanagementhub/DetachManagedInstancesFromManagedInstanceGroup.go.html to see an example of how to use DetachManagedInstancesFromManagedInstanceGroup API. A default retry strategy applies to this operation DetachManagedInstancesFromManagedInstanceGroup()

func (ManagedInstanceGroupClient) DetachSoftwareSourcesFromManagedInstanceGroup ¶

DetachSoftwareSourcesFromManagedInstanceGroup Detaches software sources from a group.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/DetachSoftwareSourcesFromManagedInstanceGroup.go.html to see an example of how to use DetachSoftwareSourcesFromManagedInstanceGroup API. A default retry strategy applies to this operation DetachSoftwareSourcesFromManagedInstanceGroup()

func (ManagedInstanceGroupClient) DisableModuleStreamOnManagedInstanceGroup ¶

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/latest/osmanagementhub/DisableModuleStreamOnManagedInstanceGroup.go.html to see an example of how to use DisableModuleStreamOnManagedInstanceGroup API. A default retry strategy applies to this operation DisableModuleStreamOnManagedInstanceGroup()

func (ManagedInstanceGroupClient) EnableModuleStreamOnManagedInstanceGroup ¶

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/latest/osmanagementhub/EnableModuleStreamOnManagedInstanceGroup.go.html to see an example of how to use EnableModuleStreamOnManagedInstanceGroup API. A default retry strategy applies to this operation EnableModuleStreamOnManagedInstanceGroup()

func (ManagedInstanceGroupClient) GetManagedInstanceGroup ¶

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/latest/osmanagementhub/GetManagedInstanceGroup.go.html to see an example of how to use GetManagedInstanceGroup API. A default retry strategy applies to this operation GetManagedInstanceGroup()

func (ManagedInstanceGroupClient) InstallModuleStreamProfileOnManagedInstanceGroup ¶

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/latest/osmanagementhub/InstallModuleStreamProfileOnManagedInstanceGroup.go.html to see an example of how to use InstallModuleStreamProfileOnManagedInstanceGroup API. A default retry strategy applies to this operation InstallModuleStreamProfileOnManagedInstanceGroup()

func (ManagedInstanceGroupClient) InstallPackagesOnManagedInstanceGroup ¶

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/latest/osmanagementhub/InstallPackagesOnManagedInstanceGroup.go.html to see an example of how to use InstallPackagesOnManagedInstanceGroup API. A default retry strategy applies to this operation InstallPackagesOnManagedInstanceGroup()

func (ManagedInstanceGroupClient) ListManagedInstanceGroupAvailableModules ¶

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/latest/osmanagementhub/ListManagedInstanceGroupAvailableModules.go.html to see an example of how to use ListManagedInstanceGroupAvailableModules API. A default retry strategy applies to this operation ListManagedInstanceGroupAvailableModules()

func (ManagedInstanceGroupClient) ListManagedInstanceGroupAvailablePackages ¶

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/latest/osmanagementhub/ListManagedInstanceGroupAvailablePackages.go.html to see an example of how to use ListManagedInstanceGroupAvailablePackages API. A default retry strategy applies to this operation ListManagedInstanceGroupAvailablePackages()

func (ManagedInstanceGroupClient) ListManagedInstanceGroupAvailableSoftwareSources ¶

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/latest/osmanagementhub/ListManagedInstanceGroupAvailableSoftwareSources.go.html to see an example of how to use ListManagedInstanceGroupAvailableSoftwareSources API. A default retry strategy applies to this operation ListManagedInstanceGroupAvailableSoftwareSources()

func (ManagedInstanceGroupClient) ListManagedInstanceGroupInstalledPackages ¶

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/latest/osmanagementhub/ListManagedInstanceGroupInstalledPackages.go.html to see an example of how to use ListManagedInstanceGroupInstalledPackages API. A default retry strategy applies to this operation ListManagedInstanceGroupInstalledPackages()

func (ManagedInstanceGroupClient) ListManagedInstanceGroupModules ¶

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/latest/osmanagementhub/ListManagedInstanceGroupModules.go.html to see an example of how to use ListManagedInstanceGroupModules API. A default retry strategy applies to this operation ListManagedInstanceGroupModules()

func (ManagedInstanceGroupClient) ListManagedInstanceGroups ¶

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/latest/osmanagementhub/ListManagedInstanceGroups.go.html to see an example of how to use ListManagedInstanceGroups API. A default retry strategy applies to this operation ListManagedInstanceGroups()

func (ManagedInstanceGroupClient) ManageModuleStreamsOnManagedInstanceGroup ¶

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/latest/osmanagementhub/ManageModuleStreamsOnManagedInstanceGroup.go.html to see an example of how to use ManageModuleStreamsOnManagedInstanceGroup API. A default retry strategy applies to this operation ManageModuleStreamsOnManagedInstanceGroup()

func (ManagedInstanceGroupClient) RemoveModuleStreamProfileFromManagedInstanceGroup ¶

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/latest/osmanagementhub/RemoveModuleStreamProfileFromManagedInstanceGroup.go.html to see an example of how to use RemoveModuleStreamProfileFromManagedInstanceGroup API. A default retry strategy applies to this operation RemoveModuleStreamProfileFromManagedInstanceGroup()

func (ManagedInstanceGroupClient) RemovePackagesFromManagedInstanceGroup ¶

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/latest/osmanagementhub/RemovePackagesFromManagedInstanceGroup.go.html to see an example of how to use RemovePackagesFromManagedInstanceGroup API. A default retry strategy applies to this operation RemovePackagesFromManagedInstanceGroup()

func (*ManagedInstanceGroupClient) SetRegion ¶

func (client *ManagedInstanceGroupClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ManagedInstanceGroupClient) UpdateAllPackagesOnManagedInstanceGroup ¶

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/latest/osmanagementhub/UpdateAllPackagesOnManagedInstanceGroup.go.html to see an example of how to use UpdateAllPackagesOnManagedInstanceGroup API. A default retry strategy applies to this operation UpdateAllPackagesOnManagedInstanceGroup()

func (ManagedInstanceGroupClient) UpdateManagedInstanceGroup ¶

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/latest/osmanagementhub/UpdateManagedInstanceGroup.go.html to see an example of how to use UpdateManagedInstanceGroup API. A default retry strategy applies to this operation UpdateManagedInstanceGroup()

type ManagedInstanceGroupCollection ¶

type ManagedInstanceGroupCollection struct {

	// List of managed instance groups.
	Items []ManagedInstanceGroupSummary `mandatory:"true" json:"items"`
}

ManagedInstanceGroupCollection Results of a managed instance group search. Contains both managed instance group summary items and other data.

func (ManagedInstanceGroupCollection) String ¶

func (ManagedInstanceGroupCollection) ValidateEnumValue ¶

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

type ManagedInstanceGroupDetails ¶

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"`
}

ManagedInstanceGroupDetails Identifying information for the specified managed instance group.

func (ManagedInstanceGroupDetails) String ¶

func (ManagedInstanceGroupDetails) ValidateEnumValue ¶

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

type ManagedInstanceGroupInstalledPackageCollection ¶

type ManagedInstanceGroupInstalledPackageCollection struct {

	// List of installed packages.
	Items []ManagedInstanceGroupInstalledPackageSummary `mandatory:"true" json:"items"`
}

ManagedInstanceGroupInstalledPackageCollection Results of a search for installed packages on a managed instance group.

func (ManagedInstanceGroupInstalledPackageCollection) String ¶

func (ManagedInstanceGroupInstalledPackageCollection) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedInstanceGroupInstalledPackageSummary ¶

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"`
}

ManagedInstanceGroupInstalledPackageSummary Summary information pertaining to an installed package on a managed instance group.

func (ManagedInstanceGroupInstalledPackageSummary) String ¶

func (ManagedInstanceGroupInstalledPackageSummary) ValidateEnumValue ¶

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

type ManagedInstanceGroupLifecycleStateEnum ¶

type ManagedInstanceGroupLifecycleStateEnum string

ManagedInstanceGroupLifecycleStateEnum Enum with underlying type: string

const (
	ManagedInstanceGroupLifecycleStateCreating ManagedInstanceGroupLifecycleStateEnum = "CREATING"
	ManagedInstanceGroupLifecycleStateUpdating ManagedInstanceGroupLifecycleStateEnum = "UPDATING"
	ManagedInstanceGroupLifecycleStateActive   ManagedInstanceGroupLifecycleStateEnum = "ACTIVE"
	ManagedInstanceGroupLifecycleStateDeleting ManagedInstanceGroupLifecycleStateEnum = "DELETING"
	ManagedInstanceGroupLifecycleStateDeleted  ManagedInstanceGroupLifecycleStateEnum = "DELETED"
	ManagedInstanceGroupLifecycleStateFailed   ManagedInstanceGroupLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ManagedInstanceGroupLifecycleStateEnum

func GetManagedInstanceGroupLifecycleStateEnumValues ¶

func GetManagedInstanceGroupLifecycleStateEnumValues() []ManagedInstanceGroupLifecycleStateEnum

GetManagedInstanceGroupLifecycleStateEnumValues Enumerates the set of values for ManagedInstanceGroupLifecycleStateEnum

func GetMappingManagedInstanceGroupLifecycleStateEnum ¶

func GetMappingManagedInstanceGroupLifecycleStateEnum(val string) (ManagedInstanceGroupLifecycleStateEnum, bool)

GetMappingManagedInstanceGroupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ManagedInstanceGroupModuleCollection ¶

type ManagedInstanceGroupModuleCollection struct {

	// List of module streams.
	Items []ManagedInstanceGroupModuleSummary `mandatory:"true" json:"items"`
}

ManagedInstanceGroupModuleCollection Results of a search for module streams on a managed instance group. Contains both ModuleStreamOnManagedInstanceGroupSummary items and other data.

func (ManagedInstanceGroupModuleCollection) String ¶

func (ManagedInstanceGroupModuleCollection) ValidateEnumValue ¶

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

type ManagedInstanceGroupModuleSummary ¶

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"`
}

ManagedInstanceGroupModuleSummary Summary information pertaining to a module on a managed instance group.

func (ManagedInstanceGroupModuleSummary) String ¶

func (ManagedInstanceGroupModuleSummary) ValidateEnumValue ¶

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

type ManagedInstanceGroupSummary ¶

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"`
}

ManagedInstanceGroupSummary Summary of the managed instance group.

func (ManagedInstanceGroupSummary) String ¶

func (ManagedInstanceGroupSummary) ValidateEnumValue ¶

func (m ManagedInstanceGroupSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedInstanceLocationEnum ¶

type ManagedInstanceLocationEnum string

ManagedInstanceLocationEnum Enum with underlying type: string

const (
	ManagedInstanceLocationOnPremise  ManagedInstanceLocationEnum = "ON_PREMISE"
	ManagedInstanceLocationOciCompute ManagedInstanceLocationEnum = "OCI_COMPUTE"
	ManagedInstanceLocationAzure      ManagedInstanceLocationEnum = "AZURE"
	ManagedInstanceLocationEc2        ManagedInstanceLocationEnum = "EC2"
)

Set of constants representing the allowable values for ManagedInstanceLocationEnum

func GetManagedInstanceLocationEnumValues ¶

func GetManagedInstanceLocationEnumValues() []ManagedInstanceLocationEnum

GetManagedInstanceLocationEnumValues Enumerates the set of values for ManagedInstanceLocationEnum

func GetMappingManagedInstanceLocationEnum ¶

func GetMappingManagedInstanceLocationEnum(val string) (ManagedInstanceLocationEnum, bool)

GetMappingManagedInstanceLocationEnum performs case Insensitive comparison on enum value and return the desired enum

type ManagedInstanceModuleCollection ¶

type ManagedInstanceModuleCollection struct {

	// List of module streams.
	Items []ManagedInstanceModuleSummary `mandatory:"true" json:"items"`
}

ManagedInstanceModuleCollection Results of a search for module streams on a managed instance. Contains both ManagedInstanceModuleSummary items and other data.

func (ManagedInstanceModuleCollection) String ¶

func (ManagedInstanceModuleCollection) ValidateEnumValue ¶

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

type ManagedInstanceModuleSummary ¶

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"`
}

ManagedInstanceModuleSummary Summary information pertaining to a module on a managed instance.

func (ManagedInstanceModuleSummary) String ¶

func (ManagedInstanceModuleSummary) ValidateEnumValue ¶

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

type ManagedInstanceStatusEnum ¶

type ManagedInstanceStatusEnum string

ManagedInstanceStatusEnum Enum with underlying type: string

const (
	ManagedInstanceStatusNormal            ManagedInstanceStatusEnum = "NORMAL"
	ManagedInstanceStatusUnreachable       ManagedInstanceStatusEnum = "UNREACHABLE"
	ManagedInstanceStatusError             ManagedInstanceStatusEnum = "ERROR"
	ManagedInstanceStatusWarning           ManagedInstanceStatusEnum = "WARNING"
	ManagedInstanceStatusRegistrationError ManagedInstanceStatusEnum = "REGISTRATION_ERROR"
)

Set of constants representing the allowable values for ManagedInstanceStatusEnum

func GetManagedInstanceStatusEnumValues ¶

func GetManagedInstanceStatusEnumValues() []ManagedInstanceStatusEnum

GetManagedInstanceStatusEnumValues Enumerates the set of values for ManagedInstanceStatusEnum

func GetMappingManagedInstanceStatusEnum ¶

func GetMappingManagedInstanceStatusEnum(val string) (ManagedInstanceStatusEnum, bool)

GetMappingManagedInstanceStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ManagedInstanceSummary ¶

type ManagedInstanceSummary struct {

	// 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"`
}

ManagedInstanceSummary Summary of the ManagedInstance.

func (ManagedInstanceSummary) String ¶

func (m ManagedInstanceSummary) String() string

func (ManagedInstanceSummary) ValidateEnumValue ¶

func (m ManagedInstanceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedInstancesDetails ¶

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"`
}

ManagedInstancesDetails The details about the managed instances.

func (ManagedInstancesDetails) String ¶

func (m ManagedInstancesDetails) String() string

func (ManagedInstancesDetails) ValidateEnumValue ¶

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

type ManagementStation ¶

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"`
}

ManagementStation Detailed information about an ManagementStation config

func (ManagementStation) String ¶

func (m ManagementStation) String() string

func (ManagementStation) ValidateEnumValue ¶

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

type ManagementStationClient ¶

type ManagementStationClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

ManagementStationClient a client for ManagementStation

func NewManagementStationClientWithConfigurationProvider ¶

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 ¶

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 (*ManagementStationClient) ConfigurationProvider ¶

func (client *ManagementStationClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (ManagementStationClient) CreateManagementStation ¶

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/latest/osmanagementhub/CreateManagementStation.go.html to see an example of how to use CreateManagementStation API. A default retry strategy applies to this operation CreateManagementStation()

func (ManagementStationClient) DeleteManagementStation ¶

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/latest/osmanagementhub/DeleteManagementStation.go.html to see an example of how to use DeleteManagementStation API. A default retry strategy applies to this operation DeleteManagementStation()

func (ManagementStationClient) GetManagementStation ¶

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/latest/osmanagementhub/GetManagementStation.go.html to see an example of how to use GetManagementStation API. A default retry strategy applies to this operation GetManagementStation()

func (ManagementStationClient) ListManagementStations ¶

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/latest/osmanagementhub/ListManagementStations.go.html to see an example of how to use ListManagementStations API. A default retry strategy applies to this operation ListManagementStations()

func (ManagementStationClient) ListMirrors ¶

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/latest/osmanagementhub/ListMirrors.go.html to see an example of how to use ListMirrors API. A default retry strategy applies to this operation ListMirrors()

func (*ManagementStationClient) SetRegion ¶

func (client *ManagementStationClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ManagementStationClient) SynchronizeMirrors ¶

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/latest/osmanagementhub/SynchronizeMirrors.go.html to see an example of how to use SynchronizeMirrors API. A default retry strategy applies to this operation SynchronizeMirrors()

func (ManagementStationClient) SynchronizeSingleMirrors ¶

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/latest/osmanagementhub/SynchronizeSingleMirrors.go.html to see an example of how to use SynchronizeSingleMirrors API. A default retry strategy applies to this operation SynchronizeSingleMirrors()

func (ManagementStationClient) UpdateManagementStation ¶

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/latest/osmanagementhub/UpdateManagementStation.go.html to see an example of how to use UpdateManagementStation API. A default retry strategy applies to this operation UpdateManagementStation()

type ManagementStationCollection ¶

type ManagementStationCollection struct {

	// List of managementStations.
	Items []ManagementStationSummary `mandatory:"true" json:"items"`
}

ManagementStationCollection Results of a managementstation search. Contains boh ManagementStationSummary items and other information, such as metadata.

func (ManagementStationCollection) String ¶

func (ManagementStationCollection) ValidateEnumValue ¶

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

type ManagementStationDetails ¶

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"`
}

ManagementStationDetails The config details of the management stations to be configured for a managed instance.

func (ManagementStationDetails) String ¶

func (m ManagementStationDetails) String() string

func (ManagementStationDetails) ValidateEnumValue ¶

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

type ManagementStationLifecycleStateEnum ¶

type ManagementStationLifecycleStateEnum string

ManagementStationLifecycleStateEnum Enum with underlying type: string

const (
	ManagementStationLifecycleStateCreating ManagementStationLifecycleStateEnum = "CREATING"
	ManagementStationLifecycleStateUpdating ManagementStationLifecycleStateEnum = "UPDATING"
	ManagementStationLifecycleStateActive   ManagementStationLifecycleStateEnum = "ACTIVE"
	ManagementStationLifecycleStateDeleting ManagementStationLifecycleStateEnum = "DELETING"
	ManagementStationLifecycleStateDeleted  ManagementStationLifecycleStateEnum = "DELETED"
	ManagementStationLifecycleStateFailed   ManagementStationLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ManagementStationLifecycleStateEnum

func GetManagementStationLifecycleStateEnumValues ¶

func GetManagementStationLifecycleStateEnumValues() []ManagementStationLifecycleStateEnum

GetManagementStationLifecycleStateEnumValues Enumerates the set of values for ManagementStationLifecycleStateEnum

func GetMappingManagementStationLifecycleStateEnum ¶

func GetMappingManagementStationLifecycleStateEnum(val string) (ManagementStationLifecycleStateEnum, bool)

GetMappingManagementStationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ManagementStationSummary ¶

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"`
}

ManagementStationSummary Summary of the Management Station.

func (ManagementStationSummary) String ¶

func (m ManagementStationSummary) String() string

func (ManagementStationSummary) ValidateEnumValue ¶

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

type MetricNameEnum ¶

type MetricNameEnum string

MetricNameEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for MetricNameEnum

func GetMappingMetricNameEnum ¶

func GetMappingMetricNameEnum(val string) (MetricNameEnum, bool)

GetMappingMetricNameEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMetricNameEnumValues ¶

func GetMetricNameEnumValues() []MetricNameEnum

GetMetricNameEnumValues Enumerates the set of values for MetricNameEnum

type MirrorConfiguration ¶

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"`
}

MirrorConfiguration Information for a mirror configuration

func (MirrorConfiguration) String ¶

func (m MirrorConfiguration) String() string

func (MirrorConfiguration) ValidateEnumValue ¶

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

type MirrorStateEnum ¶

type MirrorStateEnum string

MirrorStateEnum Enum with underlying type: string

const (
	MirrorStateUnsynced MirrorStateEnum = "UNSYNCED"
	MirrorStateQueued   MirrorStateEnum = "QUEUED"
	MirrorStateSyncing  MirrorStateEnum = "SYNCING"
	MirrorStateSynced   MirrorStateEnum = "SYNCED"
	MirrorStateFailed   MirrorStateEnum = "FAILED"
)

Set of constants representing the allowable values for MirrorStateEnum

func GetMappingMirrorStateEnum ¶

func GetMappingMirrorStateEnum(val string) (MirrorStateEnum, bool)

GetMappingMirrorStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMirrorStateEnumValues ¶

func GetMirrorStateEnumValues() []MirrorStateEnum

GetMirrorStateEnumValues Enumerates the set of values for MirrorStateEnum

type MirrorSummary ¶

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"`
}

MirrorSummary Summary of a Mirror

func (MirrorSummary) String ¶

func (m MirrorSummary) String() string

func (MirrorSummary) ValidateEnumValue ¶

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

type MirrorSyncStatus ¶

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"`
}

MirrorSyncStatus Status summary of all repos

func (MirrorSyncStatus) String ¶

func (m MirrorSyncStatus) String() string

func (MirrorSyncStatus) ValidateEnumValue ¶

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

type MirrorTypeEnum ¶

type MirrorTypeEnum string

MirrorTypeEnum Enum with underlying type: string

const (
	MirrorTypeCustom    MirrorTypeEnum = "CUSTOM"
	MirrorTypeVendor    MirrorTypeEnum = "VENDOR"
	MirrorTypeVersioned MirrorTypeEnum = "VERSIONED"
)

Set of constants representing the allowable values for MirrorTypeEnum

func GetMappingMirrorTypeEnum ¶

func GetMappingMirrorTypeEnum(val string) (MirrorTypeEnum, bool)

GetMappingMirrorTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMirrorTypeEnumValues ¶

func GetMirrorTypeEnumValues() []MirrorTypeEnum

GetMirrorTypeEnumValues Enumerates the set of values for MirrorTypeEnum

type MirrorsCollection ¶

type MirrorsCollection struct {

	// List of mirrors
	Items []MirrorSummary `mandatory:"true" json:"items"`
}

MirrorsCollection List of mirrors associated with a Management Station

func (MirrorsCollection) String ¶

func (m MirrorsCollection) String() string

func (MirrorsCollection) ValidateEnumValue ¶

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

type ModuleCollection ¶

type ModuleCollection struct {

	// List of Modules.
	Items []ModuleSummary `mandatory:"true" json:"items"`
}

ModuleCollection Results of a Module search. Contains module summary items and other information, such as metadata.

func (ModuleCollection) String ¶

func (m ModuleCollection) String() string

func (ModuleCollection) ValidateEnumValue ¶

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

type ModuleSpecDetails ¶

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"`
}

ModuleSpecDetails Details about a specific appstream module.

func (ModuleSpecDetails) String ¶

func (m ModuleSpecDetails) String() string

func (ModuleSpecDetails) ValidateEnumValue ¶

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

type ModuleStream ¶

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"`
}

ModuleStream A module stream provided by a software source.

func (ModuleStream) String ¶

func (m ModuleStream) String() string

func (ModuleStream) ValidateEnumValue ¶

func (m ModuleStream) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModuleStreamCollection ¶

type ModuleStreamCollection struct {

	// List of ModuleStream.
	Items []ModuleStreamSummary `mandatory:"true" json:"items"`
}

ModuleStreamCollection Results of a ModuleStream search. Contains both ModuleStreamSummary items and other information, such as metadata.

func (ModuleStreamCollection) String ¶

func (m ModuleStreamCollection) String() string

func (ModuleStreamCollection) ValidateEnumValue ¶

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

type ModuleStreamDetails ¶

type ModuleStreamDetails struct {

	// The name of a module.
	ModuleName *string `mandatory:"true" json:"moduleName"`

	// The name of a stream of the specified module.
	StreamName *string `mandatory:"true" json:"streamName"`
}

ModuleStreamDetails Updatable information for a module stream.

func (ModuleStreamDetails) String ¶

func (m ModuleStreamDetails) String() string

func (ModuleStreamDetails) ValidateEnumValue ¶

func (m ModuleStreamDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModuleStreamDetailsBody ¶

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"`
}

ModuleStreamDetailsBody The details of the module stream to be enabled/disabled on a managed instance.

func (ModuleStreamDetailsBody) String ¶

func (m ModuleStreamDetailsBody) String() string

func (ModuleStreamDetailsBody) ValidateEnumValue ¶

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

type ModuleStreamProfile ¶

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"`
}

ModuleStreamProfile A module stream profile provided by a software source.

func (ModuleStreamProfile) String ¶

func (m ModuleStreamProfile) String() string

func (ModuleStreamProfile) ValidateEnumValue ¶

func (m ModuleStreamProfile) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModuleStreamProfileCollection ¶

type ModuleStreamProfileCollection struct {

	// List of ModuleStreamProfile.
	Items []ModuleStreamProfileSummary `mandatory:"true" json:"items"`
}

ModuleStreamProfileCollection Results of a ModuleStreamProfile search. Contains both ModuleStreamProfileSummary items and other information, such as metadata.

func (ModuleStreamProfileCollection) String ¶

func (ModuleStreamProfileCollection) ValidateEnumValue ¶

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

type ModuleStreamProfileDetails ¶

type ModuleStreamProfileDetails struct {

	// The name of a module.
	ModuleName *string `mandatory:"true" json:"moduleName"`

	// The name of a stream of the specified module.
	StreamName *string `mandatory:"true" json:"streamName"`

	// The name of a profile of the specified module stream.
	ProfileName *string `mandatory:"true" json:"profileName"`
}

ModuleStreamProfileDetails Updatable information for a module stream profile.

func (ModuleStreamProfileDetails) String ¶

func (ModuleStreamProfileDetails) ValidateEnumValue ¶

func (m ModuleStreamProfileDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModuleStreamProfileDetailsBody ¶

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"`
}

ModuleStreamProfileDetailsBody The details of the module stream profile to be installed/removed on a managed instance.

func (ModuleStreamProfileDetailsBody) String ¶

func (ModuleStreamProfileDetailsBody) ValidateEnumValue ¶

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

type ModuleStreamProfileFilter ¶

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"`
}

ModuleStreamProfileFilter Used to select module stream/profiles from VendorSoftwareSources to create/update CustomSoftwareSources.

func (ModuleStreamProfileFilter) String ¶

func (m ModuleStreamProfileFilter) String() string

func (ModuleStreamProfileFilter) ValidateEnumValue ¶

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

type ModuleStreamProfileStatusEnum ¶

type ModuleStreamProfileStatusEnum string

ModuleStreamProfileStatusEnum Enum with underlying type: string

const (
	ModuleStreamProfileStatusInstalled ModuleStreamProfileStatusEnum = "INSTALLED"
	ModuleStreamProfileStatusAvailable ModuleStreamProfileStatusEnum = "AVAILABLE"
)

Set of constants representing the allowable values for ModuleStreamProfileStatusEnum

func GetMappingModuleStreamProfileStatusEnum ¶

func GetMappingModuleStreamProfileStatusEnum(val string) (ModuleStreamProfileStatusEnum, bool)

GetMappingModuleStreamProfileStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetModuleStreamProfileStatusEnumValues ¶

func GetModuleStreamProfileStatusEnumValues() []ModuleStreamProfileStatusEnum

GetModuleStreamProfileStatusEnumValues Enumerates the set of values for ModuleStreamProfileStatusEnum

type ModuleStreamProfileSummary ¶

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"`
}

ModuleStreamProfileSummary Summary information pertaining to a module stream profile provided by a software source.

func (ModuleStreamProfileSummary) String ¶

func (ModuleStreamProfileSummary) ValidateEnumValue ¶

func (m ModuleStreamProfileSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModuleStreamStatusEnum ¶

type ModuleStreamStatusEnum string

ModuleStreamStatusEnum Enum with underlying type: string

const (
	ModuleStreamStatusEnabled  ModuleStreamStatusEnum = "ENABLED"
	ModuleStreamStatusDisabled ModuleStreamStatusEnum = "DISABLED"
	ModuleStreamStatusActive   ModuleStreamStatusEnum = "ACTIVE"
)

Set of constants representing the allowable values for ModuleStreamStatusEnum

func GetMappingModuleStreamStatusEnum ¶

func GetMappingModuleStreamStatusEnum(val string) (ModuleStreamStatusEnum, bool)

GetMappingModuleStreamStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetModuleStreamStatusEnumValues ¶

func GetModuleStreamStatusEnumValues() []ModuleStreamStatusEnum

GetModuleStreamStatusEnumValues Enumerates the set of values for ModuleStreamStatusEnum

type ModuleStreamSummary ¶

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"`
}

ModuleStreamSummary Summary information pertaining to a module stream provided by a software source.

func (ModuleStreamSummary) String ¶

func (m ModuleStreamSummary) String() string

func (ModuleStreamSummary) ValidateEnumValue ¶

func (m ModuleStreamSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModuleSummary ¶

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"`
}

ModuleSummary Summary information pertaining to a module provided by a software source.

func (ModuleSummary) String ¶

func (m ModuleSummary) String() string

func (ModuleSummary) ValidateEnumValue ¶

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

type OnboardingClient ¶

type OnboardingClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

OnboardingClient a client for Onboarding

func NewOnboardingClientWithConfigurationProvider ¶

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 ¶

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 (*OnboardingClient) ConfigurationProvider ¶

func (client *OnboardingClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (OnboardingClient) CreateProfile ¶

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/latest/osmanagementhub/CreateProfile.go.html to see an example of how to use CreateProfile API. A default retry strategy applies to this operation CreateProfile()

func (OnboardingClient) DeleteProfile ¶

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/latest/osmanagementhub/DeleteProfile.go.html to see an example of how to use DeleteProfile API. A default retry strategy applies to this operation DeleteProfile()

func (OnboardingClient) GetProfile ¶

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/latest/osmanagementhub/GetProfile.go.html to see an example of how to use GetProfile API. A default retry strategy applies to this operation GetProfile()

func (OnboardingClient) ListProfiles ¶

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/latest/osmanagementhub/ListProfiles.go.html to see an example of how to use ListProfiles API. A default retry strategy applies to this operation ListProfiles()

func (*OnboardingClient) SetRegion ¶

func (client *OnboardingClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (OnboardingClient) UpdateProfile ¶

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/latest/osmanagementhub/UpdateProfile.go.html to see an example of how to use UpdateProfile API. A default retry strategy applies to this operation UpdateProfile()

type OperationStatusEnum ¶

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
	OperationStatusFailed     OperationStatusEnum = "FAILED"
	OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
	OperationStatusCanceling  OperationStatusEnum = "CANCELING"
	OperationStatusCanceled   OperationStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum ¶

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationStatusEnumValues ¶

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypesEnum ¶

type OperationTypesEnum string

OperationTypesEnum Enum with underlying type: string

const (
	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"
)

Set of constants representing the allowable values for OperationTypesEnum

func GetMappingOperationTypesEnum ¶

func GetMappingOperationTypesEnum(val string) (OperationTypesEnum, bool)

GetMappingOperationTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationTypesEnumValues ¶

func GetOperationTypesEnumValues() []OperationTypesEnum

GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum

type OsFamilyEnum ¶

type OsFamilyEnum string

OsFamilyEnum Enum with underlying type: string

const (
	OsFamilyOracleLinux9 OsFamilyEnum = "ORACLE_LINUX_9"
	OsFamilyOracleLinux8 OsFamilyEnum = "ORACLE_LINUX_8"
	OsFamilyOracleLinux7 OsFamilyEnum = "ORACLE_LINUX_7"
)

Set of constants representing the allowable values for OsFamilyEnum

func GetMappingOsFamilyEnum ¶

func GetMappingOsFamilyEnum(val string) (OsFamilyEnum, bool)

GetMappingOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOsFamilyEnumValues ¶

func GetOsFamilyEnumValues() []OsFamilyEnum

GetOsFamilyEnumValues Enumerates the set of values for OsFamilyEnum

type OverallStateEnum ¶

type OverallStateEnum string

OverallStateEnum Enum with underlying type: string

const (
	OverallStateNormal            OverallStateEnum = "NORMAL"
	OverallStateRegistrationerror OverallStateEnum = "REGISTRATIONERROR"
	OverallStateSyncing           OverallStateEnum = "SYNCING"
	OverallStateSyncfailed        OverallStateEnum = "SYNCFAILED"
	OverallStateWarning           OverallStateEnum = "WARNING"
	OverallStateError             OverallStateEnum = "ERROR"
	OverallStateUnavailable       OverallStateEnum = "UNAVAILABLE"
)

Set of constants representing the allowable values for OverallStateEnum

func GetMappingOverallStateEnum ¶

func GetMappingOverallStateEnum(val string) (OverallStateEnum, bool)

GetMappingOverallStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOverallStateEnumValues ¶

func GetOverallStateEnumValues() []OverallStateEnum

GetOverallStateEnumValues Enumerates the set of values for OverallStateEnum

type PackageFilter ¶

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"`
}

PackageFilter Used to select packages from VendorSoftwareSources to create/update CustomSoftwareSources.

func (PackageFilter) String ¶

func (m PackageFilter) String() string

func (PackageFilter) ValidateEnumValue ¶

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

type PackageGroup ¶

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"`
}

PackageGroup Yum/DNF package group, category or environment.

func (PackageGroup) String ¶

func (m PackageGroup) String() string

func (PackageGroup) ValidateEnumValue ¶

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

type PackageGroupCollection ¶

type PackageGroupCollection struct {

	// List of package groups.
	Items []PackageGroupSummary `mandatory:"true" json:"items"`
}

PackageGroupCollection Results of a package group search. Contains both package group summary items and other information, such as metadata.

func (PackageGroupCollection) String ¶

func (m PackageGroupCollection) String() string

func (PackageGroupCollection) ValidateEnumValue ¶

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

type PackageGroupFilter ¶

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"`
}

PackageGroupFilter Used to select groups from VendorSoftwareSources to create/update CustomSoftwareSources.

func (PackageGroupFilter) String ¶

func (m PackageGroupFilter) String() string

func (PackageGroupFilter) ValidateEnumValue ¶

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

type PackageGroupGroupTypeEnum ¶

type PackageGroupGroupTypeEnum string

PackageGroupGroupTypeEnum Enum with underlying type: string

const (
	PackageGroupGroupTypeGroup       PackageGroupGroupTypeEnum = "GROUP"
	PackageGroupGroupTypeEnvironment PackageGroupGroupTypeEnum = "ENVIRONMENT"
	PackageGroupGroupTypeCategory    PackageGroupGroupTypeEnum = "CATEGORY"
)

Set of constants representing the allowable values for PackageGroupGroupTypeEnum

func GetMappingPackageGroupGroupTypeEnum ¶

func GetMappingPackageGroupGroupTypeEnum(val string) (PackageGroupGroupTypeEnum, bool)

GetMappingPackageGroupGroupTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPackageGroupGroupTypeEnumValues ¶

func GetPackageGroupGroupTypeEnumValues() []PackageGroupGroupTypeEnum

GetPackageGroupGroupTypeEnumValues Enumerates the set of values for PackageGroupGroupTypeEnum

type PackageGroupSummary ¶

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"`
}

PackageGroupSummary Yum/DNF package group that associated with a software source.

func (PackageGroupSummary) String ¶

func (m PackageGroupSummary) String() string

func (PackageGroupSummary) ValidateEnumValue ¶

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

type PackageNameSummary ¶

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"`
}

PackageNameSummary A simple representation of a package using its displayName and NEVRA parts.

func (PackageNameSummary) String ¶

func (m PackageNameSummary) String() string

func (PackageNameSummary) ValidateEnumValue ¶

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

type PackageSummary ¶

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
}

PackageSummary A software package summary.

type PackageSummaryPackageClassificationEnum ¶

type PackageSummaryPackageClassificationEnum string

PackageSummaryPackageClassificationEnum Enum with underlying type: string

const (
	PackageSummaryPackageClassificationInstalled PackageSummaryPackageClassificationEnum = "INSTALLED"
	PackageSummaryPackageClassificationAvailable PackageSummaryPackageClassificationEnum = "AVAILABLE"
	PackageSummaryPackageClassificationUpdatable PackageSummaryPackageClassificationEnum = "UPDATABLE"
)

Set of constants representing the allowable values for PackageSummaryPackageClassificationEnum

func GetMappingPackageSummaryPackageClassificationEnum ¶

func GetMappingPackageSummaryPackageClassificationEnum(val string) (PackageSummaryPackageClassificationEnum, bool)

GetMappingPackageSummaryPackageClassificationEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPackageSummaryPackageClassificationEnumValues ¶

func GetPackageSummaryPackageClassificationEnumValues() []PackageSummaryPackageClassificationEnum

GetPackageSummaryPackageClassificationEnumValues Enumerates the set of values for PackageSummaryPackageClassificationEnum

type 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{}
}

Profile Description of registration profile.

type ProfileCollection ¶

type ProfileCollection struct {

	// List of registration profiles.
	Items []ProfileSummary `mandatory:"true" json:"items"`
}

ProfileCollection Results of a registration profile search. Contains both registration profile summary items and other data.

func (ProfileCollection) String ¶

func (m ProfileCollection) String() string

func (ProfileCollection) ValidateEnumValue ¶

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

type ProfileLifecycleStateEnum ¶

type ProfileLifecycleStateEnum string

ProfileLifecycleStateEnum Enum with underlying type: string

const (
	ProfileLifecycleStateCreating ProfileLifecycleStateEnum = "CREATING"
	ProfileLifecycleStateUpdating ProfileLifecycleStateEnum = "UPDATING"
	ProfileLifecycleStateActive   ProfileLifecycleStateEnum = "ACTIVE"
	ProfileLifecycleStateDeleting ProfileLifecycleStateEnum = "DELETING"
	ProfileLifecycleStateDeleted  ProfileLifecycleStateEnum = "DELETED"
	ProfileLifecycleStateFailed   ProfileLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ProfileLifecycleStateEnum

func GetMappingProfileLifecycleStateEnum ¶

func GetMappingProfileLifecycleStateEnum(val string) (ProfileLifecycleStateEnum, bool)

GetMappingProfileLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetProfileLifecycleStateEnumValues ¶

func GetProfileLifecycleStateEnumValues() []ProfileLifecycleStateEnum

GetProfileLifecycleStateEnumValues Enumerates the set of values for ProfileLifecycleStateEnum

type ProfileSummary ¶

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"`
}

ProfileSummary Summary of the registration profile.

func (ProfileSummary) String ¶

func (m ProfileSummary) String() string

func (ProfileSummary) ValidateEnumValue ¶

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

type ProfileTypeEnum ¶

type ProfileTypeEnum string

ProfileTypeEnum Enum with underlying type: string

const (
	ProfileTypeSoftwaresource ProfileTypeEnum = "SOFTWARESOURCE"
	ProfileTypeGroup          ProfileTypeEnum = "GROUP"
	ProfileTypeLifecycle      ProfileTypeEnum = "LIFECYCLE"
	ProfileTypeStation        ProfileTypeEnum = "STATION"
)

Set of constants representing the allowable values for ProfileTypeEnum

func GetMappingProfileTypeEnum ¶

func GetMappingProfileTypeEnum(val string) (ProfileTypeEnum, bool)

GetMappingProfileTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetProfileTypeEnumValues ¶

func GetProfileTypeEnumValues() []ProfileTypeEnum

GetProfileTypeEnumValues Enumerates the set of values for ProfileTypeEnum

type PromoteSoftwareSourceToLifecycleStageDetails ¶

type PromoteSoftwareSourceToLifecycleStageDetails struct {
	WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"`
}

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.

func (PromoteSoftwareSourceToLifecycleStageDetails) String ¶

func (PromoteSoftwareSourceToLifecycleStageDetails) ValidateEnumValue ¶

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

type 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
}

PromoteSoftwareSourceToLifecycleStageRequest wrapper for the PromoteSoftwareSourceToLifecycleStage operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/PromoteSoftwareSourceToLifecycleStage.go.html to see an example of how to use PromoteSoftwareSourceToLifecycleStageRequest.

func (PromoteSoftwareSourceToLifecycleStageRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (PromoteSoftwareSourceToLifecycleStageRequest) HTTPRequest ¶

func (request PromoteSoftwareSourceToLifecycleStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PromoteSoftwareSourceToLifecycleStageRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (PromoteSoftwareSourceToLifecycleStageRequest) String ¶

func (PromoteSoftwareSourceToLifecycleStageRequest) ValidateEnumValue ¶

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

type PromoteSoftwareSourceToLifecycleStageResponse ¶

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"`
}

PromoteSoftwareSourceToLifecycleStageResponse wrapper for the PromoteSoftwareSourceToLifecycleStage operation

func (PromoteSoftwareSourceToLifecycleStageResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (PromoteSoftwareSourceToLifecycleStageResponse) String ¶

type ProxyConfiguration ¶

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"`
}

ProxyConfiguration Information for a proxy configuration

func (ProxyConfiguration) String ¶

func (m ProxyConfiguration) String() string

func (ProxyConfiguration) ValidateEnumValue ¶

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

type 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
}

RefreshSoftwareOnManagedInstanceRequest wrapper for the RefreshSoftwareOnManagedInstance operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/RefreshSoftwareOnManagedInstance.go.html to see an example of how to use RefreshSoftwareOnManagedInstanceRequest.

func (RefreshSoftwareOnManagedInstanceRequest) BinaryRequestBody ¶

func (request RefreshSoftwareOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RefreshSoftwareOnManagedInstanceRequest) HTTPRequest ¶

func (request RefreshSoftwareOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RefreshSoftwareOnManagedInstanceRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RefreshSoftwareOnManagedInstanceRequest) String ¶

func (RefreshSoftwareOnManagedInstanceRequest) ValidateEnumValue ¶

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

type RefreshSoftwareOnManagedInstanceResponse ¶

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"`
}

RefreshSoftwareOnManagedInstanceResponse wrapper for the RefreshSoftwareOnManagedInstance operation

func (RefreshSoftwareOnManagedInstanceResponse) HTTPResponse ¶

func (response RefreshSoftwareOnManagedInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RefreshSoftwareOnManagedInstanceResponse) String ¶

type RemoveModuleStreamProfileFromManagedInstanceDetails ¶

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"`
}

RemoveModuleStreamProfileFromManagedInstanceDetails The details of the module stream profile to be removed on a managed instance.

func (RemoveModuleStreamProfileFromManagedInstanceDetails) String ¶

func (RemoveModuleStreamProfileFromManagedInstanceDetails) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveModuleStreamProfileFromManagedInstanceGroupDetails ¶

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"`
}

RemoveModuleStreamProfileFromManagedInstanceGroupDetails The work request details for the module stream profile operation on the managed instance group.

func (RemoveModuleStreamProfileFromManagedInstanceGroupDetails) String ¶

func (RemoveModuleStreamProfileFromManagedInstanceGroupDetails) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type 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
}

RemoveModuleStreamProfileFromManagedInstanceGroupRequest wrapper for the RemoveModuleStreamProfileFromManagedInstanceGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/RemoveModuleStreamProfileFromManagedInstanceGroup.go.html to see an example of how to use RemoveModuleStreamProfileFromManagedInstanceGroupRequest.

func (RemoveModuleStreamProfileFromManagedInstanceGroupRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RemoveModuleStreamProfileFromManagedInstanceGroupRequest) HTTPRequest ¶

func (request RemoveModuleStreamProfileFromManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveModuleStreamProfileFromManagedInstanceGroupRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveModuleStreamProfileFromManagedInstanceGroupRequest) String ¶

func (RemoveModuleStreamProfileFromManagedInstanceGroupRequest) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveModuleStreamProfileFromManagedInstanceGroupResponse ¶

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"`
}

RemoveModuleStreamProfileFromManagedInstanceGroupResponse wrapper for the RemoveModuleStreamProfileFromManagedInstanceGroup operation

func (RemoveModuleStreamProfileFromManagedInstanceGroupResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RemoveModuleStreamProfileFromManagedInstanceGroupResponse) String ¶

type 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
}

RemoveModuleStreamProfileFromManagedInstanceRequest wrapper for the RemoveModuleStreamProfileFromManagedInstance operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/RemoveModuleStreamProfileFromManagedInstance.go.html to see an example of how to use RemoveModuleStreamProfileFromManagedInstanceRequest.

func (RemoveModuleStreamProfileFromManagedInstanceRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RemoveModuleStreamProfileFromManagedInstanceRequest) HTTPRequest ¶

func (request RemoveModuleStreamProfileFromManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveModuleStreamProfileFromManagedInstanceRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveModuleStreamProfileFromManagedInstanceRequest) String ¶

func (RemoveModuleStreamProfileFromManagedInstanceRequest) ValidateEnumValue ¶

func (request RemoveModuleStreamProfileFromManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveModuleStreamProfileFromManagedInstanceResponse ¶

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"`
}

RemoveModuleStreamProfileFromManagedInstanceResponse wrapper for the RemoveModuleStreamProfileFromManagedInstance operation

func (RemoveModuleStreamProfileFromManagedInstanceResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RemoveModuleStreamProfileFromManagedInstanceResponse) String ¶

type RemovePackagesFromManagedInstanceDetails ¶

type RemovePackagesFromManagedInstanceDetails struct {

	// The list of package names.
	PackageNames []string `mandatory:"true" json:"packageNames"`

	WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"`
}

RemovePackagesFromManagedInstanceDetails The details about the software packages to be removed.

func (RemovePackagesFromManagedInstanceDetails) String ¶

func (RemovePackagesFromManagedInstanceDetails) ValidateEnumValue ¶

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

type RemovePackagesFromManagedInstanceGroupDetails ¶

type RemovePackagesFromManagedInstanceGroupDetails struct {

	// The list of package names.
	PackageNames []string `mandatory:"false" json:"packageNames"`

	WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"`
}

RemovePackagesFromManagedInstanceGroupDetails The names of the packages to be removed from the managed instance group.

func (RemovePackagesFromManagedInstanceGroupDetails) String ¶

func (RemovePackagesFromManagedInstanceGroupDetails) ValidateEnumValue ¶

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

type 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
}

RemovePackagesFromManagedInstanceGroupRequest wrapper for the RemovePackagesFromManagedInstanceGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/RemovePackagesFromManagedInstanceGroup.go.html to see an example of how to use RemovePackagesFromManagedInstanceGroupRequest.

func (RemovePackagesFromManagedInstanceGroupRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RemovePackagesFromManagedInstanceGroupRequest) HTTPRequest ¶

func (request RemovePackagesFromManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemovePackagesFromManagedInstanceGroupRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemovePackagesFromManagedInstanceGroupRequest) String ¶

func (RemovePackagesFromManagedInstanceGroupRequest) ValidateEnumValue ¶

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

type RemovePackagesFromManagedInstanceGroupResponse ¶

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"`
}

RemovePackagesFromManagedInstanceGroupResponse wrapper for the RemovePackagesFromManagedInstanceGroup operation

func (RemovePackagesFromManagedInstanceGroupResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RemovePackagesFromManagedInstanceGroupResponse) String ¶

type 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
}

RemovePackagesFromManagedInstanceRequest wrapper for the RemovePackagesFromManagedInstance operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/RemovePackagesFromManagedInstance.go.html to see an example of how to use RemovePackagesFromManagedInstanceRequest.

func (RemovePackagesFromManagedInstanceRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RemovePackagesFromManagedInstanceRequest) HTTPRequest ¶

func (request RemovePackagesFromManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemovePackagesFromManagedInstanceRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemovePackagesFromManagedInstanceRequest) String ¶

func (RemovePackagesFromManagedInstanceRequest) ValidateEnumValue ¶

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

type RemovePackagesFromManagedInstanceResponse ¶

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"`
}

RemovePackagesFromManagedInstanceResponse wrapper for the RemovePackagesFromManagedInstance operation

func (RemovePackagesFromManagedInstanceResponse) HTTPResponse ¶

func (response RemovePackagesFromManagedInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemovePackagesFromManagedInstanceResponse) String ¶

type ReportingManagedInstanceClient ¶

type ReportingManagedInstanceClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

ReportingManagedInstanceClient a client for ReportingManagedInstance

func NewReportingManagedInstanceClientWithConfigurationProvider ¶

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 ¶

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 (*ReportingManagedInstanceClient) ConfigurationProvider ¶

func (client *ReportingManagedInstanceClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (ReportingManagedInstanceClient) GetManagedInstanceAnalyticContent ¶

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/latest/osmanagementhub/GetManagedInstanceAnalyticContent.go.html to see an example of how to use GetManagedInstanceAnalyticContent API. A default retry strategy applies to this operation GetManagedInstanceAnalyticContent()

func (ReportingManagedInstanceClient) GetManagedInstanceContent ¶

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/latest/osmanagementhub/GetManagedInstanceContent.go.html to see an example of how to use GetManagedInstanceContent API. A default retry strategy applies to this operation GetManagedInstanceContent()

func (*ReportingManagedInstanceClient) SetRegion ¶

func (client *ReportingManagedInstanceClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ReportingManagedInstanceClient) SummarizeManagedInstanceAnalytics ¶

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/latest/osmanagementhub/SummarizeManagedInstanceAnalytics.go.html to see an example of how to use SummarizeManagedInstanceAnalytics API. A default retry strategy applies to this operation SummarizeManagedInstanceAnalytics()

type 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
}

RunScheduledJobNowRequest wrapper for the RunScheduledJobNow operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/RunScheduledJobNow.go.html to see an example of how to use RunScheduledJobNowRequest.

func (RunScheduledJobNowRequest) BinaryRequestBody ¶

func (request RunScheduledJobNowRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RunScheduledJobNowRequest) HTTPRequest ¶

func (request RunScheduledJobNowRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RunScheduledJobNowRequest) RetryPolicy ¶

func (request RunScheduledJobNowRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RunScheduledJobNowRequest) String ¶

func (request RunScheduledJobNowRequest) String() string

func (RunScheduledJobNowRequest) ValidateEnumValue ¶

func (request RunScheduledJobNowRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RunScheduledJobNowResponse ¶

type RunScheduledJobNowResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

RunScheduledJobNowResponse wrapper for the RunScheduledJobNow operation

func (RunScheduledJobNowResponse) HTTPResponse ¶

func (response RunScheduledJobNowResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RunScheduledJobNowResponse) String ¶

func (response RunScheduledJobNowResponse) String() string

type ScheduleTypesEnum ¶

type ScheduleTypesEnum string

ScheduleTypesEnum Enum with underlying type: string

const (
	ScheduleTypesOnetime   ScheduleTypesEnum = "ONETIME"
	ScheduleTypesRecurring ScheduleTypesEnum = "RECURRING"
)

Set of constants representing the allowable values for ScheduleTypesEnum

func GetMappingScheduleTypesEnum ¶

func GetMappingScheduleTypesEnum(val string) (ScheduleTypesEnum, bool)

GetMappingScheduleTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetScheduleTypesEnumValues ¶

func GetScheduleTypesEnumValues() []ScheduleTypesEnum

GetScheduleTypesEnumValues Enumerates the set of values for ScheduleTypesEnum

type ScheduledJob ¶

type ScheduledJob struct {

	// 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"`
}

ScheduledJob Detailed information about a scheduled job.

func (ScheduledJob) String ¶

func (m ScheduledJob) String() string

func (ScheduledJob) ValidateEnumValue ¶

func (m ScheduledJob) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduledJobClient ¶

type ScheduledJobClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

ScheduledJobClient a client for ScheduledJob

func NewScheduledJobClientWithConfigurationProvider ¶

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 ¶

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 (*ScheduledJobClient) ConfigurationProvider ¶

func (client *ScheduledJobClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (ScheduledJobClient) CreateScheduledJob ¶

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/latest/osmanagementhub/CreateScheduledJob.go.html to see an example of how to use CreateScheduledJob API. A default retry strategy applies to this operation CreateScheduledJob()

func (ScheduledJobClient) DeleteScheduledJob ¶

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/latest/osmanagementhub/DeleteScheduledJob.go.html to see an example of how to use DeleteScheduledJob API. A default retry strategy applies to this operation DeleteScheduledJob()

func (ScheduledJobClient) GetScheduledJob ¶

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/latest/osmanagementhub/GetScheduledJob.go.html to see an example of how to use GetScheduledJob API. A default retry strategy applies to this operation GetScheduledJob()

func (ScheduledJobClient) ListScheduledJobs ¶

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/latest/osmanagementhub/ListScheduledJobs.go.html to see an example of how to use ListScheduledJobs API. A default retry strategy applies to this operation ListScheduledJobs()

func (ScheduledJobClient) RunScheduledJobNow ¶

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/latest/osmanagementhub/RunScheduledJobNow.go.html to see an example of how to use RunScheduledJobNow API. A default retry strategy applies to this operation RunScheduledJobNow()

func (*ScheduledJobClient) SetRegion ¶

func (client *ScheduledJobClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ScheduledJobClient) UpdateScheduledJob ¶

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/latest/osmanagementhub/UpdateScheduledJob.go.html to see an example of how to use UpdateScheduledJob API. A default retry strategy applies to this operation UpdateScheduledJob()

type ScheduledJobCollection ¶

type ScheduledJobCollection struct {

	// List of scheduled jobs.
	Items []ScheduledJobSummary `mandatory:"true" json:"items"`
}

ScheduledJobCollection Results of a scheduled job search. Contains boh ScheduledJobSummary items and other information, such as metadata.

func (ScheduledJobCollection) String ¶

func (m ScheduledJobCollection) String() string

func (ScheduledJobCollection) ValidateEnumValue ¶

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

type ScheduledJobLifecycleStateEnum ¶

type ScheduledJobLifecycleStateEnum string

ScheduledJobLifecycleStateEnum Enum with underlying type: string

const (
	ScheduledJobLifecycleStateCreating ScheduledJobLifecycleStateEnum = "CREATING"
	ScheduledJobLifecycleStateUpdating ScheduledJobLifecycleStateEnum = "UPDATING"
	ScheduledJobLifecycleStateActive   ScheduledJobLifecycleStateEnum = "ACTIVE"
	ScheduledJobLifecycleStateInactive ScheduledJobLifecycleStateEnum = "INACTIVE"
	ScheduledJobLifecycleStateDeleting ScheduledJobLifecycleStateEnum = "DELETING"
	ScheduledJobLifecycleStateDeleted  ScheduledJobLifecycleStateEnum = "DELETED"
	ScheduledJobLifecycleStateFailed   ScheduledJobLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ScheduledJobLifecycleStateEnum

func GetMappingScheduledJobLifecycleStateEnum ¶

func GetMappingScheduledJobLifecycleStateEnum(val string) (ScheduledJobLifecycleStateEnum, bool)

GetMappingScheduledJobLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetScheduledJobLifecycleStateEnumValues ¶

func GetScheduledJobLifecycleStateEnumValues() []ScheduledJobLifecycleStateEnum

GetScheduledJobLifecycleStateEnumValues Enumerates the set of values for ScheduledJobLifecycleStateEnum

type ScheduledJobOperation ¶

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"`
}

ScheduledJobOperation Defines an operation in a scheduled job.

func (ScheduledJobOperation) String ¶

func (m ScheduledJobOperation) String() string

func (ScheduledJobOperation) ValidateEnumValue ¶

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

type ScheduledJobSummary ¶

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"`
}

ScheduledJobSummary Summary of the scheduled job.

func (ScheduledJobSummary) String ¶

func (m ScheduledJobSummary) String() string

func (ScheduledJobSummary) ValidateEnumValue ¶

func (m ScheduledJobSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SearchSoftwareSourceModuleStreamsDetails ¶

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"`
}

SearchSoftwareSourceModuleStreamsDetails Contains a list of software sources to get the combined list of module streams from all of those software sources.

func (SearchSoftwareSourceModuleStreamsDetails) String ¶

func (SearchSoftwareSourceModuleStreamsDetails) ValidateEnumValue ¶

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

type SearchSoftwareSourceModuleStreamsDetailsSortByEnum ¶

type SearchSoftwareSourceModuleStreamsDetailsSortByEnum string

SearchSoftwareSourceModuleStreamsDetailsSortByEnum Enum with underlying type: string

const (
	SearchSoftwareSourceModuleStreamsDetailsSortByModulename SearchSoftwareSourceModuleStreamsDetailsSortByEnum = "MODULENAME"
)

Set of constants representing the allowable values for SearchSoftwareSourceModuleStreamsDetailsSortByEnum

func GetMappingSearchSoftwareSourceModuleStreamsDetailsSortByEnum ¶

func GetMappingSearchSoftwareSourceModuleStreamsDetailsSortByEnum(val string) (SearchSoftwareSourceModuleStreamsDetailsSortByEnum, bool)

GetMappingSearchSoftwareSourceModuleStreamsDetailsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSearchSoftwareSourceModuleStreamsDetailsSortByEnumValues ¶

func GetSearchSoftwareSourceModuleStreamsDetailsSortByEnumValues() []SearchSoftwareSourceModuleStreamsDetailsSortByEnum

GetSearchSoftwareSourceModuleStreamsDetailsSortByEnumValues Enumerates the set of values for SearchSoftwareSourceModuleStreamsDetailsSortByEnum

type SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum ¶

type SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum string

SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum Enum with underlying type: string

const (
	SearchSoftwareSourceModuleStreamsDetailsSortOrderAsc  SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum = "ASC"
	SearchSoftwareSourceModuleStreamsDetailsSortOrderDesc SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum

func GetMappingSearchSoftwareSourceModuleStreamsDetailsSortOrderEnum ¶

func GetMappingSearchSoftwareSourceModuleStreamsDetailsSortOrderEnum(val string) (SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum, bool)

GetMappingSearchSoftwareSourceModuleStreamsDetailsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSearchSoftwareSourceModuleStreamsDetailsSortOrderEnumValues ¶

func GetSearchSoftwareSourceModuleStreamsDetailsSortOrderEnumValues() []SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum

GetSearchSoftwareSourceModuleStreamsDetailsSortOrderEnumValues Enumerates the set of values for SearchSoftwareSourceModuleStreamsDetailsSortOrderEnum

type 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
}

SearchSoftwareSourceModuleStreamsRequest wrapper for the SearchSoftwareSourceModuleStreams operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/SearchSoftwareSourceModuleStreams.go.html to see an example of how to use SearchSoftwareSourceModuleStreamsRequest.

func (SearchSoftwareSourceModuleStreamsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (SearchSoftwareSourceModuleStreamsRequest) HTTPRequest ¶

func (request SearchSoftwareSourceModuleStreamsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SearchSoftwareSourceModuleStreamsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SearchSoftwareSourceModuleStreamsRequest) String ¶

func (SearchSoftwareSourceModuleStreamsRequest) ValidateEnumValue ¶

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

type SearchSoftwareSourceModuleStreamsResponse ¶

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"`
}

SearchSoftwareSourceModuleStreamsResponse wrapper for the SearchSoftwareSourceModuleStreams operation

func (SearchSoftwareSourceModuleStreamsResponse) HTTPResponse ¶

func (response SearchSoftwareSourceModuleStreamsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SearchSoftwareSourceModuleStreamsResponse) String ¶

type SearchSoftwareSourceModulesDetails ¶

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"`
}

SearchSoftwareSourceModulesDetails Contains a list of software sources to get the combined list of modules from all of those software sources.

func (SearchSoftwareSourceModulesDetails) String ¶

func (SearchSoftwareSourceModulesDetails) ValidateEnumValue ¶

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

type SearchSoftwareSourceModulesDetailsSortByEnum ¶

type SearchSoftwareSourceModulesDetailsSortByEnum string

SearchSoftwareSourceModulesDetailsSortByEnum Enum with underlying type: string

const (
	SearchSoftwareSourceModulesDetailsSortByName SearchSoftwareSourceModulesDetailsSortByEnum = "NAME"
)

Set of constants representing the allowable values for SearchSoftwareSourceModulesDetailsSortByEnum

func GetMappingSearchSoftwareSourceModulesDetailsSortByEnum ¶

func GetMappingSearchSoftwareSourceModulesDetailsSortByEnum(val string) (SearchSoftwareSourceModulesDetailsSortByEnum, bool)

GetMappingSearchSoftwareSourceModulesDetailsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSearchSoftwareSourceModulesDetailsSortByEnumValues ¶

func GetSearchSoftwareSourceModulesDetailsSortByEnumValues() []SearchSoftwareSourceModulesDetailsSortByEnum

GetSearchSoftwareSourceModulesDetailsSortByEnumValues Enumerates the set of values for SearchSoftwareSourceModulesDetailsSortByEnum

type SearchSoftwareSourceModulesDetailsSortOrderEnum ¶

type SearchSoftwareSourceModulesDetailsSortOrderEnum string

SearchSoftwareSourceModulesDetailsSortOrderEnum Enum with underlying type: string

const (
	SearchSoftwareSourceModulesDetailsSortOrderAsc  SearchSoftwareSourceModulesDetailsSortOrderEnum = "ASC"
	SearchSoftwareSourceModulesDetailsSortOrderDesc SearchSoftwareSourceModulesDetailsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for SearchSoftwareSourceModulesDetailsSortOrderEnum

func GetMappingSearchSoftwareSourceModulesDetailsSortOrderEnum ¶

func GetMappingSearchSoftwareSourceModulesDetailsSortOrderEnum(val string) (SearchSoftwareSourceModulesDetailsSortOrderEnum, bool)

GetMappingSearchSoftwareSourceModulesDetailsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSearchSoftwareSourceModulesDetailsSortOrderEnumValues ¶

func GetSearchSoftwareSourceModulesDetailsSortOrderEnumValues() []SearchSoftwareSourceModulesDetailsSortOrderEnum

GetSearchSoftwareSourceModulesDetailsSortOrderEnumValues Enumerates the set of values for SearchSoftwareSourceModulesDetailsSortOrderEnum

type 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
}

SearchSoftwareSourceModulesRequest wrapper for the SearchSoftwareSourceModules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/SearchSoftwareSourceModules.go.html to see an example of how to use SearchSoftwareSourceModulesRequest.

func (SearchSoftwareSourceModulesRequest) BinaryRequestBody ¶

func (request SearchSoftwareSourceModulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (SearchSoftwareSourceModulesRequest) HTTPRequest ¶

func (request SearchSoftwareSourceModulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SearchSoftwareSourceModulesRequest) RetryPolicy ¶

func (request SearchSoftwareSourceModulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SearchSoftwareSourceModulesRequest) String ¶

func (request SearchSoftwareSourceModulesRequest) String() string

func (SearchSoftwareSourceModulesRequest) ValidateEnumValue ¶

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

type SearchSoftwareSourceModulesResponse ¶

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"`
}

SearchSoftwareSourceModulesResponse wrapper for the SearchSoftwareSourceModules operation

func (SearchSoftwareSourceModulesResponse) HTTPResponse ¶

func (response SearchSoftwareSourceModulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SearchSoftwareSourceModulesResponse) String ¶

func (response SearchSoftwareSourceModulesResponse) String() string

type SearchSoftwareSourcePackageGroupsDetails ¶

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"`
}

SearchSoftwareSourcePackageGroupsDetails Contains a list of software sources to get the list of associated package groups.

func (SearchSoftwareSourcePackageGroupsDetails) String ¶

func (SearchSoftwareSourcePackageGroupsDetails) ValidateEnumValue ¶

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

type SearchSoftwareSourcePackageGroupsDetailsSortByEnum ¶

type SearchSoftwareSourcePackageGroupsDetailsSortByEnum string

SearchSoftwareSourcePackageGroupsDetailsSortByEnum Enum with underlying type: string

const (
	SearchSoftwareSourcePackageGroupsDetailsSortByName SearchSoftwareSourcePackageGroupsDetailsSortByEnum = "NAME"
)

Set of constants representing the allowable values for SearchSoftwareSourcePackageGroupsDetailsSortByEnum

func GetMappingSearchSoftwareSourcePackageGroupsDetailsSortByEnum ¶

func GetMappingSearchSoftwareSourcePackageGroupsDetailsSortByEnum(val string) (SearchSoftwareSourcePackageGroupsDetailsSortByEnum, bool)

GetMappingSearchSoftwareSourcePackageGroupsDetailsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSearchSoftwareSourcePackageGroupsDetailsSortByEnumValues ¶

func GetSearchSoftwareSourcePackageGroupsDetailsSortByEnumValues() []SearchSoftwareSourcePackageGroupsDetailsSortByEnum

GetSearchSoftwareSourcePackageGroupsDetailsSortByEnumValues Enumerates the set of values for SearchSoftwareSourcePackageGroupsDetailsSortByEnum

type SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum ¶

type SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum string

SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum Enum with underlying type: string

const (
	SearchSoftwareSourcePackageGroupsDetailsSortOrderAsc  SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum = "ASC"
	SearchSoftwareSourcePackageGroupsDetailsSortOrderDesc SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum

func GetMappingSearchSoftwareSourcePackageGroupsDetailsSortOrderEnum ¶

func GetMappingSearchSoftwareSourcePackageGroupsDetailsSortOrderEnum(val string) (SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum, bool)

GetMappingSearchSoftwareSourcePackageGroupsDetailsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSearchSoftwareSourcePackageGroupsDetailsSortOrderEnumValues ¶

func GetSearchSoftwareSourcePackageGroupsDetailsSortOrderEnumValues() []SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum

GetSearchSoftwareSourcePackageGroupsDetailsSortOrderEnumValues Enumerates the set of values for SearchSoftwareSourcePackageGroupsDetailsSortOrderEnum

type 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
}

SearchSoftwareSourcePackageGroupsRequest wrapper for the SearchSoftwareSourcePackageGroups operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/SearchSoftwareSourcePackageGroups.go.html to see an example of how to use SearchSoftwareSourcePackageGroupsRequest.

func (SearchSoftwareSourcePackageGroupsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (SearchSoftwareSourcePackageGroupsRequest) HTTPRequest ¶

func (request SearchSoftwareSourcePackageGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SearchSoftwareSourcePackageGroupsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SearchSoftwareSourcePackageGroupsRequest) String ¶

func (SearchSoftwareSourcePackageGroupsRequest) ValidateEnumValue ¶

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

type SearchSoftwareSourcePackageGroupsResponse ¶

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"`
}

SearchSoftwareSourcePackageGroupsResponse wrapper for the SearchSoftwareSourcePackageGroups operation

func (SearchSoftwareSourcePackageGroupsResponse) HTTPResponse ¶

func (response SearchSoftwareSourcePackageGroupsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SearchSoftwareSourcePackageGroupsResponse) String ¶

type SoftwarePackage ¶

type SoftwarePackage struct {

	// Package name.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique identifier for the package. NOTE - This is not an OCID.
	Name *string `mandatory:"true" json:"name"`

	// Type of the package.
	Type *string `mandatory:"true" json:"type"`

	// Version of the package.
	Version *string `mandatory:"true" json:"version"`

	// The architecture for which this software was built
	Architecture *string `mandatory:"false" json:"architecture"`

	// Date of the last update to the package.
	LastModifiedDate *string `mandatory:"false" json:"lastModifiedDate"`

	// Checksum of the package.
	Checksum *string `mandatory:"false" json:"checksum"`

	// Type of the checksum.
	ChecksumType *string `mandatory:"false" json:"checksumType"`

	// Description of the package.
	Description *string `mandatory:"false" json:"description"`

	// Size of the package in bytes.
	SizeInBytes *int64 `mandatory:"false" json:"sizeInBytes"`

	// List of dependencies for the software package.
	Dependencies []SoftwarePackageDependency `mandatory:"false" json:"dependencies"`

	// List of files for the software package.
	Files []SoftwarePackageFile `mandatory:"false" json:"files"`

	// List of software sources that provide the software package.
	SoftwareSources []SoftwareSourceDetails `mandatory:"false" json:"softwareSources"`

	// Indicates whether this package is the latest version.
	IsLatest *bool `mandatory:"false" json:"isLatest"`
}

SoftwarePackage The details for a software package.

func (SoftwarePackage) String ¶

func (m SoftwarePackage) String() string

func (SoftwarePackage) ValidateEnumValue ¶

func (m SoftwarePackage) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SoftwarePackageCollection ¶

type SoftwarePackageCollection struct {

	// List of software packages.
	Items []SoftwarePackageSummary `mandatory:"true" json:"items"`
}

SoftwarePackageCollection Results of a software package search. Contains boh software package summary items and other information, such as metadata.

func (SoftwarePackageCollection) String ¶

func (m SoftwarePackageCollection) String() string

func (SoftwarePackageCollection) ValidateEnumValue ¶

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

type SoftwarePackageDependency ¶

type SoftwarePackageDependency struct {

	// The software package's dependency.
	Dependency *string `mandatory:"false" json:"dependency"`

	// The type of the dependency.
	DependencyType *string `mandatory:"false" json:"dependencyType"`

	// The modifier for the dependency.
	DependencyModifier *string `mandatory:"false" json:"dependencyModifier"`
}

SoftwarePackageDependency A dependency for a software package.

func (SoftwarePackageDependency) String ¶

func (m SoftwarePackageDependency) String() string

func (SoftwarePackageDependency) ValidateEnumValue ¶

func (m SoftwarePackageDependency) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SoftwarePackageFile ¶

type SoftwarePackageFile struct {

	// File path.
	Path *string `mandatory:"false" json:"path"`

	// Type of the file.
	Type *string `mandatory:"false" json:"type"`

	// The date and time of the last modification to this file, as described
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
	TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"`

	// Checksum of the file.
	Checksum *string `mandatory:"false" json:"checksum"`

	// Type of the checksum.
	ChecksumType *string `mandatory:"false" json:"checksumType"`

	// Size of the file in bytes.
	SizeInBytes *int64 `mandatory:"false" json:"sizeInBytes"`
}

SoftwarePackageFile A file associated with a package.

func (SoftwarePackageFile) String ¶

func (m SoftwarePackageFile) String() string

func (SoftwarePackageFile) ValidateEnumValue ¶

func (m SoftwarePackageFile) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SoftwarePackageSummary ¶

type SoftwarePackageSummary struct {

	// Package name.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique identifier for the package. NOTE - This is not an OCID.
	Name *string `mandatory:"true" json:"name"`

	// Type of the package.
	Type *string `mandatory:"true" json:"type"`

	// Version of the package.
	Version *string `mandatory:"true" json:"version"`

	// The architecture for which this software was built.
	Architecture *string `mandatory:"false" json:"architecture"`

	// Checksum of the package.
	Checksum *string `mandatory:"false" json:"checksum"`

	// Type of the checksum.
	ChecksumType *string `mandatory:"false" json:"checksumType"`

	// 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"`
}

SoftwarePackageSummary Summary information for a software package.

func (SoftwarePackageSummary) String ¶

func (m SoftwarePackageSummary) String() string

func (SoftwarePackageSummary) ValidateEnumValue ¶

func (m SoftwarePackageSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SoftwarePackagesDetails ¶

type SoftwarePackagesDetails struct {

	// The list of package names.
	PackageNames []string `mandatory:"true" json:"packageNames"`

	WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"`
}

SoftwarePackagesDetails The details about the software packages to be installed/removed/updated.

func (SoftwarePackagesDetails) String ¶

func (m SoftwarePackagesDetails) String() string

func (SoftwarePackagesDetails) ValidateEnumValue ¶

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

type SoftwareSource ¶

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{}
}

SoftwareSource A software source contains a collection of packages.

type SoftwareSourceAvailability ¶

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"`
}

SoftwareSourceAvailability An object that contains a software source OCID and its availability.

func (SoftwareSourceAvailability) String ¶

func (SoftwareSourceAvailability) ValidateEnumValue ¶

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

type SoftwareSourceClient ¶

type SoftwareSourceClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

SoftwareSourceClient a client for SoftwareSource

func NewSoftwareSourceClientWithConfigurationProvider ¶

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 ¶

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 (SoftwareSourceClient) ChangeAvailabilityOfSoftwareSources ¶

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/latest/osmanagementhub/ChangeAvailabilityOfSoftwareSources.go.html to see an example of how to use ChangeAvailabilityOfSoftwareSources API. A default retry strategy applies to this operation ChangeAvailabilityOfSoftwareSources()

func (*SoftwareSourceClient) ConfigurationProvider ¶

func (client *SoftwareSourceClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (SoftwareSourceClient) CreateEntitlement ¶

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/latest/osmanagementhub/CreateEntitlement.go.html to see an example of how to use CreateEntitlement API. A default retry strategy applies to this operation CreateEntitlement()

func (SoftwareSourceClient) CreateSoftwareSource ¶

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/latest/osmanagementhub/CreateSoftwareSource.go.html to see an example of how to use CreateSoftwareSource API. A default retry strategy applies to this operation CreateSoftwareSource()

func (SoftwareSourceClient) DeleteSoftwareSource ¶

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/latest/osmanagementhub/DeleteSoftwareSource.go.html to see an example of how to use DeleteSoftwareSource API. A default retry strategy applies to this operation DeleteSoftwareSource()

func (SoftwareSourceClient) GetErratum ¶

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/latest/osmanagementhub/GetErratum.go.html to see an example of how to use GetErratum API. A default retry strategy applies to this operation GetErratum()

func (SoftwareSourceClient) GetModuleStream ¶

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/latest/osmanagementhub/GetModuleStream.go.html to see an example of how to use GetModuleStream API. A default retry strategy applies to this operation GetModuleStream()

func (SoftwareSourceClient) GetModuleStreamProfile ¶

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/latest/osmanagementhub/GetModuleStreamProfile.go.html to see an example of how to use GetModuleStreamProfile API. A default retry strategy applies to this operation GetModuleStreamProfile()

func (SoftwareSourceClient) GetPackageGroup ¶

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/latest/osmanagementhub/GetPackageGroup.go.html to see an example of how to use GetPackageGroup API. A default retry strategy applies to this operation GetPackageGroup()

func (SoftwareSourceClient) GetSoftwarePackage ¶

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/latest/osmanagementhub/GetSoftwarePackage.go.html to see an example of how to use GetSoftwarePackage API. A default retry strategy applies to this operation GetSoftwarePackage()

func (SoftwareSourceClient) GetSoftwareSource ¶

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/latest/osmanagementhub/GetSoftwareSource.go.html to see an example of how to use GetSoftwareSource API. A default retry strategy applies to this operation GetSoftwareSource()

func (SoftwareSourceClient) ListEntitlements ¶

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/latest/osmanagementhub/ListEntitlements.go.html to see an example of how to use ListEntitlements API. A default retry strategy applies to this operation ListEntitlements()

func (SoftwareSourceClient) ListErrata ¶

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/latest/osmanagementhub/ListErrata.go.html to see an example of how to use ListErrata API. A default retry strategy applies to this operation ListErrata()

func (SoftwareSourceClient) ListModuleStreamProfiles ¶

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/latest/osmanagementhub/ListModuleStreamProfiles.go.html to see an example of how to use ListModuleStreamProfiles API. A default retry strategy applies to this operation ListModuleStreamProfiles()

func (SoftwareSourceClient) ListModuleStreams ¶

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/latest/osmanagementhub/ListModuleStreams.go.html to see an example of how to use ListModuleStreams API. A default retry strategy applies to this operation ListModuleStreams()

func (SoftwareSourceClient) ListPackageGroups ¶

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/latest/osmanagementhub/ListPackageGroups.go.html to see an example of how to use ListPackageGroups API. A default retry strategy applies to this operation ListPackageGroups()

func (SoftwareSourceClient) ListSoftwarePackages ¶

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/latest/osmanagementhub/ListSoftwarePackages.go.html to see an example of how to use ListSoftwarePackages API. A default retry strategy applies to this operation ListSoftwarePackages()

func (SoftwareSourceClient) ListSoftwareSourceVendors ¶

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/latest/osmanagementhub/ListSoftwareSourceVendors.go.html to see an example of how to use ListSoftwareSourceVendors API. A default retry strategy applies to this operation ListSoftwareSourceVendors()

func (SoftwareSourceClient) ListSoftwareSources ¶

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/latest/osmanagementhub/ListSoftwareSources.go.html to see an example of how to use ListSoftwareSources API. A default retry strategy applies to this operation ListSoftwareSources()

func (SoftwareSourceClient) SearchSoftwareSourceModuleStreams ¶

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/latest/osmanagementhub/SearchSoftwareSourceModuleStreams.go.html to see an example of how to use SearchSoftwareSourceModuleStreams API. A default retry strategy applies to this operation SearchSoftwareSourceModuleStreams()

func (SoftwareSourceClient) SearchSoftwareSourceModules ¶

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/latest/osmanagementhub/SearchSoftwareSourceModules.go.html to see an example of how to use SearchSoftwareSourceModules API. A default retry strategy applies to this operation SearchSoftwareSourceModules()

func (SoftwareSourceClient) SearchSoftwareSourcePackageGroups ¶

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/latest/osmanagementhub/SearchSoftwareSourcePackageGroups.go.html to see an example of how to use SearchSoftwareSourcePackageGroups API. A default retry strategy applies to this operation SearchSoftwareSourcePackageGroups()

func (*SoftwareSourceClient) SetRegion ¶

func (client *SoftwareSourceClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (SoftwareSourceClient) UpdateSoftwareSource ¶

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/latest/osmanagementhub/UpdateSoftwareSource.go.html to see an example of how to use UpdateSoftwareSource API. A default retry strategy applies to this operation UpdateSoftwareSource()

type SoftwareSourceCollection ¶

type SoftwareSourceCollection struct {

	// List of SoftwareSources.
	Items []SoftwareSourceSummary `mandatory:"true" json:"items"`
}

SoftwareSourceCollection Results of a SoftwareSource search. Contains boh SoftwareSourceSummary items and other information, such as metadata.

func (SoftwareSourceCollection) String ¶

func (m SoftwareSourceCollection) String() string

func (*SoftwareSourceCollection) UnmarshalJSON ¶

func (m *SoftwareSourceCollection) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (SoftwareSourceCollection) ValidateEnumValue ¶

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

type SoftwareSourceDetails ¶

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"`
}

SoftwareSourceDetails Identifying information for the specified software source.

func (SoftwareSourceDetails) String ¶

func (m SoftwareSourceDetails) String() string

func (SoftwareSourceDetails) ValidateEnumValue ¶

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

type SoftwareSourceLifecycleStateEnum ¶

type SoftwareSourceLifecycleStateEnum string

SoftwareSourceLifecycleStateEnum Enum with underlying type: string

const (
	SoftwareSourceLifecycleStateCreating SoftwareSourceLifecycleStateEnum = "CREATING"
	SoftwareSourceLifecycleStateUpdating SoftwareSourceLifecycleStateEnum = "UPDATING"
	SoftwareSourceLifecycleStateActive   SoftwareSourceLifecycleStateEnum = "ACTIVE"
	SoftwareSourceLifecycleStateDeleting SoftwareSourceLifecycleStateEnum = "DELETING"
	SoftwareSourceLifecycleStateDeleted  SoftwareSourceLifecycleStateEnum = "DELETED"
	SoftwareSourceLifecycleStateFailed   SoftwareSourceLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for SoftwareSourceLifecycleStateEnum

func GetMappingSoftwareSourceLifecycleStateEnum ¶

func GetMappingSoftwareSourceLifecycleStateEnum(val string) (SoftwareSourceLifecycleStateEnum, bool)

GetMappingSoftwareSourceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSoftwareSourceLifecycleStateEnumValues ¶

func GetSoftwareSourceLifecycleStateEnumValues() []SoftwareSourceLifecycleStateEnum

GetSoftwareSourceLifecycleStateEnumValues Enumerates the set of values for SoftwareSourceLifecycleStateEnum

type SoftwareSourceProfile ¶

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"`
}

SoftwareSourceProfile Definition of a registration profile of type SoftwareSource.

func (SoftwareSourceProfile) GetArchType ¶

func (m SoftwareSourceProfile) GetArchType() ArchTypeEnum

GetArchType returns ArchType

func (SoftwareSourceProfile) GetCompartmentId ¶

func (m SoftwareSourceProfile) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (SoftwareSourceProfile) GetDefinedTags ¶

func (m SoftwareSourceProfile) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (SoftwareSourceProfile) GetDescription ¶

func (m SoftwareSourceProfile) GetDescription() *string

GetDescription returns Description

func (SoftwareSourceProfile) GetDisplayName ¶

func (m SoftwareSourceProfile) GetDisplayName() *string

GetDisplayName returns DisplayName

func (SoftwareSourceProfile) GetFreeformTags ¶

func (m SoftwareSourceProfile) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (SoftwareSourceProfile) GetId ¶

func (m SoftwareSourceProfile) GetId() *string

GetId returns Id

func (SoftwareSourceProfile) GetLifecycleState ¶

func (m SoftwareSourceProfile) GetLifecycleState() ProfileLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (SoftwareSourceProfile) GetManagementStationId ¶

func (m SoftwareSourceProfile) GetManagementStationId() *string

GetManagementStationId returns ManagementStationId

func (SoftwareSourceProfile) GetOsFamily ¶

func (m SoftwareSourceProfile) GetOsFamily() OsFamilyEnum

GetOsFamily returns OsFamily

func (SoftwareSourceProfile) GetSystemTags ¶

func (m SoftwareSourceProfile) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (SoftwareSourceProfile) GetTimeCreated ¶

func (m SoftwareSourceProfile) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (SoftwareSourceProfile) GetVendorName ¶

func (m SoftwareSourceProfile) GetVendorName() VendorNameEnum

GetVendorName returns VendorName

func (SoftwareSourceProfile) MarshalJSON ¶

func (m SoftwareSourceProfile) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SoftwareSourceProfile) String ¶

func (m SoftwareSourceProfile) String() string

func (SoftwareSourceProfile) ValidateEnumValue ¶

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

type SoftwareSourceSummary ¶

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{}
}

SoftwareSourceSummary A software source contains a collection of packages.

type SoftwareSourceTypeEnum ¶

type SoftwareSourceTypeEnum string

SoftwareSourceTypeEnum Enum with underlying type: string

const (
	SoftwareSourceTypeVendor    SoftwareSourceTypeEnum = "VENDOR"
	SoftwareSourceTypeCustom    SoftwareSourceTypeEnum = "CUSTOM"
	SoftwareSourceTypeVersioned SoftwareSourceTypeEnum = "VERSIONED"
)

Set of constants representing the allowable values for SoftwareSourceTypeEnum

func GetMappingSoftwareSourceTypeEnum ¶

func GetMappingSoftwareSourceTypeEnum(val string) (SoftwareSourceTypeEnum, bool)

GetMappingSoftwareSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSoftwareSourceTypeEnumValues ¶

func GetSoftwareSourceTypeEnumValues() []SoftwareSourceTypeEnum

GetSoftwareSourceTypeEnumValues Enumerates the set of values for SoftwareSourceTypeEnum

type SoftwareSourceVendorCollection ¶

type SoftwareSourceVendorCollection struct {

	// List of SoftwareSourceVendor.
	Items []SoftwareSourceVendorSummary `mandatory:"true" json:"items"`
}

SoftwareSourceVendorCollection Results of a SoftwareSourceVendor search. Contains boh SoftwareSourceVendorSummary items and other information, such as metadata.

func (SoftwareSourceVendorCollection) String ¶

func (SoftwareSourceVendorCollection) ValidateEnumValue ¶

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

type SoftwareSourceVendorSummary ¶

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"`
}

SoftwareSourceVendorSummary Software vendor name, list of osFamily and archType.

func (SoftwareSourceVendorSummary) String ¶

func (SoftwareSourceVendorSummary) ValidateEnumValue ¶

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

type SoftwareSourcesDetails ¶

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"`
}

SoftwareSourcesDetails The details about the software sources to be attached/detached.

func (SoftwareSourcesDetails) String ¶

func (m SoftwareSourcesDetails) String() string

func (SoftwareSourcesDetails) ValidateEnumValue ¶

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

type SortOrderEnum ¶

type SortOrderEnum string

SortOrderEnum Enum with underlying type: string

const (
	SortOrderAsc  SortOrderEnum = "ASC"
	SortOrderDesc SortOrderEnum = "DESC"
)

Set of constants representing the allowable values for SortOrderEnum

func GetMappingSortOrderEnum ¶

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrderEnumValues ¶

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type StationProfile ¶

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"`
}

StationProfile Definition of a registration profile of type STATION.

func (StationProfile) GetArchType ¶

func (m StationProfile) GetArchType() ArchTypeEnum

GetArchType returns ArchType

func (StationProfile) GetCompartmentId ¶

func (m StationProfile) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (StationProfile) GetDefinedTags ¶

func (m StationProfile) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (StationProfile) GetDescription ¶

func (m StationProfile) GetDescription() *string

GetDescription returns Description

func (StationProfile) GetDisplayName ¶

func (m StationProfile) GetDisplayName() *string

GetDisplayName returns DisplayName

func (StationProfile) GetFreeformTags ¶

func (m StationProfile) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (StationProfile) GetId ¶

func (m StationProfile) GetId() *string

GetId returns Id

func (StationProfile) GetLifecycleState ¶

func (m StationProfile) GetLifecycleState() ProfileLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (StationProfile) GetManagementStationId ¶

func (m StationProfile) GetManagementStationId() *string

GetManagementStationId returns ManagementStationId

func (StationProfile) GetOsFamily ¶

func (m StationProfile) GetOsFamily() OsFamilyEnum

GetOsFamily returns OsFamily

func (StationProfile) GetSystemTags ¶

func (m StationProfile) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (StationProfile) GetTimeCreated ¶

func (m StationProfile) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (StationProfile) GetVendorName ¶

func (m StationProfile) GetVendorName() VendorNameEnum

GetVendorName returns VendorName

func (StationProfile) MarshalJSON ¶

func (m StationProfile) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (StationProfile) String ¶

func (m StationProfile) String() string

func (StationProfile) ValidateEnumValue ¶

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

type SummarizeManagedInstanceAnalyticsInstanceLocationEnum ¶

type SummarizeManagedInstanceAnalyticsInstanceLocationEnum string

SummarizeManagedInstanceAnalyticsInstanceLocationEnum Enum with underlying type: string

const (
	SummarizeManagedInstanceAnalyticsInstanceLocationOnPremise  SummarizeManagedInstanceAnalyticsInstanceLocationEnum = "ON_PREMISE"
	SummarizeManagedInstanceAnalyticsInstanceLocationOciCompute SummarizeManagedInstanceAnalyticsInstanceLocationEnum = "OCI_COMPUTE"
	SummarizeManagedInstanceAnalyticsInstanceLocationAzure      SummarizeManagedInstanceAnalyticsInstanceLocationEnum = "AZURE"
	SummarizeManagedInstanceAnalyticsInstanceLocationEc2        SummarizeManagedInstanceAnalyticsInstanceLocationEnum = "EC2"
)

Set of constants representing the allowable values for SummarizeManagedInstanceAnalyticsInstanceLocationEnum

func GetMappingSummarizeManagedInstanceAnalyticsInstanceLocationEnum ¶

func GetMappingSummarizeManagedInstanceAnalyticsInstanceLocationEnum(val string) (SummarizeManagedInstanceAnalyticsInstanceLocationEnum, bool)

GetMappingSummarizeManagedInstanceAnalyticsInstanceLocationEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSummarizeManagedInstanceAnalyticsInstanceLocationEnumValues ¶

func GetSummarizeManagedInstanceAnalyticsInstanceLocationEnumValues() []SummarizeManagedInstanceAnalyticsInstanceLocationEnum

GetSummarizeManagedInstanceAnalyticsInstanceLocationEnumValues Enumerates the set of values for SummarizeManagedInstanceAnalyticsInstanceLocationEnum

type 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
}

SummarizeManagedInstanceAnalyticsRequest wrapper for the SummarizeManagedInstanceAnalytics operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/SummarizeManagedInstanceAnalytics.go.html to see an example of how to use SummarizeManagedInstanceAnalyticsRequest.

func (SummarizeManagedInstanceAnalyticsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (SummarizeManagedInstanceAnalyticsRequest) HTTPRequest ¶

func (request SummarizeManagedInstanceAnalyticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SummarizeManagedInstanceAnalyticsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SummarizeManagedInstanceAnalyticsRequest) String ¶

func (SummarizeManagedInstanceAnalyticsRequest) ValidateEnumValue ¶

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

type SummarizeManagedInstanceAnalyticsResponse ¶

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"`
}

SummarizeManagedInstanceAnalyticsResponse wrapper for the SummarizeManagedInstanceAnalytics operation

func (SummarizeManagedInstanceAnalyticsResponse) HTTPResponse ¶

func (response SummarizeManagedInstanceAnalyticsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SummarizeManagedInstanceAnalyticsResponse) String ¶

type SummarizeManagedInstanceAnalyticsSortByEnum ¶

type SummarizeManagedInstanceAnalyticsSortByEnum string

SummarizeManagedInstanceAnalyticsSortByEnum Enum with underlying type: string

const (
	SummarizeManagedInstanceAnalyticsSortByName SummarizeManagedInstanceAnalyticsSortByEnum = "name"
)

Set of constants representing the allowable values for SummarizeManagedInstanceAnalyticsSortByEnum

func GetMappingSummarizeManagedInstanceAnalyticsSortByEnum ¶

func GetMappingSummarizeManagedInstanceAnalyticsSortByEnum(val string) (SummarizeManagedInstanceAnalyticsSortByEnum, bool)

GetMappingSummarizeManagedInstanceAnalyticsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSummarizeManagedInstanceAnalyticsSortByEnumValues ¶

func GetSummarizeManagedInstanceAnalyticsSortByEnumValues() []SummarizeManagedInstanceAnalyticsSortByEnum

GetSummarizeManagedInstanceAnalyticsSortByEnumValues Enumerates the set of values for SummarizeManagedInstanceAnalyticsSortByEnum

type SummarizeManagedInstanceAnalyticsSortOrderEnum ¶

type SummarizeManagedInstanceAnalyticsSortOrderEnum string

SummarizeManagedInstanceAnalyticsSortOrderEnum Enum with underlying type: string

const (
	SummarizeManagedInstanceAnalyticsSortOrderAsc  SummarizeManagedInstanceAnalyticsSortOrderEnum = "ASC"
	SummarizeManagedInstanceAnalyticsSortOrderDesc SummarizeManagedInstanceAnalyticsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for SummarizeManagedInstanceAnalyticsSortOrderEnum

func GetMappingSummarizeManagedInstanceAnalyticsSortOrderEnum ¶

func GetMappingSummarizeManagedInstanceAnalyticsSortOrderEnum(val string) (SummarizeManagedInstanceAnalyticsSortOrderEnum, bool)

GetMappingSummarizeManagedInstanceAnalyticsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSummarizeManagedInstanceAnalyticsSortOrderEnumValues ¶

func GetSummarizeManagedInstanceAnalyticsSortOrderEnumValues() []SummarizeManagedInstanceAnalyticsSortOrderEnum

GetSummarizeManagedInstanceAnalyticsSortOrderEnumValues Enumerates the set of values for SummarizeManagedInstanceAnalyticsSortOrderEnum

type SwitchModuleStreamOnManagedInstanceDetails ¶

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"`
}

SwitchModuleStreamOnManagedInstanceDetails The details of the module stream to be version switched on a managed instance.

func (SwitchModuleStreamOnManagedInstanceDetails) String ¶

func (SwitchModuleStreamOnManagedInstanceDetails) ValidateEnumValue ¶

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

type 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
}

SwitchModuleStreamOnManagedInstanceRequest wrapper for the SwitchModuleStreamOnManagedInstance operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/SwitchModuleStreamOnManagedInstance.go.html to see an example of how to use SwitchModuleStreamOnManagedInstanceRequest.

func (SwitchModuleStreamOnManagedInstanceRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (SwitchModuleStreamOnManagedInstanceRequest) HTTPRequest ¶

func (request SwitchModuleStreamOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SwitchModuleStreamOnManagedInstanceRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SwitchModuleStreamOnManagedInstanceRequest) String ¶

func (SwitchModuleStreamOnManagedInstanceRequest) ValidateEnumValue ¶

func (request SwitchModuleStreamOnManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SwitchModuleStreamOnManagedInstanceResponse ¶

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"`
}

SwitchModuleStreamOnManagedInstanceResponse wrapper for the SwitchModuleStreamOnManagedInstance operation

func (SwitchModuleStreamOnManagedInstanceResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (SwitchModuleStreamOnManagedInstanceResponse) String ¶

type SynchronizeMirrorsDetails ¶

type SynchronizeMirrorsDetails struct {

	// List of Software Source OCIDs to synchronize
	SoftwareSourceList []string `mandatory:"true" json:"softwareSourceList"`
}

SynchronizeMirrorsDetails Details for syncing selected mirrors

func (SynchronizeMirrorsDetails) String ¶

func (m SynchronizeMirrorsDetails) String() string

func (SynchronizeMirrorsDetails) ValidateEnumValue ¶

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

type 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
}

SynchronizeMirrorsRequest wrapper for the SynchronizeMirrors operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/SynchronizeMirrors.go.html to see an example of how to use SynchronizeMirrorsRequest.

func (SynchronizeMirrorsRequest) BinaryRequestBody ¶

func (request SynchronizeMirrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (SynchronizeMirrorsRequest) HTTPRequest ¶

func (request SynchronizeMirrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SynchronizeMirrorsRequest) RetryPolicy ¶

func (request SynchronizeMirrorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SynchronizeMirrorsRequest) String ¶

func (request SynchronizeMirrorsRequest) String() string

func (SynchronizeMirrorsRequest) ValidateEnumValue ¶

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

type SynchronizeMirrorsResponse ¶

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"`
}

SynchronizeMirrorsResponse wrapper for the SynchronizeMirrors operation

func (SynchronizeMirrorsResponse) HTTPResponse ¶

func (response SynchronizeMirrorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SynchronizeMirrorsResponse) String ¶

func (response SynchronizeMirrorsResponse) String() string

type 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
}

SynchronizeSingleMirrorsRequest wrapper for the SynchronizeSingleMirrors operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/SynchronizeSingleMirrors.go.html to see an example of how to use SynchronizeSingleMirrorsRequest.

func (SynchronizeSingleMirrorsRequest) BinaryRequestBody ¶

func (request SynchronizeSingleMirrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (SynchronizeSingleMirrorsRequest) HTTPRequest ¶

func (request SynchronizeSingleMirrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SynchronizeSingleMirrorsRequest) RetryPolicy ¶

func (request SynchronizeSingleMirrorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SynchronizeSingleMirrorsRequest) String ¶

func (request SynchronizeSingleMirrorsRequest) String() string

func (SynchronizeSingleMirrorsRequest) ValidateEnumValue ¶

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

type SynchronizeSingleMirrorsResponse ¶

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"`
}

SynchronizeSingleMirrorsResponse wrapper for the SynchronizeSingleMirrors operation

func (SynchronizeSingleMirrorsResponse) HTTPResponse ¶

func (response SynchronizeSingleMirrorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SynchronizeSingleMirrorsResponse) String ¶

func (response SynchronizeSingleMirrorsResponse) String() string

type TargetResourceEntityTypeEnum ¶

type TargetResourceEntityTypeEnum string

TargetResourceEntityTypeEnum Enum with underlying type: string

const (
	TargetResourceEntityTypeInstance             TargetResourceEntityTypeEnum = "INSTANCE"
	TargetResourceEntityTypeGroup                TargetResourceEntityTypeEnum = "GROUP"
	TargetResourceEntityTypeCompartment          TargetResourceEntityTypeEnum = "COMPARTMENT"
	TargetResourceEntityTypeLifecycleEnvironment TargetResourceEntityTypeEnum = "LIFECYCLE_ENVIRONMENT"
	TargetResourceEntityTypeSoftwareSource       TargetResourceEntityTypeEnum = "SOFTWARE_SOURCE"
)

Set of constants representing the allowable values for TargetResourceEntityTypeEnum

func GetMappingTargetResourceEntityTypeEnum ¶

func GetMappingTargetResourceEntityTypeEnum(val string) (TargetResourceEntityTypeEnum, bool)

GetMappingTargetResourceEntityTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetResourceEntityTypeEnumValues ¶

func GetTargetResourceEntityTypeEnumValues() []TargetResourceEntityTypeEnum

GetTargetResourceEntityTypeEnumValues Enumerates the set of values for TargetResourceEntityTypeEnum

type UpdatablePackageCollection ¶

type UpdatablePackageCollection struct {

	// List of updatable packages.
	Items []UpdatablePackageSummary `mandatory:"true" json:"items"`
}

UpdatablePackageCollection Results of an updatable package search on a managed instance.

func (UpdatablePackageCollection) String ¶

func (UpdatablePackageCollection) ValidateEnumValue ¶

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

type UpdatablePackageSummary ¶

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"`
}

UpdatablePackageSummary A software package available for install on a managed instance.

func (UpdatablePackageSummary) GetArchitecture ¶

func (m UpdatablePackageSummary) GetArchitecture() ArchTypeEnum

GetArchitecture returns Architecture

func (UpdatablePackageSummary) GetDisplayName ¶

func (m UpdatablePackageSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdatablePackageSummary) GetName ¶

func (m UpdatablePackageSummary) GetName() *string

GetName returns Name

func (UpdatablePackageSummary) GetSoftwareSources ¶

func (m UpdatablePackageSummary) GetSoftwareSources() []SoftwareSourceDetails

GetSoftwareSources returns SoftwareSources

func (UpdatablePackageSummary) GetType ¶

func (m UpdatablePackageSummary) GetType() *string

GetType returns Type

func (UpdatablePackageSummary) GetVersion ¶

func (m UpdatablePackageSummary) GetVersion() *string

GetVersion returns Version

func (UpdatablePackageSummary) MarshalJSON ¶

func (m UpdatablePackageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdatablePackageSummary) String ¶

func (m UpdatablePackageSummary) String() string

func (UpdatablePackageSummary) ValidateEnumValue ¶

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

type UpdateAllPackagesOnManagedInstanceGroupDetails ¶

type UpdateAllPackagesOnManagedInstanceGroupDetails struct {

	// The type of updates to be applied.
	UpdateTypes []UpdateTypesEnum `mandatory:"false" json:"updateTypes,omitempty"`

	WorkRequestDetails *WorkRequestDetails `mandatory:"false" json:"workRequestDetails"`
}

UpdateAllPackagesOnManagedInstanceGroupDetails The work request details for the update operation on the managed instance group.

func (UpdateAllPackagesOnManagedInstanceGroupDetails) String ¶

func (UpdateAllPackagesOnManagedInstanceGroupDetails) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type 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
}

UpdateAllPackagesOnManagedInstanceGroupRequest wrapper for the UpdateAllPackagesOnManagedInstanceGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/UpdateAllPackagesOnManagedInstanceGroup.go.html to see an example of how to use UpdateAllPackagesOnManagedInstanceGroupRequest.

func (UpdateAllPackagesOnManagedInstanceGroupRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (UpdateAllPackagesOnManagedInstanceGroupRequest) HTTPRequest ¶

func (request UpdateAllPackagesOnManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateAllPackagesOnManagedInstanceGroupRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateAllPackagesOnManagedInstanceGroupRequest) String ¶

func (UpdateAllPackagesOnManagedInstanceGroupRequest) ValidateEnumValue ¶

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

type UpdateAllPackagesOnManagedInstanceGroupResponse ¶

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"`
}

UpdateAllPackagesOnManagedInstanceGroupResponse wrapper for the UpdateAllPackagesOnManagedInstanceGroup operation

func (UpdateAllPackagesOnManagedInstanceGroupResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (UpdateAllPackagesOnManagedInstanceGroupResponse) String ¶

type UpdateAllPackagesOnManagedInstancesInCompartmentDetails ¶

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"`
}

UpdateAllPackagesOnManagedInstancesInCompartmentDetails The details about the package types to be updated.

func (UpdateAllPackagesOnManagedInstancesInCompartmentDetails) String ¶

func (UpdateAllPackagesOnManagedInstancesInCompartmentDetails) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type 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
}

UpdateAllPackagesOnManagedInstancesInCompartmentRequest wrapper for the UpdateAllPackagesOnManagedInstancesInCompartment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/UpdateAllPackagesOnManagedInstancesInCompartment.go.html to see an example of how to use UpdateAllPackagesOnManagedInstancesInCompartmentRequest.

func (UpdateAllPackagesOnManagedInstancesInCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (UpdateAllPackagesOnManagedInstancesInCompartmentRequest) HTTPRequest ¶

func (request UpdateAllPackagesOnManagedInstancesInCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateAllPackagesOnManagedInstancesInCompartmentRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateAllPackagesOnManagedInstancesInCompartmentRequest) String ¶

func (UpdateAllPackagesOnManagedInstancesInCompartmentRequest) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateAllPackagesOnManagedInstancesInCompartmentResponse ¶

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"`
}

UpdateAllPackagesOnManagedInstancesInCompartmentResponse wrapper for the UpdateAllPackagesOnManagedInstancesInCompartment operation

func (UpdateAllPackagesOnManagedInstancesInCompartmentResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (UpdateAllPackagesOnManagedInstancesInCompartmentResponse) String ¶

type UpdateCustomSoftwareSourceDetails ¶

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"`
}

UpdateCustomSoftwareSourceDetails Information for updating a custom or software source.

func (UpdateCustomSoftwareSourceDetails) GetCompartmentId ¶

func (m UpdateCustomSoftwareSourceDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (UpdateCustomSoftwareSourceDetails) GetDefinedTags ¶

func (m UpdateCustomSoftwareSourceDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateCustomSoftwareSourceDetails) GetDescription ¶

func (m UpdateCustomSoftwareSourceDetails) GetDescription() *string

GetDescription returns Description

func (UpdateCustomSoftwareSourceDetails) GetDisplayName ¶

func (m UpdateCustomSoftwareSourceDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateCustomSoftwareSourceDetails) GetFreeformTags ¶

func (m UpdateCustomSoftwareSourceDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateCustomSoftwareSourceDetails) MarshalJSON ¶

func (m UpdateCustomSoftwareSourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateCustomSoftwareSourceDetails) String ¶

func (UpdateCustomSoftwareSourceDetails) ValidateEnumValue ¶

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

type UpdateLifecycleEnvironmentDetails ¶

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"`
}

UpdateLifecycleEnvironmentDetails The information to be updated.

func (UpdateLifecycleEnvironmentDetails) String ¶

func (UpdateLifecycleEnvironmentDetails) ValidateEnumValue ¶

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

type 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
}

UpdateLifecycleEnvironmentRequest wrapper for the UpdateLifecycleEnvironment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/UpdateLifecycleEnvironment.go.html to see an example of how to use UpdateLifecycleEnvironmentRequest.

func (UpdateLifecycleEnvironmentRequest) BinaryRequestBody ¶

func (request UpdateLifecycleEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateLifecycleEnvironmentRequest) HTTPRequest ¶

func (request UpdateLifecycleEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateLifecycleEnvironmentRequest) RetryPolicy ¶

func (request UpdateLifecycleEnvironmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateLifecycleEnvironmentRequest) String ¶

func (request UpdateLifecycleEnvironmentRequest) String() string

func (UpdateLifecycleEnvironmentRequest) ValidateEnumValue ¶

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

type UpdateLifecycleEnvironmentResponse ¶

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"`
}

UpdateLifecycleEnvironmentResponse wrapper for the UpdateLifecycleEnvironment operation

func (UpdateLifecycleEnvironmentResponse) HTTPResponse ¶

func (response UpdateLifecycleEnvironmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateLifecycleEnvironmentResponse) String ¶

func (response UpdateLifecycleEnvironmentResponse) String() string

type UpdateLifecycleStageDetails ¶

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"`
}

UpdateLifecycleStageDetails The information to be updated.

func (UpdateLifecycleStageDetails) String ¶

func (UpdateLifecycleStageDetails) ValidateEnumValue ¶

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

type UpdateManagedInstanceDetails ¶

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"`
}

UpdateManagedInstanceDetails The information to be updated.

func (UpdateManagedInstanceDetails) String ¶

func (UpdateManagedInstanceDetails) ValidateEnumValue ¶

func (m UpdateManagedInstanceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateManagedInstanceGroupDetails ¶

type UpdateManagedInstanceGroupDetails struct {

	// 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"`
}

UpdateManagedInstanceGroupDetails The information to be updated.

func (UpdateManagedInstanceGroupDetails) String ¶

func (UpdateManagedInstanceGroupDetails) ValidateEnumValue ¶

func (m UpdateManagedInstanceGroupDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateManagedInstanceGroupRequest ¶

type UpdateManagedInstanceGroupRequest struct {

	// 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
}

UpdateManagedInstanceGroupRequest wrapper for the UpdateManagedInstanceGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/UpdateManagedInstanceGroup.go.html to see an example of how to use UpdateManagedInstanceGroupRequest.

func (UpdateManagedInstanceGroupRequest) BinaryRequestBody ¶

func (request UpdateManagedInstanceGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateManagedInstanceGroupRequest) HTTPRequest ¶

func (request UpdateManagedInstanceGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateManagedInstanceGroupRequest) RetryPolicy ¶

func (request UpdateManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateManagedInstanceGroupRequest) String ¶

func (request UpdateManagedInstanceGroupRequest) String() string

func (UpdateManagedInstanceGroupRequest) ValidateEnumValue ¶

func (request UpdateManagedInstanceGroupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateManagedInstanceGroupResponse ¶

type UpdateManagedInstanceGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedInstanceGroup instance
	ManagedInstanceGroup `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateManagedInstanceGroupResponse wrapper for the UpdateManagedInstanceGroup operation

func (UpdateManagedInstanceGroupResponse) HTTPResponse ¶

func (response UpdateManagedInstanceGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateManagedInstanceGroupResponse) String ¶

func (response UpdateManagedInstanceGroupResponse) String() string

type UpdateManagedInstanceRequest ¶

type UpdateManagedInstanceRequest struct {

	// 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
}

UpdateManagedInstanceRequest wrapper for the UpdateManagedInstance operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/UpdateManagedInstance.go.html to see an example of how to use UpdateManagedInstanceRequest.

func (UpdateManagedInstanceRequest) BinaryRequestBody ¶

func (request UpdateManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateManagedInstanceRequest) HTTPRequest ¶

func (request UpdateManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateManagedInstanceRequest) RetryPolicy ¶

func (request UpdateManagedInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateManagedInstanceRequest) String ¶

func (request UpdateManagedInstanceRequest) String() string

func (UpdateManagedInstanceRequest) ValidateEnumValue ¶

func (request UpdateManagedInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateManagedInstanceResponse ¶

type UpdateManagedInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedInstance instance
	ManagedInstance `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateManagedInstanceResponse wrapper for the UpdateManagedInstance operation

func (UpdateManagedInstanceResponse) HTTPResponse ¶

func (response UpdateManagedInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateManagedInstanceResponse) String ¶

func (response UpdateManagedInstanceResponse) String() string

type UpdateManagementStationDetails ¶

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"`
}

UpdateManagementStationDetails Information for updating an ManagementStation

func (UpdateManagementStationDetails) String ¶

func (UpdateManagementStationDetails) ValidateEnumValue ¶

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

type 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
}

UpdateManagementStationRequest wrapper for the UpdateManagementStation operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/UpdateManagementStation.go.html to see an example of how to use UpdateManagementStationRequest.

func (UpdateManagementStationRequest) BinaryRequestBody ¶

func (request UpdateManagementStationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateManagementStationRequest) HTTPRequest ¶

func (request UpdateManagementStationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateManagementStationRequest) RetryPolicy ¶

func (request UpdateManagementStationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateManagementStationRequest) String ¶

func (request UpdateManagementStationRequest) String() string

func (UpdateManagementStationRequest) ValidateEnumValue ¶

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

type UpdateManagementStationResponse ¶

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"`
}

UpdateManagementStationResponse wrapper for the UpdateManagementStation operation

func (UpdateManagementStationResponse) HTTPResponse ¶

func (response UpdateManagementStationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateManagementStationResponse) String ¶

func (response UpdateManagementStationResponse) String() string

type UpdateMirrorConfigurationDetails ¶

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"`
}

UpdateMirrorConfigurationDetails Information for updating a mirror configuration

func (UpdateMirrorConfigurationDetails) String ¶

func (UpdateMirrorConfigurationDetails) ValidateEnumValue ¶

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

type UpdatePackagesOnManagedInstanceDetails ¶

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"`
}

UpdatePackagesOnManagedInstanceDetails The details about the software packages to be updated.

func (UpdatePackagesOnManagedInstanceDetails) String ¶

func (UpdatePackagesOnManagedInstanceDetails) ValidateEnumValue ¶

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

type 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
}

UpdatePackagesOnManagedInstanceRequest wrapper for the UpdatePackagesOnManagedInstance operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/UpdatePackagesOnManagedInstance.go.html to see an example of how to use UpdatePackagesOnManagedInstanceRequest.

func (UpdatePackagesOnManagedInstanceRequest) BinaryRequestBody ¶

func (request UpdatePackagesOnManagedInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdatePackagesOnManagedInstanceRequest) HTTPRequest ¶

func (request UpdatePackagesOnManagedInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdatePackagesOnManagedInstanceRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdatePackagesOnManagedInstanceRequest) String ¶

func (UpdatePackagesOnManagedInstanceRequest) ValidateEnumValue ¶

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

type UpdatePackagesOnManagedInstanceResponse ¶

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"`
}

UpdatePackagesOnManagedInstanceResponse wrapper for the UpdatePackagesOnManagedInstance operation

func (UpdatePackagesOnManagedInstanceResponse) HTTPResponse ¶

func (response UpdatePackagesOnManagedInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdatePackagesOnManagedInstanceResponse) String ¶

type UpdateProfileDetails ¶

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"`
}

UpdateProfileDetails Information for updating a registration profile

func (UpdateProfileDetails) String ¶

func (m UpdateProfileDetails) String() string

func (UpdateProfileDetails) ValidateEnumValue ¶

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

type 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
}

UpdateProfileRequest wrapper for the UpdateProfile operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/UpdateProfile.go.html to see an example of how to use UpdateProfileRequest.

func (UpdateProfileRequest) BinaryRequestBody ¶

func (request UpdateProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateProfileRequest) HTTPRequest ¶

func (request UpdateProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateProfileRequest) RetryPolicy ¶

func (request UpdateProfileRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateProfileRequest) String ¶

func (request UpdateProfileRequest) String() string

func (UpdateProfileRequest) ValidateEnumValue ¶

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

type UpdateProfileResponse ¶

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"`
}

UpdateProfileResponse wrapper for the UpdateProfile operation

func (UpdateProfileResponse) HTTPResponse ¶

func (response UpdateProfileResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateProfileResponse) String ¶

func (response UpdateProfileResponse) String() string

type UpdateProxyConfigurationDetails ¶

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"`
}

UpdateProxyConfigurationDetails Information for updating a proxy configuration

func (UpdateProxyConfigurationDetails) String ¶

func (UpdateProxyConfigurationDetails) ValidateEnumValue ¶

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

type UpdateScheduledJobDetails ¶

type UpdateScheduledJobDetails struct {

	// Scheduled job name.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Details describing the scheduled job.
	Description *string `mandatory:"false" json:"description"`

	// The type of scheduling this scheduled job follows.
	ScheduleType ScheduleTypesEnum `mandatory:"false" json:"scheduleType,omitempty"`

	// The desired time for the next execution of this scheduled job.
	TimeNextExecution *common.SDKTime `mandatory:"false" json:"timeNextExecution"`

	// The 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"`
}

UpdateScheduledJobDetails Information for updating a scheduled job.

func (UpdateScheduledJobDetails) String ¶

func (m UpdateScheduledJobDetails) String() string

func (UpdateScheduledJobDetails) ValidateEnumValue ¶

func (m UpdateScheduledJobDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateScheduledJobRequest ¶

type UpdateScheduledJobRequest struct {

	// The 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
}

UpdateScheduledJobRequest wrapper for the UpdateScheduledJob operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/UpdateScheduledJob.go.html to see an example of how to use UpdateScheduledJobRequest.

func (UpdateScheduledJobRequest) BinaryRequestBody ¶

func (request UpdateScheduledJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateScheduledJobRequest) HTTPRequest ¶

func (request UpdateScheduledJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateScheduledJobRequest) RetryPolicy ¶

func (request UpdateScheduledJobRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateScheduledJobRequest) String ¶

func (request UpdateScheduledJobRequest) String() string

func (UpdateScheduledJobRequest) ValidateEnumValue ¶

func (request UpdateScheduledJobRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateScheduledJobResponse ¶

type UpdateScheduledJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ScheduledJob instance
	ScheduledJob `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateScheduledJobResponse wrapper for the UpdateScheduledJob operation

func (UpdateScheduledJobResponse) HTTPResponse ¶

func (response UpdateScheduledJobResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateScheduledJobResponse) String ¶

func (response UpdateScheduledJobResponse) String() string

type UpdateSoftwareSourceDetails ¶

type UpdateSoftwareSourceDetails 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{}
}

UpdateSoftwareSourceDetails Information for updating a software source.

type 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
}

UpdateSoftwareSourceRequest wrapper for the UpdateSoftwareSource operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/osmanagementhub/UpdateSoftwareSource.go.html to see an example of how to use UpdateSoftwareSourceRequest.

func (UpdateSoftwareSourceRequest) BinaryRequestBody ¶

func (request UpdateSoftwareSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSoftwareSourceRequest) HTTPRequest ¶

func (request UpdateSoftwareSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSoftwareSourceRequest) RetryPolicy ¶

func (request UpdateSoftwareSourceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSoftwareSourceRequest) String ¶

func (request UpdateSoftwareSourceRequest) String() string

func (UpdateSoftwareSourceRequest) ValidateEnumValue ¶

func (request UpdateSoftwareSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSoftwareSourceResponse ¶

type UpdateSoftwareSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SoftwareSource instance
	SoftwareSource `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// 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"`
}

UpdateSoftwareSourceResponse wrapper for the UpdateSoftwareSource operation

func (UpdateSoftwareSourceResponse) HTTPResponse ¶

func (response UpdateSoftwareSourceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSoftwareSourceResponse) String ¶

func (response UpdateSoftwareSourceResponse) String() string

type UpdateTypesEnum ¶

type UpdateTypesEnum string

UpdateTypesEnum Enum with underlying type: string

const (
	UpdateTypesSecurity         UpdateTypesEnum = "SECURITY"
	UpdateTypesBugfix           UpdateTypesEnum = "BUGFIX"
	UpdateTypesEnhancement      UpdateTypesEnum = "ENHANCEMENT"
	UpdateTypesOther            UpdateTypesEnum = "OTHER"
	UpdateTypesKspliceKernel    UpdateTypesEnum = "KSPLICE_KERNEL"
	UpdateTypesKspliceUserspace UpdateTypesEnum = "KSPLICE_USERSPACE"
	UpdateTypesAll              UpdateTypesEnum = "ALL"
)

Set of constants representing the allowable values for UpdateTypesEnum

func GetMappingUpdateTypesEnum ¶

func GetMappingUpdateTypesEnum(val string) (UpdateTypesEnum, bool)

GetMappingUpdateTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateTypesEnumValues ¶

func GetUpdateTypesEnumValues() []UpdateTypesEnum

GetUpdateTypesEnumValues Enumerates the set of values for UpdateTypesEnum

type UpdateVendorSoftwareSourceDetails ¶

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"`
}

UpdateVendorSoftwareSourceDetails Information for updating a vendor source. Tags only.

func (UpdateVendorSoftwareSourceDetails) GetCompartmentId ¶

func (m UpdateVendorSoftwareSourceDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (UpdateVendorSoftwareSourceDetails) GetDefinedTags ¶

func (m UpdateVendorSoftwareSourceDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateVendorSoftwareSourceDetails) GetDescription ¶

func (m UpdateVendorSoftwareSourceDetails) GetDescription() *string

GetDescription returns Description

func (UpdateVendorSoftwareSourceDetails) GetDisplayName ¶

func (m UpdateVendorSoftwareSourceDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateVendorSoftwareSourceDetails) GetFreeformTags ¶

func (m UpdateVendorSoftwareSourceDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateVendorSoftwareSourceDetails) MarshalJSON ¶

func (m UpdateVendorSoftwareSourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateVendorSoftwareSourceDetails) String ¶

func (UpdateVendorSoftwareSourceDetails) ValidateEnumValue ¶

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

type UpdateWorkRequestDetails ¶

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"`
}

UpdateWorkRequestDetails Detail information for updating a work request.

func (UpdateWorkRequestDetails) String ¶

func (m UpdateWorkRequestDetails) String() string

func (UpdateWorkRequestDetails) ValidateEnumValue ¶

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

type VendorNameEnum ¶

type VendorNameEnum string

VendorNameEnum Enum with underlying type: string

const (
	VendorNameOracle VendorNameEnum = "ORACLE"
)

Set of constants representing the allowable values for VendorNameEnum

func GetMappingVendorNameEnum ¶

func GetMappingVendorNameEnum(val string) (VendorNameEnum, bool)

GetMappingVendorNameEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVendorNameEnumValues ¶

func GetVendorNameEnumValues() []VendorNameEnum

GetVendorNameEnumValues Enumerates the set of values for VendorNameEnum

type VendorSoftwareSource ¶

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"`
}

VendorSoftwareSource A vendor software source contains a collection of packages.

func (VendorSoftwareSource) GetArchType ¶

func (m VendorSoftwareSource) GetArchType() ArchTypeEnum

GetArchType returns ArchType

func (VendorSoftwareSource) GetAvailability ¶

func (m VendorSoftwareSource) GetAvailability() AvailabilityEnum

GetAvailability returns Availability

func (VendorSoftwareSource) GetChecksumType ¶

func (m VendorSoftwareSource) GetChecksumType() ChecksumTypeEnum

GetChecksumType returns ChecksumType

func (VendorSoftwareSource) GetCompartmentId ¶

func (m VendorSoftwareSource) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (VendorSoftwareSource) GetDefinedTags ¶

func (m VendorSoftwareSource) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (VendorSoftwareSource) GetDescription ¶

func (m VendorSoftwareSource) GetDescription() *string

GetDescription returns Description

func (VendorSoftwareSource) GetDisplayName ¶

func (m VendorSoftwareSource) GetDisplayName() *string

GetDisplayName returns DisplayName

func (VendorSoftwareSource) GetFreeformTags ¶

func (m VendorSoftwareSource) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (VendorSoftwareSource) GetGpgKeyFingerprint ¶

func (m VendorSoftwareSource) GetGpgKeyFingerprint() *string

GetGpgKeyFingerprint returns GpgKeyFingerprint

func (VendorSoftwareSource) GetGpgKeyId ¶

func (m VendorSoftwareSource) GetGpgKeyId() *string

GetGpgKeyId returns GpgKeyId

func (VendorSoftwareSource) GetGpgKeyUrl ¶

func (m VendorSoftwareSource) GetGpgKeyUrl() *string

GetGpgKeyUrl returns GpgKeyUrl

func (VendorSoftwareSource) GetId ¶

func (m VendorSoftwareSource) GetId() *string

GetId returns Id

func (VendorSoftwareSource) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (VendorSoftwareSource) GetOsFamily ¶

func (m VendorSoftwareSource) GetOsFamily() OsFamilyEnum

GetOsFamily returns OsFamily

func (VendorSoftwareSource) GetPackageCount ¶

func (m VendorSoftwareSource) GetPackageCount() *int64

GetPackageCount returns PackageCount

func (VendorSoftwareSource) GetRepoId ¶

func (m VendorSoftwareSource) GetRepoId() *string

GetRepoId returns RepoId

func (VendorSoftwareSource) GetSystemTags ¶

func (m VendorSoftwareSource) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (VendorSoftwareSource) GetTimeCreated ¶

func (m VendorSoftwareSource) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (VendorSoftwareSource) GetUrl ¶

func (m VendorSoftwareSource) GetUrl() *string

GetUrl returns Url

func (VendorSoftwareSource) MarshalJSON ¶

func (m VendorSoftwareSource) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VendorSoftwareSource) String ¶

func (m VendorSoftwareSource) String() string

func (VendorSoftwareSource) ValidateEnumValue ¶

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

type VendorSoftwareSourceSummary ¶

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"`
}

VendorSoftwareSourceSummary A vendor software source summary summarizes a vendor software source.

func (VendorSoftwareSourceSummary) GetArchType ¶

func (m VendorSoftwareSourceSummary) GetArchType() ArchTypeEnum

GetArchType returns ArchType

func (VendorSoftwareSourceSummary) GetAvailability ¶

func (m VendorSoftwareSourceSummary) GetAvailability() AvailabilityEnum

GetAvailability returns Availability

func (VendorSoftwareSourceSummary) GetCompartmentId ¶

func (m VendorSoftwareSourceSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (VendorSoftwareSourceSummary) GetDefinedTags ¶

func (m VendorSoftwareSourceSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (VendorSoftwareSourceSummary) GetDescription ¶

func (m VendorSoftwareSourceSummary) GetDescription() *string

GetDescription returns Description

func (VendorSoftwareSourceSummary) GetDisplayName ¶

func (m VendorSoftwareSourceSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (VendorSoftwareSourceSummary) GetFreeformTags ¶

func (m VendorSoftwareSourceSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (VendorSoftwareSourceSummary) GetId ¶

GetId returns Id

func (VendorSoftwareSourceSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (VendorSoftwareSourceSummary) GetOsFamily ¶

func (m VendorSoftwareSourceSummary) GetOsFamily() OsFamilyEnum

GetOsFamily returns OsFamily

func (VendorSoftwareSourceSummary) GetPackageCount ¶

func (m VendorSoftwareSourceSummary) GetPackageCount() *int64

GetPackageCount returns PackageCount

func (VendorSoftwareSourceSummary) GetRepoId ¶

func (m VendorSoftwareSourceSummary) GetRepoId() *string

GetRepoId returns RepoId

func (VendorSoftwareSourceSummary) GetSystemTags ¶

func (m VendorSoftwareSourceSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (VendorSoftwareSourceSummary) GetTimeCreated ¶

func (m VendorSoftwareSourceSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (VendorSoftwareSourceSummary) GetTimeUpdated ¶

func (m VendorSoftwareSourceSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (VendorSoftwareSourceSummary) GetUrl ¶

func (m VendorSoftwareSourceSummary) GetUrl() *string

GetUrl returns Url

func (VendorSoftwareSourceSummary) MarshalJSON ¶

func (m VendorSoftwareSourceSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VendorSoftwareSourceSummary) String ¶

func (VendorSoftwareSourceSummary) ValidateEnumValue ¶

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

type VersionedCustomSoftwareSource ¶

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"`
}

VersionedCustomSoftwareSource An immutable custom software source that is assigned a version and contains a custom collection of packages.

func (VersionedCustomSoftwareSource) GetArchType ¶

GetArchType returns ArchType

func (VersionedCustomSoftwareSource) GetAvailability ¶

func (m VersionedCustomSoftwareSource) GetAvailability() AvailabilityEnum

GetAvailability returns Availability

func (VersionedCustomSoftwareSource) GetChecksumType ¶

func (m VersionedCustomSoftwareSource) GetChecksumType() ChecksumTypeEnum

GetChecksumType returns ChecksumType

func (VersionedCustomSoftwareSource) GetCompartmentId ¶

func (m VersionedCustomSoftwareSource) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (VersionedCustomSoftwareSource) GetDefinedTags ¶

func (m VersionedCustomSoftwareSource) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (VersionedCustomSoftwareSource) GetDescription ¶

func (m VersionedCustomSoftwareSource) GetDescription() *string

GetDescription returns Description

func (VersionedCustomSoftwareSource) GetDisplayName ¶

func (m VersionedCustomSoftwareSource) GetDisplayName() *string

GetDisplayName returns DisplayName

func (VersionedCustomSoftwareSource) GetFreeformTags ¶

func (m VersionedCustomSoftwareSource) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (VersionedCustomSoftwareSource) GetGpgKeyFingerprint ¶

func (m VersionedCustomSoftwareSource) GetGpgKeyFingerprint() *string

GetGpgKeyFingerprint returns GpgKeyFingerprint

func (VersionedCustomSoftwareSource) GetGpgKeyId ¶

func (m VersionedCustomSoftwareSource) GetGpgKeyId() *string

GetGpgKeyId returns GpgKeyId

func (VersionedCustomSoftwareSource) GetGpgKeyUrl ¶

func (m VersionedCustomSoftwareSource) GetGpgKeyUrl() *string

GetGpgKeyUrl returns GpgKeyUrl

func (VersionedCustomSoftwareSource) GetId ¶

GetId returns Id

func (VersionedCustomSoftwareSource) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (VersionedCustomSoftwareSource) GetOsFamily ¶

GetOsFamily returns OsFamily

func (VersionedCustomSoftwareSource) GetPackageCount ¶

func (m VersionedCustomSoftwareSource) GetPackageCount() *int64

GetPackageCount returns PackageCount

func (VersionedCustomSoftwareSource) GetRepoId ¶

func (m VersionedCustomSoftwareSource) GetRepoId() *string

GetRepoId returns RepoId

func (VersionedCustomSoftwareSource) GetSystemTags ¶

func (m VersionedCustomSoftwareSource) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (VersionedCustomSoftwareSource) GetTimeCreated ¶

func (m VersionedCustomSoftwareSource) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (VersionedCustomSoftwareSource) GetUrl ¶

GetUrl returns Url

func (VersionedCustomSoftwareSource) MarshalJSON ¶

func (m VersionedCustomSoftwareSource) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VersionedCustomSoftwareSource) String ¶

func (VersionedCustomSoftwareSource) ValidateEnumValue ¶

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

type VersionedCustomSoftwareSourceSummary ¶

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"`
}

VersionedCustomSoftwareSourceSummary An immutable custom software source that is assigned a version and contains a custom collection of packages.

func (VersionedCustomSoftwareSourceSummary) GetArchType ¶

GetArchType returns ArchType

func (VersionedCustomSoftwareSourceSummary) GetAvailability ¶

GetAvailability returns Availability

func (VersionedCustomSoftwareSourceSummary) GetCompartmentId ¶

func (m VersionedCustomSoftwareSourceSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (VersionedCustomSoftwareSourceSummary) GetDefinedTags ¶

func (m VersionedCustomSoftwareSourceSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (VersionedCustomSoftwareSourceSummary) GetDescription ¶

func (m VersionedCustomSoftwareSourceSummary) GetDescription() *string

GetDescription returns Description

func (VersionedCustomSoftwareSourceSummary) GetDisplayName ¶

func (m VersionedCustomSoftwareSourceSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (VersionedCustomSoftwareSourceSummary) GetFreeformTags ¶

func (m VersionedCustomSoftwareSourceSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (VersionedCustomSoftwareSourceSummary) GetId ¶

GetId returns Id

func (VersionedCustomSoftwareSourceSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (VersionedCustomSoftwareSourceSummary) GetOsFamily ¶

GetOsFamily returns OsFamily

func (VersionedCustomSoftwareSourceSummary) GetPackageCount ¶

func (m VersionedCustomSoftwareSourceSummary) GetPackageCount() *int64

GetPackageCount returns PackageCount

func (VersionedCustomSoftwareSourceSummary) GetRepoId ¶

GetRepoId returns RepoId

func (VersionedCustomSoftwareSourceSummary) GetSystemTags ¶

func (m VersionedCustomSoftwareSourceSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (VersionedCustomSoftwareSourceSummary) GetTimeCreated ¶

GetTimeCreated returns TimeCreated

func (VersionedCustomSoftwareSourceSummary) GetTimeUpdated ¶

GetTimeUpdated returns TimeUpdated

func (VersionedCustomSoftwareSourceSummary) GetUrl ¶

GetUrl returns Url

func (VersionedCustomSoftwareSourceSummary) MarshalJSON ¶

func (m VersionedCustomSoftwareSourceSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VersionedCustomSoftwareSourceSummary) String ¶

func (VersionedCustomSoftwareSourceSummary) ValidateEnumValue ¶

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

type WorkRequest ¶

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"`
}

WorkRequest Describes a work request.

func (WorkRequest) String ¶

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue ¶

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestClient ¶

type WorkRequestClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

WorkRequestClient a client for WorkRequest

func NewWorkRequestClientWithConfigurationProvider ¶

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 ¶

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 (*WorkRequestClient) ConfigurationProvider ¶

func (client *WorkRequestClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (WorkRequestClient) GetWorkRequest ¶

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/latest/osmanagementhub/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (WorkRequestClient) ListWorkRequestErrors ¶

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/latest/osmanagementhub/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (WorkRequestClient) ListWorkRequestLogs ¶

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/latest/osmanagementhub/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (WorkRequestClient) ListWorkRequests ¶

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/latest/osmanagementhub/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()

func (*WorkRequestClient) SetRegion ¶

func (client *WorkRequestClient) SetRegion(region string)

SetRegion overrides the region of this client.

type WorkRequestDetails ¶

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"`
}

WorkRequestDetails The details of the user-friendly names to be used for actions.

func (WorkRequestDetails) String ¶

func (m WorkRequestDetails) String() string

func (WorkRequestDetails) ValidateEnumValue ¶

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

type WorkRequestError ¶

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"`
}

WorkRequestError An error encountered while executing a work request.

func (WorkRequestError) String ¶

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue ¶

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestErrorCollection ¶

type WorkRequestErrorCollection struct {

	// List of work request error objects.
	Items []WorkRequestError `mandatory:"true" json:"items"`
}

WorkRequestErrorCollection Results of a work request error search. Contains both work request error items and other information, such as metadata.

func (WorkRequestErrorCollection) String ¶

func (WorkRequestErrorCollection) ValidateEnumValue ¶

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

type WorkRequestLogEntry ¶

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"`
}

WorkRequestLogEntry A log message from the execution of a work request.

func (WorkRequestLogEntry) String ¶

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue ¶

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntryCollection ¶

type WorkRequestLogEntryCollection struct {

	// List of work request log entries.
	Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

WorkRequestLogEntryCollection Results of a work request log search. Contains both work request log items and other information, such as metadata.

func (WorkRequestLogEntryCollection) String ¶

func (WorkRequestLogEntryCollection) ValidateEnumValue ¶

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

type WorkRequestManagementStationDetails ¶

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"`
}

WorkRequestManagementStationDetails Details about management station actions.

func (WorkRequestManagementStationDetails) String ¶

func (WorkRequestManagementStationDetails) ValidateEnumValue ¶

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

type WorkRequestOperationTypeEnum ¶

type WorkRequestOperationTypeEnum string

WorkRequestOperationTypeEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for WorkRequestOperationTypeEnum

func GetMappingWorkRequestOperationTypeEnum ¶

func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)

GetMappingWorkRequestOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestOperationTypeEnumValues ¶

func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum

GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum

type WorkRequestResource ¶

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"`
}

WorkRequestResource A resource created or operated on by a work request.

func (WorkRequestResource) String ¶

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue ¶

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResourceMetadataKeyEnum ¶

type WorkRequestResourceMetadataKeyEnum string

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

const (
	WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum ¶

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestResourceMetadataKeyEnumValues ¶

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSummary ¶

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"`
}

WorkRequestSummary The summary of a work request.

func (WorkRequestSummary) String ¶

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue ¶

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummaryCollection ¶

type WorkRequestSummaryCollection struct {

	// List of work request summary objects.
	Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

WorkRequestSummaryCollection Results of a work request search. Contains both work request items and other information, such as metadata.

func (WorkRequestSummaryCollection) String ¶

func (WorkRequestSummaryCollection) ValidateEnumValue ¶

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

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL