osmanagementhub

package
v65.64.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 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 GetAdvisoryTypesEnumStringValues ¶ added in v65.64.0

func GetAdvisoryTypesEnumStringValues() []string

GetAdvisoryTypesEnumStringValues Enumerates the set of values in String for AdvisoryTypesEnum

func GetAgentEventDataOperationTypeEnumStringValues ¶ added in v65.64.0

func GetAgentEventDataOperationTypeEnumStringValues() []string

GetAgentEventDataOperationTypeEnumStringValues Enumerates the set of values in String for AgentEventDataOperationTypeEnum

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 GetEventContentTypeEnumStringValues ¶ added in v65.64.0

func GetEventContentTypeEnumStringValues() []string

GetEventContentTypeEnumStringValues Enumerates the set of values in String for EventContentTypeEnum

func GetEventLifecycleStateEnumStringValues ¶ added in v65.64.0

func GetEventLifecycleStateEnumStringValues() []string

GetEventLifecycleStateEnumStringValues Enumerates the set of values in String for EventLifecycleStateEnum

func GetEventStatusEnumStringValues ¶ added in v65.64.0

func GetEventStatusEnumStringValues() []string

GetEventStatusEnumStringValues Enumerates the set of values in String for EventStatusEnum

func GetEventTypeEnumStringValues ¶ added in v65.64.0

func GetEventTypeEnumStringValues() []string

GetEventTypeEnumStringValues Enumerates the set of values in String for EventTypeEnum

func GetFilterTypeEnumStringValues ¶

func GetFilterTypeEnumStringValues() []string

GetFilterTypeEnumStringValues Enumerates the set of values in String for FilterTypeEnum

func GetGetManagedInstanceAnalyticContentReportFormatEnumStringValues ¶ added in v65.64.0

func GetGetManagedInstanceAnalyticContentReportFormatEnumStringValues() []string

GetGetManagedInstanceAnalyticContentReportFormatEnumStringValues Enumerates the set of values in String for GetManagedInstanceAnalyticContentReportFormatEnum

func GetGetManagedInstanceAnalyticContentReportTypeEnumStringValues ¶ added in v65.64.0

func GetGetManagedInstanceAnalyticContentReportTypeEnumStringValues() []string

GetGetManagedInstanceAnalyticContentReportTypeEnumStringValues Enumerates the set of values in String for GetManagedInstanceAnalyticContentReportTypeEnum

func GetGetManagedInstanceContentReportFormatEnumStringValues ¶ added in v65.64.0

func GetGetManagedInstanceContentReportFormatEnumStringValues() []string

GetGetManagedInstanceContentReportFormatEnumStringValues Enumerates the set of values in String for GetManagedInstanceContentReportFormatEnum

func GetHealthStateEnumStringValues ¶ added in v65.64.0

func GetHealthStateEnumStringValues() []string

GetHealthStateEnumStringValues Enumerates the set of values in String for HealthStateEnum

func GetInstallationRequirementsEnumStringValues ¶ added in v65.64.0

func GetInstallationRequirementsEnumStringValues() []string

GetInstallationRequirementsEnumStringValues Enumerates the set of values in String for InstallationRequirementsEnum

func GetKernelEventContentContentAvailabilityEnumStringValues ¶ added in v65.64.0

func GetKernelEventContentContentAvailabilityEnumStringValues() []string

GetKernelEventContentContentAvailabilityEnumStringValues Enumerates the set of values in String for KernelEventContentContentAvailabilityEnum

func GetKspliceUpdateEventDataOperationTypeEnumStringValues ¶ added in v65.64.0

func GetKspliceUpdateEventDataOperationTypeEnumStringValues() []string

GetKspliceUpdateEventDataOperationTypeEnumStringValues Enumerates the set of values in String for KspliceUpdateEventDataOperationTypeEnum

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 GetListAllSoftwarePackagesArchitectureEnumStringValues ¶ added in v65.64.0

func GetListAllSoftwarePackagesArchitectureEnumStringValues() []string

GetListAllSoftwarePackagesArchitectureEnumStringValues Enumerates the set of values in String for ListAllSoftwarePackagesArchitectureEnum

func GetListAllSoftwarePackagesOsFamilyEnumStringValues ¶ added in v65.64.0

func GetListAllSoftwarePackagesOsFamilyEnumStringValues() []string

GetListAllSoftwarePackagesOsFamilyEnumStringValues Enumerates the set of values in String for ListAllSoftwarePackagesOsFamilyEnum

func GetListAllSoftwarePackagesSortByEnumStringValues ¶ added in v65.64.0

func GetListAllSoftwarePackagesSortByEnumStringValues() []string

GetListAllSoftwarePackagesSortByEnumStringValues Enumerates the set of values in String for ListAllSoftwarePackagesSortByEnum

func GetListAllSoftwarePackagesSortOrderEnumStringValues ¶ added in v65.64.0

func GetListAllSoftwarePackagesSortOrderEnumStringValues() []string

GetListAllSoftwarePackagesSortOrderEnumStringValues Enumerates the set of values in String for ListAllSoftwarePackagesSortOrderEnum

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 GetListEventsSortByEnumStringValues ¶ added in v65.64.0

func GetListEventsSortByEnumStringValues() []string

GetListEventsSortByEnumStringValues Enumerates the set of values in String for ListEventsSortByEnum

func GetListEventsSortOrderEnumStringValues ¶ added in v65.64.0

func GetListEventsSortOrderEnumStringValues() []string

GetListEventsSortOrderEnumStringValues Enumerates the set of values in String for ListEventsSortOrderEnum

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 GetListManagedInstanceAvailableWindowsUpdatesSortByEnumStringValues ¶ added in v65.64.0

func GetListManagedInstanceAvailableWindowsUpdatesSortByEnumStringValues() []string

GetListManagedInstanceAvailableWindowsUpdatesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceAvailableWindowsUpdatesSortByEnum

func GetListManagedInstanceAvailableWindowsUpdatesSortOrderEnumStringValues ¶ added in v65.64.0

func GetListManagedInstanceAvailableWindowsUpdatesSortOrderEnumStringValues() []string

GetListManagedInstanceAvailableWindowsUpdatesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceAvailableWindowsUpdatesSortOrderEnum

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 GetListManagedInstanceInstalledWindowsUpdatesSortByEnumStringValues ¶ added in v65.64.0

func GetListManagedInstanceInstalledWindowsUpdatesSortByEnumStringValues() []string

GetListManagedInstanceInstalledWindowsUpdatesSortByEnumStringValues Enumerates the set of values in String for ListManagedInstanceInstalledWindowsUpdatesSortByEnum

func GetListManagedInstanceInstalledWindowsUpdatesSortOrderEnumStringValues ¶ added in v65.64.0

func GetListManagedInstanceInstalledWindowsUpdatesSortOrderEnumStringValues() []string

GetListManagedInstanceInstalledWindowsUpdatesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedInstanceInstalledWindowsUpdatesSortOrderEnum

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 GetListSoftwarePackageSoftwareSourcesSortByEnumStringValues ¶ added in v65.64.0

func GetListSoftwarePackageSoftwareSourcesSortByEnumStringValues() []string

GetListSoftwarePackageSoftwareSourcesSortByEnumStringValues Enumerates the set of values in String for ListSoftwarePackageSoftwareSourcesSortByEnum

func GetListSoftwarePackageSoftwareSourcesSortOrderEnumStringValues ¶ added in v65.64.0

func GetListSoftwarePackageSoftwareSourcesSortOrderEnumStringValues() []string

GetListSoftwarePackageSoftwareSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListSoftwarePackageSoftwareSourcesSortOrderEnum

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 GetListWindowsUpdatesSortByEnumStringValues ¶ added in v65.64.0

func GetListWindowsUpdatesSortByEnumStringValues() []string

GetListWindowsUpdatesSortByEnumStringValues Enumerates the set of values in String for ListWindowsUpdatesSortByEnum

func GetListWindowsUpdatesSortOrderEnumStringValues ¶ added in v65.64.0

func GetListWindowsUpdatesSortOrderEnumStringValues() []string

GetListWindowsUpdatesSortOrderEnumStringValues Enumerates the set of values in String for ListWindowsUpdatesSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues ¶

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues ¶

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues ¶

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues ¶

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func 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 GetManagementStationEventDataOperationTypeEnumStringValues ¶ added in v65.64.0

func GetManagementStationEventDataOperationTypeEnumStringValues() []string

GetManagementStationEventDataOperationTypeEnumStringValues Enumerates the set of values in String for ManagementStationEventDataOperationTypeEnum

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 GetProfileRegistrationTypeEnumStringValues ¶ added in v65.64.0

func GetProfileRegistrationTypeEnumStringValues() []string

GetProfileRegistrationTypeEnumStringValues Enumerates the set of values in String for ProfileRegistrationTypeEnum

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 GetSoftwarePackageArchitectureEnumStringValues ¶ added in v65.64.0

func GetSoftwarePackageArchitectureEnumStringValues() []string

GetSoftwarePackageArchitectureEnumStringValues Enumerates the set of values in String for SoftwarePackageArchitectureEnum

func GetSoftwareSourceEventDataOperationTypeEnumStringValues ¶ added in v65.64.0

func GetSoftwareSourceEventDataOperationTypeEnumStringValues() []string

GetSoftwareSourceEventDataOperationTypeEnumStringValues Enumerates the set of values in String for SoftwareSourceEventDataOperationTypeEnum

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 GetSoftwareUpdateEventDataOperationTypeEnumStringValues ¶ added in v65.64.0

func GetSoftwareUpdateEventDataOperationTypeEnumStringValues() []string

GetSoftwareUpdateEventDataOperationTypeEnumStringValues Enumerates the set of values in String for SoftwareUpdateEventDataOperationTypeEnum

func GetSortOrderEnumStringValues ¶

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

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 GetVulnerabilityTypesEnumStringValues ¶ added in v65.64.0

func GetVulnerabilityTypesEnumStringValues() []string

GetVulnerabilityTypesEnumStringValues Enumerates the set of values in String for VulnerabilityTypesEnum

func GetWindowsUpdateInstallableEnumStringValues ¶ added in v65.64.0

func GetWindowsUpdateInstallableEnumStringValues() []string

GetWindowsUpdateInstallableEnumStringValues Enumerates the set of values in String for WindowsUpdateInstallableEnum

func GetWindowsUpdateTypesEnumStringValues ¶ added in v65.64.0

func GetWindowsUpdateTypesEnumStringValues() []string

GetWindowsUpdateTypesEnumStringValues Enumerates the set of values in String for WindowsUpdateTypesEnum

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 AddPackagesToSoftwareSourceDetails ¶ added in v65.64.0

type AddPackagesToSoftwareSourceDetails struct {

	// List of packages specified by the full package name (NEVRA.rpm).
	Packages []string `mandatory:"true" json:"packages"`
}

AddPackagesToSoftwareSourceDetails Provides the list of packages to add to a software source.

func (AddPackagesToSoftwareSourceDetails) String ¶ added in v65.64.0

func (AddPackagesToSoftwareSourceDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type AddPackagesToSoftwareSourceRequest ¶ added in v65.64.0

type AddPackagesToSoftwareSourceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// A list of packages to be added to the software source.
	AddPackagesToSoftwareSourceDetails `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"`

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

AddPackagesToSoftwareSourceRequest wrapper for the AddPackagesToSoftwareSource operation

See also ¶

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

func (AddPackagesToSoftwareSourceRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (AddPackagesToSoftwareSourceRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (AddPackagesToSoftwareSourceRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (AddPackagesToSoftwareSourceRequest) String ¶ added in v65.64.0

func (request AddPackagesToSoftwareSourceRequest) String() string

func (AddPackagesToSoftwareSourceRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type AddPackagesToSoftwareSourceResponse ¶ added in v65.64.0

type AddPackagesToSoftwareSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

AddPackagesToSoftwareSourceResponse wrapper for the AddPackagesToSoftwareSource operation

func (AddPackagesToSoftwareSourceResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (AddPackagesToSoftwareSourceResponse) String ¶ added in v65.64.0

func (response AddPackagesToSoftwareSourceResponse) String() string

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 AdvisoryTypesEnum ¶ added in v65.64.0

type AdvisoryTypesEnum string

AdvisoryTypesEnum Enum with underlying type: string

const (
	AdvisoryTypesSecurity    AdvisoryTypesEnum = "SECURITY"
	AdvisoryTypesBugfix      AdvisoryTypesEnum = "BUGFIX"
	AdvisoryTypesEnhancement AdvisoryTypesEnum = "ENHANCEMENT"
)

Set of constants representing the allowable values for AdvisoryTypesEnum

func GetAdvisoryTypesEnumValues ¶ added in v65.64.0

func GetAdvisoryTypesEnumValues() []AdvisoryTypesEnum

GetAdvisoryTypesEnumValues Enumerates the set of values for AdvisoryTypesEnum

func GetMappingAdvisoryTypesEnum ¶ added in v65.64.0

func GetMappingAdvisoryTypesEnum(val string) (AdvisoryTypesEnum, bool)

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

type AgentEvent ¶ added in v65.64.0

type AgentEvent struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	Id *string `mandatory:"true" json:"id"`

	// Summary of the event.
	EventSummary *string `mandatory:"true" json:"eventSummary"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the Event was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" 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:"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"`

	Data *AgentEventData `mandatory:"true" json:"data"`

	// Details of an event.
	EventDetails *string `mandatory:"false" json:"eventDetails"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance or resource where the event occurred.
	ResourceId *string `mandatory:"false" json:"resourceId"`

	SystemDetails *SystemDetails `mandatory:"false" json:"systemDetails"`

	// The date and time that the event occurred.
	TimeOccurred *common.SDKTime `mandatory:"false" json:"timeOccurred"`

	// The date and time that the event was updated (in RFC 3339 (https://tools.ietf.org/html/rfc3339) format).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Describes the current state of the event in more detail. For example, the
	// message can provide actionable information for a resource in the 'FAILED' state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`

	// 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 event.
	LifecycleState EventLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

AgentEvent Provides information about the agent event.

func (AgentEvent) GetCompartmentId ¶ added in v65.64.0

func (m AgentEvent) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (AgentEvent) GetDefinedTags ¶ added in v65.64.0

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

GetDefinedTags returns DefinedTags

func (AgentEvent) GetEventDetails ¶ added in v65.64.0

func (m AgentEvent) GetEventDetails() *string

GetEventDetails returns EventDetails

func (AgentEvent) GetEventSummary ¶ added in v65.64.0

func (m AgentEvent) GetEventSummary() *string

GetEventSummary returns EventSummary

func (AgentEvent) GetFreeformTags ¶ added in v65.64.0

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

GetFreeformTags returns FreeformTags

func (AgentEvent) GetId ¶ added in v65.64.0

func (m AgentEvent) GetId() *string

GetId returns Id

func (AgentEvent) GetIsManagedByAutonomousLinux ¶ added in v65.64.0

func (m AgentEvent) GetIsManagedByAutonomousLinux() *bool

GetIsManagedByAutonomousLinux returns IsManagedByAutonomousLinux

func (AgentEvent) GetLifecycleDetails ¶ added in v65.64.0

func (m AgentEvent) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (AgentEvent) GetLifecycleState ¶ added in v65.64.0

func (m AgentEvent) GetLifecycleState() EventLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (AgentEvent) GetResourceId ¶ added in v65.64.0

func (m AgentEvent) GetResourceId() *string

GetResourceId returns ResourceId

func (AgentEvent) GetSystemDetails ¶ added in v65.64.0

func (m AgentEvent) GetSystemDetails() *SystemDetails

GetSystemDetails returns SystemDetails

func (AgentEvent) GetSystemTags ¶ added in v65.64.0

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

GetSystemTags returns SystemTags

func (AgentEvent) GetTimeCreated ¶ added in v65.64.0

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

GetTimeCreated returns TimeCreated

func (AgentEvent) GetTimeOccurred ¶ added in v65.64.0

func (m AgentEvent) GetTimeOccurred() *common.SDKTime

GetTimeOccurred returns TimeOccurred

func (AgentEvent) GetTimeUpdated ¶ added in v65.64.0

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

GetTimeUpdated returns TimeUpdated

func (AgentEvent) MarshalJSON ¶ added in v65.64.0

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

MarshalJSON marshals to json representation

func (AgentEvent) String ¶ added in v65.64.0

func (m AgentEvent) String() string

func (AgentEvent) ValidateEnumValue ¶ added in v65.64.0

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

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

type AgentEventData ¶ added in v65.64.0

type AgentEventData struct {

	// Type of agent operation.
	OperationType AgentEventDataOperationTypeEnum `mandatory:"true" json:"operationType"`

	// Status of the agent operation.
	Status EventStatusEnum `mandatory:"true" json:"status"`

	AdditionalDetails *WorkRequestEventDataAdditionalDetails `mandatory:"false" json:"additionalDetails"`
}

AgentEventData Provides additional information for an agent event.

func (AgentEventData) String ¶ added in v65.64.0

func (m AgentEventData) String() string

func (AgentEventData) ValidateEnumValue ¶ added in v65.64.0

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

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

type AgentEventDataOperationTypeEnum ¶ added in v65.64.0

type AgentEventDataOperationTypeEnum string

AgentEventDataOperationTypeEnum Enum with underlying type: string

const (
	AgentEventDataOperationTypeListPackages    AgentEventDataOperationTypeEnum = "LIST_PACKAGES"
	AgentEventDataOperationTypeUploadContent   AgentEventDataOperationTypeEnum = "UPLOAD_CONTENT"
	AgentEventDataOperationTypeSyncAgentConfig AgentEventDataOperationTypeEnum = "SYNC_AGENT_CONFIG"
)

Set of constants representing the allowable values for AgentEventDataOperationTypeEnum

func GetAgentEventDataOperationTypeEnumValues ¶ added in v65.64.0

func GetAgentEventDataOperationTypeEnumValues() []AgentEventDataOperationTypeEnum

GetAgentEventDataOperationTypeEnumValues Enumerates the set of values for AgentEventDataOperationTypeEnum

func GetMappingAgentEventDataOperationTypeEnum ¶ added in v65.64.0

func GetMappingAgentEventDataOperationTypeEnum(val string) (AgentEventDataOperationTypeEnum, bool)

GetMappingAgentEventDataOperationTypeEnum 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 {

	// List of managed instance OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the group.
	ManagedInstances []string `mandatory:"true" json:"managedInstances"`

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

AttachManagedInstancesToManagedInstanceGroupDetails Provides the information used to attach managed instances to a 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The managed instances OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 AttachProfileToManagedInstanceDetails ¶ added in v65.64.0

type AttachProfileToManagedInstanceDetails struct {

	// The profile OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the managed instance.
	ProfileId *string `mandatory:"true" json:"profileId"`
}

AttachProfileToManagedInstanceDetails Provides the information used to set a profile for a managed instance.

func (AttachProfileToManagedInstanceDetails) String ¶ added in v65.64.0

func (AttachProfileToManagedInstanceDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type AttachProfileToManagedInstanceRequest ¶ added in v65.64.0

type AttachProfileToManagedInstanceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Details of the registration profile to be attached to a managed instance.
	AttachProfileToManagedInstanceDetails `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
}

AttachProfileToManagedInstanceRequest wrapper for the AttachProfileToManagedInstance operation

See also ¶

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

func (AttachProfileToManagedInstanceRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (AttachProfileToManagedInstanceRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (AttachProfileToManagedInstanceRequest) RetryPolicy ¶ added in v65.64.0

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

func (AttachProfileToManagedInstanceRequest) String ¶ added in v65.64.0

func (AttachProfileToManagedInstanceRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type AttachProfileToManagedInstanceResponse ¶ added in v65.64.0

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

AttachProfileToManagedInstanceResponse wrapper for the AttachProfileToManagedInstance operation

func (AttachProfileToManagedInstanceResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (AttachProfileToManagedInstanceResponse) String ¶ added in v65.64.0

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 Provides the information used to attach software sources to a managed instance.

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 {

	// List of software source OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the group.
	SoftwareSources []string `mandatory:"true" json:"softwareSources"`

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

AttachSoftwareSourcesToManagedInstanceGroupDetails Provides the information used to attach software sources to a 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The software source OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 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"`
}

AttachSoftwareSourcesToManagedInstanceGroupResponse wrapper for the AttachSoftwareSourcesToManagedInstanceGroup operation

func (AttachSoftwareSourcesToManagedInstanceGroupResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (AttachSoftwareSourcesToManagedInstanceGroupResponse) String ¶

type AttachSoftwareSourcesToManagedInstanceRequest ¶

type AttachSoftwareSourcesToManagedInstanceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 AutonomousSettings ¶ added in v65.64.0

type AutonomousSettings struct {

	// Indicates whether Autonomous Linux will collect crash files. This setting can be changed by the user.
	IsDataCollectionAuthorized *bool `mandatory:"false" json:"isDataCollectionAuthorized"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the restricted scheduled job associated with this instance. This value cannot be deleted by the user.
	ScheduledJobId *string `mandatory:"false" json:"scheduledJobId"`
}

AutonomousSettings Settings for the Autonomous Linux service.

func (AutonomousSettings) String ¶ added in v65.64.0

func (m AutonomousSettings) String() string

func (AutonomousSettings) ValidateEnumValue ¶ added in v65.64.0

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

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

type AvailabilityEnum ¶

type AvailabilityEnum string

AvailabilityEnum Enum with underlying type: string

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

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 The set of packages returned for the ListManagedInstanceAvailablePackages operation.

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 Provides summary information about a software package available for installation 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 The set of available software sources returned for the ListManagedInstanceAvailableSoftwareSources or the ListManagedInstanceGroupAvailableSoftwareSources operation.

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 {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

AvailableSoftwareSourceSummary Provides summary information about an available software source. An available software source can be added to a managed instance. After 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 AvailableWindowsUpdateCollection ¶ added in v65.64.0

type AvailableWindowsUpdateCollection struct {

	// List of available Windows updates.
	Items []AvailableWindowsUpdateSummary `mandatory:"true" json:"items"`
}

AvailableWindowsUpdateCollection The set of available Windows updates returned for the ListManagedInstanceAvailableWindowsUpdates operation.

func (AvailableWindowsUpdateCollection) String ¶ added in v65.64.0

func (AvailableWindowsUpdateCollection) ValidateEnumValue ¶ added in v65.64.0

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

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

type AvailableWindowsUpdateSummary ¶ added in v65.64.0

type AvailableWindowsUpdateSummary struct {

	// Name of the Windows update.
	Name *string `mandatory:"true" json:"name"`

	// Unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft.
	// Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
	UpdateId *string `mandatory:"true" json:"updateId"`

	// The type of Windows update.
	UpdateType ClassificationTypesEnum `mandatory:"true" json:"updateType"`

	// Indicates whether the update can be installed using the service.
	Installable WindowsUpdateInstallableEnum `mandatory:"false" json:"installable,omitempty"`

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

AvailableWindowsUpdateSummary An object that defines an available update for a Windows instance.

func (AvailableWindowsUpdateSummary) String ¶ added in v65.64.0

func (AvailableWindowsUpdateSummary) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeAvailabilityOfSoftwareSourcesDetails ¶

type ChangeAvailabilityOfSoftwareSourcesDetails struct {

	// List of vendor software sources and their availability statuses.
	SoftwareSourceAvailabilities []SoftwareSourceAvailability `mandatory:"true" json:"softwareSourceAvailabilities"`
}

ChangeAvailabilityOfSoftwareSourcesDetails Provides the information used to update the availability of a list of software sources.

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 ChangeEventCompartmentDetails ¶ added in v65.64.0

type ChangeEventCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the event to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeEventCompartmentDetails Specifies which compartment to move the event to for the ChangeEventCompartment operation.

func (ChangeEventCompartmentDetails) String ¶ added in v65.64.0

func (ChangeEventCompartmentDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeEventCompartmentRequest ¶ added in v65.64.0

type ChangeEventCompartmentRequest struct {

	// Specifies the compartment to move the event to.
	ChangeEventCompartmentDetails `contributesTo:"body"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	EventId *string `mandatory:"true" contributesTo:"path" name:"eventId"`

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

ChangeEventCompartmentRequest wrapper for the ChangeEventCompartment operation

See also ¶

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

func (ChangeEventCompartmentRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeEventCompartmentRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (ChangeEventCompartmentRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (ChangeEventCompartmentRequest) String ¶ added in v65.64.0

func (request ChangeEventCompartmentRequest) String() string

func (ChangeEventCompartmentRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeEventCompartmentResponse ¶ added in v65.64.0

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

ChangeEventCompartmentResponse wrapper for the ChangeEventCompartment operation

func (ChangeEventCompartmentResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (ChangeEventCompartmentResponse) String ¶ added in v65.64.0

func (response ChangeEventCompartmentResponse) String() string

type ChangeLifecycleEnvironmentCompartmentDetails ¶ added in v65.64.0

type ChangeLifecycleEnvironmentCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the lifecycle environment to.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

ChangeLifecycleEnvironmentCompartmentDetails Provides the information used to move the lifecycle environment to another compartment.

func (ChangeLifecycleEnvironmentCompartmentDetails) String ¶ added in v65.64.0

func (ChangeLifecycleEnvironmentCompartmentDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeLifecycleEnvironmentCompartmentRequest ¶ added in v65.64.0

type ChangeLifecycleEnvironmentCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle environment.
	LifecycleEnvironmentId *string `mandatory:"true" contributesTo:"path" name:"lifecycleEnvironmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the lifecycle environment into.
	ChangeLifecycleEnvironmentCompartmentDetails `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"`

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

ChangeLifecycleEnvironmentCompartmentRequest wrapper for the ChangeLifecycleEnvironmentCompartment operation

See also ¶

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

func (ChangeLifecycleEnvironmentCompartmentRequest) BinaryRequestBody ¶ added in v65.64.0

BinaryRequestBody implements the OCIRequest interface

func (ChangeLifecycleEnvironmentCompartmentRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (ChangeLifecycleEnvironmentCompartmentRequest) RetryPolicy ¶ added in v65.64.0

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

func (ChangeLifecycleEnvironmentCompartmentRequest) String ¶ added in v65.64.0

func (ChangeLifecycleEnvironmentCompartmentRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeLifecycleEnvironmentCompartmentResponse ¶ added in v65.64.0

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

ChangeLifecycleEnvironmentCompartmentResponse wrapper for the ChangeLifecycleEnvironmentCompartment operation

func (ChangeLifecycleEnvironmentCompartmentResponse) HTTPResponse ¶ added in v65.64.0

HTTPResponse implements the OCIResponse interface

func (ChangeLifecycleEnvironmentCompartmentResponse) String ¶ added in v65.64.0

type ChangeManagedInstanceGroupCompartmentDetails ¶ added in v65.64.0

type ChangeManagedInstanceGroupCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the group to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeManagedInstanceGroupCompartmentDetails Provides the information used to move the managed instance group to another compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

func (ChangeManagedInstanceGroupCompartmentDetails) String ¶ added in v65.64.0

func (ChangeManagedInstanceGroupCompartmentDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeManagedInstanceGroupCompartmentRequest ¶ added in v65.64.0

type ChangeManagedInstanceGroupCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the group to.
	ChangeManagedInstanceGroupCompartmentDetails `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"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangeManagedInstanceGroupCompartmentRequest wrapper for the ChangeManagedInstanceGroupCompartment operation

See also ¶

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

func (ChangeManagedInstanceGroupCompartmentRequest) BinaryRequestBody ¶ added in v65.64.0

BinaryRequestBody implements the OCIRequest interface

func (ChangeManagedInstanceGroupCompartmentRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (ChangeManagedInstanceGroupCompartmentRequest) RetryPolicy ¶ added in v65.64.0

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

func (ChangeManagedInstanceGroupCompartmentRequest) String ¶ added in v65.64.0

func (ChangeManagedInstanceGroupCompartmentRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeManagedInstanceGroupCompartmentResponse ¶ added in v65.64.0

type ChangeManagedInstanceGroupCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeManagedInstanceGroupCompartmentResponse wrapper for the ChangeManagedInstanceGroupCompartment operation

func (ChangeManagedInstanceGroupCompartmentResponse) HTTPResponse ¶ added in v65.64.0

HTTPResponse implements the OCIResponse interface

func (ChangeManagedInstanceGroupCompartmentResponse) String ¶ added in v65.64.0

type ChangeManagementStationCompartmentDetails ¶ added in v65.64.0

type ChangeManagementStationCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the management station to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeManagementStationCompartmentDetails Provides the information used to move a management station to a different compartment.

func (ChangeManagementStationCompartmentDetails) String ¶ added in v65.64.0

func (ChangeManagementStationCompartmentDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeManagementStationCompartmentRequest ¶ added in v65.64.0

type ChangeManagementStationCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
	ManagementStationId *string `mandatory:"true" contributesTo:"path" name:"managementStationId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the management station to.
	ChangeManagementStationCompartmentDetails `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"`

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

ChangeManagementStationCompartmentRequest wrapper for the ChangeManagementStationCompartment operation

See also ¶

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

func (ChangeManagementStationCompartmentRequest) BinaryRequestBody ¶ added in v65.64.0

BinaryRequestBody implements the OCIRequest interface

func (ChangeManagementStationCompartmentRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (ChangeManagementStationCompartmentRequest) RetryPolicy ¶ added in v65.64.0

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

func (ChangeManagementStationCompartmentRequest) String ¶ added in v65.64.0

func (ChangeManagementStationCompartmentRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeManagementStationCompartmentResponse ¶ added in v65.64.0

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

ChangeManagementStationCompartmentResponse wrapper for the ChangeManagementStationCompartment operation

func (ChangeManagementStationCompartmentResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (ChangeManagementStationCompartmentResponse) String ¶ added in v65.64.0

type ChangeProfileCompartmentDetails ¶ added in v65.64.0

type ChangeProfileCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the profile to.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

ChangeProfileCompartmentDetails Provides the information used to move a profile to another compartment.

func (ChangeProfileCompartmentDetails) String ¶ added in v65.64.0

func (ChangeProfileCompartmentDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeProfileCompartmentRequest ¶ added in v65.64.0

type ChangeProfileCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
	ProfileId *string `mandatory:"true" contributesTo:"path" name:"profileId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the profile to.
	ChangeProfileCompartmentDetails `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"`

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

ChangeProfileCompartmentRequest wrapper for the ChangeProfileCompartment operation

See also ¶

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

func (ChangeProfileCompartmentRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeProfileCompartmentRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (ChangeProfileCompartmentRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (ChangeProfileCompartmentRequest) String ¶ added in v65.64.0

func (request ChangeProfileCompartmentRequest) String() string

func (ChangeProfileCompartmentRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeProfileCompartmentResponse ¶ added in v65.64.0

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

ChangeProfileCompartmentResponse wrapper for the ChangeProfileCompartment operation

func (ChangeProfileCompartmentResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (ChangeProfileCompartmentResponse) String ¶ added in v65.64.0

func (response ChangeProfileCompartmentResponse) String() string

type ChangeScheduledJobCompartmentDetails ¶ added in v65.64.0

type ChangeScheduledJobCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the scheduled job to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeScheduledJobCompartmentDetails Provides the information used to move a scheduled job to another compartment.

func (ChangeScheduledJobCompartmentDetails) String ¶ added in v65.64.0

func (ChangeScheduledJobCompartmentDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeScheduledJobCompartmentRequest ¶ added in v65.64.0

type ChangeScheduledJobCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled job.
	ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the scheduled job to.
	ChangeScheduledJobCompartmentDetails `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"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangeScheduledJobCompartmentRequest wrapper for the ChangeScheduledJobCompartment operation

See also ¶

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

func (ChangeScheduledJobCompartmentRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeScheduledJobCompartmentRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (ChangeScheduledJobCompartmentRequest) RetryPolicy ¶ added in v65.64.0

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

func (ChangeScheduledJobCompartmentRequest) String ¶ added in v65.64.0

func (ChangeScheduledJobCompartmentRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeScheduledJobCompartmentResponse ¶ added in v65.64.0

type ChangeScheduledJobCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeScheduledJobCompartmentResponse wrapper for the ChangeScheduledJobCompartment operation

func (ChangeScheduledJobCompartmentResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (ChangeScheduledJobCompartmentResponse) String ¶ added in v65.64.0

type ChangeSoftwareSourceCompartmentDetails ¶ added in v65.64.0

type ChangeSoftwareSourceCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the software source to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeSoftwareSourceCompartmentDetails Provides the information used to move the software source to another compartment.

func (ChangeSoftwareSourceCompartmentDetails) String ¶ added in v65.64.0

func (ChangeSoftwareSourceCompartmentDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeSoftwareSourceCompartmentRequest ¶ added in v65.64.0

type ChangeSoftwareSourceCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment to move the software source to.
	ChangeSoftwareSourceCompartmentDetails `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"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangeSoftwareSourceCompartmentRequest wrapper for the ChangeSoftwareSourceCompartment operation

See also ¶

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

func (ChangeSoftwareSourceCompartmentRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeSoftwareSourceCompartmentRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (ChangeSoftwareSourceCompartmentRequest) RetryPolicy ¶ added in v65.64.0

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

func (ChangeSoftwareSourceCompartmentRequest) String ¶ added in v65.64.0

func (ChangeSoftwareSourceCompartmentRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type ChangeSoftwareSourceCompartmentResponse ¶ added in v65.64.0

type ChangeSoftwareSourceCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeSoftwareSourceCompartmentResponse wrapper for the ChangeSoftwareSourceCompartment operation

func (ChangeSoftwareSourceCompartmentResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (ChangeSoftwareSourceCompartmentResponse) String ¶ added in v65.64.0

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// List of vendor software sources.
	VendorSoftwareSources []Id `mandatory:"true" json:"vendorSoftwareSources"`

	// User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// User-specified description for the software source. 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"`

	CustomSoftwareSourceFilter *CustomSoftwareSourceFilter `mandatory:"false" json:"customSoftwareSourceFilter"`

	// Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
	IsAutomaticallyUpdated *bool `mandatory:"false" json:"isAutomaticallyUpdated"`

	// Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
	IsAutoResolveDependencies *bool `mandatory:"false" json:"isAutoResolveDependencies"`

	// Indicates whether the service should create the software source from a list of packages provided by the user.
	IsCreatedFromPackageList *bool `mandatory:"false" json:"isCreatedFromPackageList"`

	// A property used for compatibility only. It doesn't provide a complete list of packages. See AddPackagesToSoftwareSourceDetails for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.
	Packages []string `mandatory:"false" json:"packages"`
}

CreateCustomSoftwareSourceDetails Provides the information used to create a custom software source.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the entitlement.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The Customer Support Identifier (CSI) which unlocks the software sources. The CSI is is a unique key given to a customer and it uniquely identifies the entitlement.
	Csi *string `mandatory:"true" json:"csi"`
}

CreateEntitlementDetails Provides the information used to create an entitlement using the Customer Support Identifier (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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group that the instance will join after registration.
	ManagedInstanceGroupId *string `mandatory:"true" json:"managedInstanceGroupId"`

	// User-specified description of the registration profile.
	Description *string `mandatory:"false" json:"description"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
	ManagementStationId *string `mandatory:"false" json:"managementStationId"`

	// Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
	IsDefaultProfile *bool `mandatory:"false" json:"isDefaultProfile"`

	// 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 type of instance to register.
	RegistrationType ProfileRegistrationTypeEnum `mandatory:"false" json:"registrationType,omitempty"`
}

CreateGroupProfileDetails Provides the information used to create a group registration profile.

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) GetIsDefaultProfile ¶ added in v65.64.0

func (m CreateGroupProfileDetails) GetIsDefaultProfile() *bool

GetIsDefaultProfile returns IsDefaultProfile

func (CreateGroupProfileDetails) GetManagementStationId ¶

func (m CreateGroupProfileDetails) GetManagementStationId() *string

GetManagementStationId returns ManagementStationId

func (CreateGroupProfileDetails) GetRegistrationType ¶ added in v65.64.0

GetRegistrationType returns RegistrationType

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the lifecycle environment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name for the lifecycle environment. Does not have to be unique and you can change the name later. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// User-specified list of ranked lifecycle stages used within the lifecycle environment.
	Stages []CreateLifecycleStageDetails `mandatory:"true" json:"stages"`

	// The CPU architecture of the managed instances in the lifecycle environment.
	ArchType ArchTypeEnum `mandatory:"true" json:"archType"`

	// The operating system of the managed instances in the lifecycle environment.
	OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"`

	// The vendor of the operating system used by the managed instances in the lifecycle environment.
	VendorName VendorNameEnum `mandatory:"true" json:"vendorName"`

	// User-specified information about the lifecycle environment. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// The location of managed instances attached to the lifecycle environment. If no location is provided, the default is 'ON_PREMISE.'
	Location ManagedInstanceLocationEnum `mandatory:"false" json:"location,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"`
}

CreateLifecycleEnvironmentDetails Provides the information used to create 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage that the instance will be associated with.
	LifecycleStageId *string `mandatory:"true" json:"lifecycleStageId"`

	// User-specified description of the registration profile.
	Description *string `mandatory:"false" json:"description"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
	ManagementStationId *string `mandatory:"false" json:"managementStationId"`

	// Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
	IsDefaultProfile *bool `mandatory:"false" json:"isDefaultProfile"`

	// 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 type of instance to register.
	RegistrationType ProfileRegistrationTypeEnum `mandatory:"false" json:"registrationType,omitempty"`
}

CreateLifecycleProfileDetails Provides the information used to create a lifecycle environment registration profile.

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) GetIsDefaultProfile ¶ added in v65.64.0

func (m CreateLifecycleProfileDetails) GetIsDefaultProfile() *bool

GetIsDefaultProfile returns IsDefaultProfile

func (CreateLifecycleProfileDetails) GetManagementStationId ¶

func (m CreateLifecycleProfileDetails) GetManagementStationId() *string

GetManagementStationId returns ManagementStationId

func (CreateLifecycleProfileDetails) GetRegistrationType ¶ added in v65.64.0

GetRegistrationType returns RegistrationType

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 for the lifecycle stage. Does not have to be unique and you can change the name later. 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 within the 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 Provides the information used to create 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 you can change the name later. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the managed instance group.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The operating system type of the managed instances that will be attached to this group.
	OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"`

	// The CPU architecture type of the managed instances that will be attached to this group.
	ArchType ArchTypeEnum `mandatory:"true" json:"archType"`

	// The vendor of the operating system that will be used by the managed instances in the group.
	VendorName VendorNameEnum `mandatory:"true" json:"vendorName"`

	// User-specified description of the managed instance group. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// The location of managed instances attached to the group. If no location is provided, the default is on premises.
	Location ManagedInstanceLocationEnum `mandatory:"false" json:"location,omitempty"`

	// The list of software source OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) available to the managed instances in the group.
	SoftwareSourceIds []string `mandatory:"false" json:"softwareSourceIds"`

	// The list of managed instance OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to be added to the group.
	ManagedInstanceIds []string `mandatory:"false" json:"managedInstanceIds"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
	NotificationTopicId *string `mandatory:"false" json:"notificationTopicId"`

	AutonomousSettings *UpdatableAutonomousSettings `mandatory:"false" json:"autonomousSettings"`

	// 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 Provides the information used to create a 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 {

	// Provides the information used to create the 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the management station.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// User-friendly name for the management station. Does not have to be unique and you can change the name later. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Hostname of the management station.
	Hostname *string `mandatory:"true" json:"hostname"`

	Proxy *CreateProxyConfigurationDetails `mandatory:"true" json:"proxy"`

	Mirror *CreateMirrorConfigurationDetails `mandatory:"true" json:"mirror"`

	// User-specified description of the management station. 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"`
}

CreateManagementStationDetails Provides the information used to create a management station.

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 {

	// Provides the information used to create a management station.
	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 {

	// Path to the data volume on the management station where software source mirrors are stored.
	Directory *string `mandatory:"true" json:"directory"`

	// Default mirror listening port for http.
	Port *string `mandatory:"true" json:"port"`

	// Default mirror listening port for https.
	Sslport *string `mandatory:"true" json:"sslport"`

	// Path to the SSL cerfificate.
	Sslcert *string `mandatory:"false" json:"sslcert"`
}

CreateMirrorConfigurationDetails Information used to create the mirror configuration for a management station.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile.
	GetCompartmentId() *string

	// User-specified description of the registration profile.
	GetDescription() *string

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
	GetManagementStationId() *string

	// The type of instance to register.
	GetRegistrationType() ProfileRegistrationTypeEnum

	// Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
	GetIsDefaultProfile() *bool

	// 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 Provides the information used to create a new registration profile.

type CreateProfileRequest ¶

type CreateProfileRequest struct {

	// Provides the information used to create the 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 {

	// Indicates if the proxy should be enabled or disabled. Default is enabled.
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// List of hosts.
	Hosts []string `mandatory:"false" json:"hosts"`

	// Listening port used for the proxy.
	Port *string `mandatory:"false" json:"port"`

	// The URL the proxy will forward to.
	Forward *string `mandatory:"false" json:"forward"`
}

CreateProxyConfigurationDetails Information used to create the proxy configuration for a management station.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the scheduled job.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The type of scheduling frequency for the scheduled job.
	ScheduleType ScheduleTypesEnum `mandatory:"true" json:"scheduleType"`

	// The desired time of the next execution of this scheduled job (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeNextExecution *common.SDKTime `mandatory:"true" json:"timeNextExecution"`

	// The list of operations this scheduled job needs to perform.
	// A scheduled job supports only one operation type, unless it is one of the following:
	// * UPDATE_PACKAGES
	// * UPDATE_ALL
	// * UPDATE_SECURITY
	// * UPDATE_BUGFIX
	// * UPDATE_ENHANCEMENT
	// * UPDATE_OTHER
	// * UPDATE_KSPLICE_USERSPACE
	// * UPDATE_KSPLICE_KERNEL
	Operations []ScheduledJobOperation `mandatory:"true" json:"operations"`

	// User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// User-specified description of the scheduled job. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
	Locations []ManagedInstanceLocationEnum `mandatory:"false" json:"locations"`

	// The frequency schedule for a recurring scheduled job.
	RecurringRule *string `mandatory:"false" json:"recurringRule"`

	// The managed instance OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.
	// A scheduled job can only operate on one type of target, therefore you must supply either this or
	// managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
	ManagedInstanceIds []string `mandatory:"false" json:"managedInstanceIds"`

	// The managed instance group OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.
	// A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds,
	// or managedCompartmentIds, or lifecycleStageIds.
	ManagedInstanceGroupIds []string `mandatory:"false" json:"managedInstanceGroupIds"`

	// The compartment OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.
	// To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set
	// isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must
	// supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
	ManagedCompartmentIds []string `mandatory:"false" json:"managedCompartmentIds"`

	// The lifecycle stage OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.
	// A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds,
	// or managedInstanceGroupIds, or managedCompartmentIds.
	LifecycleStageIds []string `mandatory:"false" json:"lifecycleStageIds"`

	// Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies
	// the tenancy OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (root compartment).
	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"`

	// The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically
	// retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the
	// initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service
	// waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
	RetryIntervals []int `mandatory:"false" json:"retryIntervals"`

	// Indicates whether this scheduled job is managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`
}

CreateScheduledJobDetails Provides the information used to create 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 {

	// Provides the information used to create the 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
	GetCompartmentId() *string

	// User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
	GetDisplayName() *string

	// User-specified description for the software source. Avoid entering confidential information.
	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 Provides the information used to create a software source.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// User-specified description of the registration profile.
	Description *string `mandatory:"false" json:"description"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
	ManagementStationId *string `mandatory:"false" json:"managementStationId"`

	// Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
	IsDefaultProfile *bool `mandatory:"false" json:"isDefaultProfile"`

	// 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 list of software source OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that the registration profile will use.
	SoftwareSourceIds []string `mandatory:"false" json:"softwareSourceIds"`

	// The type of instance to register.
	RegistrationType ProfileRegistrationTypeEnum `mandatory:"false" json:"registrationType,omitempty"`

	// The vendor of the operating system for the instance.
	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 Provides the information used to create the software source registration profile.

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) GetIsDefaultProfile ¶ added in v65.64.0

func (m CreateSoftwareSourceProfileDetails) GetIsDefaultProfile() *bool

GetIsDefaultProfile returns IsDefaultProfile

func (CreateSoftwareSourceProfileDetails) GetManagementStationId ¶

func (m CreateSoftwareSourceProfileDetails) GetManagementStationId() *string

GetManagementStationId returns ManagementStationId

func (CreateSoftwareSourceProfileDetails) GetRegistrationType ¶ added in v65.64.0

GetRegistrationType returns RegistrationType

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// User-specified description of the registration profile.
	Description *string `mandatory:"false" json:"description"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
	ManagementStationId *string `mandatory:"false" json:"managementStationId"`

	// Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
	IsDefaultProfile *bool `mandatory:"false" json:"isDefaultProfile"`

	// 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 type of instance to register.
	RegistrationType ProfileRegistrationTypeEnum `mandatory:"false" json:"registrationType,omitempty"`

	// The vendor of the operating system for the instance.
	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 Provides the information used to create the management station profile.

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) GetIsDefaultProfile ¶ added in v65.64.0

func (m CreateStationProfileDetails) GetIsDefaultProfile() *bool

GetIsDefaultProfile returns IsDefaultProfile

func (CreateStationProfileDetails) GetManagementStationId ¶

func (m CreateStationProfileDetails) GetManagementStationId() *string

GetManagementStationId returns ManagementStationId

func (CreateStationProfileDetails) GetRegistrationType ¶ added in v65.64.0

GetRegistrationType returns RegistrationType

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 CreateVendorSoftwareSourceDetails ¶ added in v65.64.0

type CreateVendorSoftwareSourceDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vendor software source in the root compartment that is being replicated.
	OriginSoftwareSourceId *string `mandatory:"true" json:"originSoftwareSourceId"`

	// User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// User-specified description for the software source. 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"`
}

CreateVendorSoftwareSourceDetails Provides the information used to replicated a vendor software source into another compartment (other than root).

func (CreateVendorSoftwareSourceDetails) GetCompartmentId ¶ added in v65.64.0

func (m CreateVendorSoftwareSourceDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateVendorSoftwareSourceDetails) GetDefinedTags ¶ added in v65.64.0

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

GetDefinedTags returns DefinedTags

func (CreateVendorSoftwareSourceDetails) GetDescription ¶ added in v65.64.0

func (m CreateVendorSoftwareSourceDetails) GetDescription() *string

GetDescription returns Description

func (CreateVendorSoftwareSourceDetails) GetDisplayName ¶ added in v65.64.0

func (m CreateVendorSoftwareSourceDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateVendorSoftwareSourceDetails) GetFreeformTags ¶ added in v65.64.0

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

GetFreeformTags returns FreeformTags

func (CreateVendorSoftwareSourceDetails) MarshalJSON ¶ added in v65.64.0

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

MarshalJSON marshals to json representation

func (CreateVendorSoftwareSourceDetails) String ¶ added in v65.64.0

func (CreateVendorSoftwareSourceDetails) ValidateEnumValue ¶ added in v65.64.0

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

ValidateEnumValue returns an error 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

	// User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// User-specified description for the software source. 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"`

	CustomSoftwareSourceFilter *CustomSoftwareSourceFilter `mandatory:"false" json:"customSoftwareSourceFilter"`

	// Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
	IsAutoResolveDependencies *bool `mandatory:"false" json:"isAutoResolveDependencies"`

	// Indicates whether the service should create the software source from a list of packages provided by the user.
	IsCreatedFromPackageList *bool `mandatory:"false" json:"isCreatedFromPackageList"`

	// A property used for compatibility only. It doesn't provide a complete list of packages. See AddPackagesToSoftwareSourceDetails for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.
	Packages []string `mandatory:"false" json:"packages"`
}

CreateVersionedCustomSoftwareSourceDetails Provides the information used to create a versioned custom software source.

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 {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains 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 (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The repository ID for the software source.
	RepoId *string `mandatory:"true" json:"repoId"`

	// URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/<repoId>'.
	Url *string `mandatory:"true" json:"url"`

	// List of vendor software sources that are used for the basis of the custom software source.
	VendorSoftwareSources []Id `mandatory:"true" json:"vendorSoftwareSources"`

	// User-specified description for the software source.
	Description *string `mandatory:"false" json:"description"`

	// Number of packages the software source contains.
	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"`

	// The size of the software source in gigabytes (GB).
	Size *float64 `mandatory:"false" json:"size"`

	// 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 the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
	IsAutomaticallyUpdated *bool `mandatory:"false" json:"isAutomaticallyUpdated"`

	// Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
	IsAutoResolveDependencies *bool `mandatory:"false" json:"isAutoResolveDependencies"`

	// Indicates whether the service should create the software source from a list of packages provided by the user.
	IsCreatedFromPackageList *bool `mandatory:"false" json:"isCreatedFromPackageList"`

	// The packages in the software source.
	Packages []string `mandatory:"false" json:"packages"`

	// Availability of the software source (for non-OCI environments).
	Availability AvailabilityEnum `mandatory:"true" json:"availability"`

	// Availability of the software source (for OCI environments).
	AvailabilityAtOci AvailabilityEnum `mandatory:"true" json:"availabilityAtOci"`

	// 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 The object that defines a custom software source. A software source contains a collection of packages. For more information, see Managing Software Sources (https://docs.cloud.oracle.com/iaas/osmh/doc/software-sources.htm).

func (CustomSoftwareSource) GetArchType ¶

func (m CustomSoftwareSource) GetArchType() ArchTypeEnum

GetArchType returns ArchType

func (CustomSoftwareSource) GetAvailability ¶

func (m CustomSoftwareSource) GetAvailability() AvailabilityEnum

GetAvailability returns Availability

func (CustomSoftwareSource) GetAvailabilityAtOci ¶ added in v65.64.0

func (m CustomSoftwareSource) GetAvailabilityAtOci() AvailabilityEnum

GetAvailabilityAtOci returns AvailabilityAtOci

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) GetSize ¶ added in v65.64.0

func (m CustomSoftwareSource) GetSize() *float64

GetSize returns Size

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 Provides the information used to apply filters to a vendor software source to create or update a custom software source.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

	// The repository ID for the software source.
	RepoId *string `mandatory:"true" json:"repoId"`

	// URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/<repoId>'.
	Url *string `mandatory:"true" json:"url"`

	// The date and time the software source was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the software source was updated (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// List of vendor software sources that are used for the basis of the custom software source..
	VendorSoftwareSources []Id `mandatory:"true" json:"vendorSoftwareSources"`

	// Description of the software source. For custom software sources, this is user-specified.
	Description *string `mandatory:"false" json:"description"`

	// Number of packages the software source contains.
	PackageCount *int64 `mandatory:"false" json:"packageCount"`

	// The size of the software source in gigabytes (GB).
	Size *float64 `mandatory:"false" json:"size"`

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

	// Availability of the software source (for non-OCI environments).
	Availability AvailabilityEnum `mandatory:"true" json:"availability"`

	// Availability of the software source (for OCI environments).
	AvailabilityAtOci AvailabilityEnum `mandatory:"true" json:"availabilityAtOci"`

	// 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 Indicates whether the service should create the software source from a list of packages provided by the user.

func (CustomSoftwareSourceSummary) GetArchType ¶

func (m CustomSoftwareSourceSummary) GetArchType() ArchTypeEnum

GetArchType returns ArchType

func (CustomSoftwareSourceSummary) GetAvailability ¶

func (m CustomSoftwareSourceSummary) GetAvailability() AvailabilityEnum

GetAvailability returns Availability

func (CustomSoftwareSourceSummary) GetAvailabilityAtOci ¶ added in v65.64.0

func (m CustomSoftwareSourceSummary) GetAvailabilityAtOci() AvailabilityEnum

GetAvailabilityAtOci returns AvailabilityAtOci

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) GetSize ¶ added in v65.64.0

func (m CustomSoftwareSourceSummary) GetSize() *float64

GetSize returns Size

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 DeleteEventContentRequest ¶ added in v65.64.0

type DeleteEventContentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	EventId *string `mandatory:"true" contributesTo:"path" name:"eventId"`

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

DeleteEventContentRequest wrapper for the DeleteEventContent operation

See also ¶

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

func (DeleteEventContentRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteEventContentRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (DeleteEventContentRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (DeleteEventContentRequest) String ¶ added in v65.64.0

func (request DeleteEventContentRequest) String() string

func (DeleteEventContentRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type DeleteEventContentResponse ¶ added in v65.64.0

type DeleteEventContentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

DeleteEventContentResponse wrapper for the DeleteEventContent operation

func (DeleteEventContentResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (DeleteEventContentResponse) String ¶ added in v65.64.0

func (response DeleteEventContentResponse) String() string

type DeleteEventRequest ¶ added in v65.64.0

type DeleteEventRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	EventId *string `mandatory:"true" contributesTo:"path" name:"eventId"`

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

DeleteEventRequest wrapper for the DeleteEvent operation

See also ¶

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

func (DeleteEventRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteEventRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (DeleteEventRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (DeleteEventRequest) String ¶ added in v65.64.0

func (request DeleteEventRequest) String() string

func (DeleteEventRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type DeleteEventResponse ¶ added in v65.64.0

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

DeleteEventResponse wrapper for the DeleteEvent operation

func (DeleteEventResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (DeleteEventResponse) String ¶ added in v65.64.0

func (response DeleteEventResponse) String() string

type DeleteLifecycleEnvironmentRequest ¶

type DeleteLifecycleEnvironmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	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 DeleteManagedInstanceRequest ¶ added in v65.64.0

type DeleteManagedInstanceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteManagedInstanceRequest wrapper for the DeleteManagedInstance operation

See also ¶

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

func (DeleteManagedInstanceRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteManagedInstanceRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (DeleteManagedInstanceRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (DeleteManagedInstanceRequest) String ¶ added in v65.64.0

func (request DeleteManagedInstanceRequest) String() string

func (DeleteManagedInstanceRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type DeleteManagedInstanceResponse ¶ added in v65.64.0

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

DeleteManagedInstanceResponse wrapper for the DeleteManagedInstance operation

func (DeleteManagedInstanceResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (DeleteManagedInstanceResponse) String ¶ added in v65.64.0

func (response DeleteManagedInstanceResponse) String() string

type DeleteManagementStationRequest ¶

type DeleteManagementStationRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
	LifecycleStageId *string `mandatory:"true" contributesTo:"path" name:"lifecycleStageId"`

	// Details for the managed instance 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 {

	// List of managed instance OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to detach from the group.
	ManagedInstances []string `mandatory:"true" json:"managedInstances"`
}

DetachManagedInstancesFromManagedInstanceGroupDetails Provides the information used to detach managed instances from a 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The managed instance OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 DetachProfileFromManagedInstanceRequest ¶ added in v65.64.0

type DetachProfileFromManagedInstanceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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
}

DetachProfileFromManagedInstanceRequest wrapper for the DetachProfileFromManagedInstance operation

See also ¶

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

func (DetachProfileFromManagedInstanceRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (DetachProfileFromManagedInstanceRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (DetachProfileFromManagedInstanceRequest) RetryPolicy ¶ added in v65.64.0

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

func (DetachProfileFromManagedInstanceRequest) String ¶ added in v65.64.0

func (DetachProfileFromManagedInstanceRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type DetachProfileFromManagedInstanceResponse ¶ added in v65.64.0

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

DetachProfileFromManagedInstanceResponse wrapper for the DetachProfileFromManagedInstance operation

func (DetachProfileFromManagedInstanceResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (DetachProfileFromManagedInstanceResponse) String ¶ added in v65.64.0

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 Provides the information used to detach the software sources from the managed instance.

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 {

	// List of software source OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to detach from the group.
	SoftwareSources []string `mandatory:"true" json:"softwareSources"`

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

DetachSoftwareSourcesFromManagedInstanceGroupDetails Provides the information used to detach software sources from a 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The software source OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to detach from the 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 Provides the information used to disable a module stream 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 the module.
	ModuleName *string `mandatory:"true" json:"moduleName"`

	// The name of a stream of the specified module.
	StreamName *string `mandatory:"false" json:"streamName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source that provides the module stream
	SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"`

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

DisableModuleStreamOnManagedInstanceGroupDetails Provides the details for disabling a module stream on a 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The details used to disable modules 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 Provides the information used to enable a module stream 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 the module.
	ModuleName *string `mandatory:"true" json:"moduleName"`

	// The name of a stream of the specified module.
	StreamName *string `mandatory:"false" json:"streamName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source that provides the module stream
	SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"`

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

EnableModuleStreamOnManagedInstanceGroupDetails Provides the details for enabling a module stream on a 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The details used to enable the module stream 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 entitlements.
	Items []EntitlementSummary `mandatory:"true" json:"items"`
}

EntitlementCollection The set of entitlements returned for the ListEntitlements.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the entitlement.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The Customer Support Identifier (CSI) which unlocks the software sources. The CSI is is a unique key given to a customer and it uniquely identifies the entitlement.
	Csi *string `mandatory:"true" json:"csi"`

	// The vendor for the entitlement.
	VendorName *string `mandatory:"true" json:"vendorName"`
}

EntitlementSummary Provides summary information for 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"`

	// The date and time the erratum was issued (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeIssued *common.SDKTime `mandatory:"false" json:"timeIssued"`

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

	// The date and time the erratum was updated (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
	ClassificationType ClassificationTypesEnum `mandatory:"false" json:"classificationType,omitempty"`

	// The advisory type of the erratum.
	AdvisoryType AdvisoryTypesEnum `mandatory:"false" json:"advisoryType,omitempty"`

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

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

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

	// List of 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 An object that defines an 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 The set of errata returned for the ListErrata operation.

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

	// The date and time the erratum was issued (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeIssued *common.SDKTime `mandatory:"false" json:"timeIssued"`

	// The date and time the erratum was updated (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
	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"`

	// The advisory type of the erratum.
	AdvisoryType AdvisoryTypesEnum `mandatory:"false" json:"advisoryType,omitempty"`
}

ErratumSummary Provides summary information for an erratum. An erratum is an important software change which can include security advisories, bug fixes, or enhancements.

func (ErratumSummary) String ¶

func (m ErratumSummary) String() string

func (ErratumSummary) ValidateEnumValue ¶

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

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

type Event ¶ added in v65.64.0

type Event interface {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	GetId() *string

	// Summary of the event.
	GetEventSummary() *string

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	GetCompartmentId() *string

	// The date and time the Event was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	GetTimeCreated() *common.SDKTime

	// The current state of the event.
	GetLifecycleState() EventLifecycleStateEnum

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

	// Details of an event.
	GetEventDetails() *string

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance or resource where the event occurred.
	GetResourceId() *string

	GetSystemDetails() *SystemDetails

	// The date and time that the event occurred.
	GetTimeOccurred() *common.SDKTime

	// The date and time that the event was updated (in RFC 3339 (https://tools.ietf.org/html/rfc3339) format).
	// Example: `2016-08-25T21:10:29.600Z`
	GetTimeUpdated() *common.SDKTime

	// Describes the current state of the event in more detail. For example, the
	// message can provide actionable information for a resource in the 'FAILED' state.
	GetLifecycleDetails() *string

	// Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
	GetIsManagedByAutonomousLinux() *bool

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

Event An event is an occurrence of something of interest on a managed instance, such as a kernel crash, software package update, or software source update.

type EventClient ¶ added in v65.64.0

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

EventClient a client for Event

func NewEventClientWithConfigurationProvider ¶ added in v65.64.0

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

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

func NewEventClientWithOboToken ¶ added in v65.64.0

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

NewEventClientWithOboToken Creates a new default Event client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (EventClient) ChangeEventCompartment ¶ added in v65.64.0

func (client EventClient) ChangeEventCompartment(ctx context.Context, request ChangeEventCompartmentRequest) (response ChangeEventCompartmentResponse, err error)

ChangeEventCompartment Moves an event into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

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

func (*EventClient) ConfigurationProvider ¶ added in v65.64.0

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

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

func (EventClient) DeleteEvent ¶ added in v65.64.0

func (client EventClient) DeleteEvent(ctx context.Context, request DeleteEventRequest) (response DeleteEventResponse, err error)

DeleteEvent Deletes the specified event.

See also ¶

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

func (EventClient) DeleteEventContent ¶ added in v65.64.0

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

DeleteEventContent Deletes an event content ZIP archive from the service.

See also ¶

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

func (EventClient) GetEvent ¶ added in v65.64.0

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

GetEvent Returns information about the specified event.

See also ¶

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

func (EventClient) GetEventContent ¶ added in v65.64.0

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

GetEventContent Returns a ZIP archive with additional information about an event. The archive content depends on the event type.

See also ¶

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

func (EventClient) ImportEventContent ¶ added in v65.64.0

func (client EventClient) ImportEventContent(ctx context.Context, request ImportEventContentRequest) (response ImportEventContentResponse, err error)

ImportEventContent Uploads an event content ZIP archive from an instance to the service.

See also ¶

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

func (EventClient) ListEvents ¶ added in v65.64.0

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

ListEvents Lists events that match the specified criteria, such as compartment, state, and event type.

See also ¶

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

func (*EventClient) SetRegion ¶ added in v65.64.0

func (client *EventClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (EventClient) UpdateEvent ¶ added in v65.64.0

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

UpdateEvent Updates the tags for an event.

See also ¶

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

type EventCollection ¶ added in v65.64.0

type EventCollection struct {

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

EventCollection A set of events returned for the ListEvents operation. The list contains a summary of each event and other information, such as metadata.

func (EventCollection) String ¶ added in v65.64.0

func (m EventCollection) String() string

func (EventCollection) ValidateEnumValue ¶ added in v65.64.0

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

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

type EventContent ¶ added in v65.64.0

type EventContent interface {
}

EventContent Information collected during the event, such as logs.

type EventContentTypeEnum ¶ added in v65.64.0

type EventContentTypeEnum string

EventContentTypeEnum Enum with underlying type: string

const (
	EventContentTypeKernel         EventContentTypeEnum = "KERNEL"
	EventContentTypeExploitAttempt EventContentTypeEnum = "EXPLOIT_ATTEMPT"
)

Set of constants representing the allowable values for EventContentTypeEnum

func GetEventContentTypeEnumValues ¶ added in v65.64.0

func GetEventContentTypeEnumValues() []EventContentTypeEnum

GetEventContentTypeEnumValues Enumerates the set of values for EventContentTypeEnum

func GetMappingEventContentTypeEnum ¶ added in v65.64.0

func GetMappingEventContentTypeEnum(val string) (EventContentTypeEnum, bool)

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

type EventLifecycleStateEnum ¶ added in v65.64.0

type EventLifecycleStateEnum string

EventLifecycleStateEnum Enum with underlying type: string

const (
	EventLifecycleStateCreating EventLifecycleStateEnum = "CREATING"
	EventLifecycleStateUpdating EventLifecycleStateEnum = "UPDATING"
	EventLifecycleStateActive   EventLifecycleStateEnum = "ACTIVE"
	EventLifecycleStateDeleting EventLifecycleStateEnum = "DELETING"
	EventLifecycleStateDeleted  EventLifecycleStateEnum = "DELETED"
	EventLifecycleStateFailed   EventLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for EventLifecycleStateEnum

func GetEventLifecycleStateEnumValues ¶ added in v65.64.0

func GetEventLifecycleStateEnumValues() []EventLifecycleStateEnum

GetEventLifecycleStateEnumValues Enumerates the set of values for EventLifecycleStateEnum

func GetMappingEventLifecycleStateEnum ¶ added in v65.64.0

func GetMappingEventLifecycleStateEnum(val string) (EventLifecycleStateEnum, bool)

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

type EventStatusEnum ¶ added in v65.64.0

type EventStatusEnum string

EventStatusEnum Enum with underlying type: string

const (
	EventStatusSucceeded EventStatusEnum = "SUCCEEDED"
	EventStatusFailed    EventStatusEnum = "FAILED"
)

Set of constants representing the allowable values for EventStatusEnum

func GetEventStatusEnumValues ¶ added in v65.64.0

func GetEventStatusEnumValues() []EventStatusEnum

GetEventStatusEnumValues Enumerates the set of values for EventStatusEnum

func GetMappingEventStatusEnum ¶ added in v65.64.0

func GetMappingEventStatusEnum(val string) (EventStatusEnum, bool)

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

type EventSummary ¶ added in v65.64.0

type EventSummary struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	Id *string `mandatory:"true" json:"id"`

	// Summary of the event.
	EventSummary *string `mandatory:"true" json:"eventSummary"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Type of event.
	Type EventTypeEnum `mandatory:"true" json:"type"`

	// The date and time that the event was created (in RFC 3339 (https://tools.ietf.org/html/rfc3339) format).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time that the event occurred (in RFC 3339 (https://tools.ietf.org/html/rfc3339) format).
	// Example: 2016-08-25T21:10:29.600Z
	TimeOccurred *common.SDKTime `mandatory:"true" json:"timeOccurred"`

	// The current state of the event.
	LifecycleState EventLifecycleStateEnum `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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance or resource where the event occurred.
	ResourceId *string `mandatory:"false" json:"resourceId"`

	// The date and time that the event was updated (in RFC 3339 (https://tools.ietf.org/html/rfc3339) format).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Describes the current state of the event in more detail. For example, the
	// message can provide actionable information for a resource in the 'FAILED'
	// state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`

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

EventSummary Provides summary information about an event.

func (EventSummary) String ¶ added in v65.64.0

func (m EventSummary) String() string

func (EventSummary) ValidateEnumValue ¶ added in v65.64.0

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

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

type EventTypeEnum ¶ added in v65.64.0

type EventTypeEnum string

EventTypeEnum Enum with underlying type: string

const (
	EventTypeKernelOops        EventTypeEnum = "KERNEL_OOPS"
	EventTypeKernelCrash       EventTypeEnum = "KERNEL_CRASH"
	EventTypeExploitAttempt    EventTypeEnum = "EXPLOIT_ATTEMPT"
	EventTypeSoftwareUpdate    EventTypeEnum = "SOFTWARE_UPDATE"
	EventTypeKspliceUpdate     EventTypeEnum = "KSPLICE_UPDATE"
	EventTypeSoftwareSource    EventTypeEnum = "SOFTWARE_SOURCE"
	EventTypeAgent             EventTypeEnum = "AGENT"
	EventTypeManagementStation EventTypeEnum = "MANAGEMENT_STATION"
)

Set of constants representing the allowable values for EventTypeEnum

func GetEventTypeEnumValues ¶ added in v65.64.0

func GetEventTypeEnumValues() []EventTypeEnum

GetEventTypeEnumValues Enumerates the set of values for EventTypeEnum

func GetMappingEventTypeEnum ¶ added in v65.64.0

func GetMappingEventTypeEnum(val string) (EventTypeEnum, bool)

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

type ExploitAttemptAdditionalDetails ¶ added in v65.64.0

type ExploitAttemptAdditionalDetails struct {

	// List of CVEs in the exploit.
	ExploitCves []string `mandatory:"true" json:"exploitCves"`
}

ExploitAttemptAdditionalDetails Provides additional information about the Ksplice known exploit detection.

func (ExploitAttemptAdditionalDetails) String ¶ added in v65.64.0

func (ExploitAttemptAdditionalDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type ExploitAttemptEvent ¶ added in v65.64.0

type ExploitAttemptEvent struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	Id *string `mandatory:"true" json:"id"`

	// Summary of the event.
	EventSummary *string `mandatory:"true" json:"eventSummary"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the Event was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" 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:"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"`

	Data *ExploitAttemptEventData `mandatory:"true" json:"data"`

	// Details of an event.
	EventDetails *string `mandatory:"false" json:"eventDetails"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance or resource where the event occurred.
	ResourceId *string `mandatory:"false" json:"resourceId"`

	SystemDetails *SystemDetails `mandatory:"false" json:"systemDetails"`

	// The date and time that the event occurred.
	TimeOccurred *common.SDKTime `mandatory:"false" json:"timeOccurred"`

	// The date and time that the event was updated (in RFC 3339 (https://tools.ietf.org/html/rfc3339) format).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Describes the current state of the event in more detail. For example, the
	// message can provide actionable information for a resource in the 'FAILED' state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`

	// 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 event.
	LifecycleState EventLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

ExploitAttemptEvent Information about the exploit attempt event.

func (ExploitAttemptEvent) GetCompartmentId ¶ added in v65.64.0

func (m ExploitAttemptEvent) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (ExploitAttemptEvent) GetDefinedTags ¶ added in v65.64.0

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

GetDefinedTags returns DefinedTags

func (ExploitAttemptEvent) GetEventDetails ¶ added in v65.64.0

func (m ExploitAttemptEvent) GetEventDetails() *string

GetEventDetails returns EventDetails

func (ExploitAttemptEvent) GetEventSummary ¶ added in v65.64.0

func (m ExploitAttemptEvent) GetEventSummary() *string

GetEventSummary returns EventSummary

func (ExploitAttemptEvent) GetFreeformTags ¶ added in v65.64.0

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

GetFreeformTags returns FreeformTags

func (ExploitAttemptEvent) GetId ¶ added in v65.64.0

func (m ExploitAttemptEvent) GetId() *string

GetId returns Id

func (ExploitAttemptEvent) GetIsManagedByAutonomousLinux ¶ added in v65.64.0

func (m ExploitAttemptEvent) GetIsManagedByAutonomousLinux() *bool

GetIsManagedByAutonomousLinux returns IsManagedByAutonomousLinux

func (ExploitAttemptEvent) GetLifecycleDetails ¶ added in v65.64.0

func (m ExploitAttemptEvent) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (ExploitAttemptEvent) GetLifecycleState ¶ added in v65.64.0

func (m ExploitAttemptEvent) GetLifecycleState() EventLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (ExploitAttemptEvent) GetResourceId ¶ added in v65.64.0

func (m ExploitAttemptEvent) GetResourceId() *string

GetResourceId returns ResourceId

func (ExploitAttemptEvent) GetSystemDetails ¶ added in v65.64.0

func (m ExploitAttemptEvent) GetSystemDetails() *SystemDetails

GetSystemDetails returns SystemDetails

func (ExploitAttemptEvent) GetSystemTags ¶ added in v65.64.0

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

GetSystemTags returns SystemTags

func (ExploitAttemptEvent) GetTimeCreated ¶ added in v65.64.0

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

GetTimeCreated returns TimeCreated

func (ExploitAttemptEvent) GetTimeOccurred ¶ added in v65.64.0

func (m ExploitAttemptEvent) GetTimeOccurred() *common.SDKTime

GetTimeOccurred returns TimeOccurred

func (ExploitAttemptEvent) GetTimeUpdated ¶ added in v65.64.0

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

GetTimeUpdated returns TimeUpdated

func (ExploitAttemptEvent) MarshalJSON ¶ added in v65.64.0

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

MarshalJSON marshals to json representation

func (ExploitAttemptEvent) String ¶ added in v65.64.0

func (m ExploitAttemptEvent) String() string

func (ExploitAttemptEvent) ValidateEnumValue ¶ added in v65.64.0

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

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

type ExploitAttemptEventContent ¶ added in v65.64.0

type ExploitAttemptEventContent struct {

	// The content of the exploit detection log.
	ExploitDetectionLogContent *string `mandatory:"false" json:"exploitDetectionLogContent"`

	// The location of the exploit detection log within object storage.
	ExploitObjectStoreLocation *string `mandatory:"false" json:"exploitObjectStoreLocation"`
}

ExploitAttemptEventContent Provides information collected for the exploit attempt event.

func (ExploitAttemptEventContent) MarshalJSON ¶ added in v65.64.0

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

MarshalJSON marshals to json representation

func (ExploitAttemptEventContent) String ¶ added in v65.64.0

func (ExploitAttemptEventContent) ValidateEnumValue ¶ added in v65.64.0

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

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

type ExploitAttemptEventData ¶ added in v65.64.0

type ExploitAttemptEventData struct {

	// Number of times the event has occurred.
	Count *int `mandatory:"true" json:"count"`

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

	AdditionalDetails *ExploitAttemptAdditionalDetails `mandatory:"false" json:"additionalDetails"`
}

ExploitAttemptEventData Information about the exploit attempt event.

func (ExploitAttemptEventData) String ¶ added in v65.64.0

func (m ExploitAttemptEventData) String() string

func (ExploitAttemptEventData) ValidateEnumValue ¶ added in v65.64.0

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

ValidateEnumValue returns an error 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This parameter is required and returns only resources contained within the specified compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The erratum name (such as 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 GetEventContentRequest ¶ added in v65.64.0

type GetEventContentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	EventId *string `mandatory:"true" contributesTo:"path" name:"eventId"`

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

GetEventContentRequest wrapper for the GetEventContent operation

See also ¶

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

func (GetEventContentRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (GetEventContentRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (GetEventContentRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (GetEventContentRequest) String ¶ added in v65.64.0

func (request GetEventContentRequest) String() string

func (GetEventContentRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type GetEventContentResponse ¶ added in v65.64.0

type GetEventContentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetEventContentResponse wrapper for the GetEventContent operation

func (GetEventContentResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (GetEventContentResponse) String ¶ added in v65.64.0

func (response GetEventContentResponse) String() string

type GetEventRequest ¶ added in v65.64.0

type GetEventRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	EventId *string `mandatory:"true" contributesTo:"path" name:"eventId"`

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

GetEventRequest wrapper for the GetEvent operation

See also ¶

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

func (GetEventRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (GetEventRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (GetEventRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (GetEventRequest) String ¶ added in v65.64.0

func (request GetEventRequest) String() string

func (GetEventRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type GetEventResponse ¶ added in v65.64.0

type GetEventResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetEventResponse wrapper for the GetEvent operation

func (GetEventResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (GetEventResponse) String ¶ added in v65.64.0

func (response GetEventResponse) String() string

type GetLifecycleEnvironmentRequest ¶

type GetLifecycleEnvironmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 GetManagedInstanceAnalyticContentReportFormatEnum ¶ added in v65.64.0

type GetManagedInstanceAnalyticContentReportFormatEnum string

GetManagedInstanceAnalyticContentReportFormatEnum Enum with underlying type: string

const (
	GetManagedInstanceAnalyticContentReportFormatCsv  GetManagedInstanceAnalyticContentReportFormatEnum = "csv"
	GetManagedInstanceAnalyticContentReportFormatJson GetManagedInstanceAnalyticContentReportFormatEnum = "json"
	GetManagedInstanceAnalyticContentReportFormatXml  GetManagedInstanceAnalyticContentReportFormatEnum = "xml"
)

Set of constants representing the allowable values for GetManagedInstanceAnalyticContentReportFormatEnum

func GetGetManagedInstanceAnalyticContentReportFormatEnumValues ¶ added in v65.64.0

func GetGetManagedInstanceAnalyticContentReportFormatEnumValues() []GetManagedInstanceAnalyticContentReportFormatEnum

GetGetManagedInstanceAnalyticContentReportFormatEnumValues Enumerates the set of values for GetManagedInstanceAnalyticContentReportFormatEnum

func GetMappingGetManagedInstanceAnalyticContentReportFormatEnum ¶ added in v65.64.0

func GetMappingGetManagedInstanceAnalyticContentReportFormatEnum(val string) (GetManagedInstanceAnalyticContentReportFormatEnum, bool)

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

type GetManagedInstanceAnalyticContentReportTypeEnum ¶ added in v65.64.0

type GetManagedInstanceAnalyticContentReportTypeEnum string

GetManagedInstanceAnalyticContentReportTypeEnum Enum with underlying type: string

const (
	GetManagedInstanceAnalyticContentReportTypeSecurity GetManagedInstanceAnalyticContentReportTypeEnum = "SECURITY"
	GetManagedInstanceAnalyticContentReportTypeBugfix   GetManagedInstanceAnalyticContentReportTypeEnum = "BUGFIX"
	GetManagedInstanceAnalyticContentReportTypeActivity GetManagedInstanceAnalyticContentReportTypeEnum = "ACTIVITY"
	GetManagedInstanceAnalyticContentReportTypeAll      GetManagedInstanceAnalyticContentReportTypeEnum = "ALL"
)

Set of constants representing the allowable values for GetManagedInstanceAnalyticContentReportTypeEnum

func GetGetManagedInstanceAnalyticContentReportTypeEnumValues ¶ added in v65.64.0

func GetGetManagedInstanceAnalyticContentReportTypeEnumValues() []GetManagedInstanceAnalyticContentReportTypeEnum

GetGetManagedInstanceAnalyticContentReportTypeEnumValues Enumerates the set of values for GetManagedInstanceAnalyticContentReportTypeEnum

func GetMappingGetManagedInstanceAnalyticContentReportTypeEnum ¶ added in v65.64.0

func GetMappingGetManagedInstanceAnalyticContentReportTypeEnum(val string) (GetManagedInstanceAnalyticContentReportTypeEnum, bool)

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

type GetManagedInstanceAnalyticContentRequest ¶

type GetManagedInstanceAnalyticContentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	// This filter returns only resources contained within the specified compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group. This filter returns resources associated with this group.
	ManagedInstanceGroupId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceGroupId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle environment. This filter returns only resource contained with the specified lifecycle environment.
	LifecycleEnvironmentId *string `mandatory:"false" contributesTo:"query" name:"lifecycleEnvironmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage. This resource returns resources associated with this lifecycle stage.
	LifecycleStageId *string `mandatory:"false" contributesTo:"query" name:"lifecycleStageId"`

	// A filter to return only managed instances whose status matches the status provided.
	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"`

	// A filter to return instances that have the specified number of available security updates.
	SecurityUpdatesAvailableEqualsTo *int `mandatory:"false" contributesTo:"query" name:"securityUpdatesAvailableEqualsTo"`

	// A filter to return instances that have the specified number of available bug updates.
	BugUpdatesAvailableEqualsTo *int `mandatory:"false" contributesTo:"query" name:"bugUpdatesAvailableEqualsTo"`

	// A filter to return instances that have more available security updates than the number specified.
	SecurityUpdatesAvailableGreaterThan *int `mandatory:"false" contributesTo:"query" name:"securityUpdatesAvailableGreaterThan"`

	// A filter to return instances that have more available bug updates than the number specified.
	BugUpdatesAvailableGreaterThan *int `mandatory:"false" contributesTo:"query" name:"bugUpdatesAvailableGreaterThan"`

	// A filter to return only resources whose location matches the given value.
	Location []ManagedInstanceLocationEnum `contributesTo:"query" name:"location" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only resources whose location does not match the given value.
	LocationNotEqualTo []ManagedInstanceLocationEnum `contributesTo:"query" name:"locationNotEqualTo" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only resources that match the given operating system family.
	OsFamily []OsFamilyEnum `contributesTo:"query" name:"osFamily" omitEmpty:"true" collectionFormat:"multi"`

	// Indicates whether to list only resources managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" contributesTo:"query" name:"isManagedByAutonomousLinux"`

	// The format of the report to download. Default is CSV.
	ReportFormat GetManagedInstanceAnalyticContentReportFormatEnum `mandatory:"false" contributesTo:"query" name:"reportFormat" omitEmpty:"true"`

	// The type of the report the user wants to download. Default is ALL.
	ReportType GetManagedInstanceAnalyticContentReportTypeEnum `mandatory:"false" contributesTo:"query" name:"reportType" 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
}

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 GetManagedInstanceContentReportFormatEnum ¶ added in v65.64.0

type GetManagedInstanceContentReportFormatEnum string

GetManagedInstanceContentReportFormatEnum Enum with underlying type: string

const (
	GetManagedInstanceContentReportFormatCsv  GetManagedInstanceContentReportFormatEnum = "csv"
	GetManagedInstanceContentReportFormatJson GetManagedInstanceContentReportFormatEnum = "json"
	GetManagedInstanceContentReportFormatXml  GetManagedInstanceContentReportFormatEnum = "xml"
)

Set of constants representing the allowable values for GetManagedInstanceContentReportFormatEnum

func GetGetManagedInstanceContentReportFormatEnumValues ¶ added in v65.64.0

func GetGetManagedInstanceContentReportFormatEnumValues() []GetManagedInstanceContentReportFormatEnum

GetGetManagedInstanceContentReportFormatEnumValues Enumerates the set of values for GetManagedInstanceContentReportFormatEnum

func GetMappingGetManagedInstanceContentReportFormatEnum ¶ added in v65.64.0

func GetMappingGetManagedInstanceContentReportFormatEnum(val string) (GetManagedInstanceContentReportFormatEnum, bool)

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

type GetManagedInstanceContentRequest ¶

type GetManagedInstanceContentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// A filter to return only vulnerabilities matching the given types.
	VulnerabilityType []VulnerabilityTypesEnum `contributesTo:"query" name:"vulnerabilityType" omitEmpty:"true" collectionFormat:"multi"`

	// 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 []AdvisoryTypesEnum `contributesTo:"query" name:"advisoryType" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return vulnerabilities that match the given name. For Linux instances, this refers to the advisory name. For Windows instances, this refers to the Windows update display name.
	VulnerabilityName []string `contributesTo:"query" name:"vulnerabilityName" collectionFormat:"multi"`

	// A filter to return vulnerabilities that partially match the given name. For Linux instances, this refers to the advisory name. For Windows instances, this refers to the Windows update display name.
	VulnerabilityNameContains *string `mandatory:"false" contributesTo:"query" name:"vulnerabilityNameContains"`

	// The format of the report to download. Default is CSV.
	ReportFormat GetManagedInstanceContentReportFormatEnum `mandatory:"false" contributesTo:"query" name:"reportFormat" 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
}

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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// The name of the module stream profile.
	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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

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

	// The name of the stream of the containing module.
	StreamName *string `mandatory:"true" contributesTo:"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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 GetSoftwarePackageByNameRequest ¶ added in v65.64.0

type GetSoftwarePackageByNameRequest struct {

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

GetSoftwarePackageByNameRequest wrapper for the GetSoftwarePackageByName operation

See also ¶

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

func (GetSoftwarePackageByNameRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (GetSoftwarePackageByNameRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (GetSoftwarePackageByNameRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (GetSoftwarePackageByNameRequest) String ¶ added in v65.64.0

func (request GetSoftwarePackageByNameRequest) String() string

func (GetSoftwarePackageByNameRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type GetSoftwarePackageByNameResponse ¶ added in v65.64.0

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

GetSoftwarePackageByNameResponse wrapper for the GetSoftwarePackageByName operation

func (GetSoftwarePackageByNameResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (GetSoftwarePackageByNameResponse) String ¶ added in v65.64.0

func (response GetSoftwarePackageByNameResponse) String() string

type GetSoftwarePackageRequest ¶

type GetSoftwarePackageRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	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 GetWindowsUpdateRequest ¶ added in v65.64.0

type GetWindowsUpdateRequest struct {

	// The unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft.
	// Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
	WindowsUpdateId *string `mandatory:"true" contributesTo:"path" name:"windowsUpdateId"`

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

GetWindowsUpdateRequest wrapper for the GetWindowsUpdate operation

See also ¶

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

func (GetWindowsUpdateRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (GetWindowsUpdateRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (GetWindowsUpdateRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (GetWindowsUpdateRequest) String ¶ added in v65.64.0

func (request GetWindowsUpdateRequest) String() string

func (GetWindowsUpdateRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type GetWindowsUpdateResponse ¶ added in v65.64.0

type GetWindowsUpdateResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

GetWindowsUpdateResponse wrapper for the GetWindowsUpdate operation

func (GetWindowsUpdateResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (GetWindowsUpdateResponse) String ¶ added in v65.64.0

func (response GetWindowsUpdateResponse) String() string

type GetWorkRequestRequest ¶

type GetWorkRequestRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name for the profile.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
	ManagementStationId *string `mandatory:"false" json:"managementStationId"`

	// The time the registration profile was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
	IsDefaultProfile *bool `mandatory:"false" json:"isDefaultProfile"`

	// Indicates if the profile was created by the service. OS Management Hub provides a limited set of standardized profiles that can be used to register Autonomous Linux or Windows instances.
	IsServiceProvidedProfile *bool `mandatory:"false" json:"isServiceProvidedProfile"`

	// 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 vendor of the operating system for the instance.
	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"`

	// The type of instance to register.
	RegistrationType ProfileRegistrationTypeEnum `mandatory:"false" json:"registrationType,omitempty"`
}

GroupProfile Provides the information for a group registration profile.

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) GetIsDefaultProfile ¶ added in v65.64.0

func (m GroupProfile) GetIsDefaultProfile() *bool

GetIsDefaultProfile returns IsDefaultProfile

func (GroupProfile) GetIsServiceProvidedProfile ¶ added in v65.64.0

func (m GroupProfile) GetIsServiceProvidedProfile() *bool

GetIsServiceProvidedProfile returns IsServiceProvidedProfile

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) GetRegistrationType ¶ added in v65.64.0

func (m GroupProfile) GetRegistrationType() ProfileRegistrationTypeEnum

GetRegistrationType returns RegistrationType

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 HealthStateEnum ¶ added in v65.64.0

type HealthStateEnum string

HealthStateEnum Enum with underlying type: string

const (
	HealthStateHealthy   HealthStateEnum = "HEALTHY"
	HealthStateUnhealthy HealthStateEnum = "UNHEALTHY"
)

Set of constants representing the allowable values for HealthStateEnum

func GetHealthStateEnumValues ¶ added in v65.64.0

func GetHealthStateEnumValues() []HealthStateEnum

GetHealthStateEnumValues Enumerates the set of values for HealthStateEnum

func GetMappingHealthStateEnum ¶ added in v65.64.0

func GetMappingHealthStateEnum(val string) (HealthStateEnum, bool)

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

type Id ¶

type Id struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is immutable on creation.
	Id *string `mandatory:"true" json:"id"`

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

Id Id and name of a resource to simplify the display for the 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 ImportEventContentRequest ¶ added in v65.64.0

type ImportEventContentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	EventId *string `mandatory:"true" contributesTo:"path" name:"eventId"`

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

ImportEventContentRequest wrapper for the ImportEventContent operation

See also ¶

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

func (ImportEventContentRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (ImportEventContentRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (ImportEventContentRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (ImportEventContentRequest) String ¶ added in v65.64.0

func (request ImportEventContentRequest) String() string

func (ImportEventContentRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type ImportEventContentResponse ¶ added in v65.64.0

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

ImportEventContentResponse wrapper for the ImportEventContent operation

func (ImportEventContentResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (ImportEventContentResponse) String ¶ added in v65.64.0

func (response ImportEventContentResponse) String() string

type InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails ¶ added in v65.64.0

type InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The types of Windows updates to be installed.
	WindowsUpdateTypes []WindowsUpdateTypesEnum `mandatory:"false" json:"windowsUpdateTypes,omitempty"`

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

InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails Provides the information used to install all Windows updates of a specified type on managed instances within the specified compartment.

func (InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails) String ¶ added in v65.64.0

func (InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails) ValidateEnumValue ¶ added in v65.64.0

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

type InstallAllWindowsUpdatesOnManagedInstancesInCompartmentRequest ¶ added in v65.64.0

type InstallAllWindowsUpdatesOnManagedInstancesInCompartmentRequest struct {

	// The details about Windows update types to be installed on all managed instances in a compartment.
	InstallAllWindowsUpdatesOnManagedInstancesInCompartmentDetails `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
}

InstallAllWindowsUpdatesOnManagedInstancesInCompartmentRequest wrapper for the InstallAllWindowsUpdatesOnManagedInstancesInCompartment operation

See also ¶

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

func (InstallAllWindowsUpdatesOnManagedInstancesInCompartmentRequest) BinaryRequestBody ¶ added in v65.64.0

BinaryRequestBody implements the OCIRequest interface

func (InstallAllWindowsUpdatesOnManagedInstancesInCompartmentRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (InstallAllWindowsUpdatesOnManagedInstancesInCompartmentRequest) RetryPolicy ¶ added in v65.64.0

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

func (InstallAllWindowsUpdatesOnManagedInstancesInCompartmentRequest) String ¶ added in v65.64.0

func (InstallAllWindowsUpdatesOnManagedInstancesInCompartmentRequest) ValidateEnumValue ¶ added in v65.64.0

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

type InstallAllWindowsUpdatesOnManagedInstancesInCompartmentResponse ¶ added in v65.64.0

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

InstallAllWindowsUpdatesOnManagedInstancesInCompartmentResponse wrapper for the InstallAllWindowsUpdatesOnManagedInstancesInCompartment operation

func (InstallAllWindowsUpdatesOnManagedInstancesInCompartmentResponse) HTTPResponse ¶ added in v65.64.0

HTTPResponse implements the OCIResponse interface

func (InstallAllWindowsUpdatesOnManagedInstancesInCompartmentResponse) String ¶ added in v65.64.0

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 Provides the information used to install a module stream profile 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 the 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source that provides the module stream
	SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"`

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

InstallModuleStreamProfileOnManagedInstanceGroupDetails Provides the details for installing a module stream profile on a 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The details used to install module stream profiles on a managed instance gorup.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 Provides the information used to install software packages on a managed instance.

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:"true" 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The names of 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 InstallWindowsUpdatesOnManagedInstanceDetails ¶ added in v65.64.0

type InstallWindowsUpdatesOnManagedInstanceDetails struct {

	// The list of Windows update unique identifiers.
	// Note that this is not an OCID, but is a unique identifier assigned by Microsoft.
	// Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
	WindowsUpdateName []string `mandatory:"false" json:"windowsUpdateName"`

	// The types of Windows updates to be installed.
	WindowsUpdateTypes []WindowsUpdateTypesEnum `mandatory:"false" json:"windowsUpdateTypes,omitempty"`

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

InstallWindowsUpdatesOnManagedInstanceDetails Provides the information used to install Windows updates on a managed instance.

func (InstallWindowsUpdatesOnManagedInstanceDetails) String ¶ added in v65.64.0

func (InstallWindowsUpdatesOnManagedInstanceDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type InstallWindowsUpdatesOnManagedInstanceGroupDetails ¶ added in v65.64.0

type InstallWindowsUpdatesOnManagedInstanceGroupDetails struct {

	// The type of Windows updates to be applied.
	WindowsUpdateTypes []WindowsUpdateTypesEnum `mandatory:"true" json:"windowsUpdateTypes"`

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

InstallWindowsUpdatesOnManagedInstanceGroupDetails Provides the details for the Windows update installed on the managed instance group.

func (InstallWindowsUpdatesOnManagedInstanceGroupDetails) String ¶ added in v65.64.0

func (InstallWindowsUpdatesOnManagedInstanceGroupDetails) ValidateEnumValue ¶ added in v65.64.0

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

type InstallWindowsUpdatesOnManagedInstanceGroupRequest ¶ added in v65.64.0

type InstallWindowsUpdatesOnManagedInstanceGroupRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// Provides the details used to install Windows updates on a managed instance group.
	InstallWindowsUpdatesOnManagedInstanceGroupDetails `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
}

InstallWindowsUpdatesOnManagedInstanceGroupRequest wrapper for the InstallWindowsUpdatesOnManagedInstanceGroup operation

See also ¶

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

func (InstallWindowsUpdatesOnManagedInstanceGroupRequest) BinaryRequestBody ¶ added in v65.64.0

BinaryRequestBody implements the OCIRequest interface

func (InstallWindowsUpdatesOnManagedInstanceGroupRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (InstallWindowsUpdatesOnManagedInstanceGroupRequest) RetryPolicy ¶ added in v65.64.0

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

func (InstallWindowsUpdatesOnManagedInstanceGroupRequest) String ¶ added in v65.64.0

func (InstallWindowsUpdatesOnManagedInstanceGroupRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type InstallWindowsUpdatesOnManagedInstanceGroupResponse ¶ added in v65.64.0

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

InstallWindowsUpdatesOnManagedInstanceGroupResponse wrapper for the InstallWindowsUpdatesOnManagedInstanceGroup operation

func (InstallWindowsUpdatesOnManagedInstanceGroupResponse) HTTPResponse ¶ added in v65.64.0

HTTPResponse implements the OCIResponse interface

func (InstallWindowsUpdatesOnManagedInstanceGroupResponse) String ¶ added in v65.64.0

type InstallWindowsUpdatesOnManagedInstanceRequest ¶ added in v65.64.0

type InstallWindowsUpdatesOnManagedInstanceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// Details about Windows updates to be installed on a managed instance.
	InstallWindowsUpdatesOnManagedInstanceDetails `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
}

InstallWindowsUpdatesOnManagedInstanceRequest wrapper for the InstallWindowsUpdatesOnManagedInstance operation

See also ¶

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

func (InstallWindowsUpdatesOnManagedInstanceRequest) BinaryRequestBody ¶ added in v65.64.0

BinaryRequestBody implements the OCIRequest interface

func (InstallWindowsUpdatesOnManagedInstanceRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (InstallWindowsUpdatesOnManagedInstanceRequest) RetryPolicy ¶ added in v65.64.0

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

func (InstallWindowsUpdatesOnManagedInstanceRequest) String ¶ added in v65.64.0

func (InstallWindowsUpdatesOnManagedInstanceRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type InstallWindowsUpdatesOnManagedInstanceResponse ¶ added in v65.64.0

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

InstallWindowsUpdatesOnManagedInstanceResponse wrapper for the InstallWindowsUpdatesOnManagedInstance operation

func (InstallWindowsUpdatesOnManagedInstanceResponse) HTTPResponse ¶ added in v65.64.0

HTTPResponse implements the OCIResponse interface

func (InstallWindowsUpdatesOnManagedInstanceResponse) String ¶ added in v65.64.0

type InstallationRequirementsEnum ¶ added in v65.64.0

type InstallationRequirementsEnum string

InstallationRequirementsEnum Enum with underlying type: string

const (
	InstallationRequirementsEulaAcceptanceRequired  InstallationRequirementsEnum = "EULA_ACCEPTANCE_REQUIRED"
	InstallationRequirementsSoftwareMediaRequired   InstallationRequirementsEnum = "SOFTWARE_MEDIA_REQUIRED"
	InstallationRequirementsUserInteractionRequired InstallationRequirementsEnum = "USER_INTERACTION_REQUIRED"
)

Set of constants representing the allowable values for InstallationRequirementsEnum

func GetInstallationRequirementsEnumValues ¶ added in v65.64.0

func GetInstallationRequirementsEnumValues() []InstallationRequirementsEnum

GetInstallationRequirementsEnumValues Enumerates the set of values for InstallationRequirementsEnum

func GetMappingInstallationRequirementsEnum ¶ added in v65.64.0

func GetMappingInstallationRequirementsEnum(val string) (InstallationRequirementsEnum, bool)

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

type InstalledPackageCollection ¶

type InstalledPackageCollection struct {

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

InstalledPackageCollection The set of installed packages 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 (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeIssued *common.SDKTime `mandatory:"false" json:"timeIssued"`

	// The architecture for which this package was built.
	Architecture ArchTypeEnum `mandatory:"false" json:"architecture,omitempty"`
}

InstalledPackageSummary Provides summary information for 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 InstalledWindowsUpdateCollection ¶ added in v65.64.0

type InstalledWindowsUpdateCollection struct {

	// List of installed Windows updates.
	Items []InstalledWindowsUpdateSummary `mandatory:"true" json:"items"`
}

InstalledWindowsUpdateCollection The set of installed Windows updates returned for the ListManagedInstanceInstalledWindowsUpdates operation.

func (InstalledWindowsUpdateCollection) String ¶ added in v65.64.0

func (InstalledWindowsUpdateCollection) ValidateEnumValue ¶ added in v65.64.0

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

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

type InstalledWindowsUpdateSummary ¶ added in v65.64.0

type InstalledWindowsUpdateSummary struct {

	// Name of the Windows update.
	Name *string `mandatory:"true" json:"name"`

	// Unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft.
	// Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
	UpdateId *string `mandatory:"true" json:"updateId"`

	// The type of Windows update.
	UpdateType ClassificationTypesEnum `mandatory:"true" json:"updateType"`
}

InstalledWindowsUpdateSummary An object that defines an installed update for a Windows instance.

func (InstalledWindowsUpdateSummary) String ¶ added in v65.64.0

func (InstalledWindowsUpdateSummary) ValidateEnumValue ¶ added in v65.64.0

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

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

type KernelCrashEvent ¶ added in v65.64.0

type KernelCrashEvent struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	Id *string `mandatory:"true" json:"id"`

	// Summary of the event.
	EventSummary *string `mandatory:"true" json:"eventSummary"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the Event was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" 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:"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"`

	Data *KernelEventData `mandatory:"true" json:"data"`

	// Details of an event.
	EventDetails *string `mandatory:"false" json:"eventDetails"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance or resource where the event occurred.
	ResourceId *string `mandatory:"false" json:"resourceId"`

	SystemDetails *SystemDetails `mandatory:"false" json:"systemDetails"`

	// The date and time that the event occurred.
	TimeOccurred *common.SDKTime `mandatory:"false" json:"timeOccurred"`

	// The date and time that the event was updated (in RFC 3339 (https://tools.ietf.org/html/rfc3339) format).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Describes the current state of the event in more detail. For example, the
	// message can provide actionable information for a resource in the 'FAILED' state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`

	// 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 event.
	LifecycleState EventLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

KernelCrashEvent Information about the kernel crash event. A kernel crash event occurs when the kernel detects an exception and triggers a reboot.

func (KernelCrashEvent) GetCompartmentId ¶ added in v65.64.0

func (m KernelCrashEvent) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (KernelCrashEvent) GetDefinedTags ¶ added in v65.64.0

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

GetDefinedTags returns DefinedTags

func (KernelCrashEvent) GetEventDetails ¶ added in v65.64.0

func (m KernelCrashEvent) GetEventDetails() *string

GetEventDetails returns EventDetails

func (KernelCrashEvent) GetEventSummary ¶ added in v65.64.0

func (m KernelCrashEvent) GetEventSummary() *string

GetEventSummary returns EventSummary

func (KernelCrashEvent) GetFreeformTags ¶ added in v65.64.0

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

GetFreeformTags returns FreeformTags

func (KernelCrashEvent) GetId ¶ added in v65.64.0

func (m KernelCrashEvent) GetId() *string

GetId returns Id

func (KernelCrashEvent) GetIsManagedByAutonomousLinux ¶ added in v65.64.0

func (m KernelCrashEvent) GetIsManagedByAutonomousLinux() *bool

GetIsManagedByAutonomousLinux returns IsManagedByAutonomousLinux

func (KernelCrashEvent) GetLifecycleDetails ¶ added in v65.64.0

func (m KernelCrashEvent) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (KernelCrashEvent) GetLifecycleState ¶ added in v65.64.0

func (m KernelCrashEvent) GetLifecycleState() EventLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (KernelCrashEvent) GetResourceId ¶ added in v65.64.0

func (m KernelCrashEvent) GetResourceId() *string

GetResourceId returns ResourceId

func (KernelCrashEvent) GetSystemDetails ¶ added in v65.64.0

func (m KernelCrashEvent) GetSystemDetails() *SystemDetails

GetSystemDetails returns SystemDetails

func (KernelCrashEvent) GetSystemTags ¶ added in v65.64.0

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

GetSystemTags returns SystemTags

func (KernelCrashEvent) GetTimeCreated ¶ added in v65.64.0

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

GetTimeCreated returns TimeCreated

func (KernelCrashEvent) GetTimeOccurred ¶ added in v65.64.0

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

GetTimeOccurred returns TimeOccurred

func (KernelCrashEvent) GetTimeUpdated ¶ added in v65.64.0

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

GetTimeUpdated returns TimeUpdated

func (KernelCrashEvent) MarshalJSON ¶ added in v65.64.0

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

MarshalJSON marshals to json representation

func (KernelCrashEvent) String ¶ added in v65.64.0

func (m KernelCrashEvent) String() string

func (KernelCrashEvent) ValidateEnumValue ¶ added in v65.64.0

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

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

type KernelEventAdditionalDetails ¶ added in v65.64.0

type KernelEventAdditionalDetails struct {
	Vmcore *VmcoreDetails `mandatory:"true" json:"vmcore"`
}

KernelEventAdditionalDetails Provides additional information about the kernel event.

func (KernelEventAdditionalDetails) String ¶ added in v65.64.0

func (KernelEventAdditionalDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type KernelEventContent ¶ added in v65.64.0

type KernelEventContent struct {

	// Location of the Kernel event content.
	ContentLocation *string `mandatory:"true" json:"contentLocation"`

	// Size of the event content.
	Size *int `mandatory:"false" json:"size"`

	// Crash content availability status:
	//     * 'NOT_AVAILABLE' indicates the content is not available on the instance nor in the service
	//     * 'AVAILABLE_ON_INSTANCE' indicates the content is only available on the instance.
	//     * 'AVAILABLE_ON_SERVICE' indicates the content is only available on the service.
	//     * 'AVAILABLE_ON_INSTANCE_AND_SERVICE' indicates the content is available both on the instance and the service
	//     * 'AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS' indicates the content is available on the instance and its upload to the service is in progress.
	ContentAvailability KernelEventContentContentAvailabilityEnum `mandatory:"true" json:"contentAvailability"`
}

KernelEventContent Provides information collected for the kernel event.

func (KernelEventContent) MarshalJSON ¶ added in v65.64.0

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

MarshalJSON marshals to json representation

func (KernelEventContent) String ¶ added in v65.64.0

func (m KernelEventContent) String() string

func (KernelEventContent) ValidateEnumValue ¶ added in v65.64.0

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

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

type KernelEventContentContentAvailabilityEnum ¶ added in v65.64.0

type KernelEventContentContentAvailabilityEnum string

KernelEventContentContentAvailabilityEnum Enum with underlying type: string

const (
	KernelEventContentContentAvailabilityNotAvailable                        KernelEventContentContentAvailabilityEnum = "NOT_AVAILABLE"
	KernelEventContentContentAvailabilityAvailableOnInstance                 KernelEventContentContentAvailabilityEnum = "AVAILABLE_ON_INSTANCE"
	KernelEventContentContentAvailabilityAvailableOnService                  KernelEventContentContentAvailabilityEnum = "AVAILABLE_ON_SERVICE"
	KernelEventContentContentAvailabilityAvailableOnInstanceAndService       KernelEventContentContentAvailabilityEnum = "AVAILABLE_ON_INSTANCE_AND_SERVICE"
	KernelEventContentContentAvailabilityAvailableOnInstanceUploadInProgress KernelEventContentContentAvailabilityEnum = "AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS"
)

Set of constants representing the allowable values for KernelEventContentContentAvailabilityEnum

func GetKernelEventContentContentAvailabilityEnumValues ¶ added in v65.64.0

func GetKernelEventContentContentAvailabilityEnumValues() []KernelEventContentContentAvailabilityEnum

GetKernelEventContentContentAvailabilityEnumValues Enumerates the set of values for KernelEventContentContentAvailabilityEnum

func GetMappingKernelEventContentContentAvailabilityEnum ¶ added in v65.64.0

func GetMappingKernelEventContentContentAvailabilityEnum(val string) (KernelEventContentContentAvailabilityEnum, bool)

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

type KernelEventData ¶ added in v65.64.0

type KernelEventData struct {
	Content *KernelEventContent `mandatory:"true" json:"content"`

	// Number of times the event has occurred.
	Count *int `mandatory:"true" json:"count"`

	// Fingerprint of the event.
	EventFingerprint *string `mandatory:"true" json:"eventFingerprint"`

	// Reason for the event.
	Reason *string `mandatory:"true" json:"reason"`

	// The date and time that the event first occurred.
	TimeFirstOccurred *common.SDKTime `mandatory:"true" json:"timeFirstOccurred"`

	AdditionalDetails *KernelEventAdditionalDetails `mandatory:"false" json:"additionalDetails"`
}

KernelEventData Information about the kernel event.

func (KernelEventData) String ¶ added in v65.64.0

func (m KernelEventData) String() string

func (KernelEventData) ValidateEnumValue ¶ added in v65.64.0

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

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

type KernelOopsEvent ¶ added in v65.64.0

type KernelOopsEvent struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	Id *string `mandatory:"true" json:"id"`

	// Summary of the event.
	EventSummary *string `mandatory:"true" json:"eventSummary"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the Event was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" 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:"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"`

	Data *KernelEventData `mandatory:"true" json:"data"`

	// Details of an event.
	EventDetails *string `mandatory:"false" json:"eventDetails"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance or resource where the event occurred.
	ResourceId *string `mandatory:"false" json:"resourceId"`

	SystemDetails *SystemDetails `mandatory:"false" json:"systemDetails"`

	// The date and time that the event occurred.
	TimeOccurred *common.SDKTime `mandatory:"false" json:"timeOccurred"`

	// The date and time that the event was updated (in RFC 3339 (https://tools.ietf.org/html/rfc3339) format).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Describes the current state of the event in more detail. For example, the
	// message can provide actionable information for a resource in the 'FAILED' state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`

	// 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 event.
	LifecycleState EventLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

KernelOopsEvent Information about the kernel OOPS event. A kernel OOPS event occurs when the kernel detects an erroneous state inside itself.

func (KernelOopsEvent) GetCompartmentId ¶ added in v65.64.0

func (m KernelOopsEvent) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (KernelOopsEvent) GetDefinedTags ¶ added in v65.64.0

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

GetDefinedTags returns DefinedTags

func (KernelOopsEvent) GetEventDetails ¶ added in v65.64.0

func (m KernelOopsEvent) GetEventDetails() *string

GetEventDetails returns EventDetails

func (KernelOopsEvent) GetEventSummary ¶ added in v65.64.0

func (m KernelOopsEvent) GetEventSummary() *string

GetEventSummary returns EventSummary

func (KernelOopsEvent) GetFreeformTags ¶ added in v65.64.0

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

GetFreeformTags returns FreeformTags

func (KernelOopsEvent) GetId ¶ added in v65.64.0

func (m KernelOopsEvent) GetId() *string

GetId returns Id

func (KernelOopsEvent) GetIsManagedByAutonomousLinux ¶ added in v65.64.0

func (m KernelOopsEvent) GetIsManagedByAutonomousLinux() *bool

GetIsManagedByAutonomousLinux returns IsManagedByAutonomousLinux

func (KernelOopsEvent) GetLifecycleDetails ¶ added in v65.64.0

func (m KernelOopsEvent) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (KernelOopsEvent) GetLifecycleState ¶ added in v65.64.0

func (m KernelOopsEvent) GetLifecycleState() EventLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (KernelOopsEvent) GetResourceId ¶ added in v65.64.0

func (m KernelOopsEvent) GetResourceId() *string

GetResourceId returns ResourceId

func (KernelOopsEvent) GetSystemDetails ¶ added in v65.64.0

func (m KernelOopsEvent) GetSystemDetails() *SystemDetails

GetSystemDetails returns SystemDetails

func (KernelOopsEvent) GetSystemTags ¶ added in v65.64.0

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

GetSystemTags returns SystemTags

func (KernelOopsEvent) GetTimeCreated ¶ added in v65.64.0

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

GetTimeCreated returns TimeCreated

func (KernelOopsEvent) GetTimeOccurred ¶ added in v65.64.0

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

GetTimeOccurred returns TimeOccurred

func (KernelOopsEvent) GetTimeUpdated ¶ added in v65.64.0

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

GetTimeUpdated returns TimeUpdated

func (KernelOopsEvent) MarshalJSON ¶ added in v65.64.0

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

MarshalJSON marshals to json representation

func (KernelOopsEvent) String ¶ added in v65.64.0

func (m KernelOopsEvent) String() string

func (KernelOopsEvent) ValidateEnumValue ¶ added in v65.64.0

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

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

type KspliceUpdateEvent ¶ added in v65.64.0

type KspliceUpdateEvent struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	Id *string `mandatory:"true" json:"id"`

	// Summary of the event.
	EventSummary *string `mandatory:"true" json:"eventSummary"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the Event was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" 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:"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"`

	Data *KspliceUpdateEventData `mandatory:"true" json:"data"`

	// Details of an event.
	EventDetails *string `mandatory:"false" json:"eventDetails"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance or resource where the event occurred.
	ResourceId *string `mandatory:"false" json:"resourceId"`

	SystemDetails *SystemDetails `mandatory:"false" json:"systemDetails"`

	// The date and time that the event occurred.
	TimeOccurred *common.SDKTime `mandatory:"false" json:"timeOccurred"`

	// The date and time that the event was updated (in RFC 3339 (https://tools.ietf.org/html/rfc3339) format).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Describes the current state of the event in more detail. For example, the
	// message can provide actionable information for a resource in the 'FAILED' state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`

	// 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 event.
	LifecycleState EventLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

KspliceUpdateEvent Provides information for a Ksplice update event.

func (KspliceUpdateEvent) GetCompartmentId ¶ added in v65.64.0

func (m KspliceUpdateEvent) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (KspliceUpdateEvent) GetDefinedTags ¶ added in v65.64.0

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

GetDefinedTags returns DefinedTags

func (KspliceUpdateEvent) GetEventDetails ¶ added in v65.64.0

func (m KspliceUpdateEvent) GetEventDetails() *string

GetEventDetails returns EventDetails

func (KspliceUpdateEvent) GetEventSummary ¶ added in v65.64.0

func (m KspliceUpdateEvent) GetEventSummary() *string

GetEventSummary returns EventSummary

func (KspliceUpdateEvent) GetFreeformTags ¶ added in v65.64.0

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

GetFreeformTags returns FreeformTags

func (KspliceUpdateEvent) GetId ¶ added in v65.64.0

func (m KspliceUpdateEvent) GetId() *string

GetId returns Id

func (KspliceUpdateEvent) GetIsManagedByAutonomousLinux ¶ added in v65.64.0

func (m KspliceUpdateEvent) GetIsManagedByAutonomousLinux() *bool

GetIsManagedByAutonomousLinux returns IsManagedByAutonomousLinux

func (KspliceUpdateEvent) GetLifecycleDetails ¶ added in v65.64.0

func (m KspliceUpdateEvent) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (KspliceUpdateEvent) GetLifecycleState ¶ added in v65.64.0

func (m KspliceUpdateEvent) GetLifecycleState() EventLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (KspliceUpdateEvent) GetResourceId ¶ added in v65.64.0

func (m KspliceUpdateEvent) GetResourceId() *string

GetResourceId returns ResourceId

func (KspliceUpdateEvent) GetSystemDetails ¶ added in v65.64.0

func (m KspliceUpdateEvent) GetSystemDetails() *SystemDetails

GetSystemDetails returns SystemDetails

func (KspliceUpdateEvent) GetSystemTags ¶ added in v65.64.0

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

GetSystemTags returns SystemTags

func (KspliceUpdateEvent) GetTimeCreated ¶ added in v65.64.0

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

GetTimeCreated returns TimeCreated

func (KspliceUpdateEvent) GetTimeOccurred ¶ added in v65.64.0

func (m KspliceUpdateEvent) GetTimeOccurred() *common.SDKTime

GetTimeOccurred returns TimeOccurred

func (KspliceUpdateEvent) GetTimeUpdated ¶ added in v65.64.0

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

GetTimeUpdated returns TimeUpdated

func (KspliceUpdateEvent) MarshalJSON ¶ added in v65.64.0

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

MarshalJSON marshals to json representation

func (KspliceUpdateEvent) String ¶ added in v65.64.0

func (m KspliceUpdateEvent) String() string

func (KspliceUpdateEvent) ValidateEnumValue ¶ added in v65.64.0

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

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

type KspliceUpdateEventData ¶ added in v65.64.0

type KspliceUpdateEventData struct {

	// The type of Ksplice update.
	OperationType KspliceUpdateEventDataOperationTypeEnum `mandatory:"true" json:"operationType"`

	// Status of the Ksplice update.
	Status EventStatusEnum `mandatory:"true" json:"status"`

	AdditionalDetails *WorkRequestEventDataAdditionalDetails `mandatory:"false" json:"additionalDetails"`
}

KspliceUpdateEventData Provides additional information for a Ksplice update event.

func (KspliceUpdateEventData) String ¶ added in v65.64.0

func (m KspliceUpdateEventData) String() string

func (KspliceUpdateEventData) ValidateEnumValue ¶ added in v65.64.0

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

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

type KspliceUpdateEventDataOperationTypeEnum ¶ added in v65.64.0

type KspliceUpdateEventDataOperationTypeEnum string

KspliceUpdateEventDataOperationTypeEnum Enum with underlying type: string

const (
	KspliceUpdateEventDataOperationTypeKernel    KspliceUpdateEventDataOperationTypeEnum = "UPDATE_KSPLICE_KERNEL"
	KspliceUpdateEventDataOperationTypeUserspace KspliceUpdateEventDataOperationTypeEnum = "UPDATE_KSPLICE_USERSPACE"
)

Set of constants representing the allowable values for KspliceUpdateEventDataOperationTypeEnum

func GetKspliceUpdateEventDataOperationTypeEnumValues ¶ added in v65.64.0

func GetKspliceUpdateEventDataOperationTypeEnumValues() []KspliceUpdateEventDataOperationTypeEnum

GetKspliceUpdateEventDataOperationTypeEnumValues Enumerates the set of values for KspliceUpdateEventDataOperationTypeEnum

func GetMappingKspliceUpdateEventDataOperationTypeEnum ¶ added in v65.64.0

func GetMappingKspliceUpdateEventDataOperationTypeEnum(val string) (KspliceUpdateEventDataOperationTypeEnum, bool)

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

type LifecycleEnvironment ¶

type LifecycleEnvironment struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle environment.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the lifecycle environment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The user-friendly name for the lifecycle environment.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// User-specified list of lifecycle stages used within 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 of the managed instances in the lifecycle environment.
	OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"`

	// The CPU architecture of the managed instances in the lifecycle environment.
	ArchType ArchTypeEnum `mandatory:"true" json:"archType"`

	// The vendor of the operating system used by the managed instances in the lifecycle environment.
	VendorName VendorNameEnum `mandatory:"true" json:"vendorName"`

	// The time the lifecycle environment was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// User-specified information about the lifecycle environment.
	Description *string `mandatory:"false" json:"description"`

	// List of managed instance OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) assigned to the lifecycle stage.
	ManagedInstanceIds []ManagedInstanceDetails `mandatory:"false" json:"managedInstanceIds"`

	// The location of managed instances attached to the lifecycle environment.
	Location ManagedInstanceLocationEnum `mandatory:"false" json:"location,omitempty"`

	// The time the lifecycle environment was last modified (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	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 Defines the lifecycle environment, including the associated versioned software sources, lifecycle stages, and managed instances.

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 Attaches (adds) managed instances to a lifecycle stage. Once added, you can apply operations 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) ChangeLifecycleEnvironmentCompartment ¶ added in v65.64.0

ChangeLifecycleEnvironmentCompartment Moves a lifecycle environment into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

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

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 lifecycle environment. A lifecycle environment is a user-defined pipeline to deliver curated, versioned content in a prescribed, methodical manner.

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 the specified 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 Detaches (removes) a 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 Returns 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Filter the list against

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 to the specified lifecycle stage. A versioned custom software source OCID (softwareSourceId) is required when promoting content to the first lifecycle stage. You must promote content to the first stage before promoting to subsequent stages, otherwise the service returns an error. The softwareSourceId is optional when promoting content to the second, third, forth, or fifth stages. If you provide a softwareSourceId, the service validates that it matches the softwareSourceId of the previous stage. If it does not match, the service returns an error. If you don't provide a softwareSourceId, the service promotes the versioned software source from the previous lifecycle stage. If the previous lifecycle stage has no software source, the service returns an error.

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 A set of lifecycle environments returned for the ListLifecycleEnvironments operation. The list contains a summary of each lifecycle environment and other information, such as metadata.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle environment.
	Id *string `mandatory:"true" json:"id"`

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

LifecycleEnvironmentDetails Provides 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle environment.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the lifecycle environment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name for the lifecycle environment.
	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 used within the lifecycle environment.
	Stages []LifecycleStageSummary `mandatory:"true" json:"stages"`

	// The CPU architecture of the managed instances in the lifecycle environment.
	ArchType ArchTypeEnum `mandatory:"true" json:"archType"`

	// The operating system of the managed instances in the lifecycle environment.
	OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"`

	// The vendor of the operating system used by the managed instances in the lifecycle environment.
	VendorName VendorNameEnum `mandatory:"true" json:"vendorName"`

	// The current state of the lifecycle environment.
	LifecycleState LifecycleEnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The location of managed instances attached to the lifecycle environment.
	Location ManagedInstanceLocationEnum `mandatory:"false" json:"location,omitempty"`

	// The time the lifecycle environment was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the lifecycle environment was last modified (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name for the profile.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
	ManagementStationId *string `mandatory:"false" json:"managementStationId"`

	// The time the registration profile was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
	IsDefaultProfile *bool `mandatory:"false" json:"isDefaultProfile"`

	// Indicates if the profile was created by the service. OS Management Hub provides a limited set of standardized profiles that can be used to register Autonomous Linux or Windows instances.
	IsServiceProvidedProfile *bool `mandatory:"false" json:"isServiceProvidedProfile"`

	// 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 vendor of the operating system for the instance.
	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"`

	// The type of instance to register.
	RegistrationType ProfileRegistrationTypeEnum `mandatory:"false" json:"registrationType,omitempty"`
}

LifecycleProfile Provides the information for a lifecycle environment registration profile.

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) GetIsDefaultProfile ¶ added in v65.64.0

func (m LifecycleProfile) GetIsDefaultProfile() *bool

GetIsDefaultProfile returns IsDefaultProfile

func (LifecycleProfile) GetIsServiceProvidedProfile ¶ added in v65.64.0

func (m LifecycleProfile) GetIsServiceProvidedProfile() *bool

GetIsServiceProvidedProfile returns IsServiceProvidedProfile

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) GetRegistrationType ¶ added in v65.64.0

func (m LifecycleProfile) GetRegistrationType() ProfileRegistrationTypeEnum

GetRegistrationType returns RegistrationType

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the lifecycle stage.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The user-friendly name for the lifecycle stage.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// User-specified rank for the lifecycle stage. Rank determines the hierarchy of the lifecycle stages within the lifecycle environment.
	Rank *int `mandatory:"true" json:"rank"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
	Id *string `mandatory:"false" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle environment that contains the lifecycle stage.
	LifecycleEnvironmentId *string `mandatory:"false" json:"lifecycleEnvironmentId"`

	// The operating system of the managed instances in the lifecycle stage.
	OsFamily OsFamilyEnum `mandatory:"false" json:"osFamily,omitempty"`

	// The CPU architecture of the managed instances in the lifecycle stage.
	ArchType ArchTypeEnum `mandatory:"false" json:"archType,omitempty"`

	// The vendor of the operating system used by the managed instances in the lifecycle stage.
	VendorName VendorNameEnum `mandatory:"false" json:"vendorName,omitempty"`

	// The list of managed instances associated with the lifecycle stage.
	ManagedInstanceIds []ManagedInstanceDetails `mandatory:"false" json:"managedInstanceIds"`

	// The location of managed instances associated with the lifecycle stage.
	Location ManagedInstanceLocationEnum `mandatory:"false" json:"location,omitempty"`

	SoftwareSourceId *SoftwareSourceDetails `mandatory:"false" json:"softwareSourceId"`

	// The time the lifecycle stage was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the lifecycle stage was last modified (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	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 A set of lifecycle stages returned for the ListLifecycleStages operation.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
	Id *string `mandatory:"true" json:"id"`

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

LifecycleStageDetails Provides 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the lifecycle stage.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The user-friendly name for the lifecycle stage.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// User-specified rank for the lifecycle stage. Rank determines the hierarchy of the lifecycle stages within the lifecycle environment.
	Rank *int `mandatory:"true" json:"rank"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
	Id *string `mandatory:"false" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle environment that contains the lifecycle stage.
	LifecycleEnvironmentId *string `mandatory:"false" json:"lifecycleEnvironmentId"`

	// The user-friendly name for the lifecycle environment. Does not have to be unique, and it's changeable. Avoid entering confidential information.
	LifecycleEnvironmentDisplayName *string `mandatory:"false" json:"lifecycleEnvironmentDisplayName"`

	// The operating system of the managed instances in the lifecycle stage.
	OsFamily OsFamilyEnum `mandatory:"false" json:"osFamily,omitempty"`

	// The CPU architecture of the managed instances in the lifecycle stage.
	ArchType ArchTypeEnum `mandatory:"false" json:"archType,omitempty"`

	// The vendor of the operating system used by the managed instances in the lifecycle stage.
	VendorName VendorNameEnum `mandatory:"false" json:"vendorName,omitempty"`

	// The list of managed instances associated with the lifecycle stage.
	ManagedInstances *int `mandatory:"false" json:"managedInstances"`

	// The location of managed instances associated with the lifecycle stage.
	Location ManagedInstanceLocationEnum `mandatory:"false" json:"location,omitempty"`

	SoftwareSourceId *SoftwareSourceDetails `mandatory:"false" json:"softwareSourceId"`

	// The time the lifecycle stage was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the lifecycle stage was last modified (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	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 Provides summary information for a lifecycle stage.

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 ListAllSoftwarePackagesArchitectureEnum ¶ added in v65.64.0

type ListAllSoftwarePackagesArchitectureEnum string

ListAllSoftwarePackagesArchitectureEnum Enum with underlying type: string

const (
	ListAllSoftwarePackagesArchitectureI386    ListAllSoftwarePackagesArchitectureEnum = "I386"
	ListAllSoftwarePackagesArchitectureI686    ListAllSoftwarePackagesArchitectureEnum = "I686"
	ListAllSoftwarePackagesArchitectureAarch64 ListAllSoftwarePackagesArchitectureEnum = "AARCH64"
	ListAllSoftwarePackagesArchitectureX8664   ListAllSoftwarePackagesArchitectureEnum = "X86_64"
	ListAllSoftwarePackagesArchitectureSrc     ListAllSoftwarePackagesArchitectureEnum = "SRC"
	ListAllSoftwarePackagesArchitectureNoarch  ListAllSoftwarePackagesArchitectureEnum = "NOARCH"
	ListAllSoftwarePackagesArchitectureOther   ListAllSoftwarePackagesArchitectureEnum = "OTHER"
)

Set of constants representing the allowable values for ListAllSoftwarePackagesArchitectureEnum

func GetListAllSoftwarePackagesArchitectureEnumValues ¶ added in v65.64.0

func GetListAllSoftwarePackagesArchitectureEnumValues() []ListAllSoftwarePackagesArchitectureEnum

GetListAllSoftwarePackagesArchitectureEnumValues Enumerates the set of values for ListAllSoftwarePackagesArchitectureEnum

func GetMappingListAllSoftwarePackagesArchitectureEnum ¶ added in v65.64.0

func GetMappingListAllSoftwarePackagesArchitectureEnum(val string) (ListAllSoftwarePackagesArchitectureEnum, bool)

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

type ListAllSoftwarePackagesOsFamilyEnum ¶ added in v65.64.0

type ListAllSoftwarePackagesOsFamilyEnum string

ListAllSoftwarePackagesOsFamilyEnum Enum with underlying type: string

const (
	ListAllSoftwarePackagesOsFamilyOracleLinux9      ListAllSoftwarePackagesOsFamilyEnum = "ORACLE_LINUX_9"
	ListAllSoftwarePackagesOsFamilyOracleLinux8      ListAllSoftwarePackagesOsFamilyEnum = "ORACLE_LINUX_8"
	ListAllSoftwarePackagesOsFamilyOracleLinux7      ListAllSoftwarePackagesOsFamilyEnum = "ORACLE_LINUX_7"
	ListAllSoftwarePackagesOsFamilyOracleLinux6      ListAllSoftwarePackagesOsFamilyEnum = "ORACLE_LINUX_6"
	ListAllSoftwarePackagesOsFamilyWindowsServer2016 ListAllSoftwarePackagesOsFamilyEnum = "WINDOWS_SERVER_2016"
	ListAllSoftwarePackagesOsFamilyWindowsServer2019 ListAllSoftwarePackagesOsFamilyEnum = "WINDOWS_SERVER_2019"
	ListAllSoftwarePackagesOsFamilyWindowsServer2022 ListAllSoftwarePackagesOsFamilyEnum = "WINDOWS_SERVER_2022"
	ListAllSoftwarePackagesOsFamilyAll               ListAllSoftwarePackagesOsFamilyEnum = "ALL"
)

Set of constants representing the allowable values for ListAllSoftwarePackagesOsFamilyEnum

func GetListAllSoftwarePackagesOsFamilyEnumValues ¶ added in v65.64.0

func GetListAllSoftwarePackagesOsFamilyEnumValues() []ListAllSoftwarePackagesOsFamilyEnum

GetListAllSoftwarePackagesOsFamilyEnumValues Enumerates the set of values for ListAllSoftwarePackagesOsFamilyEnum

func GetMappingListAllSoftwarePackagesOsFamilyEnum ¶ added in v65.64.0

func GetMappingListAllSoftwarePackagesOsFamilyEnum(val string) (ListAllSoftwarePackagesOsFamilyEnum, bool)

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

type ListAllSoftwarePackagesRequest ¶ added in v65.64.0

type ListAllSoftwarePackagesRequest struct {

	// A filter to return resources that match the given user-friendly name.
	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 software packages that match the given version.
	Version *string `mandatory:"false" contributesTo:"query" name:"version"`

	// A filter to return software packages that match the given architecture.
	Architecture ListAllSoftwarePackagesArchitectureEnum `mandatory:"false" contributesTo:"query" name:"architecture" omitEmpty:"true"`

	// Indicates whether to list only the latest versions of packages, module streams, and stream profiles.
	IsLatest *bool `mandatory:"false" contributesTo:"query" name:"isLatest"`

	// A filter to return only resources that match the given operating system family.
	OsFamily ListAllSoftwarePackagesOsFamilyEnum `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"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListAllSoftwarePackagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort packages by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListAllSoftwarePackagesSortByEnum `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
}

ListAllSoftwarePackagesRequest wrapper for the ListAllSoftwarePackages operation

See also ¶

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

func (ListAllSoftwarePackagesRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (ListAllSoftwarePackagesRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (ListAllSoftwarePackagesRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (ListAllSoftwarePackagesRequest) String ¶ added in v65.64.0

func (request ListAllSoftwarePackagesRequest) String() string

func (ListAllSoftwarePackagesRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type ListAllSoftwarePackagesResponse ¶ added in v65.64.0

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

ListAllSoftwarePackagesResponse wrapper for the ListAllSoftwarePackages operation

func (ListAllSoftwarePackagesResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (ListAllSoftwarePackagesResponse) String ¶ added in v65.64.0

func (response ListAllSoftwarePackagesResponse) String() string

type ListAllSoftwarePackagesSortByEnum ¶ added in v65.64.0

type ListAllSoftwarePackagesSortByEnum string

ListAllSoftwarePackagesSortByEnum Enum with underlying type: string

const (
	ListAllSoftwarePackagesSortByDisplayname ListAllSoftwarePackagesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListAllSoftwarePackagesSortByEnum

func GetListAllSoftwarePackagesSortByEnumValues ¶ added in v65.64.0

func GetListAllSoftwarePackagesSortByEnumValues() []ListAllSoftwarePackagesSortByEnum

GetListAllSoftwarePackagesSortByEnumValues Enumerates the set of values for ListAllSoftwarePackagesSortByEnum

func GetMappingListAllSoftwarePackagesSortByEnum ¶ added in v65.64.0

func GetMappingListAllSoftwarePackagesSortByEnum(val string) (ListAllSoftwarePackagesSortByEnum, bool)

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

type ListAllSoftwarePackagesSortOrderEnum ¶ added in v65.64.0

type ListAllSoftwarePackagesSortOrderEnum string

ListAllSoftwarePackagesSortOrderEnum Enum with underlying type: string

const (
	ListAllSoftwarePackagesSortOrderAsc  ListAllSoftwarePackagesSortOrderEnum = "ASC"
	ListAllSoftwarePackagesSortOrderDesc ListAllSoftwarePackagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAllSoftwarePackagesSortOrderEnum

func GetListAllSoftwarePackagesSortOrderEnumValues ¶ added in v65.64.0

func GetListAllSoftwarePackagesSortOrderEnumValues() []ListAllSoftwarePackagesSortOrderEnum

GetListAllSoftwarePackagesSortOrderEnumValues Enumerates the set of values for ListAllSoftwarePackagesSortOrderEnum

func GetMappingListAllSoftwarePackagesSortOrderEnum ¶ added in v65.64.0

func GetMappingListAllSoftwarePackagesSortOrderEnum(val string) (ListAllSoftwarePackagesSortOrderEnum, bool)

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

type ListEntitlementsRequest ¶

type ListEntitlementsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This parameter is required and returns only resources contained within the specified compartment.
	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 resources that match the given vendor name.
	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"
	ListEntitlementsVendorNameMicrosoft ListEntitlementsVendorNameEnum = "MICROSOFT"
)

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 (
	ListErrataOsFamilyOracleLinux9      ListErrataOsFamilyEnum = "ORACLE_LINUX_9"
	ListErrataOsFamilyOracleLinux8      ListErrataOsFamilyEnum = "ORACLE_LINUX_8"
	ListErrataOsFamilyOracleLinux7      ListErrataOsFamilyEnum = "ORACLE_LINUX_7"
	ListErrataOsFamilyOracleLinux6      ListErrataOsFamilyEnum = "ORACLE_LINUX_6"
	ListErrataOsFamilyWindowsServer2016 ListErrataOsFamilyEnum = "WINDOWS_SERVER_2016"
	ListErrataOsFamilyWindowsServer2019 ListErrataOsFamilyEnum = "WINDOWS_SERVER_2019"
	ListErrataOsFamilyWindowsServer2022 ListErrataOsFamilyEnum = "WINDOWS_SERVER_2022"
	ListErrataOsFamilyAll               ListErrataOsFamilyEnum = "ALL"
)

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This parameter is required and returns only resources contained within the specified compartment.
	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 errata that match the given advisory types.
	AdvisoryType []AdvisoryTypesEnum `contributesTo:"query" name:"advisoryType" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only resources that match the given operating system family.
	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 ListEventsRequest ¶ added in v65.64.0

type ListEventsRequest struct {

	// A filter to return only events whose summary matches the given value.
	EventSummary *string `mandatory:"false" contributesTo:"query" name:"eventSummary"`

	// A filter to return only events with a summary that contains the value provided.
	EventSummaryContains *string `mandatory:"false" contributesTo:"query" name:"eventSummaryContains"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The eventFingerprint of the KernelEventData.
	EventFingerprint *string `mandatory:"false" contributesTo:"query" name:"eventFingerprint"`

	// The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// A filter to return only events that match the state provided. The state value is case-insensitive.
	LifecycleState EventLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. This filter returns resources associated with the specified resource.
	ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

	// A filter to return only resources whose type matches the given value.
	Type []EventTypeEnum `contributesTo:"query" name:"type" 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"`

	// A filter that returns events that occurred on or before the date provided.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

	// A filter that returns events that occurred on or after the date provided.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListEventsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated, timeOccurredAt and timeUpdated is descending. Default order for eventSummary is ascending.
	SortBy ListEventsSortByEnum `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"`

	// Indicates whether to list only resources managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" contributesTo:"query" name:"isManagedByAutonomousLinux"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListEventsRequest wrapper for the ListEvents operation

See also ¶

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

func (ListEventsRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (ListEventsRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (ListEventsRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (ListEventsRequest) String ¶ added in v65.64.0

func (request ListEventsRequest) String() string

func (ListEventsRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type ListEventsResponse ¶ added in v65.64.0

type ListEventsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of EventCollection instances
	EventCollection `presentIn:"body"`

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

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

ListEventsResponse wrapper for the ListEvents operation

func (ListEventsResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (ListEventsResponse) String ¶ added in v65.64.0

func (response ListEventsResponse) String() string

type ListEventsSortByEnum ¶ added in v65.64.0

type ListEventsSortByEnum string

ListEventsSortByEnum Enum with underlying type: string

const (
	ListEventsSortByTimecreated    ListEventsSortByEnum = "timeCreated"
	ListEventsSortByTimeoccurredat ListEventsSortByEnum = "timeOccurredAt"
	ListEventsSortByTimeupdated    ListEventsSortByEnum = "timeUpdated"
	ListEventsSortByEventsummary   ListEventsSortByEnum = "eventSummary"
)

Set of constants representing the allowable values for ListEventsSortByEnum

func GetListEventsSortByEnumValues ¶ added in v65.64.0

func GetListEventsSortByEnumValues() []ListEventsSortByEnum

GetListEventsSortByEnumValues Enumerates the set of values for ListEventsSortByEnum

func GetMappingListEventsSortByEnum ¶ added in v65.64.0

func GetMappingListEventsSortByEnum(val string) (ListEventsSortByEnum, bool)

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

type ListEventsSortOrderEnum ¶ added in v65.64.0

type ListEventsSortOrderEnum string

ListEventsSortOrderEnum Enum with underlying type: string

const (
	ListEventsSortOrderAsc  ListEventsSortOrderEnum = "ASC"
	ListEventsSortOrderDesc ListEventsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListEventsSortOrderEnum

func GetListEventsSortOrderEnumValues ¶ added in v65.64.0

func GetListEventsSortOrderEnumValues() []ListEventsSortOrderEnum

GetListEventsSortOrderEnumValues Enumerates the set of values for ListEventsSortOrderEnum

func GetMappingListEventsSortOrderEnum ¶ added in v65.64.0

func GetMappingListEventsSortOrderEnum(val string) (ListEventsSortOrderEnum, bool)

GetMappingListEventsSortOrderEnum 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 (
	ListLifecycleEnvironmentsOsFamilyOracleLinux9      ListLifecycleEnvironmentsOsFamilyEnum = "ORACLE_LINUX_9"
	ListLifecycleEnvironmentsOsFamilyOracleLinux8      ListLifecycleEnvironmentsOsFamilyEnum = "ORACLE_LINUX_8"
	ListLifecycleEnvironmentsOsFamilyOracleLinux7      ListLifecycleEnvironmentsOsFamilyEnum = "ORACLE_LINUX_7"
	ListLifecycleEnvironmentsOsFamilyOracleLinux6      ListLifecycleEnvironmentsOsFamilyEnum = "ORACLE_LINUX_6"
	ListLifecycleEnvironmentsOsFamilyWindowsServer2016 ListLifecycleEnvironmentsOsFamilyEnum = "WINDOWS_SERVER_2016"
	ListLifecycleEnvironmentsOsFamilyWindowsServer2019 ListLifecycleEnvironmentsOsFamilyEnum = "WINDOWS_SERVER_2019"
	ListLifecycleEnvironmentsOsFamilyWindowsServer2022 ListLifecycleEnvironmentsOsFamilyEnum = "WINDOWS_SERVER_2022"
	ListLifecycleEnvironmentsOsFamilyAll               ListLifecycleEnvironmentsOsFamilyEnum = "ALL"
)

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. This filter returns only resources contained within the specified compartment.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 resources that match the given operating system family.
	OsFamily ListLifecycleEnvironmentsOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"`

	// A filter to return only resources whose location matches the given value.
	Location []ManagedInstanceLocationEnum `contributesTo:"query" name:"location" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only resources whose location does not match the given value.
	LocationNotEqualTo []ManagedInstanceLocationEnum `contributesTo:"query" name:"locationNotEqualTo" 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"`

	// 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
	LifecycleStageId *string `mandatory:"true" contributesTo:"path" name:"lifecycleStageId"`

	// The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
	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 stages 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 (
	ListLifecycleStagesOsFamilyOracleLinux9      ListLifecycleStagesOsFamilyEnum = "ORACLE_LINUX_9"
	ListLifecycleStagesOsFamilyOracleLinux8      ListLifecycleStagesOsFamilyEnum = "ORACLE_LINUX_8"
	ListLifecycleStagesOsFamilyOracleLinux7      ListLifecycleStagesOsFamilyEnum = "ORACLE_LINUX_7"
	ListLifecycleStagesOsFamilyOracleLinux6      ListLifecycleStagesOsFamilyEnum = "ORACLE_LINUX_6"
	ListLifecycleStagesOsFamilyWindowsServer2016 ListLifecycleStagesOsFamilyEnum = "WINDOWS_SERVER_2016"
	ListLifecycleStagesOsFamilyWindowsServer2019 ListLifecycleStagesOsFamilyEnum = "WINDOWS_SERVER_2019"
	ListLifecycleStagesOsFamilyWindowsServer2022 ListLifecycleStagesOsFamilyEnum = "WINDOWS_SERVER_2022"
	ListLifecycleStagesOsFamilyAll               ListLifecycleStagesOsFamilyEnum = "ALL"
)

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. This filter returns only resources contained within the specified compartment.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
	LifecycleStageId *string `mandatory:"false" contributesTo:"query" name:"lifecycleStageId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source. This filter returns resources associated with this 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 resources that match the given operating system family.
	OsFamily ListLifecycleStagesOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"`

	// A filter to return only resources whose location matches the given value.
	Location []ManagedInstanceLocationEnum `contributesTo:"query" name:"location" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only resources whose location does not match the given value.
	LocationNotEqualTo []ManagedInstanceLocationEnum `contributesTo:"query" name:"locationNotEqualTo" 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"`

	// A filter to return only lifecycle stages 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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. This filter returns only resources contained within the specified compartment.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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. This filter returns only resources contained within the specified compartment.
	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 ListManagedInstanceAvailableWindowsUpdatesRequest ¶ added in v65.64.0

type ListManagedInstanceAvailableWindowsUpdatesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 based on the unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft.
	// Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
	Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"`

	// A filter to return resources that match the given user-friendly name.
	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"`

	// Indicates if the update can be installed by the OS Management Hub service.
	IsInstallable WindowsUpdateInstallableEnum `mandatory:"false" contributesTo:"query" name:"isInstallable" omitEmpty:"true"`

	// The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
	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 ListManagedInstanceAvailableWindowsUpdatesSortOrderEnum `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 name or displayName is ascending.
	SortBy ListManagedInstanceAvailableWindowsUpdatesSortByEnum `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
}

ListManagedInstanceAvailableWindowsUpdatesRequest wrapper for the ListManagedInstanceAvailableWindowsUpdates operation

See also ¶

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

func (ListManagedInstanceAvailableWindowsUpdatesRequest) BinaryRequestBody ¶ added in v65.64.0

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceAvailableWindowsUpdatesRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceAvailableWindowsUpdatesRequest) RetryPolicy ¶ added in v65.64.0

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

func (ListManagedInstanceAvailableWindowsUpdatesRequest) String ¶ added in v65.64.0

func (ListManagedInstanceAvailableWindowsUpdatesRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type ListManagedInstanceAvailableWindowsUpdatesResponse ¶ added in v65.64.0

type ListManagedInstanceAvailableWindowsUpdatesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ListManagedInstanceAvailableWindowsUpdatesResponse wrapper for the ListManagedInstanceAvailableWindowsUpdates operation

func (ListManagedInstanceAvailableWindowsUpdatesResponse) HTTPResponse ¶ added in v65.64.0

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceAvailableWindowsUpdatesResponse) String ¶ added in v65.64.0

type ListManagedInstanceAvailableWindowsUpdatesSortByEnum ¶ added in v65.64.0

type ListManagedInstanceAvailableWindowsUpdatesSortByEnum string

ListManagedInstanceAvailableWindowsUpdatesSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceAvailableWindowsUpdatesSortByTimecreated ListManagedInstanceAvailableWindowsUpdatesSortByEnum = "timeCreated"
	ListManagedInstanceAvailableWindowsUpdatesSortByName        ListManagedInstanceAvailableWindowsUpdatesSortByEnum = "name"
	ListManagedInstanceAvailableWindowsUpdatesSortByDisplayname ListManagedInstanceAvailableWindowsUpdatesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagedInstanceAvailableWindowsUpdatesSortByEnum

func GetListManagedInstanceAvailableWindowsUpdatesSortByEnumValues ¶ added in v65.64.0

func GetListManagedInstanceAvailableWindowsUpdatesSortByEnumValues() []ListManagedInstanceAvailableWindowsUpdatesSortByEnum

GetListManagedInstanceAvailableWindowsUpdatesSortByEnumValues Enumerates the set of values for ListManagedInstanceAvailableWindowsUpdatesSortByEnum

func GetMappingListManagedInstanceAvailableWindowsUpdatesSortByEnum ¶ added in v65.64.0

func GetMappingListManagedInstanceAvailableWindowsUpdatesSortByEnum(val string) (ListManagedInstanceAvailableWindowsUpdatesSortByEnum, bool)

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

type ListManagedInstanceAvailableWindowsUpdatesSortOrderEnum ¶ added in v65.64.0

type ListManagedInstanceAvailableWindowsUpdatesSortOrderEnum string

ListManagedInstanceAvailableWindowsUpdatesSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceAvailableWindowsUpdatesSortOrderAsc  ListManagedInstanceAvailableWindowsUpdatesSortOrderEnum = "ASC"
	ListManagedInstanceAvailableWindowsUpdatesSortOrderDesc ListManagedInstanceAvailableWindowsUpdatesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceAvailableWindowsUpdatesSortOrderEnum

func GetListManagedInstanceAvailableWindowsUpdatesSortOrderEnumValues ¶ added in v65.64.0

func GetListManagedInstanceAvailableWindowsUpdatesSortOrderEnumValues() []ListManagedInstanceAvailableWindowsUpdatesSortOrderEnum

GetListManagedInstanceAvailableWindowsUpdatesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceAvailableWindowsUpdatesSortOrderEnum

func GetMappingListManagedInstanceAvailableWindowsUpdatesSortOrderEnum ¶ added in v65.64.0

func GetMappingListManagedInstanceAvailableWindowsUpdatesSortOrderEnum(val string) (ListManagedInstanceAvailableWindowsUpdatesSortOrderEnum, bool)

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

type ListManagedInstanceErrataRequest ¶

type ListManagedInstanceErrataRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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"`

	// 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. This filter returns only resources contained within the specified compartment.
	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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
	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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	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. This filter returns only resources contained within the specified compartment.
	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"`

	// Indicates whether to list only the latest versions of packages, module streams, and stream profiles.
	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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	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. This filter returns only resources contained within the specified compartment.
	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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	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"`

	// A filter to return only packages that were installed on or before the date provided, 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. This filter returns only resources contained within the specified compartment.
	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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
	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 module stream. This parameter is required if a profile name 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 (
	ListManagedInstanceGroupsOsFamilyOracleLinux9      ListManagedInstanceGroupsOsFamilyEnum = "ORACLE_LINUX_9"
	ListManagedInstanceGroupsOsFamilyOracleLinux8      ListManagedInstanceGroupsOsFamilyEnum = "ORACLE_LINUX_8"
	ListManagedInstanceGroupsOsFamilyOracleLinux7      ListManagedInstanceGroupsOsFamilyEnum = "ORACLE_LINUX_7"
	ListManagedInstanceGroupsOsFamilyOracleLinux6      ListManagedInstanceGroupsOsFamilyEnum = "ORACLE_LINUX_6"
	ListManagedInstanceGroupsOsFamilyWindowsServer2016 ListManagedInstanceGroupsOsFamilyEnum = "WINDOWS_SERVER_2016"
	ListManagedInstanceGroupsOsFamilyWindowsServer2019 ListManagedInstanceGroupsOsFamilyEnum = "WINDOWS_SERVER_2019"
	ListManagedInstanceGroupsOsFamilyWindowsServer2022 ListManagedInstanceGroupsOsFamilyEnum = "WINDOWS_SERVER_2022"
	ListManagedInstanceGroupsOsFamilyAll               ListManagedInstanceGroupsOsFamilyEnum = "ALL"
)

Set of constants representing the allowable values for ListManagedInstanceGroupsOsFamilyEnum

func GetListManagedInstanceGroupsOsFamilyEnumValues ¶

func GetListManagedInstanceGroupsOsFamilyEnumValues() []ListManagedInstanceGroupsOsFamilyEnum

GetListManagedInstanceGroupsOsFamilyEnumValues Enumerates the set of values for ListManagedInstanceGroupsOsFamilyEnum

func GetMappingListManagedInstanceGroupsOsFamilyEnum ¶

func GetMappingListManagedInstanceGroupsOsFamilyEnum(val string) (ListManagedInstanceGroupsOsFamilyEnum, bool)

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

type ListManagedInstanceGroupsRequest ¶

type ListManagedInstanceGroupsRequest struct {

	// The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group. This filter returns resources associated with this group.
	ManagedInstanceGroupId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceGroupId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source. This filter returns resources associated with this 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 resources that match the given operating system family.
	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 managed instance groups that are in the specified state.
	LifecycleState ManagedInstanceGroupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only resources whose location matches the given value.
	Location []ManagedInstanceLocationEnum `contributesTo:"query" name:"location" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only resources whose location does not match the given value.
	LocationNotEqualTo []ManagedInstanceLocationEnum `contributesTo:"query" name:"locationNotEqualTo" omitEmpty:"true" collectionFormat:"multi"`

	// Indicates whether to list only resources managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" contributesTo:"query" name:"isManagedByAutonomousLinux"`

	// 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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"`

	// A filter to return only packages that were installed on or before the date provided, 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. This filter returns only resources contained within the specified compartment.
	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 ListManagedInstanceInstalledWindowsUpdatesRequest ¶ added in v65.64.0

type ListManagedInstanceInstalledWindowsUpdatesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// A filter based on the unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft.
	// Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
	Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"`

	// A filter to return resources that match the given user-friendly name.
	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 OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
	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 ListManagedInstanceInstalledWindowsUpdatesSortOrderEnum `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 name or displayName is ascending.
	SortBy ListManagedInstanceInstalledWindowsUpdatesSortByEnum `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
}

ListManagedInstanceInstalledWindowsUpdatesRequest wrapper for the ListManagedInstanceInstalledWindowsUpdates operation

See also ¶

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

func (ListManagedInstanceInstalledWindowsUpdatesRequest) BinaryRequestBody ¶ added in v65.64.0

BinaryRequestBody implements the OCIRequest interface

func (ListManagedInstanceInstalledWindowsUpdatesRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (ListManagedInstanceInstalledWindowsUpdatesRequest) RetryPolicy ¶ added in v65.64.0

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

func (ListManagedInstanceInstalledWindowsUpdatesRequest) String ¶ added in v65.64.0

func (ListManagedInstanceInstalledWindowsUpdatesRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type ListManagedInstanceInstalledWindowsUpdatesResponse ¶ added in v65.64.0

type ListManagedInstanceInstalledWindowsUpdatesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ListManagedInstanceInstalledWindowsUpdatesResponse wrapper for the ListManagedInstanceInstalledWindowsUpdates operation

func (ListManagedInstanceInstalledWindowsUpdatesResponse) HTTPResponse ¶ added in v65.64.0

HTTPResponse implements the OCIResponse interface

func (ListManagedInstanceInstalledWindowsUpdatesResponse) String ¶ added in v65.64.0

type ListManagedInstanceInstalledWindowsUpdatesSortByEnum ¶ added in v65.64.0

type ListManagedInstanceInstalledWindowsUpdatesSortByEnum string

ListManagedInstanceInstalledWindowsUpdatesSortByEnum Enum with underlying type: string

const (
	ListManagedInstanceInstalledWindowsUpdatesSortByTimecreated ListManagedInstanceInstalledWindowsUpdatesSortByEnum = "timeCreated"
	ListManagedInstanceInstalledWindowsUpdatesSortByName        ListManagedInstanceInstalledWindowsUpdatesSortByEnum = "name"
	ListManagedInstanceInstalledWindowsUpdatesSortByDisplayname ListManagedInstanceInstalledWindowsUpdatesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagedInstanceInstalledWindowsUpdatesSortByEnum

func GetListManagedInstanceInstalledWindowsUpdatesSortByEnumValues ¶ added in v65.64.0

func GetListManagedInstanceInstalledWindowsUpdatesSortByEnumValues() []ListManagedInstanceInstalledWindowsUpdatesSortByEnum

GetListManagedInstanceInstalledWindowsUpdatesSortByEnumValues Enumerates the set of values for ListManagedInstanceInstalledWindowsUpdatesSortByEnum

func GetMappingListManagedInstanceInstalledWindowsUpdatesSortByEnum ¶ added in v65.64.0

func GetMappingListManagedInstanceInstalledWindowsUpdatesSortByEnum(val string) (ListManagedInstanceInstalledWindowsUpdatesSortByEnum, bool)

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

type ListManagedInstanceInstalledWindowsUpdatesSortOrderEnum ¶ added in v65.64.0

type ListManagedInstanceInstalledWindowsUpdatesSortOrderEnum string

ListManagedInstanceInstalledWindowsUpdatesSortOrderEnum Enum with underlying type: string

const (
	ListManagedInstanceInstalledWindowsUpdatesSortOrderAsc  ListManagedInstanceInstalledWindowsUpdatesSortOrderEnum = "ASC"
	ListManagedInstanceInstalledWindowsUpdatesSortOrderDesc ListManagedInstanceInstalledWindowsUpdatesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedInstanceInstalledWindowsUpdatesSortOrderEnum

func GetListManagedInstanceInstalledWindowsUpdatesSortOrderEnumValues ¶ added in v65.64.0

func GetListManagedInstanceInstalledWindowsUpdatesSortOrderEnumValues() []ListManagedInstanceInstalledWindowsUpdatesSortOrderEnum

GetListManagedInstanceInstalledWindowsUpdatesSortOrderEnumValues Enumerates the set of values for ListManagedInstanceInstalledWindowsUpdatesSortOrderEnum

func GetMappingListManagedInstanceInstalledWindowsUpdatesSortOrderEnum ¶ added in v65.64.0

func GetMappingListManagedInstanceInstalledWindowsUpdatesSortOrderEnum(val string) (ListManagedInstanceInstalledWindowsUpdatesSortOrderEnum, bool)

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

type ListManagedInstanceModulesRequest ¶

type ListManagedInstanceModulesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
	ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"`

	// The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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. This filter returns only resources contained within the specified compartment.
	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. This filter returns only resources contained within the specified compartment.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. This filter returns resources associated with this managed instance.
	ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"`

	// A filter to return only managed instances whose status matches the status provided.
	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 resources that match the given operating system family.
	OsFamily []OsFamilyEnum `contributesTo:"query" name:"osFamily" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only managed instances that are 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source. This filter returns resources associated with this 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"`

	// A filter to return only managed instances in a specific lifecycle environment.
	LifecycleEnvironment *string `mandatory:"false" contributesTo:"query" name:"lifecycleEnvironment"`

	// A filter to return only managed instances that aren't in a specific lifecycle environment.
	LifecycleEnvironmentNotEqualTo *string `mandatory:"false" contributesTo:"query" name:"lifecycleEnvironmentNotEqualTo"`

	// A filter to return only resources whose location matches the given value.
	Location []ManagedInstanceLocationEnum `contributesTo:"query" name:"location" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only resources whose location does not match the given value.
	LocationNotEqualTo []ManagedInstanceLocationEnum `contributesTo:"query" name:"locationNotEqualTo" omitEmpty:"true" collectionFormat:"multi"`

	// A multi filter to return only managed instances that match the given profile ids.
	Profile []string `contributesTo:"query" name:"profile" collectionFormat:"multi"`

	// A multi filter to return only managed instances that don't contain the given profile OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	ProfileNotEqualTo []string `contributesTo:"query" name:"profileNotEqualTo" collectionFormat:"multi"`

	// A filter to return only managed instances with a registration profile attached.
	IsProfileAttached *bool `mandatory:"false" contributesTo:"query" name:"isProfileAttached"`

	// Indicates whether to list only resources managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" contributesTo:"query" name:"isManagedByAutonomousLinux"`

	// 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. This filter returns only resources contained within the specified compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// A filter to return resources that match the given user-friendly name.
	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 that returns information for management stations in the specified state.
	LifecycleState ManagementStationLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. This filter returns resources associated with this managed instance.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station. A filter that returns information about the specified 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
	ManagementStationId *string `mandatory:"true" contributesTo:"path" name:"managementStationId"`

	// A filter to return resources that match the given user-friendly name.
	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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	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 module stream. This parameter is required if a profile name 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	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"`

	// Indicates whether to list only the latest versions of packages, module streams, and stream profiles.
	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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
	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 (
	ListProfilesOsFamilyOracleLinux9      ListProfilesOsFamilyEnum = "ORACLE_LINUX_9"
	ListProfilesOsFamilyOracleLinux8      ListProfilesOsFamilyEnum = "ORACLE_LINUX_8"
	ListProfilesOsFamilyOracleLinux7      ListProfilesOsFamilyEnum = "ORACLE_LINUX_7"
	ListProfilesOsFamilyOracleLinux6      ListProfilesOsFamilyEnum = "ORACLE_LINUX_6"
	ListProfilesOsFamilyWindowsServer2016 ListProfilesOsFamilyEnum = "WINDOWS_SERVER_2016"
	ListProfilesOsFamilyWindowsServer2019 ListProfilesOsFamilyEnum = "WINDOWS_SERVER_2019"
	ListProfilesOsFamilyWindowsServer2022 ListProfilesOsFamilyEnum = "WINDOWS_SERVER_2022"
	ListProfilesOsFamilyAll               ListProfilesOsFamilyEnum = "ALL"
)

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. This filter returns only resources contained within the specified compartment.
	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 profile type.
	ProfileType []ProfileTypeEnum `contributesTo:"query" name:"profileType" omitEmpty:"true" collectionFormat:"multi"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile. A filter used to return the specified profile.
	ProfileId *string `mandatory:"false" contributesTo:"query" name:"profileId"`

	// A filter to return only resources that match the given operating system family.
	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 profiles that match the given instance type.
	RegistrationType []ProfileRegistrationTypeEnum `contributesTo:"query" name:"registrationType" omitEmpty:"true" collectionFormat:"multi"`

	// A boolean variable that is used to list only the default profile resources.
	IsDefaultProfile *bool `mandatory:"false" contributesTo:"query" name:"isDefaultProfile"`

	// A filter to return only service-provided profiles.
	IsServiceProvidedProfile *bool `mandatory:"false" contributesTo:"query" name:"isServiceProvidedProfile"`

	// A filter to return only resources that match the given vendor name.
	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 profiles in the given state.
	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"
	ListProfilesVendorNameMicrosoft ListProfilesVendorNameEnum = "MICROSOFT"
)

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"
	ListScheduledJobsOperationTypeInstallWindowsUpdates            ListScheduledJobsOperationTypeEnum = "INSTALL_WINDOWS_UPDATES"
	ListScheduledJobsOperationTypeInstallAllWindowsUpdates         ListScheduledJobsOperationTypeEnum = "INSTALL_ALL_WINDOWS_UPDATES"
	ListScheduledJobsOperationTypeInstallSecurityWindowsUpdates    ListScheduledJobsOperationTypeEnum = "INSTALL_SECURITY_WINDOWS_UPDATES"
	ListScheduledJobsOperationTypeInstallBugfixWindowsUpdates      ListScheduledJobsOperationTypeEnum = "INSTALL_BUGFIX_WINDOWS_UPDATES"
	ListScheduledJobsOperationTypeInstallEnhancementWindowsUpdates ListScheduledJobsOperationTypeEnum = "INSTALL_ENHANCEMENT_WINDOWS_UPDATES"
	ListScheduledJobsOperationTypeInstallOtherWindowsUpdates       ListScheduledJobsOperationTypeEnum = "INSTALL_OTHER_WINDOWS_UPDATES"
)

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. This filter returns only resources contained within the specified compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// A filter to return resources that match the given user-friendly name.
	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 scheduled jobs currently in the given state.
	LifecycleState ScheduledJobLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. This filter returns resources associated with this managed instance.
	ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group. This filter returns resources associated with this group.
	ManagedInstanceGroupId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceGroupId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed compartment. This filter returns resources associated with this compartment.
	ManagedCompartmentId *string `mandatory:"false" contributesTo:"query" name:"managedCompartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage. This resource returns resources associated with this lifecycle stage.
	LifecycleStageId *string `mandatory:"false" contributesTo:"query" name:"lifecycleStageId"`

	// A filter to return only scheduled jobs with the given operation type.
	OperationType ListScheduledJobsOperationTypeEnum `mandatory:"false" contributesTo:"query" name:"operationType" omitEmpty:"true"`

	// A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
	ScheduleType ListScheduledJobsScheduleTypeEnum `mandatory:"false" contributesTo:"query" name:"scheduleType" omitEmpty:"true"`

	// A filter to return only resources with a date on or after the given value, in ISO 8601 format.
	// Example: 2017-07-14T02:40:00.000Z
	TimeStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStart"`

	// A filter to return only resources with a date on or before the given value, 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"`

	// A filter to return only restricted scheduled jobs.
	IsRestricted *bool `mandatory:"false" contributesTo:"query" name:"isRestricted"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled job. A filter to return the specified job.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// Indicates whether to include subcompartments in the returned results. Default is false.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// A filter to return only resources whose location matches the given value.
	Location []ManagedInstanceLocationEnum `contributesTo:"query" name:"location" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only resources whose location does not match the given value.
	LocationNotEqualTo []ManagedInstanceLocationEnum `contributesTo:"query" name:"locationNotEqualTo" omitEmpty:"true" collectionFormat:"multi"`

	// Indicates whether to list only resources managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" contributesTo:"query" name:"isManagedByAutonomousLinux"`

	// Metadata about the request. 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 ListSoftwarePackageSoftwareSourcesRequest ¶ added in v65.64.0

type ListSoftwarePackageSoftwareSourcesRequest struct {

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This parameter is required and returns only resources contained within the specified compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The type of the software source.
	SoftwareSourceType []SoftwareSourceTypeEnum `contributesTo:"query" name:"softwareSourceType" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only resources that match the given operating system 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 in a non-OCI environment for a tenancy.
	Availability []AvailabilityEnum `contributesTo:"query" name:"availability" omitEmpty:"true" collectionFormat:"multi"`

	// The availabilities of the software source in an OCI environment for a tenancy.
	AvailabilityAtOci []AvailabilityEnum `contributesTo:"query" name:"availabilityAtOci" omitEmpty:"true" collectionFormat:"multi"`

	// The availabilities of the software source. Use this query parameter to filter across availabilities in different environments.
	AvailabilityAnywhere []AvailabilityEnum `contributesTo:"query" name:"availabilityAnywhere" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return resources that match the given user-friendly name.
	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 ListSoftwarePackageSoftwareSourcesSortOrderEnum `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 ListSoftwarePackageSoftwareSourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// A filter to return only software sources whose state matches the given state.
	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
}

ListSoftwarePackageSoftwareSourcesRequest wrapper for the ListSoftwarePackageSoftwareSources operation

See also ¶

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

func (ListSoftwarePackageSoftwareSourcesRequest) BinaryRequestBody ¶ added in v65.64.0

BinaryRequestBody implements the OCIRequest interface

func (ListSoftwarePackageSoftwareSourcesRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (ListSoftwarePackageSoftwareSourcesRequest) RetryPolicy ¶ added in v65.64.0

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

func (ListSoftwarePackageSoftwareSourcesRequest) String ¶ added in v65.64.0

func (ListSoftwarePackageSoftwareSourcesRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type ListSoftwarePackageSoftwareSourcesResponse ¶ added in v65.64.0

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

ListSoftwarePackageSoftwareSourcesResponse wrapper for the ListSoftwarePackageSoftwareSources operation

func (ListSoftwarePackageSoftwareSourcesResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (ListSoftwarePackageSoftwareSourcesResponse) String ¶ added in v65.64.0

type ListSoftwarePackageSoftwareSourcesSortByEnum ¶ added in v65.64.0

type ListSoftwarePackageSoftwareSourcesSortByEnum string

ListSoftwarePackageSoftwareSourcesSortByEnum Enum with underlying type: string

const (
	ListSoftwarePackageSoftwareSourcesSortByTimecreated ListSoftwarePackageSoftwareSourcesSortByEnum = "timeCreated"
	ListSoftwarePackageSoftwareSourcesSortByDisplayname ListSoftwarePackageSoftwareSourcesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListSoftwarePackageSoftwareSourcesSortByEnum

func GetListSoftwarePackageSoftwareSourcesSortByEnumValues ¶ added in v65.64.0

func GetListSoftwarePackageSoftwareSourcesSortByEnumValues() []ListSoftwarePackageSoftwareSourcesSortByEnum

GetListSoftwarePackageSoftwareSourcesSortByEnumValues Enumerates the set of values for ListSoftwarePackageSoftwareSourcesSortByEnum

func GetMappingListSoftwarePackageSoftwareSourcesSortByEnum ¶ added in v65.64.0

func GetMappingListSoftwarePackageSoftwareSourcesSortByEnum(val string) (ListSoftwarePackageSoftwareSourcesSortByEnum, bool)

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

type ListSoftwarePackageSoftwareSourcesSortOrderEnum ¶ added in v65.64.0

type ListSoftwarePackageSoftwareSourcesSortOrderEnum string

ListSoftwarePackageSoftwareSourcesSortOrderEnum Enum with underlying type: string

const (
	ListSoftwarePackageSoftwareSourcesSortOrderAsc  ListSoftwarePackageSoftwareSourcesSortOrderEnum = "ASC"
	ListSoftwarePackageSoftwareSourcesSortOrderDesc ListSoftwarePackageSoftwareSourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSoftwarePackageSoftwareSourcesSortOrderEnum

func GetListSoftwarePackageSoftwareSourcesSortOrderEnumValues ¶ added in v65.64.0

func GetListSoftwarePackageSoftwareSourcesSortOrderEnumValues() []ListSoftwarePackageSoftwareSourcesSortOrderEnum

GetListSoftwarePackageSoftwareSourcesSortOrderEnumValues Enumerates the set of values for ListSoftwarePackageSoftwareSourcesSortOrderEnum

func GetMappingListSoftwarePackageSoftwareSourcesSortOrderEnum ¶ added in v65.64.0

func GetMappingListSoftwarePackageSoftwareSourcesSortOrderEnum(val string) (ListSoftwarePackageSoftwareSourcesSortOrderEnum, bool)

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

type ListSoftwarePackagesRequest ¶

type ListSoftwarePackagesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"`

	// A filter to return resources that match the given user-friendly name.
	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"`

	// Indicates whether to list only the latest versions of packages, module streams, and stream profiles.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This parameter is required and returns only resources contained within the specified compartment.
	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. This filter returns only resources contained within the specified compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 resources that match the given vendor name.
	VendorName ListSoftwareSourcesVendorNameEnum `mandatory:"false" contributesTo:"query" name:"vendorName" omitEmpty:"true"`

	// A filter to return only resources that match the given operating system 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 in a non-OCI environment for a tenancy.
	Availability []AvailabilityEnum `contributesTo:"query" name:"availability" omitEmpty:"true" collectionFormat:"multi"`

	// The availabilities of the software source in an OCI environment for a tenancy.
	AvailabilityAtOci []AvailabilityEnum `contributesTo:"query" name:"availabilityAtOci" omitEmpty:"true" collectionFormat:"multi"`

	// The availabilities of the software source. Use this query parameter to filter across availabilities in different environments.
	AvailabilityAnywhere []AvailabilityEnum `contributesTo:"query" name:"availabilityAnywhere" omitEmpty:"true" collectionFormat:"multi"`

	// Indicates whether the software source is mandatory for the Autonomous Linux service.
	IsMandatoryForAutonomousLinux *bool `mandatory:"false" contributesTo:"query" name:"isMandatoryForAutonomousLinux"`

	// A filter to return resources that match the given user-friendly name.
	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 software sources whose state matches the given state.
	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"
	ListSoftwareSourcesVendorNameMicrosoft ListSoftwareSourcesVendorNameEnum = "MICROSOFT"
)

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 ListWindowsUpdatesRequest ¶ added in v65.64.0

type ListWindowsUpdatesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This parameter is required and returns only resources contained within the specified compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// 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 based on the unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft.
	// Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
	Name []string `contributesTo:"query" name:"name" 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"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListWindowsUpdatesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeInstalled is descending. Default order for name or displayName is ascending.
	SortBy ListWindowsUpdatesSortByEnum `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
}

ListWindowsUpdatesRequest wrapper for the ListWindowsUpdates operation

See also ¶

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

func (ListWindowsUpdatesRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (ListWindowsUpdatesRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (ListWindowsUpdatesRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (ListWindowsUpdatesRequest) String ¶ added in v65.64.0

func (request ListWindowsUpdatesRequest) String() string

func (ListWindowsUpdatesRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type ListWindowsUpdatesResponse ¶ added in v65.64.0

type ListWindowsUpdatesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ListWindowsUpdatesResponse wrapper for the ListWindowsUpdates operation

func (ListWindowsUpdatesResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (ListWindowsUpdatesResponse) String ¶ added in v65.64.0

func (response ListWindowsUpdatesResponse) String() string

type ListWindowsUpdatesSortByEnum ¶ added in v65.64.0

type ListWindowsUpdatesSortByEnum string

ListWindowsUpdatesSortByEnum Enum with underlying type: string

const (
	ListWindowsUpdatesSortByTimecreated ListWindowsUpdatesSortByEnum = "timeCreated"
	ListWindowsUpdatesSortByName        ListWindowsUpdatesSortByEnum = "name"
	ListWindowsUpdatesSortByDisplayname ListWindowsUpdatesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListWindowsUpdatesSortByEnum

func GetListWindowsUpdatesSortByEnumValues ¶ added in v65.64.0

func GetListWindowsUpdatesSortByEnumValues() []ListWindowsUpdatesSortByEnum

GetListWindowsUpdatesSortByEnumValues Enumerates the set of values for ListWindowsUpdatesSortByEnum

func GetMappingListWindowsUpdatesSortByEnum ¶ added in v65.64.0

func GetMappingListWindowsUpdatesSortByEnum(val string) (ListWindowsUpdatesSortByEnum, bool)

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

type ListWindowsUpdatesSortOrderEnum ¶ added in v65.64.0

type ListWindowsUpdatesSortOrderEnum string

ListWindowsUpdatesSortOrderEnum Enum with underlying type: string

const (
	ListWindowsUpdatesSortOrderAsc  ListWindowsUpdatesSortOrderEnum = "ASC"
	ListWindowsUpdatesSortOrderDesc ListWindowsUpdatesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWindowsUpdatesSortOrderEnum

func GetListWindowsUpdatesSortOrderEnumValues ¶ added in v65.64.0

func GetListWindowsUpdatesSortOrderEnumValues() []ListWindowsUpdatesSortOrderEnum

GetListWindowsUpdatesSortOrderEnumValues Enumerates the set of values for ListWindowsUpdatesSortOrderEnum

func GetMappingListWindowsUpdatesSortOrderEnum ¶ added in v65.64.0

func GetMappingListWindowsUpdatesSortOrderEnum(val string) (ListWindowsUpdatesSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest ¶

type ListWorkRequestErrorsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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. This filter returns only resources contained within the specified compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. This filter returns resources associated with the specified resource.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the schedule job that initiated the work request.
	InitiatorId *string `mandatory:"false" contributesTo:"query" name:"initiatorId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	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"`

	// A filter to return the work requests that are a retry of the given work request OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	RetryOfId *string `mandatory:"false" contributesTo:"query" name:"retryOfId"`

	// A filter to return work requests that were created before the date provided (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format). Example: '2023-08-25T21:10:29.600Z'
	TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

	// A filter to return work requests that were created on or after the date provided (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format). Example: '2023-08-25T21:10:29.600Z'
	TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

	// Indicates whether to list only resources managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" contributesTo:"query" name:"isManagedByAutonomousLinux"`

	// Metadata about the request. 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. If any streams of a module are already enabled, the service switches from the current stream to the new stream.
	// Once complete, the streams will be in 'ENABLED' status.
	Enable []ModuleStreamDetails `mandatory:"false" json:"enable"`

	// The set of module streams to disable. Any profiles that are installed for the module stream will be removed as part of the operation.
	// Once complete, the streams will be in 'DISABLED' status.
	Disable []ModuleStreamDetails `mandatory:"false" json:"disable"`

	// The set of module stream profiles to install. Any packages that are part of the profile are installed on the managed instance.
	// Once complete, the profile will be in 'INSTALLED' status. The operation will return an error if you attempt to install a profile from a disabled stream, unless enabling the new module stream is included in this operation.
	Install []ModuleStreamProfileDetails `mandatory:"false" json:"install"`

	// The set of module stream profiles to remove. Once complete, the profile will be in 'AVAILABLE' status.
	// The status of packages within the profile after the operation is complete is defined by the package manager on the managed instance group.
	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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The set of changes to make to the modules, streams, and profiles on 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
	Id *string `mandatory:"true" json:"id"`

	// User-friendly name for the managed instance.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy that the managed instance resides in.
	TenancyId *string `mandatory:"true" json:"tenancyId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the managed instance.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Current status of the managed instance.
	Status ManagedInstanceStatusEnum `mandatory:"true" json:"status"`

	// User-specified description for the managed instance.
	Description *string `mandatory:"false" json:"description"`

	// The location of the managed instance.
	Location ManagedInstanceLocationEnum `mandatory:"false" json:"location,omitempty"`

	// Time that the instance last checked in with the service (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeLastCheckin *common.SDKTime `mandatory:"false" json:"timeLastCheckin"`

	// Time that the instance last booted (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	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 profile that was used to register this instance with the service.
	Profile *string `mandatory:"false" json:"profile"`

	// Indicates whether this managed instance is acting as an on-premises management station.
	IsManagementStation *bool `mandatory:"false" json:"isManagementStation"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station for the instance to use as primary management station.
	PrimaryManagementStationId *string `mandatory:"false" json:"primaryManagementStationId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station for the instance to use as secondary managment station.
	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 instance.
	InstalledPackages *int `mandatory:"false" json:"installedPackages"`

	// Number of Windows updates installed on the instance.
	InstalledWindowsUpdates *int `mandatory:"false" json:"installedWindowsUpdates"`

	// Number of updates available for installation.
	UpdatesAvailable *int `mandatory:"false" json:"updatesAvailable"`

	// Number of security type updates available for installation.
	SecurityUpdatesAvailable *int `mandatory:"false" json:"securityUpdatesAvailable"`

	// Number of bug fix type updates available for installation.
	BugUpdatesAvailable *int `mandatory:"false" json:"bugUpdatesAvailable"`

	// Number of enhancement type updates available for installation.
	EnhancementUpdatesAvailable *int `mandatory:"false" json:"enhancementUpdatesAvailable"`

	// Number of non-classified (other) updates available for installation.
	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 instance was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the instance was last updated (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
	NotificationTopicId *string `mandatory:"false" json:"notificationTopicId"`

	AutonomousSettings *AutonomousSettings `mandatory:"false" json:"autonomousSettings"`

	// Indicates whether the Autonomous Linux service manages the instance.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`
}

ManagedInstance An object that defines the instance being managed by the service.

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 objects.
	Items []ManagedInstanceAnalyticSummary `mandatory:"true" json:"items"`
}

ManagedInstanceAnalyticCollection A set of managed instance metrics returned for the SummarizeManagedInstanceAnalytics operation.

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) AttachProfileToManagedInstance ¶ added in v65.64.0

func (client ManagedInstanceClient) AttachProfileToManagedInstance(ctx context.Context, request AttachProfileToManagedInstanceRequest) (response AttachProfileToManagedInstanceResponse, err error)

AttachProfileToManagedInstance Adds profile to a managed instance. After the profile has been added, the instance can be registered as a managed instance.

See also ¶

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

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) DeleteManagedInstance ¶ added in v65.64.0

func (client ManagedInstanceClient) DeleteManagedInstance(ctx context.Context, request DeleteManagedInstanceRequest) (response DeleteManagedInstanceResponse, err error)

DeleteManagedInstance Unregisters the specified managed instance from the service. Once unregistered, the service will no longer manage the instance. For Linux instances, yum or DNF repository files will be restored to their state prior to registration.

See also ¶

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

func (ManagedInstanceClient) DetachProfileFromManagedInstance ¶ added in v65.64.0

func (client ManagedInstanceClient) DetachProfileFromManagedInstance(ctx context.Context, request DetachProfileFromManagedInstanceRequest) (response DetachProfileFromManagedInstanceResponse, err error)

DetachProfileFromManagedInstance Detaches profile from a managed instance. After the profile has been removed, the instance cannot be registered as a managed instance.

See also ¶

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

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) GetWindowsUpdate ¶ added in v65.64.0

func (client ManagedInstanceClient) GetWindowsUpdate(ctx context.Context, request GetWindowsUpdateRequest) (response GetWindowsUpdateResponse, err error)

GetWindowsUpdate Returns a Windows Update object.

See also ¶

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

func (ManagedInstanceClient) InstallAllWindowsUpdatesOnManagedInstancesInCompartment ¶ added in v65.64.0

InstallAllWindowsUpdatesOnManagedInstancesInCompartment Installs all of the available Windows updates for managed instances in a compartment. This applies only to standalone Windows instances. This will not update instances that belong to a group.

See also ¶

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

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) InstallWindowsUpdatesOnManagedInstance ¶ added in v65.64.0

func (client ManagedInstanceClient) InstallWindowsUpdatesOnManagedInstance(ctx context.Context, request InstallWindowsUpdatesOnManagedInstanceRequest) (response InstallWindowsUpdatesOnManagedInstanceResponse, err error)

InstallWindowsUpdatesOnManagedInstance Installs Windows updates on the specified managed instance.

See also ¶

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

func (ManagedInstanceClient) ListManagedInstanceAvailablePackages ¶

func (client ManagedInstanceClient) ListManagedInstanceAvailablePackages(ctx context.Context, request ListManagedInstanceAvailablePackagesRequest) (response ListManagedInstanceAvailablePackagesResponse, err error)

ListManagedInstanceAvailablePackages Returns a list of packages that are available for installation on 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 software sources that can be attached to the specified managed instance. Any software sources already attached to the instance are not included in the list.

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) ListManagedInstanceAvailableWindowsUpdates ¶ added in v65.64.0

func (client ManagedInstanceClient) ListManagedInstanceAvailableWindowsUpdates(ctx context.Context, request ListManagedInstanceAvailableWindowsUpdatesRequest) (response ListManagedInstanceAvailableWindowsUpdatesResponse, err error)

ListManagedInstanceAvailableWindowsUpdates Returns a list of Windows updates that can be installed on the specified managed instance.

See also ¶

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

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) ListManagedInstanceInstalledWindowsUpdates ¶ added in v65.64.0

func (client ManagedInstanceClient) ListManagedInstanceInstalledWindowsUpdates(ctx context.Context, request ListManagedInstanceInstalledWindowsUpdatesRequest) (response ListManagedInstanceInstalledWindowsUpdatesResponse, err error)

ListManagedInstanceInstalledWindowsUpdates Returns a list of Windows updates that have been installed on the specified managed instance.

See also ¶

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

func (ManagedInstanceClient) ListManagedInstanceModules ¶

func (client ManagedInstanceClient) ListManagedInstanceModules(ctx context.Context, request ListManagedInstanceModulesRequest) (response ListManagedInstanceModulesResponse, err error)

ListManagedInstanceModules Retrieves 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.

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) ListWindowsUpdates ¶ added in v65.64.0

func (client ManagedInstanceClient) ListWindowsUpdates(ctx context.Context, request ListWindowsUpdatesRequest) (response ListWindowsUpdatesResponse, err error)

ListWindowsUpdates Lists Windows updates that have been reported to the service.

See also ¶

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

func (ManagedInstanceClient) ManageModuleStreamsOnManagedInstance ¶

func (client ManagedInstanceClient) ManageModuleStreamsOnManagedInstance(ctx context.Context, request ManageModuleStreamsOnManagedInstanceRequest) (response ManageModuleStreamsOnManagedInstanceResponse, err error)

ManageModuleStreamsOnManagedInstance Enables or disables module streams and installs or removes module stream profiles. Once complete, the state of the modules, streams, and profiles will match the state indicated in the operation. See ManageModuleStreamsOnManagedInstanceDetails for more information. You can preform this operation as a dry run. For a dry run, the service evaluates the operation against the current module, stream, and profile state on the managed instance, but does not commit the changes. Instead, the service returns work request log or error entries indicating the impact of the 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 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 Refreshes the package or Windows update information on a managed instance with the latest data from the software source. This does not update packages on the instance. It provides the service with the latest package data.

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. This applies only to standalone non-Windows instances. This will not update instances that belong to a group or lifecycle environment.

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 specified managed instance information, such as description, ONS topic, and associated management station.

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 The set of managed instances returned for the ListManagedInstances operation.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
	Id *string `mandatory:"true" json:"id"`

	// Managed instance name.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

ManagedInstanceDetails Provides 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 advisory 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 (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeIssued *common.SDKTime `mandatory:"false" json:"timeIssued"`

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

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

ManagedInstanceErratumSummary Provides summary information about 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 The set of errata returned for the ListManagedInstanceErrata operation.

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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains 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 for the managed instance group.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// User-specified information about the managed instance group.
	Description *string `mandatory:"false" json:"description"`

	// The time the managed instance group was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the managed instance group was last modified (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	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 vendor of the operating system used by the managed instances in the group.
	VendorName VendorNameEnum `mandatory:"false" json:"vendorName,omitempty"`

	// The list of software source OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 instance OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) attached to the managed instance group.
	ManagedInstanceIds []string `mandatory:"false" json:"managedInstanceIds"`

	// The number of managed instances in the group.
	ManagedInstanceCount *int `mandatory:"false" json:"managedInstanceCount"`

	// The location of managed instances attached to the group.
	Location ManagedInstanceLocationEnum `mandatory:"false" json:"location,omitempty"`

	// The number of scheduled jobs pending against the managed instance group.
	PendingJobCount *int `mandatory:"false" json:"pendingJobCount"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
	NotificationTopicId *string `mandatory:"false" json:"notificationTopicId"`

	AutonomousSettings *AutonomousSettings `mandatory:"false" json:"autonomousSettings"`

	// Indicates whether the Autonomous Linux service manages the group.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`

	// 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 An object that defines the 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 available modules.
	Items []ManagedInstanceGroupAvailableModuleSummary `mandatory:"true" json:"items"`
}

ManagedInstanceGroupAvailableModuleCollection A set of modules returned for the ListManagedInstanceGroupAvailableModules operation.

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 the managed instance group.
	Name *string `mandatory:"true" json:"name"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source that provides the module.
	SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"`
}

ManagedInstanceGroupAvailableModuleSummary Provides summary information about a module stream made available to a managed instance group.

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 A set of available packages returned for the ListManagedInstanceGroupAvailablePackages operation.

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 that this is not an OCID.
	Name *string `mandatory:"true" json:"name"`

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

	// Version of the available 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"`

	// Indicates whether this is the latest package version.
	IsLatest *bool `mandatory:"false" json:"isLatest"`
}

ManagedInstanceGroupAvailablePackageSummary Provides summary information for 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 adding instances to the group, any operation applied to the group will be applied to all 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 type of instances in the 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) ChangeManagedInstanceGroupCompartment ¶ added in v65.64.0

ChangeManagedInstanceGroupCompartment Moves the specified managed instance group to a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

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

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 the 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 the specified software sources from a managed instance 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, you can no longer install the profiles contained by the stream. Before removing the stream, you must remove all installed profiles for the stream by using the RemoveModuleStreamProfileFromManagedInstanceGroup 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 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, you can install a module stream profile. Enabling a stream that is already enabled will succeed. Enabling a different stream for a module that already has a stream enabled results in an error. Instead, use the SwitchModuleStreamOnManagedInstanceGroup 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 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 enabled module stream. If a module stream defines multiple profiles, you can install each one 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 the specified packages on each managed instance in a managed instance group. The package must be compatible with the instances in the 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) InstallWindowsUpdatesOnManagedInstanceGroup ¶ added in v65.64.0

InstallWindowsUpdatesOnManagedInstanceGroup Installs Windows updates on each managed instance in the managed instance group.

See also ¶

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

func (ManagedInstanceGroupClient) ListManagedInstanceGroupAvailableModules ¶

ListManagedInstanceGroupAvailableModules List modules that are available for installation on the specified managed instance group. Filter the list against a variety of criteria including but not limited to module 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 the software source name. The results list only software sources that have not already been added to the group.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Filter the list against a variety of criteria including but not limited to 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 Enables or disables module streams and installs or removes module stream profiles. Once complete, the state of the modules, streams, and profiles will match the state indicated in the operation. See ManageModuleStreamsOnManagedInstanceGroupDetails for more information. You can preform this operation as a dry run. For a dry run, the service evaluates the operation against the current module, stream, and profile state on the managed instance, but does not commit the changes. Instead, the service returns work request log or error entries indicating the impact of the 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 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. Providing the module stream name (without specifying a profile name) removes all profiles that have been installed for the module stream.

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 the specified packages from each managed instance in a 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) SwitchModuleStreamOnManagedInstanceGroup ¶ added in v65.64.0

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

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 A set of managed instance groups returned for the ListManagedInstanceGroups operation.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	Id *string `mandatory:"true" json:"id"`

	// Managed instance group name.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

ManagedInstanceGroupDetails Provides 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 A set of installed packages returned for the ListManagedInstanceGroupInstalledPackages operation.

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 Provides summary information for a package installed 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 A set of module streams returned for the ListManagedInstanceGroupModules operation.

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.
	Name *string `mandatory:"true" json:"name"`

	// The name of the module stream that is enabled for the group.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source that provides this module stream.
	SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"`
}

ManagedInstanceGroupModuleSummary Provides the summary information about 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 {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains 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 for the managed instance group.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// User-specified information about the managed instance group.
	Description *string `mandatory:"false" json:"description"`

	// The number of managed instances in the group.
	ManagedInstanceCount *int `mandatory:"false" json:"managedInstanceCount"`

	// The location of managed instances attached to the group.
	Location ManagedInstanceLocationEnum `mandatory:"false" json:"location,omitempty"`

	// The time the managed instance group was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the managed instance group was last modified (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	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 vendor of the operating system used by the managed instances in the group.
	VendorName VendorNameEnum `mandatory:"false" json:"vendorName,omitempty"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
	NotificationTopicId *string `mandatory:"false" json:"notificationTopicId"`

	AutonomousSettings *AutonomousSettings `mandatory:"false" json:"autonomousSettings"`

	// Indicates whether the Autonomous Linux service manages the group.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`

	// 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"
	ManagedInstanceLocationGcp        ManagedInstanceLocationEnum = "GCP"
)

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 The set of modules returned for the ListManagedInstanceModules operation.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source that provides this module and the associated streams.
	SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"`
}

ManagedInstanceModuleSummary Provides summary information for 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"
	ManagedInstanceStatusDeleting          ManagedInstanceStatusEnum = "DELETING"
	ManagedInstanceStatusOnboarding        ManagedInstanceStatusEnum = "ONBOARDING"
)

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
	Id *string `mandatory:"true" json:"id"`

	// User-friendly name for the managed instance.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy this managed instance resides in.
	TenancyId *string `mandatory:"true" json:"tenancyId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the managed instance.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Current status of the managed instance.
	Status ManagedInstanceStatusEnum `mandatory:"true" json:"status"`

	// User-specified description of the managed instance.
	Description *string `mandatory:"false" json:"description"`

	// The 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 for installation.
	UpdatesAvailable *int `mandatory:"false" json:"updatesAvailable"`

	// Whether this managed instance is acting as an on-premises management station.
	IsManagementStation *bool `mandatory:"false" json:"isManagementStation"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
	NotificationTopicId *string `mandatory:"false" json:"notificationTopicId"`

	AutonomousSettings *AutonomousSettings `mandatory:"false" json:"autonomousSettings"`

	// Indicates whether Autonomous Linux manages this instance.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`
}

ManagedInstanceSummary Provides summary information for a managed instance.

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 {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the management station.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name for the management station.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Hostname of the management station.
	Hostname *string `mandatory:"true" json:"hostname"`

	Proxy *ProxyConfiguration `mandatory:"true" json:"proxy"`

	Mirror *MirrorConfiguration `mandatory:"true" json:"mirror"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance that is acting as the management station.
	ManagedInstanceId *string `mandatory:"false" json:"managedInstanceId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled job for the mirror sync.
	ScheduledJobId *string `mandatory:"false" json:"scheduledJobId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile used for the management station.
	ProfileId *string `mandatory:"false" json:"profileId"`

	// User-specified description for the management station.
	Description *string `mandatory:"false" json:"description"`

	// Current state of the mirror sync for the management station.
	OverallState OverallStateEnum `mandatory:"false" json:"overallState,omitempty"`

	// A decimal number representing the progress of the current mirror sync.
	OverallPercentage *int `mandatory:"false" json:"overallPercentage"`

	// A decimal number representing the amount of mirror capacity used by the sync.
	MirrorCapacity *int `mandatory:"false" json:"mirrorCapacity"`

	// The number of software sources that the station is mirroring.
	TotalMirrors *int `mandatory:"false" json:"totalMirrors"`

	MirrorSyncStatus *MirrorSyncStatus `mandatory:"false" json:"mirrorSyncStatus"`

	Health *StationHealth `mandatory:"false" json:"health"`

	// The current state of the management station.
	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 Provides information about the management station, including name, state, and configuration.

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) ChangeManagementStationCompartment ¶ added in v65.64.0

func (client ManagementStationClient) ChangeManagementStationCompartment(ctx context.Context, request ChangeManagementStationCompartmentRequest) (response ChangeManagementStationCompartmentResponse, err error)

ChangeManagementStationCompartment Moves a managment station to a different compartment.

See also ¶

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

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 Create a management station. You must provide proxy and mirror configuration information.

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) RefreshManagementStationConfig ¶ added in v65.64.0

func (client ManagementStationClient) RefreshManagementStationConfig(ctx context.Context, request RefreshManagementStationConfigRequest) (response RefreshManagementStationConfigResponse, err error)

RefreshManagementStationConfig Refreshes the list of software sources mirrored by the management station to support the associated instances.

See also ¶

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

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 Synchronize the specified software sources mirrors on 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 software source mirrors on the 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 management stations.
	Items []ManagementStationSummary `mandatory:"true" json:"items"`
}

ManagementStationCollection A set of management stations returned for the ListManagementStations operation.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station for the instance to use as primary management station.
	PrimaryManagementStationId *string `mandatory:"true" json:"primaryManagementStationId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station for the instance to use as secondary managment station.
	SecondaryManagementStationId *string `mandatory:"false" json:"secondaryManagementStationId"`

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

ManagementStationDetails Provides the management station details used to configure 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 ManagementStationEvent ¶ added in v65.64.0

type ManagementStationEvent struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	Id *string `mandatory:"true" json:"id"`

	// Summary of the event.
	EventSummary *string `mandatory:"true" json:"eventSummary"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the Event was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" 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:"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"`

	Data *ManagementStationEventData `mandatory:"true" json:"data"`

	// Details of an event.
	EventDetails *string `mandatory:"false" json:"eventDetails"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance or resource where the event occurred.
	ResourceId *string `mandatory:"false" json:"resourceId"`

	SystemDetails *SystemDetails `mandatory:"false" json:"systemDetails"`

	// The date and time that the event occurred.
	TimeOccurred *common.SDKTime `mandatory:"false" json:"timeOccurred"`

	// The date and time that the event was updated (in RFC 3339 (https://tools.ietf.org/html/rfc3339) format).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Describes the current state of the event in more detail. For example, the
	// message can provide actionable information for a resource in the 'FAILED' state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`

	// 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 event.
	LifecycleState EventLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

ManagementStationEvent Provides information about the management station event.

func (ManagementStationEvent) GetCompartmentId ¶ added in v65.64.0

func (m ManagementStationEvent) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (ManagementStationEvent) GetDefinedTags ¶ added in v65.64.0

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

GetDefinedTags returns DefinedTags

func (ManagementStationEvent) GetEventDetails ¶ added in v65.64.0

func (m ManagementStationEvent) GetEventDetails() *string

GetEventDetails returns EventDetails

func (ManagementStationEvent) GetEventSummary ¶ added in v65.64.0

func (m ManagementStationEvent) GetEventSummary() *string

GetEventSummary returns EventSummary

func (ManagementStationEvent) GetFreeformTags ¶ added in v65.64.0

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

GetFreeformTags returns FreeformTags

func (ManagementStationEvent) GetId ¶ added in v65.64.0

func (m ManagementStationEvent) GetId() *string

GetId returns Id

func (ManagementStationEvent) GetIsManagedByAutonomousLinux ¶ added in v65.64.0

func (m ManagementStationEvent) GetIsManagedByAutonomousLinux() *bool

GetIsManagedByAutonomousLinux returns IsManagedByAutonomousLinux

func (ManagementStationEvent) GetLifecycleDetails ¶ added in v65.64.0

func (m ManagementStationEvent) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (ManagementStationEvent) GetLifecycleState ¶ added in v65.64.0

func (m ManagementStationEvent) GetLifecycleState() EventLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (ManagementStationEvent) GetResourceId ¶ added in v65.64.0

func (m ManagementStationEvent) GetResourceId() *string

GetResourceId returns ResourceId

func (ManagementStationEvent) GetSystemDetails ¶ added in v65.64.0

func (m ManagementStationEvent) GetSystemDetails() *SystemDetails

GetSystemDetails returns SystemDetails

func (ManagementStationEvent) GetSystemTags ¶ added in v65.64.0

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

GetSystemTags returns SystemTags

func (ManagementStationEvent) GetTimeCreated ¶ added in v65.64.0

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

GetTimeCreated returns TimeCreated

func (ManagementStationEvent) GetTimeOccurred ¶ added in v65.64.0

func (m ManagementStationEvent) GetTimeOccurred() *common.SDKTime

GetTimeOccurred returns TimeOccurred

func (ManagementStationEvent) GetTimeUpdated ¶ added in v65.64.0

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

GetTimeUpdated returns TimeUpdated

func (ManagementStationEvent) MarshalJSON ¶ added in v65.64.0

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

MarshalJSON marshals to json representation

func (ManagementStationEvent) String ¶ added in v65.64.0

func (m ManagementStationEvent) String() string

func (ManagementStationEvent) ValidateEnumValue ¶ added in v65.64.0

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

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

type ManagementStationEventData ¶ added in v65.64.0

type ManagementStationEventData struct {

	// Type of management station operation.
	OperationType ManagementStationEventDataOperationTypeEnum `mandatory:"true" json:"operationType"`

	// Status of the management station operation.
	Status EventStatusEnum `mandatory:"true" json:"status"`

	AdditionalDetails *WorkRequestEventDataAdditionalDetails `mandatory:"false" json:"additionalDetails"`
}

ManagementStationEventData Provides additional information for a management station event.

func (ManagementStationEventData) String ¶ added in v65.64.0

func (ManagementStationEventData) ValidateEnumValue ¶ added in v65.64.0

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

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

type ManagementStationEventDataOperationTypeEnum ¶ added in v65.64.0

type ManagementStationEventDataOperationTypeEnum string

ManagementStationEventDataOperationTypeEnum Enum with underlying type: string

const (
	ManagementStationEventDataOperationTypeSetManagementStationConfig      ManagementStationEventDataOperationTypeEnum = "SET_MANAGEMENT_STATION_CONFIG"
	ManagementStationEventDataOperationTypeSyncManagementStationMirror     ManagementStationEventDataOperationTypeEnum = "SYNC_MANAGEMENT_STATION_MIRROR"
	ManagementStationEventDataOperationTypeUpdateManagementStationSoftware ManagementStationEventDataOperationTypeEnum = "UPDATE_MANAGEMENT_STATION_SOFTWARE"
)

Set of constants representing the allowable values for ManagementStationEventDataOperationTypeEnum

func GetManagementStationEventDataOperationTypeEnumValues ¶ added in v65.64.0

func GetManagementStationEventDataOperationTypeEnumValues() []ManagementStationEventDataOperationTypeEnum

GetManagementStationEventDataOperationTypeEnumValues Enumerates the set of values for ManagementStationEventDataOperationTypeEnum

func GetMappingManagementStationEventDataOperationTypeEnum ¶ added in v65.64.0

func GetMappingManagementStationEventDataOperationTypeEnum(val string) (ManagementStationEventDataOperationTypeEnum, bool)

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

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 {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the management station.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// User-friendly name for the management station.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Hostname of the management station.
	Hostname *string `mandatory:"true" json:"hostname"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance that is acting as the management station.
	ManagedInstanceId *string `mandatory:"false" json:"managedInstanceId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile used for the management station.
	ProfileId *string `mandatory:"false" json:"profileId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled job for the mirror sync.
	ScheduledJobId *string `mandatory:"false" json:"scheduledJobId"`

	// The date and time of the next scheduled mirror sync (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeNextExecution *common.SDKTime `mandatory:"false" json:"timeNextExecution"`

	// User-specified description of the management station.
	Description *string `mandatory:"false" json:"description"`

	// Current state of the mirror sync for the management station.
	OverallState OverallStateEnum `mandatory:"false" json:"overallState,omitempty"`

	// Overall health status of the managment station.
	HealthState HealthStateEnum `mandatory:"false" json:"healthState,omitempty"`

	// A decimal number representing the progress of the current mirror sync.
	OverallPercentage *int `mandatory:"false" json:"overallPercentage"`

	// A decimal number representing the amount of mirror capacity used by the sync.
	MirrorCapacity *int `mandatory:"false" json:"mirrorCapacity"`

	// The current state of the management station.
	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"
	MetricNameDeletingInstanceCount                     MetricNameEnum = "DELETING_INSTANCE_COUNT"
	MetricNameOnboardingInstanceCount                   MetricNameEnum = "ONBOARDING_INSTANCE_COUNT"
	MetricNameInstanceSecurityUpdatesCount              MetricNameEnum = "INSTANCE_SECURITY_UPDATES_COUNT"
	MetricNameInstanceBugfixUpdatesCount                MetricNameEnum = "INSTANCE_BUGFIX_UPDATES_COUNT"
	MetricNameInstanceSecurityAdvisoryCount             MetricNameEnum = "INSTANCE_SECURITY_ADVISORY_COUNT"
	MetricNameInstanceBugfixAdvisoryCount               MetricNameEnum = "INSTANCE_BUGFIX_ADVISORY_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 {

	// Path to the data volume on the management station where software source mirrors are stored.
	Directory *string `mandatory:"true" json:"directory"`

	// Default mirror listening port for http.
	Port *string `mandatory:"true" json:"port"`

	// Default mirror listening port for https.
	Sslport *string `mandatory:"true" json:"sslport"`

	// Path to the SSL cerfificate.
	Sslcert *string `mandatory:"false" json:"sslcert"`
}

MirrorConfiguration Mirror information used for the management station 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 number of software sources that have not yet been synced.
	Unsynced *int `mandatory:"true" json:"unsynced"`

	// Total number of software sources that are queued for sync.
	Queued *int `mandatory:"true" json:"queued"`

	// Total number of software sources currently syncing.
	Syncing *int `mandatory:"true" json:"syncing"`

	// Total number of software sources that successfully synced.
	Synced *int `mandatory:"true" json:"synced"`

	// Total number of software sources that failed to sync.
	Failed *int `mandatory:"true" json:"failed"`
}

MirrorSyncStatus Status summary of the mirror sync.

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 The set of modules returned for the SearchSoftwareSourceModules operation.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 An object that defines 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 module streams.
	Items []ModuleStreamSummary `mandatory:"true" json:"items"`
}

ModuleStreamCollection The set of module streams returned for ListModuleStreamProfiles operation.

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source that contains the module stream.
	SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"`
}

ModuleStreamDetails Provides the information used to update 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 Provides the information used to enable or disable the module stream 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 An object that defines a module stream profile provide 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 module stream profiles.
	Items []ModuleStreamProfileSummary `mandatory:"true" json:"items"`
}

ModuleStreamProfileCollection The set of module stream profiles returned for the ListModuleStreamProfiles operation.

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source that contains the module stream.
	SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"`
}

ModuleStreamProfileDetails Provides the information used to update 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 Provides the information used to install or remove a module stream profile 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.
	FilterType FilterTypeEnum `mandatory:"true" json:"filterType"`

	// Profile name.
	ProfileName *string `mandatory:"false" json:"profileName"`

	// Stream name.
	StreamName *string `mandatory:"false" json:"streamName"`
}

ModuleStreamProfileFilter Provides the information used to create a filter for module streams and profiles from a vendor software source to create or update a custom software source.

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 the module stream.
	IsDefault *bool `mandatory:"false" json:"isDefault"`
}

ModuleStreamProfileSummary Provides the summary information for a module stream profile contained within 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source that contains the the module stream.
	SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"`
}

ModuleStreamSummary Provides the summary information for a module stream contained within 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"`

	// List of stream names.
	Streams []string `mandatory:"false" json:"streams"`
}

ModuleSummary Provides summary information about a module which is 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) ChangeProfileCompartment ¶ added in v65.64.0

func (client OnboardingClient) ChangeProfileCompartment(ctx context.Context, request ChangeProfileCompartmentRequest) (response ChangeProfileCompartmentResponse, err error)

ChangeProfileCompartment Moves the profile to a different compartment.

See also ¶

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

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 defines the content applied to the instance when registering it with the service.

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"
	OperationTypesInstallWindowsUpdates            OperationTypesEnum = "INSTALL_WINDOWS_UPDATES"
	OperationTypesInstallAllWindowsUpdates         OperationTypesEnum = "INSTALL_ALL_WINDOWS_UPDATES"
	OperationTypesInstallSecurityWindowsUpdates    OperationTypesEnum = "INSTALL_SECURITY_WINDOWS_UPDATES"
	OperationTypesInstallBugfixWindowsUpdates      OperationTypesEnum = "INSTALL_BUGFIX_WINDOWS_UPDATES"
	OperationTypesInstallEnhancementWindowsUpdates OperationTypesEnum = "INSTALL_ENHANCEMENT_WINDOWS_UPDATES"
	OperationTypesInstallOtherWindowsUpdates       OperationTypesEnum = "INSTALL_OTHER_WINDOWS_UPDATES"
)

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"
	OsFamilyOracleLinux6      OsFamilyEnum = "ORACLE_LINUX_6"
	OsFamilyWindowsServer2016 OsFamilyEnum = "WINDOWS_SERVER_2016"
	OsFamilyWindowsServer2019 OsFamilyEnum = "WINDOWS_SERVER_2019"
	OsFamilyWindowsServer2022 OsFamilyEnum = "WINDOWS_SERVER_2022"
	OsFamilyAll               OsFamilyEnum = "ALL"
)

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.
	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 Provides the information used to create a filter for packages from a vendor software source to create or update a custom software source.

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 repository 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 to 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 or 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 The set of package groups returned for the ListPackageGroups SearchSoftwareSourcePackageGroups operation.

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.
	FilterType FilterTypeEnum `mandatory:"true" json:"filterType"`

	// List of package group names.
	PackageGroups []string `mandatory:"false" json:"packageGroups"`
}

PackageGroupFilter Provides the information used to create a filter for groups from a vendor software source to create or update a custom software source.

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 to users.
	IsUserVisible *bool `mandatory:"false" json:"isUserVisible"`

	// Indicates if this package group is the default.
	IsDefault *bool `mandatory:"false" json:"isDefault"`

	// The repository IDs of the package group.
	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 The yum or DNF package group that is 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 name in NERVA format. 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"`

	// The version of the software package.
	Version *string `mandatory:"false" json:"version"`

	// The CPU architecture type for which this package was built.
	Architecture ArchTypeEnum `mandatory:"false" json:"architecture,omitempty"`
}

PackageNameSummary Provides summary information about a package.

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 Provides summary information for a software package.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
	GetId() *string

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile.
	GetCompartmentId() *string

	// A user-friendly name for the profile.
	GetDisplayName() *string

	// The vendor of the operating system for the instance.
	GetVendorName() VendorNameEnum

	// The operating system family.
	GetOsFamily() OsFamilyEnum

	// The architecture type.
	GetArchType() ArchTypeEnum

	// The description of the registration profile.
	GetDescription() *string

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
	GetManagementStationId() *string

	// The time the registration profile was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	GetTimeCreated() *common.SDKTime

	// The current state of the registration profile.
	GetLifecycleState() ProfileLifecycleStateEnum

	// The type of instance to register.
	GetRegistrationType() ProfileRegistrationTypeEnum

	// Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
	GetIsDefaultProfile() *bool

	// Indicates if the profile was created by the service. OS Management Hub provides a limited set of standardized profiles that can be used to register Autonomous Linux or Windows instances.
	GetIsServiceProvidedProfile() *bool

	// 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 Object that defines the 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 ProfileRegistrationTypeEnum ¶ added in v65.64.0

type ProfileRegistrationTypeEnum string

ProfileRegistrationTypeEnum Enum with underlying type: string

const (
	ProfileRegistrationTypeOciLinux        ProfileRegistrationTypeEnum = "OCI_LINUX"
	ProfileRegistrationTypeNonOciLinux     ProfileRegistrationTypeEnum = "NON_OCI_LINUX"
	ProfileRegistrationTypeOciWindows      ProfileRegistrationTypeEnum = "OCI_WINDOWS"
	ProfileRegistrationTypeAutonomousLinux ProfileRegistrationTypeEnum = "AUTONOMOUS_LINUX"
)

Set of constants representing the allowable values for ProfileRegistrationTypeEnum

func GetMappingProfileRegistrationTypeEnum ¶ added in v65.64.0

func GetMappingProfileRegistrationTypeEnum(val string) (ProfileRegistrationTypeEnum, bool)

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

func GetProfileRegistrationTypeEnumValues ¶ added in v65.64.0

func GetProfileRegistrationTypeEnumValues() []ProfileRegistrationTypeEnum

GetProfileRegistrationTypeEnumValues Enumerates the set of values for ProfileRegistrationTypeEnum

type ProfileSummary ¶

type ProfileSummary struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name for the profile.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// User-specified description of the registration profile.
	Description *string `mandatory:"false" json:"description"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
	ManagementStationId *string `mandatory:"false" json:"managementStationId"`

	// The type of registration profile.
	ProfileType ProfileTypeEnum `mandatory:"false" json:"profileType,omitempty"`

	// The type of instance to register.
	RegistrationType ProfileRegistrationTypeEnum `mandatory:"false" json:"registrationType,omitempty"`

	// The vendor of the operating system for the instance.
	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"`

	// Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
	IsDefaultProfile *bool `mandatory:"false" json:"isDefaultProfile"`

	// Indicates if the profile was created by the service. OS Management Hub provides a limited set of standardized profiles that can be used to register Autonomous Linux or Windows instances.
	IsServiceProvidedProfile *bool `mandatory:"false" json:"isServiceProvidedProfile"`

	// 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 Provides summary information for a 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"
	ProfileTypeWindowsStandalone ProfileTypeEnum = "WINDOWS_STANDALONE"
)

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 Provides detailed information about the lifecycle stage promotion.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
	LifecycleStageId *string `mandatory:"true" contributesTo:"path" name:"lifecycleStageId"`

	// Details for the software source promotion job.
	PromoteSoftwareSourceToLifecycleStageDetails `contributesTo:"body"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source. This filter returns resources associated with this 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 {

	// Indicates if the proxy should be enabled or disabled. Default is enabled.
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// List of hosts.
	Hosts []string `mandatory:"false" json:"hosts"`

	// Listening port used for the proxy.
	Port *string `mandatory:"false" json:"port"`

	// The URL the proxy will forward to.
	Forward *string `mandatory:"false" json:"forward"`
}

ProxyConfiguration Proxy information used for the management station 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 RefreshManagementStationConfigRequest ¶ added in v65.64.0

type RefreshManagementStationConfigRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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"`

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

RefreshManagementStationConfigRequest wrapper for the RefreshManagementStationConfig operation

See also ¶

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

func (RefreshManagementStationConfigRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (RefreshManagementStationConfigRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (RefreshManagementStationConfigRequest) RetryPolicy ¶ added in v65.64.0

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

func (RefreshManagementStationConfigRequest) String ¶ added in v65.64.0

func (RefreshManagementStationConfigRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type RefreshManagementStationConfigResponse ¶ added in v65.64.0

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

RefreshManagementStationConfigResponse wrapper for the RefreshManagementStationConfig operation

func (RefreshManagementStationConfigResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (RefreshManagementStationConfigResponse) String ¶ added in v65.64.0

type RefreshSoftwareOnManagedInstanceRequest ¶

type RefreshSoftwareOnManagedInstanceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 Provides the information used to remove a module stream profile 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 the 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source that provides the module stream
	SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"`

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

RemoveModuleStreamProfileFromManagedInstanceGroupDetails Provides the details for removing a module stream profile from a 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The details used to remove profiles from the managed instance group. Providing the module stream name (without specifying a profile name) removes all profiles that have been installed for the module stream.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 Provides the information used to remove software packages from a managed instance.

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:"true" 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// The names of packages to remove from the specified 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 report of managed instances matching the given filters. You can select CSV, XML, or JSON format.

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 report for a single managed instance whose associated erratas match the given filters. You can select CSV, XML, or JSON format.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled job.
	Id *string `mandatory:"true" json:"id"`

	// User-friendly name for the scheduled job.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the scheduled job.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The type of scheduling frequency for the job.
	ScheduleType ScheduleTypesEnum `mandatory:"true" json:"scheduleType"`

	// The time of the next execution of this scheduled job (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeNextExecution *common.SDKTime `mandatory:"true" json:"timeNextExecution"`

	// The list of operations this scheduled job needs to perform.
	// A scheduled job supports only one operation type, unless it is one of the following:
	// * 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 (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time this scheduled job was updated (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	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"`

	// User-specified description for the scheduled job.
	Description *string `mandatory:"false" json:"description"`

	// The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
	Locations []ManagedInstanceLocationEnum `mandatory:"false" json:"locations"`

	// The time of the last execution of this scheduled job (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeLastExecution *common.SDKTime `mandatory:"false" json:"timeLastExecution"`

	// The frequency schedule for a recurring scheduled job.
	RecurringRule *string `mandatory:"false" json:"recurringRule"`

	// The managed instance OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.
	// A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with
	// managedInstanceGroupIds, managedCompartmentIds, and lifecycleStageIds.
	ManagedInstanceIds []string `mandatory:"false" json:"managedInstanceIds"`

	// The managed instance group OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedCompartmentIds, and lifecycleStageIds.
	ManagedInstanceGroupIds []string `mandatory:"false" json:"managedInstanceGroupIds"`

	// The compartment OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedInstanceGroupIds, and lifecycleStageIds.
	ManagedCompartmentIds []string `mandatory:"false" json:"managedCompartmentIds"`

	// The lifecycle stage OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.
	// A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with
	// managedInstanceIds, managedInstanceGroupIds, and managedCompartmentIds.
	LifecycleStageIds []string `mandatory:"false" json:"lifecycleStageIds"`

	// Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (root compartment).
	IsSubcompartmentIncluded *bool `mandatory:"false" json:"isSubcompartmentIncluded"`

	// The list of work request OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this scheduled job.
	WorkRequestIds []string `mandatory:"false" json:"workRequestIds"`

	// Indicates whether this scheduled job is managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`

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

	// Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs,
	// you can update only the timeNextExecution, recurringRule, and tags.
	IsRestricted *bool `mandatory:"false" json:"isRestricted"`

	// The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry
	// a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial
	// execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes
	// and then retries. If that fails, the service waits 10 minutes and then retries.
	RetryIntervals []int `mandatory:"false" json:"retryIntervals"`
}

ScheduledJob The object that defines a scheduled job. For more information about jobs, see Managing Jobs (https://docs.cloud.oracle.com/iaas/osmh/doc/jobs.htm).

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) ChangeScheduledJobCompartment ¶ added in v65.64.0

func (client ScheduledJobClient) ChangeScheduledJobCompartment(ctx context.Context, request ChangeScheduledJobCompartmentRequest) (response ChangeScheduledJobCompartmentResponse, err error)

ChangeScheduledJobCompartment Moves a scheduled job to another compartment.

See also ¶

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

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

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 only applies to recurring jobs, not one-time scheduled jobs.

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 The set of scheduled jobs returned for the ListScheduledJobs operation.

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. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
	PackageNames []string `mandatory:"false" json:"packageNames"`

	// Unique identifier for the Windows update. This parameter only applies if the scheduled job is for installing Windows updates.
	// Note that this is not an OCID, but is a unique identifier assigned by Microsoft.
	// For example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'.
	WindowsUpdateNames []string `mandatory:"false" json:"windowsUpdateNames"`

	ManageModuleStreamsDetails *ManageModuleStreamsInScheduledJobDetails `mandatory:"false" json:"manageModuleStreamsDetails"`

	SwitchModuleStreamsDetails *ModuleStreamDetails `mandatory:"false" json:"switchModuleStreamsDetails"`

	// The software source OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	// This parameter only applies when the scheduled job is for attaching or detaching software sources.
	SoftwareSourceIds []string `mandatory:"false" json:"softwareSourceIds"`
}

ScheduledJobOperation Defines an operation that is performed by 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled job.
	Id *string `mandatory:"true" json:"id"`

	// User-friendly name for the scheduled job.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains 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 (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time this scheduled job was updated (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The time of the next execution of this scheduled job (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeNextExecution *common.SDKTime `mandatory:"true" json:"timeNextExecution"`

	// The list of operations this scheduled job needs to perform.
	// A scheduled job supports only one operation type, unless it is one of the following:
	// * 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 list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
	Locations []ManagedInstanceLocationEnum `mandatory:"false" json:"locations"`

	// The time of the last execution of this scheduled job (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).b.
	TimeLastExecution *common.SDKTime `mandatory:"false" json:"timeLastExecution"`

	// The managed instance OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.
	// A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with
	// managedInstanceGroupIds, managedCompartmentIds, and lifecycleStageIds.
	ManagedInstanceIds []string `mandatory:"false" json:"managedInstanceIds"`

	// The managed instance group OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.
	// A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with
	// managedInstanceIds, managedCompartmentIds, and lifecycleStageIds.
	ManagedInstanceGroupIds []string `mandatory:"false" json:"managedInstanceGroupIds"`

	// The compartment OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.
	// A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with
	// managedInstanceIds, managedInstanceGroupIds, and lifecycleStageIds.
	ManagedCompartmentIds []string `mandatory:"false" json:"managedCompartmentIds"`

	// The lifecycle stage OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.
	// A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with
	// managedInstanceIds, managedInstanceGroupIds, and managedCompartmentIds.
	LifecycleStageIds []string `mandatory:"false" json:"lifecycleStageIds"`

	// Indicates whether this scheduled job is managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`

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

	// Indicates if the schedule job has restricted update and deletion capabilities.
	// For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
	IsRestricted *bool `mandatory:"false" json:"isRestricted"`

	// The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically
	// retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the
	// initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits
	// 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
	RetryIntervals []int `mandatory:"false" json:"retryIntervals"`
}

ScheduledJobSummary Provides summary information for a scheduled job.

func (ScheduledJobSummary) String ¶

func (m ScheduledJobSummary) String() string

func (ScheduledJobSummary) ValidateEnumValue ¶

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

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

type SearchSoftwareSourceModuleStreamsDetails ¶

type SearchSoftwareSourceModuleStreamsDetails struct {

	// List of software source OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	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 Provides the information used to search for a set of module streams from a list 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 sofware source OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	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"`

	// A filter to return modules with a name that contains the given string.
	NameContains *string `mandatory:"false" json:"nameContains"`

	// The field to sort by.
	SortBy SearchSoftwareSourceModulesDetailsSortByEnum `mandatory:"false" json:"sortBy,omitempty"`
}

SearchSoftwareSourceModulesDetails Provides the information used to search for a set of modules from a list 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	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"`

	// A filter that returns package groups with a name that contains the given string.
	NameContains *string `mandatory:"false" json:"nameContains"`

	// Indicates if this is a group, category or environment.
	GroupType PackageGroupGroupTypeEnum `mandatory:"false" json:"groupType,omitempty"`
}

SearchSoftwareSourcePackageGroupsDetails Provides the software sources and search parameters to get a 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 that 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 SoftwarePackageArchitectureEnum `mandatory:"false" json:"architecture,omitempty"`

	// The date and time the package was last modified (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	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. This property is deprecated and it will be removed in a future API release.
	SoftwareSources []SoftwareSourceDetails `mandatory:"false" json:"softwareSources"`

	// Indicates whether this package is the latest version.
	IsLatest *bool `mandatory:"false" json:"isLatest"`

	// The OS families the package belongs to.
	OsFamilies []OsFamilyEnum `mandatory:"false" json:"osFamilies"`
}

SoftwarePackage An object that defines 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 SoftwarePackageArchitectureEnum ¶ added in v65.64.0

type SoftwarePackageArchitectureEnum string

SoftwarePackageArchitectureEnum Enum with underlying type: string

const (
	SoftwarePackageArchitectureI386    SoftwarePackageArchitectureEnum = "I386"
	SoftwarePackageArchitectureI686    SoftwarePackageArchitectureEnum = "I686"
	SoftwarePackageArchitectureAarch64 SoftwarePackageArchitectureEnum = "AARCH64"
	SoftwarePackageArchitectureX8664   SoftwarePackageArchitectureEnum = "X86_64"
	SoftwarePackageArchitectureSrc     SoftwarePackageArchitectureEnum = "SRC"
	SoftwarePackageArchitectureNoarch  SoftwarePackageArchitectureEnum = "NOARCH"
	SoftwarePackageArchitectureOther   SoftwarePackageArchitectureEnum = "OTHER"
)

Set of constants representing the allowable values for SoftwarePackageArchitectureEnum

func GetMappingSoftwarePackageArchitectureEnum ¶ added in v65.64.0

func GetMappingSoftwarePackageArchitectureEnum(val string) (SoftwarePackageArchitectureEnum, bool)

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

func GetSoftwarePackageArchitectureEnumValues ¶ added in v65.64.0

func GetSoftwarePackageArchitectureEnumValues() []SoftwarePackageArchitectureEnum

GetSoftwarePackageArchitectureEnumValues Enumerates the set of values for SoftwarePackageArchitectureEnum

type SoftwarePackageCollection ¶

type SoftwarePackageCollection struct {

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

SoftwarePackageCollection A set of software packages returned for the ListSoftwarePackages operation or ListAllSoftwarePackages operation.

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 Identifies the 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 the file was last modified (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	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 that 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 SoftwarePackageArchitectureEnum `mandatory:"false" json:"architecture,omitempty"`

	// 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. This property is deprecated and it will be removed in a future API release.
	SoftwareSources []SoftwareSourceDetails `mandatory:"false" json:"softwareSources"`

	// The OS families the package belongs to.
	OsFamilies []OsFamilyEnum `mandatory:"false" json:"osFamilies"`
}

SoftwarePackageSummary Provides 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 Provides the information used to install, remove, or update software packages.

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 {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	GetId() *string

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
	GetCompartmentId() *string

	// User-friendly name for the software source.
	GetDisplayName() *string

	// The date and time the software source was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	GetTimeCreated() *common.SDKTime

	// Availability of the software source (for non-OCI environments).
	GetAvailability() AvailabilityEnum

	// Availability of the software source (for OCI environments).
	GetAvailabilityAtOci() AvailabilityEnum

	// The repository 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. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/<repoId>'.
	GetUrl() *string

	// User-specified description for the software source.
	GetDescription() *string

	// The current state of the software source.
	GetLifecycleState() SoftwareSourceLifecycleStateEnum

	// Number of packages the software source contains.
	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

	// The size of the software source in gigabytes (GB).
	GetSize() *float64

	// 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 The object that defines a software source. A software source contains a collection of packages. For more information, see Managing Software Sources (https://docs.cloud.oracle.com/iaas/osmh/doc/software-sources.htm).

type SoftwareSourceAvailability ¶

type SoftwareSourceAvailability struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vendor software source.
	SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"`

	// Availability of the software source to instances in private data centers or third-party clouds.
	Availability AvailabilityEnum `mandatory:"false" json:"availability,omitempty"`

	// Availability of the software source to OCI instances.
	AvailabilityAtOci AvailabilityEnum `mandatory:"false" json:"availabilityAtOci,omitempty"`
}

SoftwareSourceAvailability An object that defines the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) and the availability of a vendor software source.

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) AddPackagesToSoftwareSource ¶ added in v65.64.0

func (client SoftwareSourceClient) AddPackagesToSoftwareSource(ctx context.Context, request AddPackagesToSoftwareSourceRequest) (response AddPackagesToSoftwareSourceResponse, err error)

AddPackagesToSoftwareSource Adds packages to a software source. This operation can only be done for custom and versioned custom software sources that are not created using filters. For a versioned custom software source, you can only add packages when the source is created. Once content is added to a versioned custom software source, it is immutable.

See also ¶

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

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) ChangeSoftwareSourceCompartment ¶ added in v65.64.0

func (client SoftwareSourceClient) ChangeSoftwareSourceCompartment(ctx context.Context, request ChangeSoftwareSourceCompartmentRequest) (response ChangeSoftwareSourceCompartmentResponse, err error)

ChangeSoftwareSourceCompartment Moves the specified software sources to a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

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

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 Returns information about the specified erratum based on 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 Returns 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 Returns 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 Returns 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 Returns 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) GetSoftwarePackageByName ¶ added in v65.64.0

func (client SoftwareSourceClient) GetSoftwarePackageByName(ctx context.Context, request GetSoftwarePackageByNameRequest) (response GetSoftwarePackageByNameResponse, err error)

GetSoftwarePackageByName Returns information about the specified software package based on its fully qualified name.

See also ¶

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

func (SoftwareSourceClient) GetSoftwareSource ¶

func (client SoftwareSourceClient) GetSoftwareSource(ctx context.Context, request GetSoftwareSourceRequest) (response GetSoftwareSourceResponse, err error)

GetSoftwareSource Returns 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) ListAllSoftwarePackages ¶ added in v65.64.0

func (client SoftwareSourceClient) ListAllSoftwarePackages(ctx context.Context, request ListAllSoftwarePackagesRequest) (response ListAllSoftwarePackagesResponse, err error)

ListAllSoftwarePackages Lists software packages available through the OS Management Hub service. 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/ListAllSoftwarePackages.go.html to see an example of how to use ListAllSoftwarePackages API. A default retry strategy applies to this operation ListAllSoftwarePackages()

func (SoftwareSourceClient) ListEntitlements ¶

func (client SoftwareSourceClient) ListEntitlements(ctx context.Context, request ListEntitlementsRequest) (response ListEntitlementsResponse, err error)

ListEntitlements Lists entitlements in the specified tenancy OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Filter the list against a variety of criteria including but not limited to its Customer Support Identifier (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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). 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 are associated with the specified software source OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). 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) ListSoftwarePackageSoftwareSources ¶ added in v65.64.0

func (client SoftwareSourceClient) ListSoftwarePackageSoftwareSources(ctx context.Context, request ListSoftwarePackageSoftwareSourcesRequest) (response ListSoftwarePackageSoftwareSourcesResponse, err error)

ListSoftwarePackageSoftwareSources Lists the software sources in the tenancy that contain the software package. Filter the list against a variety of criteria including but not limited to its name, type, architecture, and OS family.

See also ¶

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

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). 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 Returns a list of module streams from the specified 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 software sources.
	Items []SoftwareSourceSummary `mandatory:"true" json:"items"`
}

SoftwareSourceCollection A set of software sources returned for the ListSoftwareSources operation.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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"`

	// Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
	IsMandatoryForAutonomousLinux *bool `mandatory:"false" json:"isMandatoryForAutonomousLinux"`
}

SoftwareSourceDetails Provides 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 SoftwareSourceEvent ¶ added in v65.64.0

type SoftwareSourceEvent struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	Id *string `mandatory:"true" json:"id"`

	// Summary of the event.
	EventSummary *string `mandatory:"true" json:"eventSummary"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the Event was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" 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:"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"`

	Data *SoftwareSourceEventData `mandatory:"true" json:"data"`

	// Details of an event.
	EventDetails *string `mandatory:"false" json:"eventDetails"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance or resource where the event occurred.
	ResourceId *string `mandatory:"false" json:"resourceId"`

	SystemDetails *SystemDetails `mandatory:"false" json:"systemDetails"`

	// The date and time that the event occurred.
	TimeOccurred *common.SDKTime `mandatory:"false" json:"timeOccurred"`

	// The date and time that the event was updated (in RFC 3339 (https://tools.ietf.org/html/rfc3339) format).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Describes the current state of the event in more detail. For example, the
	// message can provide actionable information for a resource in the 'FAILED' state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`

	// 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 event.
	LifecycleState EventLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

SoftwareSourceEvent Provides information for a software source event.

func (SoftwareSourceEvent) GetCompartmentId ¶ added in v65.64.0

func (m SoftwareSourceEvent) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (SoftwareSourceEvent) GetDefinedTags ¶ added in v65.64.0

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

GetDefinedTags returns DefinedTags

func (SoftwareSourceEvent) GetEventDetails ¶ added in v65.64.0

func (m SoftwareSourceEvent) GetEventDetails() *string

GetEventDetails returns EventDetails

func (SoftwareSourceEvent) GetEventSummary ¶ added in v65.64.0

func (m SoftwareSourceEvent) GetEventSummary() *string

GetEventSummary returns EventSummary

func (SoftwareSourceEvent) GetFreeformTags ¶ added in v65.64.0

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

GetFreeformTags returns FreeformTags

func (SoftwareSourceEvent) GetId ¶ added in v65.64.0

func (m SoftwareSourceEvent) GetId() *string

GetId returns Id

func (SoftwareSourceEvent) GetIsManagedByAutonomousLinux ¶ added in v65.64.0

func (m SoftwareSourceEvent) GetIsManagedByAutonomousLinux() *bool

GetIsManagedByAutonomousLinux returns IsManagedByAutonomousLinux

func (SoftwareSourceEvent) GetLifecycleDetails ¶ added in v65.64.0

func (m SoftwareSourceEvent) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (SoftwareSourceEvent) GetLifecycleState ¶ added in v65.64.0

func (m SoftwareSourceEvent) GetLifecycleState() EventLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (SoftwareSourceEvent) GetResourceId ¶ added in v65.64.0

func (m SoftwareSourceEvent) GetResourceId() *string

GetResourceId returns ResourceId

func (SoftwareSourceEvent) GetSystemDetails ¶ added in v65.64.0

func (m SoftwareSourceEvent) GetSystemDetails() *SystemDetails

GetSystemDetails returns SystemDetails

func (SoftwareSourceEvent) GetSystemTags ¶ added in v65.64.0

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

GetSystemTags returns SystemTags

func (SoftwareSourceEvent) GetTimeCreated ¶ added in v65.64.0

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

GetTimeCreated returns TimeCreated

func (SoftwareSourceEvent) GetTimeOccurred ¶ added in v65.64.0

func (m SoftwareSourceEvent) GetTimeOccurred() *common.SDKTime

GetTimeOccurred returns TimeOccurred

func (SoftwareSourceEvent) GetTimeUpdated ¶ added in v65.64.0

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

GetTimeUpdated returns TimeUpdated

func (SoftwareSourceEvent) MarshalJSON ¶ added in v65.64.0

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

MarshalJSON marshals to json representation

func (SoftwareSourceEvent) String ¶ added in v65.64.0

func (m SoftwareSourceEvent) String() string

func (SoftwareSourceEvent) ValidateEnumValue ¶ added in v65.64.0

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

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

type SoftwareSourceEventData ¶ added in v65.64.0

type SoftwareSourceEventData struct {

	// Type of software source operation.
	OperationType SoftwareSourceEventDataOperationTypeEnum `mandatory:"true" json:"operationType"`

	// Status of the software source operation.
	Status EventStatusEnum `mandatory:"true" json:"status"`

	AdditionalDetails *WorkRequestEventDataAdditionalDetails `mandatory:"false" json:"additionalDetails"`
}

SoftwareSourceEventData Provides additional information for a software source event.

func (SoftwareSourceEventData) String ¶ added in v65.64.0

func (m SoftwareSourceEventData) String() string

func (SoftwareSourceEventData) ValidateEnumValue ¶ added in v65.64.0

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

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

type SoftwareSourceEventDataOperationTypeEnum ¶ added in v65.64.0

type SoftwareSourceEventDataOperationTypeEnum string

SoftwareSourceEventDataOperationTypeEnum Enum with underlying type: string

const (
	SoftwareSourceEventDataOperationTypeEnableModuleStreams  SoftwareSourceEventDataOperationTypeEnum = "ENABLE_MODULE_STREAMS"
	SoftwareSourceEventDataOperationTypeDisableModuleStreams SoftwareSourceEventDataOperationTypeEnum = "DISABLE_MODULE_STREAMS"
	SoftwareSourceEventDataOperationTypeSwitchModuleStream   SoftwareSourceEventDataOperationTypeEnum = "SWITCH_MODULE_STREAM"
	SoftwareSourceEventDataOperationTypeInstallModuleProfile SoftwareSourceEventDataOperationTypeEnum = "INSTALL_MODULE_PROFILE"
	SoftwareSourceEventDataOperationTypeRemoveModuleProfiles SoftwareSourceEventDataOperationTypeEnum = "REMOVE_MODULE_PROFILES"
	SoftwareSourceEventDataOperationTypeSetSoftwareSources   SoftwareSourceEventDataOperationTypeEnum = "SET_SOFTWARE_SOURCES"
	SoftwareSourceEventDataOperationTypeUpdateSoftwareSource SoftwareSourceEventDataOperationTypeEnum = "UPDATE_SOFTWARE_SOURCE"
	SoftwareSourceEventDataOperationTypeCreateSoftwareSource SoftwareSourceEventDataOperationTypeEnum = "CREATE_SOFTWARE_SOURCE"
	SoftwareSourceEventDataOperationTypeLifecyclePromotion   SoftwareSourceEventDataOperationTypeEnum = "LIFECYCLE_PROMOTION"
)

Set of constants representing the allowable values for SoftwareSourceEventDataOperationTypeEnum

func GetMappingSoftwareSourceEventDataOperationTypeEnum ¶ added in v65.64.0

func GetMappingSoftwareSourceEventDataOperationTypeEnum(val string) (SoftwareSourceEventDataOperationTypeEnum, bool)

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

func GetSoftwareSourceEventDataOperationTypeEnumValues ¶ added in v65.64.0

func GetSoftwareSourceEventDataOperationTypeEnumValues() []SoftwareSourceEventDataOperationTypeEnum

GetSoftwareSourceEventDataOperationTypeEnumValues Enumerates the set of values for SoftwareSourceEventDataOperationTypeEnum

type SoftwareSourceLifecycleStateEnum ¶

type SoftwareSourceLifecycleStateEnum string

SoftwareSourceLifecycleStateEnum Enum with underlying type: string

const (
	SoftwareSourceLifecycleStateCreating SoftwareSourceLifecycleStateEnum = "CREATING"
	SoftwareSourceLifecycleStateUpdating SoftwareSourceLifecycleStateEnum = "UPDATING"
	SoftwareSourceLifecycleStateActive   SoftwareSourceLifecycleStateEnum = "ACTIVE"
	SoftwareSourceLifecycleStateInactive SoftwareSourceLifecycleStateEnum = "INACTIVE"
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name for the profile.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
	ManagementStationId *string `mandatory:"false" json:"managementStationId"`

	// The time the registration profile was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
	IsDefaultProfile *bool `mandatory:"false" json:"isDefaultProfile"`

	// Indicates if the profile was created by the service. OS Management Hub provides a limited set of standardized profiles that can be used to register Autonomous Linux or Windows instances.
	IsServiceProvidedProfile *bool `mandatory:"false" json:"isServiceProvidedProfile"`

	// 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 vendor of the operating system for the instance.
	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"`

	// The type of instance to register.
	RegistrationType ProfileRegistrationTypeEnum `mandatory:"false" json:"registrationType,omitempty"`
}

SoftwareSourceProfile Provides the information for a software source registration profile.

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) GetIsDefaultProfile ¶ added in v65.64.0

func (m SoftwareSourceProfile) GetIsDefaultProfile() *bool

GetIsDefaultProfile returns IsDefaultProfile

func (SoftwareSourceProfile) GetIsServiceProvidedProfile ¶ added in v65.64.0

func (m SoftwareSourceProfile) GetIsServiceProvidedProfile() *bool

GetIsServiceProvidedProfile returns IsServiceProvidedProfile

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) GetRegistrationType ¶ added in v65.64.0

func (m SoftwareSourceProfile) GetRegistrationType() ProfileRegistrationTypeEnum

GetRegistrationType returns RegistrationType

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	GetId() *string

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
	GetCompartmentId() *string

	// User-friendly name for the software source.
	GetDisplayName() *string

	// The repository ID for the software source.
	GetRepoId() *string

	// URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/<repoId>'.
	GetUrl() *string

	// The date and time the software source was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	GetTimeCreated() *common.SDKTime

	// The date and time the software source was updated (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	GetTimeUpdated() *common.SDKTime

	// Availability of the software source (for non-OCI environments).
	GetAvailability() AvailabilityEnum

	// Availability of the software source (for OCI environments).
	GetAvailabilityAtOci() AvailabilityEnum

	// The OS family the software source belongs to.
	GetOsFamily() OsFamilyEnum

	// The architecture type supported by the software source.
	GetArchType() ArchTypeEnum

	// Description of the software source. For custom software sources, this is user-specified.
	GetDescription() *string

	// Number of packages the software source contains.
	GetPackageCount() *int64

	// The current state of the software source.
	GetLifecycleState() SoftwareSourceLifecycleStateEnum

	// The size of the software source in gigabytes (GB).
	GetSize() *float64

	// 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 Provides summary information for a software source. A software source contains a collection of packages. For more information, see Managing Software Sources (https://docs.cloud.oracle.com/iaas/osmh/doc/software-sources.htm).

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 software source vendors.
	Items []SoftwareSourceVendorSummary `mandatory:"true" json:"items"`
}

SoftwareSourceVendorCollection Th set of software source vendors returned for the ListSoftwareSourceVendors operation.

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 operating system families.
	OsFamilies []OsFamilyEnum `mandatory:"true" json:"osFamilies"`

	// List of corresponding architecture types.
	ArchTypes []ArchTypeEnum `mandatory:"true" json:"archTypes"`
}

SoftwareSourceVendorSummary Provides summary information about a software source vendor, including name, operating system family, and architecture type.

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 SoftwareUpdateEvent ¶ added in v65.64.0

type SoftwareUpdateEvent struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	Id *string `mandatory:"true" json:"id"`

	// Summary of the event.
	EventSummary *string `mandatory:"true" json:"eventSummary"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the Event was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" 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:"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"`

	Data *SoftwareUpdateEventData `mandatory:"true" json:"data"`

	// Details of an event.
	EventDetails *string `mandatory:"false" json:"eventDetails"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance or resource where the event occurred.
	ResourceId *string `mandatory:"false" json:"resourceId"`

	SystemDetails *SystemDetails `mandatory:"false" json:"systemDetails"`

	// The date and time that the event occurred.
	TimeOccurred *common.SDKTime `mandatory:"false" json:"timeOccurred"`

	// The date and time that the event was updated (in RFC 3339 (https://tools.ietf.org/html/rfc3339) format).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Describes the current state of the event in more detail. For example, the
	// message can provide actionable information for a resource in the 'FAILED' state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`

	// 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 event.
	LifecycleState EventLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

SoftwareUpdateEvent Provides information for a software update event.

func (SoftwareUpdateEvent) GetCompartmentId ¶ added in v65.64.0

func (m SoftwareUpdateEvent) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (SoftwareUpdateEvent) GetDefinedTags ¶ added in v65.64.0

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

GetDefinedTags returns DefinedTags

func (SoftwareUpdateEvent) GetEventDetails ¶ added in v65.64.0

func (m SoftwareUpdateEvent) GetEventDetails() *string

GetEventDetails returns EventDetails

func (SoftwareUpdateEvent) GetEventSummary ¶ added in v65.64.0

func (m SoftwareUpdateEvent) GetEventSummary() *string

GetEventSummary returns EventSummary

func (SoftwareUpdateEvent) GetFreeformTags ¶ added in v65.64.0

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

GetFreeformTags returns FreeformTags

func (SoftwareUpdateEvent) GetId ¶ added in v65.64.0

func (m SoftwareUpdateEvent) GetId() *string

GetId returns Id

func (SoftwareUpdateEvent) GetIsManagedByAutonomousLinux ¶ added in v65.64.0

func (m SoftwareUpdateEvent) GetIsManagedByAutonomousLinux() *bool

GetIsManagedByAutonomousLinux returns IsManagedByAutonomousLinux

func (SoftwareUpdateEvent) GetLifecycleDetails ¶ added in v65.64.0

func (m SoftwareUpdateEvent) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (SoftwareUpdateEvent) GetLifecycleState ¶ added in v65.64.0

func (m SoftwareUpdateEvent) GetLifecycleState() EventLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (SoftwareUpdateEvent) GetResourceId ¶ added in v65.64.0

func (m SoftwareUpdateEvent) GetResourceId() *string

GetResourceId returns ResourceId

func (SoftwareUpdateEvent) GetSystemDetails ¶ added in v65.64.0

func (m SoftwareUpdateEvent) GetSystemDetails() *SystemDetails

GetSystemDetails returns SystemDetails

func (SoftwareUpdateEvent) GetSystemTags ¶ added in v65.64.0

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

GetSystemTags returns SystemTags

func (SoftwareUpdateEvent) GetTimeCreated ¶ added in v65.64.0

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

GetTimeCreated returns TimeCreated

func (SoftwareUpdateEvent) GetTimeOccurred ¶ added in v65.64.0

func (m SoftwareUpdateEvent) GetTimeOccurred() *common.SDKTime

GetTimeOccurred returns TimeOccurred

func (SoftwareUpdateEvent) GetTimeUpdated ¶ added in v65.64.0

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

GetTimeUpdated returns TimeUpdated

func (SoftwareUpdateEvent) MarshalJSON ¶ added in v65.64.0

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

MarshalJSON marshals to json representation

func (SoftwareUpdateEvent) String ¶ added in v65.64.0

func (m SoftwareUpdateEvent) String() string

func (SoftwareUpdateEvent) ValidateEnumValue ¶ added in v65.64.0

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

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

type SoftwareUpdateEventData ¶ added in v65.64.0

type SoftwareUpdateEventData struct {

	// Type of software update operation.
	OperationType SoftwareUpdateEventDataOperationTypeEnum `mandatory:"true" json:"operationType"`

	// Status of the software update.
	Status EventStatusEnum `mandatory:"true" json:"status"`

	AdditionalDetails *WorkRequestEventDataAdditionalDetails `mandatory:"false" json:"additionalDetails"`
}

SoftwareUpdateEventData Provides additional information for a software update event.

func (SoftwareUpdateEventData) String ¶ added in v65.64.0

func (m SoftwareUpdateEventData) String() string

func (SoftwareUpdateEventData) ValidateEnumValue ¶ added in v65.64.0

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

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

type SoftwareUpdateEventDataOperationTypeEnum ¶ added in v65.64.0

type SoftwareUpdateEventDataOperationTypeEnum string

SoftwareUpdateEventDataOperationTypeEnum Enum with underlying type: string

const (
	SoftwareUpdateEventDataOperationTypeUpdateAllPackages SoftwareUpdateEventDataOperationTypeEnum = "UPDATE_ALL_PACKAGES"
	SoftwareUpdateEventDataOperationTypeInstallPackages   SoftwareUpdateEventDataOperationTypeEnum = "INSTALL_PACKAGES"
	SoftwareUpdateEventDataOperationTypeRemovePackages    SoftwareUpdateEventDataOperationTypeEnum = "REMOVE_PACKAGES"
	SoftwareUpdateEventDataOperationTypeUpdatePackages    SoftwareUpdateEventDataOperationTypeEnum = "UPDATE_PACKAGES"
	SoftwareUpdateEventDataOperationTypeUpdateSecurity    SoftwareUpdateEventDataOperationTypeEnum = "UPDATE_SECURITY"
	SoftwareUpdateEventDataOperationTypeUpdateBugfix      SoftwareUpdateEventDataOperationTypeEnum = "UPDATE_BUGFIX"
	SoftwareUpdateEventDataOperationTypeUpdateEnhancement SoftwareUpdateEventDataOperationTypeEnum = "UPDATE_ENHANCEMENT"
	SoftwareUpdateEventDataOperationTypeUpdateOther       SoftwareUpdateEventDataOperationTypeEnum = "UPDATE_OTHER"
)

Set of constants representing the allowable values for SoftwareUpdateEventDataOperationTypeEnum

func GetMappingSoftwareUpdateEventDataOperationTypeEnum ¶ added in v65.64.0

func GetMappingSoftwareUpdateEventDataOperationTypeEnum(val string) (SoftwareUpdateEventDataOperationTypeEnum, bool)

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

func GetSoftwareUpdateEventDataOperationTypeEnumValues ¶ added in v65.64.0

func GetSoftwareUpdateEventDataOperationTypeEnumValues() []SoftwareUpdateEventDataOperationTypeEnum

GetSoftwareUpdateEventDataOperationTypeEnumValues Enumerates the set of values for SoftwareUpdateEventDataOperationTypeEnum

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 StationHealth ¶ added in v65.64.0

type StationHealth struct {

	// Overall health status of the management station.
	State HealthStateEnum `mandatory:"true" json:"state"`

	// Explanation of the health status.
	Description *string `mandatory:"false" json:"description"`
}

StationHealth Overall health information of the management station.

func (StationHealth) String ¶ added in v65.64.0

func (m StationHealth) String() string

func (StationHealth) ValidateEnumValue ¶ added in v65.64.0

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

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

type StationProfile ¶

type StationProfile struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name for the profile.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The description of the registration profile.
	Description *string `mandatory:"false" json:"description"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
	ManagementStationId *string `mandatory:"false" json:"managementStationId"`

	// The time the registration profile was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
	IsDefaultProfile *bool `mandatory:"false" json:"isDefaultProfile"`

	// Indicates if the profile was created by the service. OS Management Hub provides a limited set of standardized profiles that can be used to register Autonomous Linux or Windows instances.
	IsServiceProvidedProfile *bool `mandatory:"false" json:"isServiceProvidedProfile"`

	// 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 vendor of the operating system for the instance.
	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"`

	// The type of instance to register.
	RegistrationType ProfileRegistrationTypeEnum `mandatory:"false" json:"registrationType,omitempty"`
}

StationProfile Provides the information for a management station registration profile. A management station profile can only be used by a single management 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) GetIsDefaultProfile ¶ added in v65.64.0

func (m StationProfile) GetIsDefaultProfile() *bool

GetIsDefaultProfile returns IsDefaultProfile

func (StationProfile) GetIsServiceProvidedProfile ¶ added in v65.64.0

func (m StationProfile) GetIsServiceProvidedProfile() *bool

GetIsServiceProvidedProfile returns IsServiceProvidedProfile

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) GetRegistrationType ¶ added in v65.64.0

func (m StationProfile) GetRegistrationType() ProfileRegistrationTypeEnum

GetRegistrationType returns RegistrationType

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	// This filter returns only resources contained within the specified compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group. This filter returns resources associated with this group.
	ManagedInstanceGroupId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceGroupId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle environment. This filter returns only resource contained with the specified lifecycle environment.
	LifecycleEnvironmentId *string `mandatory:"false" contributesTo:"query" name:"lifecycleEnvironmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage. This resource returns resources associated with this lifecycle stage.
	LifecycleStageId *string `mandatory:"false" contributesTo:"query" name:"lifecycleStageId"`

	// A filter to return only managed instances whose status matches the status provided.
	Status []ManagedInstanceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only resources whose location matches the given value.
	Location []ManagedInstanceLocationEnum `contributesTo:"query" name:"location" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only resources whose location does not match the given value.
	LocationNotEqualTo []ManagedInstanceLocationEnum `contributesTo:"query" name:"locationNotEqualTo" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only resources that match the given operating system family.
	OsFamily []OsFamilyEnum `contributesTo:"query" name:"osFamily" omitEmpty:"true" collectionFormat:"multi"`

	// Indicates whether to list only resources managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" contributesTo:"query" name:"isManagedByAutonomousLinux"`

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

	// The field to sort by. Only one sort order may be provided. The default is to sort in ascending order by metricName (previously name, which is now depricated).
	// You can also sort by displayName (default is ascending order).
	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"
	SummarizeManagedInstanceAnalyticsSortByMetricname  SummarizeManagedInstanceAnalyticsSortByEnum = "metricName"
	SummarizeManagedInstanceAnalyticsSortByDisplayname SummarizeManagedInstanceAnalyticsSortByEnum = "displayName"
)

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source that contains the module stream.
	SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"`

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

SwitchModuleStreamOnManagedInstanceDetails Provides the information used to switch module streams 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 SwitchModuleStreamOnManagedInstanceGroupDetails ¶ added in v65.64.0

type SwitchModuleStreamOnManagedInstanceGroupDetails struct {

	// The name of the module.
	ModuleName *string `mandatory:"true" json:"moduleName"`

	// The name of a stream of the specified module.
	StreamName *string `mandatory:"true" json:"streamName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source that provides the module stream
	SoftwareSourceId *string `mandatory:"false" json:"softwareSourceId"`

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

SwitchModuleStreamOnManagedInstanceGroupDetails Provides the details for switching module streams on the managed instance group.

func (SwitchModuleStreamOnManagedInstanceGroupDetails) String ¶ added in v65.64.0

func (SwitchModuleStreamOnManagedInstanceGroupDetails) ValidateEnumValue ¶ added in v65.64.0

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

type SwitchModuleStreamOnManagedInstanceGroupRequest ¶ added in v65.64.0

type SwitchModuleStreamOnManagedInstanceGroupRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// Provides the details used to switch module streams on a managed instance group.
	SwitchModuleStreamOnManagedInstanceGroupDetails `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
}

SwitchModuleStreamOnManagedInstanceGroupRequest wrapper for the SwitchModuleStreamOnManagedInstanceGroup operation

See also ¶

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

func (SwitchModuleStreamOnManagedInstanceGroupRequest) BinaryRequestBody ¶ added in v65.64.0

BinaryRequestBody implements the OCIRequest interface

func (SwitchModuleStreamOnManagedInstanceGroupRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (SwitchModuleStreamOnManagedInstanceGroupRequest) RetryPolicy ¶ added in v65.64.0

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

func (SwitchModuleStreamOnManagedInstanceGroupRequest) String ¶ added in v65.64.0

func (SwitchModuleStreamOnManagedInstanceGroupRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type SwitchModuleStreamOnManagedInstanceGroupResponse ¶ added in v65.64.0

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

SwitchModuleStreamOnManagedInstanceGroupResponse wrapper for the SwitchModuleStreamOnManagedInstanceGroup operation

func (SwitchModuleStreamOnManagedInstanceGroupResponse) HTTPResponse ¶ added in v65.64.0

HTTPResponse implements the OCIResponse interface

func (SwitchModuleStreamOnManagedInstanceGroupResponse) String ¶ added in v65.64.0

type SwitchModuleStreamOnManagedInstanceRequest ¶

type SwitchModuleStreamOnManagedInstanceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 SystemDetails ¶ added in v65.64.0

type SystemDetails struct {

	// Architecture type.
	Architecture ArchTypeEnum `mandatory:"true" json:"architecture"`

	// Operating system type.
	OsFamily OsFamilyEnum `mandatory:"true" json:"osFamily"`

	// Name of the operating system.
	OsName *string `mandatory:"true" json:"osName"`

	// Version of the operating system.
	OsSystemVersion *string `mandatory:"true" json:"osSystemVersion"`

	// Version of the Ksplice effective kernel.
	KspliceEffectiveKernelVersion *string `mandatory:"false" json:"kspliceEffectiveKernelVersion"`

	// Release of the kernel.
	OsKernelRelease *string `mandatory:"false" json:"osKernelRelease"`

	// Version of the kernel.
	OsKernelVersion *string `mandatory:"false" json:"osKernelVersion"`
}

SystemDetails Provides information about the system architecture and operating system.

func (SystemDetails) String ¶ added in v65.64.0

func (m SystemDetails) String() string

func (SystemDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

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 UpdatableAutonomousSettings ¶ added in v65.64.0

type UpdatableAutonomousSettings struct {

	// Indicates whether Autonomous Linux will collect crash files.
	IsDataCollectionAuthorized *bool `mandatory:"false" json:"isDataCollectionAuthorized"`
}

UpdatableAutonomousSettings Updatable settings for the Autonomous Linux service.

func (UpdatableAutonomousSettings) String ¶ added in v65.64.0

func (UpdatableAutonomousSettings) ValidateEnumValue ¶ added in v65.64.0

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

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

type UpdatablePackageCollection ¶

type UpdatablePackageCollection struct {

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

UpdatablePackageCollection The set of packages returned for the ListManagedInstanceUpdatablePackages operation.

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 the package that is currently installed on the instance.
	InstalledVersion *string `mandatory:"false" json:"installedVersion"`

	// List of errata applicable to 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 type of update.
	UpdateType ClassificationTypesEnum `mandatory:"true" json:"updateType"`
}

UpdatablePackageSummary Provides summary information for a software package available for installation 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 Provides the details for updating the packages on the managed instance.

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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The types of updates to be applied.
	UpdateTypes []UpdateTypesEnum `mandatory:"false" json:"updateTypes,omitempty"`

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

UpdateAllPackagesOnManagedInstancesInCompartmentDetails Provides the information used to update all packages of a specified type on managed instances within the specified compartment.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

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

	// User-specified description of 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 that are used for the basis of the custom software source.
	VendorSoftwareSources []Id `mandatory:"false" json:"vendorSoftwareSources"`

	CustomSoftwareSourceFilter *CustomSoftwareSourceFilter `mandatory:"false" json:"customSoftwareSourceFilter"`

	// Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
	IsAutomaticallyUpdated *bool `mandatory:"false" json:"isAutomaticallyUpdated"`

	// Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
	IsAutoResolveDependencies *bool `mandatory:"false" json:"isAutoResolveDependencies"`
}

UpdateCustomSoftwareSourceDetails Provides the information used to update a custom 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 UpdateEventDetails ¶ added in v65.64.0

type UpdateEventDetails struct {

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

UpdateEventDetails Provides the information for updating the tags of an event for the UpdateEvent operation.

func (UpdateEventDetails) String ¶ added in v65.64.0

func (m UpdateEventDetails) String() string

func (UpdateEventDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type UpdateEventRequest ¶ added in v65.64.0

type UpdateEventRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
	EventId *string `mandatory:"true" contributesTo:"path" name:"eventId"`

	// Provides the information used to update the event tags.
	UpdateEventDetails `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
}

UpdateEventRequest wrapper for the UpdateEvent operation

See also ¶

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

func (UpdateEventRequest) BinaryRequestBody ¶ added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateEventRequest) HTTPRequest ¶ added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (UpdateEventRequest) RetryPolicy ¶ added in v65.64.0

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

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

func (UpdateEventRequest) String ¶ added in v65.64.0

func (request UpdateEventRequest) String() string

func (UpdateEventRequest) ValidateEnumValue ¶ added in v65.64.0

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

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

type UpdateEventResponse ¶ added in v65.64.0

type UpdateEventResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

UpdateEventResponse wrapper for the UpdateEvent operation

func (UpdateEventResponse) HTTPResponse ¶ added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (UpdateEventResponse) String ¶ added in v65.64.0

func (response UpdateEventResponse) String() string

type UpdateLifecycleEnvironmentDetails ¶

type UpdateLifecycleEnvironmentDetails struct {

	// A user-friendly name for the lifecycle environment. Does not have to be unique. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// User-specified list of lifecycle stages used within the lifecycle environment. 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 Provides the information used to update the lifecycle environment.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name for the lifecycle stage. Does not have to be unique. 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 Provides the information used to update the lifecycle stage.

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 {

	// User-specified description of the managed instance. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station for the instance to use as primary management station.
	PrimaryManagementStationId *string `mandatory:"false" json:"primaryManagementStationId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station for the instance to use as secondary management station.
	SecondaryManagementStationId *string `mandatory:"false" json:"secondaryManagementStationId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
	NotificationTopicId *string `mandatory:"false" json:"notificationTopicId"`

	AutonomousSettings *UpdatableAutonomousSettings `mandatory:"false" json:"autonomousSettings"`
}

UpdateManagedInstanceDetails Provides the information used to update a managed instance.

func (UpdateManagedInstanceDetails) String ¶

func (UpdateManagedInstanceDetails) ValidateEnumValue ¶

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

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

type UpdateManagedInstanceGroupDetails ¶

type UpdateManagedInstanceGroupDetails struct {

	// A user-friendly name for the managed instance group. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// User-specified description of the managed instance group. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
	NotificationTopicId *string `mandatory:"false" json:"notificationTopicId"`

	AutonomousSettings *UpdatableAutonomousSettings `mandatory:"false" json:"autonomousSettings"`

	// 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 Provides the information used to update the managed instance group.

func (UpdateManagedInstanceGroupDetails) String ¶

func (UpdateManagedInstanceGroupDetails) ValidateEnumValue ¶

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

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

type UpdateManagedInstanceGroupRequest ¶

type UpdateManagedInstanceGroupRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group.
	ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"`

	// Provides the details used to update the managed instance group.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 {

	// User-friendly name for the management station. Does not have to be unique. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// User-specified description of the management station. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// Hostname of the management station.
	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 Provides the information used to update the management station.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
	ManagementStationId *string `mandatory:"true" contributesTo:"path" name:"managementStationId"`

	// The information used to update the management station.
	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 {

	// Path to the data volume on the management station where software source mirrors are stored.
	Directory *string `mandatory:"true" json:"directory"`

	// Default mirror listening port for http.
	Port *string `mandatory:"true" json:"port"`

	// Default mirror listening port for https.
	Sslport *string `mandatory:"true" json:"sslport"`

	// Path to the SSL cerfificate.
	Sslcert *string `mandatory:"false" json:"sslcert"`
}

UpdateMirrorConfigurationDetails Provides the information used to update the mirror configuration for a management station.

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 types of updates to be applied.
	UpdateTypes []UpdateTypesEnum `mandatory:"false" json:"updateTypes,omitempty"`

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

UpdatePackagesOnManagedInstanceDetails Provides the information used to update software packages on a managed instance.

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 for the profile. Does not have to be unique. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// User-specified description of the profile.
	Description *string `mandatory:"false" json:"description"`

	// Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
	IsDefaultProfile *bool `mandatory:"false" json:"isDefaultProfile"`

	// 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 {

	// Indicates if the proxy should be enabled or disabled. Default is enabled.
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// List of hosts.
	Hosts []string `mandatory:"false" json:"hosts"`

	// Listening port used for the proxy.
	Port *string `mandatory:"false" json:"port"`

	// The URL the proxy will forward to.
	Forward *string `mandatory:"false" json:"forward"`
}

UpdateProxyConfigurationDetails Provides the information used to update the proxy configuration for a management station.

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 {

	// User-friendly name for the scheduled job. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// User-specified description for the scheduled job. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// The type of scheduling frequency for the job.
	ScheduleType ScheduleTypesEnum `mandatory:"false" json:"scheduleType,omitempty"`

	// The desired time of the next execution of this scheduled job (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeNextExecution *common.SDKTime `mandatory:"false" json:"timeNextExecution"`

	// The frequency schedule for a recurring scheduled job.
	RecurringRule *string `mandatory:"false" json:"recurringRule"`

	// The list of operations this scheduled job needs to perform.
	// A scheduled job supports only one operation type, unless it is one of the following:
	// * 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"`

	// The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically
	// retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the
	// initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service
	// waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
	RetryIntervals []int `mandatory:"false" json:"retryIntervals"`
}

UpdateScheduledJobDetails Provides the information used to update 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled job.
	ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"`

	// Provides the information used to update the job.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
	GetCompartmentId() *string

	// User-friendly name for the software source.
	GetDisplayName() *string

	// User-specified description of 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 Provides the information used to update a software source.

type UpdateSoftwareSourceRequest ¶

type UpdateSoftwareSourceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

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

	// User-specified description of 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 Provides the information for updating the tags of a vendor software source.

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 UpdateVersionedCustomSoftwareSourceDetails ¶ added in v65.64.0

type UpdateVersionedCustomSoftwareSourceDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

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

	// User-specified description of 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"`
}

UpdateVersionedCustomSoftwareSourceDetails Provides the information used to update a versioned custom software source.

func (UpdateVersionedCustomSoftwareSourceDetails) GetCompartmentId ¶ added in v65.64.0

func (m UpdateVersionedCustomSoftwareSourceDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (UpdateVersionedCustomSoftwareSourceDetails) GetDefinedTags ¶ added in v65.64.0

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

GetDefinedTags returns DefinedTags

func (UpdateVersionedCustomSoftwareSourceDetails) GetDescription ¶ added in v65.64.0

GetDescription returns Description

func (UpdateVersionedCustomSoftwareSourceDetails) GetDisplayName ¶ added in v65.64.0

GetDisplayName returns DisplayName

func (UpdateVersionedCustomSoftwareSourceDetails) GetFreeformTags ¶ added in v65.64.0

GetFreeformTags returns FreeformTags

func (UpdateVersionedCustomSoftwareSourceDetails) MarshalJSON ¶ added in v65.64.0

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

MarshalJSON marshals to json representation

func (UpdateVersionedCustomSoftwareSourceDetails) String ¶ added in v65.64.0

func (UpdateVersionedCustomSoftwareSourceDetails) ValidateEnumValue ¶ added in v65.64.0

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

ValidateEnumValue returns an error 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 Provides the information used to update 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"
	VendorNameMicrosoft VendorNameEnum = "MICROSOFT"
)

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 {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains 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 (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The repository ID for the software source.
	RepoId *string `mandatory:"true" json:"repoId"`

	// URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/<repoId>'.
	Url *string `mandatory:"true" json:"url"`

	// User-specified description for the software source.
	Description *string `mandatory:"false" json:"description"`

	// Number of packages the software source contains.
	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"`

	// The size of the software source in gigabytes (GB).
	Size *float64 `mandatory:"false" json:"size"`

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

	// This property applies only to replicated vendor software sources. This is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vendor software source in the root compartment.
	OriginSoftwareSourceId *string `mandatory:"false" json:"originSoftwareSourceId"`

	// Indicates whether the software source is required for the Autonomous Linux service.
	IsMandatoryForAutonomousLinux *bool `mandatory:"false" json:"isMandatoryForAutonomousLinux"`

	// Availability of the software source (for non-OCI environments).
	Availability AvailabilityEnum `mandatory:"true" json:"availability"`

	// Availability of the software source (for OCI environments).
	AvailabilityAtOci AvailabilityEnum `mandatory:"true" json:"availabilityAtOci"`

	// 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 The object that defines a vendor software source. A software source is a collection of packages. For more information, see Managing Software Sources (https://docs.cloud.oracle.com/iaas/osmh/doc/software-sources.htm).

func (VendorSoftwareSource) GetArchType ¶

func (m VendorSoftwareSource) GetArchType() ArchTypeEnum

GetArchType returns ArchType

func (VendorSoftwareSource) GetAvailability ¶

func (m VendorSoftwareSource) GetAvailability() AvailabilityEnum

GetAvailability returns Availability

func (VendorSoftwareSource) GetAvailabilityAtOci ¶ added in v65.64.0

func (m VendorSoftwareSource) GetAvailabilityAtOci() AvailabilityEnum

GetAvailabilityAtOci returns AvailabilityAtOci

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) GetSize ¶ added in v65.64.0

func (m VendorSoftwareSource) GetSize() *float64

GetSize returns Size

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

	// The repository ID for the software source.
	RepoId *string `mandatory:"true" json:"repoId"`

	// URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/<repoId>'.
	Url *string `mandatory:"true" json:"url"`

	// The date and time the software source was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the software source was updated (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// Description of the software source. For custom software sources, this is user-specified.
	Description *string `mandatory:"false" json:"description"`

	// Number of packages the software source contains.
	PackageCount *int64 `mandatory:"false" json:"packageCount"`

	// The size of the software source in gigabytes (GB).
	Size *float64 `mandatory:"false" json:"size"`

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

	// Indicates whether the software source is required for the Autonomous Linux service.
	IsMandatoryForAutonomousLinux *bool `mandatory:"false" json:"isMandatoryForAutonomousLinux"`

	// The current state of the software source.
	LifecycleState SoftwareSourceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Availability of the software source (for non-OCI environments).
	Availability AvailabilityEnum `mandatory:"true" json:"availability"`

	// Availability of the software source (for OCI environments).
	AvailabilityAtOci AvailabilityEnum `mandatory:"true" json:"availabilityAtOci"`

	// 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 Provides summary information for 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) GetAvailabilityAtOci ¶ added in v65.64.0

func (m VendorSoftwareSourceSummary) GetAvailabilityAtOci() AvailabilityEnum

GetAvailabilityAtOci returns AvailabilityAtOci

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) GetSize ¶ added in v65.64.0

func (m VendorSoftwareSourceSummary) GetSize() *float64

GetSize returns Size

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 {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains 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 (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The repository ID for the software source.
	RepoId *string `mandatory:"true" json:"repoId"`

	// URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/<repoId>'.
	Url *string `mandatory:"true" json:"url"`

	// List of vendor software sources that are used for the basis of the versioned custom software source.
	VendorSoftwareSources []Id `mandatory:"true" json:"vendorSoftwareSources"`

	// The version to assign to this custom software source.
	SoftwareSourceVersion *string `mandatory:"true" json:"softwareSourceVersion"`

	// User-specified description for the software source.
	Description *string `mandatory:"false" json:"description"`

	// Number of packages the software source contains.
	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"`

	// The size of the software source in gigabytes (GB).
	Size *float64 `mandatory:"false" json:"size"`

	// 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 the service should automatically resolve package dependencies when including specific packages in the software source.
	IsAutoResolveDependencies *bool `mandatory:"false" json:"isAutoResolveDependencies"`

	// Indicates whether the service should create the software source from a list of packages provided by the user.
	IsCreatedFromPackageList *bool `mandatory:"false" json:"isCreatedFromPackageList"`

	// The packages in the software source.
	Packages []string `mandatory:"false" json:"packages"`

	// Availability of the software source (for non-OCI environments).
	Availability AvailabilityEnum `mandatory:"true" json:"availability"`

	// Availability of the software source (for OCI environments).
	AvailabilityAtOci AvailabilityEnum `mandatory:"true" json:"availabilityAtOci"`

	// 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 The object that defines a versioned custom software source.

func (VersionedCustomSoftwareSource) GetArchType ¶

GetArchType returns ArchType

func (VersionedCustomSoftwareSource) GetAvailability ¶

func (m VersionedCustomSoftwareSource) GetAvailability() AvailabilityEnum

GetAvailability returns Availability

func (VersionedCustomSoftwareSource) GetAvailabilityAtOci ¶ added in v65.64.0

func (m VersionedCustomSoftwareSource) GetAvailabilityAtOci() AvailabilityEnum

GetAvailabilityAtOci returns AvailabilityAtOci

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) GetSize ¶ added in v65.64.0

GetSize returns Size

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

	// The repository ID for the software source.
	RepoId *string `mandatory:"true" json:"repoId"`

	// URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/<repoId>'.
	Url *string `mandatory:"true" json:"url"`

	// The date and time the software source was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the software source was updated (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// List of vendor software sources that are used for the basis of the versioned custom software source.
	VendorSoftwareSources []Id `mandatory:"true" json:"vendorSoftwareSources"`

	// The version to assign to this custom software source.
	SoftwareSourceVersion *string `mandatory:"true" json:"softwareSourceVersion"`

	// Description of the software source. For custom software sources, this is user-specified.
	Description *string `mandatory:"false" json:"description"`

	// Number of packages the software source contains.
	PackageCount *int64 `mandatory:"false" json:"packageCount"`

	// The size of the software source in gigabytes (GB).
	Size *float64 `mandatory:"false" json:"size"`

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

	// Availability of the software source (for non-OCI environments).
	Availability AvailabilityEnum `mandatory:"true" json:"availability"`

	// Availability of the software source (for OCI environments).
	AvailabilityAtOci AvailabilityEnum `mandatory:"true" json:"availabilityAtOci"`

	// 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 Provides summary information for a versioned custom software source.

func (VersionedCustomSoftwareSourceSummary) GetArchType ¶

GetArchType returns ArchType

func (VersionedCustomSoftwareSourceSummary) GetAvailability ¶

GetAvailability returns Availability

func (VersionedCustomSoftwareSourceSummary) GetAvailabilityAtOci ¶ added in v65.64.0

func (m VersionedCustomSoftwareSourceSummary) GetAvailabilityAtOci() AvailabilityEnum

GetAvailabilityAtOci returns AvailabilityAtOci

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) GetSize ¶ added in v65.64.0

GetSize returns Size

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 VmcoreDetails ¶ added in v65.64.0

type VmcoreDetails struct {

	// Kernel vmcore backtrace.
	Backtrace *string `mandatory:"true" json:"backtrace"`

	// Kernel vmcore component.
	Component *string `mandatory:"true" json:"component"`
}

VmcoreDetails Kernel event vmcore details

func (VmcoreDetails) String ¶ added in v65.64.0

func (m VmcoreDetails) String() string

func (VmcoreDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type VulnerabilityTypesEnum ¶ added in v65.64.0

type VulnerabilityTypesEnum string

VulnerabilityTypesEnum Enum with underlying type: string

const (
	VulnerabilityTypesSecurity    VulnerabilityTypesEnum = "SECURITY"
	VulnerabilityTypesBugfix      VulnerabilityTypesEnum = "BUGFIX"
	VulnerabilityTypesEnhancement VulnerabilityTypesEnum = "ENHANCEMENT"
	VulnerabilityTypesOther       VulnerabilityTypesEnum = "OTHER"
	VulnerabilityTypesAll         VulnerabilityTypesEnum = "ALL"
)

Set of constants representing the allowable values for VulnerabilityTypesEnum

func GetMappingVulnerabilityTypesEnum ¶ added in v65.64.0

func GetMappingVulnerabilityTypesEnum(val string) (VulnerabilityTypesEnum, bool)

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

func GetVulnerabilityTypesEnumValues ¶ added in v65.64.0

func GetVulnerabilityTypesEnumValues() []VulnerabilityTypesEnum

GetVulnerabilityTypesEnumValues Enumerates the set of values for VulnerabilityTypesEnum

type WindowsStandaloneProfile ¶ added in v65.64.0

type WindowsStandaloneProfile struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name for the profile.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The description of the registration profile.
	Description *string `mandatory:"false" json:"description"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
	ManagementStationId *string `mandatory:"false" json:"managementStationId"`

	// The time the registration profile was created (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
	IsDefaultProfile *bool `mandatory:"false" json:"isDefaultProfile"`

	// Indicates if the profile was created by the service. OS Management Hub provides a limited set of standardized profiles that can be used to register Autonomous Linux or Windows instances.
	IsServiceProvidedProfile *bool `mandatory:"false" json:"isServiceProvidedProfile"`

	// 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 vendor of the operating system for the instance.
	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"`

	// The type of instance to register.
	RegistrationType ProfileRegistrationTypeEnum `mandatory:"false" json:"registrationType,omitempty"`
}

WindowsStandaloneProfile Provides the information for a windows standalone registration profile.

func (WindowsStandaloneProfile) GetArchType ¶ added in v65.64.0

func (m WindowsStandaloneProfile) GetArchType() ArchTypeEnum

GetArchType returns ArchType

func (WindowsStandaloneProfile) GetCompartmentId ¶ added in v65.64.0

func (m WindowsStandaloneProfile) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (WindowsStandaloneProfile) GetDefinedTags ¶ added in v65.64.0

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

GetDefinedTags returns DefinedTags

func (WindowsStandaloneProfile) GetDescription ¶ added in v65.64.0

func (m WindowsStandaloneProfile) GetDescription() *string

GetDescription returns Description

func (WindowsStandaloneProfile) GetDisplayName ¶ added in v65.64.0

func (m WindowsStandaloneProfile) GetDisplayName() *string

GetDisplayName returns DisplayName

func (WindowsStandaloneProfile) GetFreeformTags ¶ added in v65.64.0

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

GetFreeformTags returns FreeformTags

func (WindowsStandaloneProfile) GetId ¶ added in v65.64.0

func (m WindowsStandaloneProfile) GetId() *string

GetId returns Id

func (WindowsStandaloneProfile) GetIsDefaultProfile ¶ added in v65.64.0

func (m WindowsStandaloneProfile) GetIsDefaultProfile() *bool

GetIsDefaultProfile returns IsDefaultProfile

func (WindowsStandaloneProfile) GetIsServiceProvidedProfile ¶ added in v65.64.0

func (m WindowsStandaloneProfile) GetIsServiceProvidedProfile() *bool

GetIsServiceProvidedProfile returns IsServiceProvidedProfile

func (WindowsStandaloneProfile) GetLifecycleState ¶ added in v65.64.0

GetLifecycleState returns LifecycleState

func (WindowsStandaloneProfile) GetManagementStationId ¶ added in v65.64.0

func (m WindowsStandaloneProfile) GetManagementStationId() *string

GetManagementStationId returns ManagementStationId

func (WindowsStandaloneProfile) GetOsFamily ¶ added in v65.64.0

func (m WindowsStandaloneProfile) GetOsFamily() OsFamilyEnum

GetOsFamily returns OsFamily

func (WindowsStandaloneProfile) GetRegistrationType ¶ added in v65.64.0

func (m WindowsStandaloneProfile) GetRegistrationType() ProfileRegistrationTypeEnum

GetRegistrationType returns RegistrationType

func (WindowsStandaloneProfile) GetSystemTags ¶ added in v65.64.0

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

GetSystemTags returns SystemTags

func (WindowsStandaloneProfile) GetTimeCreated ¶ added in v65.64.0

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

GetTimeCreated returns TimeCreated

func (WindowsStandaloneProfile) GetVendorName ¶ added in v65.64.0

func (m WindowsStandaloneProfile) GetVendorName() VendorNameEnum

GetVendorName returns VendorName

func (WindowsStandaloneProfile) MarshalJSON ¶ added in v65.64.0

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

MarshalJSON marshals to json representation

func (WindowsStandaloneProfile) String ¶ added in v65.64.0

func (m WindowsStandaloneProfile) String() string

func (WindowsStandaloneProfile) ValidateEnumValue ¶ added in v65.64.0

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

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

type WindowsUpdate ¶ added in v65.64.0

type WindowsUpdate struct {

	// Name of the Windows update.
	Name *string `mandatory:"true" json:"name"`

	// Unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft.
	// Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
	UpdateId *string `mandatory:"true" json:"updateId"`

	// The type of Windows update.
	UpdateType ClassificationTypesEnum `mandatory:"true" json:"updateType"`

	// Description of the update.
	Description *string `mandatory:"false" json:"description"`

	// size of the package in bytes
	SizeInBytes *int64 `mandatory:"false" json:"sizeInBytes"`

	// Indicates whether the update can be installed using the service.
	Installable WindowsUpdateInstallableEnum `mandatory:"false" json:"installable,omitempty"`

	// List of requirements for installing the update on the managed instance.
	InstallationRequirements []InstallationRequirementsEnum `mandatory:"false" json:"installationRequirements"`

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

	// List of the Microsoft Knowledge Base Article Ids related to this Windows Update.
	KbArticleIds []string `mandatory:"false" json:"kbArticleIds"`
}

WindowsUpdate An object that provides information about an update for a Windows instance.

func (WindowsUpdate) String ¶ added in v65.64.0

func (m WindowsUpdate) String() string

func (WindowsUpdate) ValidateEnumValue ¶ added in v65.64.0

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

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

type WindowsUpdateCollection ¶ added in v65.64.0

type WindowsUpdateCollection struct {

	// List of Windows updates.
	Items []WindowsUpdateSummary `mandatory:"true" json:"items"`
}

WindowsUpdateCollection A set of Windows updates returned for the ListWindowsUpdates operation. The list contains a summary of each update.

func (WindowsUpdateCollection) String ¶ added in v65.64.0

func (m WindowsUpdateCollection) String() string

func (WindowsUpdateCollection) ValidateEnumValue ¶ added in v65.64.0

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

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

type WindowsUpdateInstallableEnum ¶ added in v65.64.0

type WindowsUpdateInstallableEnum string

WindowsUpdateInstallableEnum Enum with underlying type: string

const (
	WindowsUpdateInstallableInstallable    WindowsUpdateInstallableEnum = "INSTALLABLE"
	WindowsUpdateInstallableNotInstallable WindowsUpdateInstallableEnum = "NOT_INSTALLABLE"
)

Set of constants representing the allowable values for WindowsUpdateInstallableEnum

func GetMappingWindowsUpdateInstallableEnum ¶ added in v65.64.0

func GetMappingWindowsUpdateInstallableEnum(val string) (WindowsUpdateInstallableEnum, bool)

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

func GetWindowsUpdateInstallableEnumValues ¶ added in v65.64.0

func GetWindowsUpdateInstallableEnumValues() []WindowsUpdateInstallableEnum

GetWindowsUpdateInstallableEnumValues Enumerates the set of values for WindowsUpdateInstallableEnum

type WindowsUpdateSummary ¶ added in v65.64.0

type WindowsUpdateSummary struct {

	// Name of the Windows update.
	Name *string `mandatory:"true" json:"name"`

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

	// The type of Windows update.
	UpdateType ClassificationTypesEnum `mandatory:"true" json:"updateType"`

	// Indicates whether the update can be installed using the service.
	Installable WindowsUpdateInstallableEnum `mandatory:"false" json:"installable,omitempty"`

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

WindowsUpdateSummary Provides summary information about an update for a Windows instance.

func (WindowsUpdateSummary) String ¶ added in v65.64.0

func (m WindowsUpdateSummary) String() string

func (WindowsUpdateSummary) ValidateEnumValue ¶ added in v65.64.0

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

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

type WindowsUpdateTypesEnum ¶ added in v65.64.0

type WindowsUpdateTypesEnum string

WindowsUpdateTypesEnum Enum with underlying type: string

const (
	WindowsUpdateTypesSecurity    WindowsUpdateTypesEnum = "SECURITY"
	WindowsUpdateTypesBugfix      WindowsUpdateTypesEnum = "BUGFIX"
	WindowsUpdateTypesEnhancement WindowsUpdateTypesEnum = "ENHANCEMENT"
	WindowsUpdateTypesOther       WindowsUpdateTypesEnum = "OTHER"
	WindowsUpdateTypesAll         WindowsUpdateTypesEnum = "ALL"
)

Set of constants representing the allowable values for WindowsUpdateTypesEnum

func GetMappingWindowsUpdateTypesEnum ¶ added in v65.64.0

func GetMappingWindowsUpdateTypesEnum(val string) (WindowsUpdateTypesEnum, bool)

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

func GetWindowsUpdateTypesEnumValues ¶ added in v65.64.0

func GetWindowsUpdateTypesEnumValues() []WindowsUpdateTypesEnum

GetWindowsUpdateTypesEnumValues Enumerates the set of values for WindowsUpdateTypesEnum

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 the different compartments, the services selects the compartment of the primary resource.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The list of OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	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, or removed.
	PackageNames []string `mandatory:"false" json:"packageNames"`

	// The UUIDs of the target Windows update (only used when operation type is INSTALL_WINDOWS_UPDATES).
	WindowsUpdateNames []string `mandatory:"false" json:"windowsUpdateNames"`

	// The list of appstream modules being operated on.
	ModuleSpecs []ModuleSpecDetails `mandatory:"false" json:"moduleSpecs"`

	// The date and time the work request started (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The date and time the work request started (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the work request completed (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that initiated the work request.
	InitiatorId *string `mandatory:"false" json:"initiatorId"`

	ManagementStation *WorkRequestManagementStationDetails `mandatory:"false" json:"managementStation"`

	// The scheduled date and time to retry the work request (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeScheduled *common.SDKTime `mandatory:"false" json:"timeScheduled"`

	// The location of the bundle in the filesystem of the resource associated to this work request.
	ContentLocation *string `mandatory:"false" json:"contentLocation"`

	// The event id of the content. This property is required when the work request type is IMPORT_CONTENT or REMOVE_CONTENT.
	EventId *string `mandatory:"false" json:"eventId"`

	// The EventFingerprint associated with the content. This property is required when the work request type is IMPORT_CONTENT or REMOVE_CONTENT.
	ContentChecksum *string `mandatory:"false" json:"contentChecksum"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the original work request that is being retried.
	RetryOfId *string `mandatory:"false" json:"retryOfId"`

	// Indicates whether this work request is managed by the Autonomous Linux service.
	RetryIntervals []int `mandatory:"false" json:"retryIntervals"`

	// Indicates whether this work request is managed by the Autonomous Linux service.
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`
}

WorkRequest An object that defines 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 job. The name does not have to be unique. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// User-specified information about the job. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`
}

WorkRequestDetails Provides the name and description of the job.

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. (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	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 WorkRequestEventDataAdditionalDetails ¶ added in v65.64.0

type WorkRequestEventDataAdditionalDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that triggered the event, such as scheduled job id.
	InitiatorId *string `mandatory:"true" json:"initiatorId"`

	// List of all work request OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the event.
	WorkRequestIds []string `mandatory:"false" json:"workRequestIds"`
}

WorkRequestEventDataAdditionalDetails Provides additional information for the work request associated with an event.

func (WorkRequestEventDataAdditionalDetails) String ¶ added in v65.64.0

func (WorkRequestEventDataAdditionalDetails) ValidateEnumValue ¶ added in v65.64.0

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

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

type WorkRequestLogEntry ¶

type WorkRequestLogEntry struct {

	// A human readable log message.
	Message *string `mandatory:"true" json:"message"`

	// The date and time the log message was written (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	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"`

	// The configuration of the management station.
	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"
	WorkRequestOperationTypeImportContent                    WorkRequestOperationTypeEnum = "IMPORT_CONTENT"
	WorkRequestOperationTypeSyncAgentConfig                  WorkRequestOperationTypeEnum = "SYNC_AGENT_CONFIG"
	WorkRequestOperationTypeInstallWindowsUpdates            WorkRequestOperationTypeEnum = "INSTALL_WINDOWS_UPDATES"
	WorkRequestOperationTypeListWindowsUpdate                WorkRequestOperationTypeEnum = "LIST_WINDOWS_UPDATE"
	WorkRequestOperationTypeGetWindowsUpdateDetails          WorkRequestOperationTypeEnum = "GET_WINDOWS_UPDATE_DETAILS"
	WorkRequestOperationTypeInstallAllWindowsUpdates         WorkRequestOperationTypeEnum = "INSTALL_ALL_WINDOWS_UPDATES"
	WorkRequestOperationTypeInstallSecurityWindowsUpdates    WorkRequestOperationTypeEnum = "INSTALL_SECURITY_WINDOWS_UPDATES"
	WorkRequestOperationTypeInstallBugfixWindowsUpdates      WorkRequestOperationTypeEnum = "INSTALL_BUGFIX_WINDOWS_UPDATES"
	WorkRequestOperationTypeInstallEnhancementWindowsUpdates WorkRequestOperationTypeEnum = "INSTALL_ENHANCEMENT_WINDOWS_UPDATES"
	WorkRequestOperationTypeInstallOtherWindowsUpdates       WorkRequestOperationTypeEnum = "INSTALL_OTHER_WINDOWS_UPDATES"
	WorkRequestOperationTypeRemoveContent                    WorkRequestOperationTypeEnum = "REMOVE_CONTENT"
	WorkRequestOperationTypeUnregisterManagedInstance        WorkRequestOperationTypeEnum = "UNREGISTER_MANAGED_INSTANCE"
)

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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 the different compartments, the services selects the compartment of the primary resource.
	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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent work request, if there is any.
	ParentId *string `mandatory:"false" json:"parentId"`

	// The list of OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for 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"`

	// The scheduled date and time to retry the work request (in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) format).
	TimeScheduled *common.SDKTime `mandatory:"false" json:"timeScheduled"`

	// Indicates whether this work request is managed by Autonomous Linux
	IsManagedByAutonomousLinux *bool `mandatory:"false" json:"isManagedByAutonomousLinux"`
}

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 requests.
	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