AddPackagesToSoftwareSourceDetails List of software package names
type AddPackagesToSoftwareSourceDetails struct { // the list of package names PackageNames []string `mandatory:"true" json:"packageNames"` }
func (m AddPackagesToSoftwareSourceDetails) String() string
AddPackagesToSoftwareSourceRequest wrapper for the AddPackagesToSoftwareSource operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/AddPackagesToSoftwareSource.go.html to see an example of how to use AddPackagesToSoftwareSourceRequest.
type AddPackagesToSoftwareSourceRequest struct { // The OCID of the software source. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // A list of package identifiers AddPackagesToSoftwareSourceDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request AddPackagesToSoftwareSourceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddPackagesToSoftwareSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddPackagesToSoftwareSourceRequest) String() string
AddPackagesToSoftwareSourceResponse wrapper for the AddPackagesToSoftwareSource operation
type AddPackagesToSoftwareSourceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response AddPackagesToSoftwareSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddPackagesToSoftwareSourceResponse) String() string
ApiError Error Information
type ApiError struct { // A short error code that defines the error, meant for programmatic // parsing. Code *string `mandatory:"true" json:"code"` // A human-readable error string. Message *string `mandatory:"true" json:"message"` }
func (m ApiError) String() string
ArchTypesEnum Enum with underlying type: string
type ArchTypesEnum string
Set of constants representing the allowable values for ArchTypesEnum
const ( ArchTypesIa32 ArchTypesEnum = "IA_32" ArchTypesX8664 ArchTypesEnum = "X86_64" ArchTypesAarch64 ArchTypesEnum = "AARCH64" ArchTypesSparc ArchTypesEnum = "SPARC" ArchTypesAmd64Debian ArchTypesEnum = "AMD64_DEBIAN" )
func GetArchTypesEnumValues() []ArchTypesEnum
GetArchTypesEnumValues Enumerates the set of values for ArchTypesEnum
AttachChildSoftwareSourceToManagedInstanceDetails Information for attaching a software source to a managed instance
type AttachChildSoftwareSourceToManagedInstanceDetails struct { // OCID for the Software Source SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"` }
func (m AttachChildSoftwareSourceToManagedInstanceDetails) String() string
AttachChildSoftwareSourceToManagedInstanceRequest wrapper for the AttachChildSoftwareSourceToManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/AttachChildSoftwareSourceToManagedInstance.go.html to see an example of how to use AttachChildSoftwareSourceToManagedInstanceRequest.
type AttachChildSoftwareSourceToManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Details for attaching a Software Source to a Managed Instance AttachChildSoftwareSourceToManagedInstanceDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request AttachChildSoftwareSourceToManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AttachChildSoftwareSourceToManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AttachChildSoftwareSourceToManagedInstanceRequest) String() string
AttachChildSoftwareSourceToManagedInstanceResponse wrapper for the AttachChildSoftwareSourceToManagedInstance operation
type AttachChildSoftwareSourceToManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response AttachChildSoftwareSourceToManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AttachChildSoftwareSourceToManagedInstanceResponse) String() string
AttachManagedInstanceToManagedInstanceGroupRequest wrapper for the AttachManagedInstanceToManagedInstanceGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/AttachManagedInstanceToManagedInstanceGroup.go.html to see an example of how to use AttachManagedInstanceToManagedInstanceGroupRequest.
type AttachManagedInstanceToManagedInstanceGroupRequest struct { // OCID for the managed instance group ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"query" name:"managedInstanceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request AttachManagedInstanceToManagedInstanceGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AttachManagedInstanceToManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AttachManagedInstanceToManagedInstanceGroupRequest) String() string
AttachManagedInstanceToManagedInstanceGroupResponse wrapper for the AttachManagedInstanceToManagedInstanceGroup operation
type AttachManagedInstanceToManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response AttachManagedInstanceToManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AttachManagedInstanceToManagedInstanceGroupResponse) String() string
AttachParentSoftwareSourceToManagedInstanceDetails Information for attaching a software source to a managed instance
type AttachParentSoftwareSourceToManagedInstanceDetails struct { // OCID for the Software Source SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"` }
func (m AttachParentSoftwareSourceToManagedInstanceDetails) String() string
AttachParentSoftwareSourceToManagedInstanceRequest wrapper for the AttachParentSoftwareSourceToManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/AttachParentSoftwareSourceToManagedInstance.go.html to see an example of how to use AttachParentSoftwareSourceToManagedInstanceRequest.
type AttachParentSoftwareSourceToManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Details for attaching a Software Source to a Managed Instance AttachParentSoftwareSourceToManagedInstanceDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request AttachParentSoftwareSourceToManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AttachParentSoftwareSourceToManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AttachParentSoftwareSourceToManagedInstanceRequest) String() string
AttachParentSoftwareSourceToManagedInstanceResponse wrapper for the AttachParentSoftwareSourceToManagedInstance operation
type AttachParentSoftwareSourceToManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response AttachParentSoftwareSourceToManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AttachParentSoftwareSourceToManagedInstanceResponse) String() string
AvailableSoftwareSourceSummary A software source which can be added to a managed instance. Once a software source is added, packages from that software source can be installed on that managed instance.
type AvailableSoftwareSourceSummary struct { // unique identifier that is immutable on creation Id *string `mandatory:"true" json:"id"` // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // User friendly name for the software source DisplayName *string `mandatory:"true" json:"displayName"` // OCID for the parent software source, if there is one ParentId *string `mandatory:"false" json:"parentId"` // Display name of the parent software source, if there is one ParentName *string `mandatory:"false" json:"parentName"` }
func (m AvailableSoftwareSourceSummary) String() string
AvailableUpdateSummary An update available for a managed instance
type AvailableUpdateSummary struct { // Package name DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the package available for update. NOTE - This is not an OCID Name *string `mandatory:"true" json:"name"` // Type of the package Type *string `mandatory:"true" json:"type"` // Version of the installed package InstalledVersion *string `mandatory:"true" json:"installedVersion"` // Version of the package available for update AvailableVersion *string `mandatory:"true" json:"availableVersion"` // The purpose of this update. UpdateType UpdateTypesEnum `mandatory:"false" json:"updateType,omitempty"` // The architecture for which this package was built Architecture *string `mandatory:"false" json:"architecture"` // List of errata containing this update Errata []Id `mandatory:"false" json:"errata"` // List of CVEs applicable to this erratum RelatedCves []string `mandatory:"false" json:"relatedCves"` // list of software sources that provide the software package SoftwareSources []SoftwareSourceId `mandatory:"false" json:"softwareSources"` }
func (m AvailableUpdateSummary) String() string
AvailableWindowsUpdateSummary An update available for installation on the Windows managed instance.
type AvailableWindowsUpdateSummary struct { // Windows Update name DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the Windows update. NOTE - This is not an OCID, // but is a unique identifier assigned by Microsoft. // Example: `6981d463-cd91-4a26-b7c4-ea4ded9183ed` Name *string `mandatory:"true" json:"name"` // The purpose of this update. UpdateType UpdateTypesEnum `mandatory:"true" json:"updateType"` // Indicates whether the update can be installed using OSMS. IsEligibleForInstallation IsEligibleForInstallationEnum `mandatory:"false" json:"isEligibleForInstallation,omitempty"` // Indicates whether a reboot may be required to complete installation of this update. IsRebootRequiredForInstallation *bool `mandatory:"false" json:"isRebootRequiredForInstallation"` }
func (m AvailableWindowsUpdateSummary) String() string
ChangeManagedInstanceGroupCompartmentDetails Compartment id for a managed instance group
type ChangeManagedInstanceGroupCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the // compartment into which the resource should be moved. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
func (m ChangeManagedInstanceGroupCompartmentDetails) String() string
ChangeManagedInstanceGroupCompartmentRequest wrapper for the ChangeManagedInstanceGroupCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ChangeManagedInstanceGroupCompartment.go.html to see an example of how to use ChangeManagedInstanceGroupCompartmentRequest.
type ChangeManagedInstanceGroupCompartmentRequest struct { // OCID for the managed instance group ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // OCID for the compartment to which the resource will be moved. ChangeManagedInstanceGroupCompartmentDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeManagedInstanceGroupCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeManagedInstanceGroupCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeManagedInstanceGroupCompartmentRequest) String() string
ChangeManagedInstanceGroupCompartmentResponse wrapper for the ChangeManagedInstanceGroupCompartment operation
type ChangeManagedInstanceGroupCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeManagedInstanceGroupCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeManagedInstanceGroupCompartmentResponse) String() string
ChangeScheduledJobCompartmentDetails Compartment id for a scheduled job
type ChangeScheduledJobCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the // compartment into which the resource should be moved. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
func (m ChangeScheduledJobCompartmentDetails) String() string
ChangeScheduledJobCompartmentRequest wrapper for the ChangeScheduledJobCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ChangeScheduledJobCompartment.go.html to see an example of how to use ChangeScheduledJobCompartmentRequest.
type ChangeScheduledJobCompartmentRequest struct { // The ID of the scheduled job. ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"` // OCID for the compartment to which the resource will be moved. ChangeScheduledJobCompartmentDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeScheduledJobCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeScheduledJobCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeScheduledJobCompartmentRequest) String() string
ChangeScheduledJobCompartmentResponse wrapper for the ChangeScheduledJobCompartment operation
type ChangeScheduledJobCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeScheduledJobCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeScheduledJobCompartmentResponse) String() string
ChangeSoftwareSourceCompartmentDetails Compartment id for a software source
type ChangeSoftwareSourceCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the // compartment into which the resource should be moved. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
func (m ChangeSoftwareSourceCompartmentDetails) String() string
ChangeSoftwareSourceCompartmentRequest wrapper for the ChangeSoftwareSourceCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ChangeSoftwareSourceCompartment.go.html to see an example of how to use ChangeSoftwareSourceCompartmentRequest.
type ChangeSoftwareSourceCompartmentRequest struct { // The OCID of the software source. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // OCID for the compartment to which the resource will be moved. ChangeSoftwareSourceCompartmentDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeSoftwareSourceCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeSoftwareSourceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeSoftwareSourceCompartmentRequest) String() string
ChangeSoftwareSourceCompartmentResponse wrapper for the ChangeSoftwareSourceCompartment operation
type ChangeSoftwareSourceCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeSoftwareSourceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeSoftwareSourceCompartmentResponse) String() string
ChecksumTypesEnum Enum with underlying type: string
type ChecksumTypesEnum string
Set of constants representing the allowable values for ChecksumTypesEnum
const ( ChecksumTypesSha1 ChecksumTypesEnum = "SHA1" ChecksumTypesSha256 ChecksumTypesEnum = "SHA256" ChecksumTypesSha384 ChecksumTypesEnum = "SHA384" ChecksumTypesSha512 ChecksumTypesEnum = "SHA512" )
func GetChecksumTypesEnumValues() []ChecksumTypesEnum
GetChecksumTypesEnumValues Enumerates the set of values for ChecksumTypesEnum
CreateManagedInstanceGroupDetails Detail information for creating a managed instance group
type CreateManagedInstanceGroupDetails struct { // Managed Instance Group identifier DisplayName *string `mandatory:"true" json:"displayName"` // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Information specified by the user about the managed instance group Description *string `mandatory:"false" json:"description"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The Operating System type of the managed instance(s) on which this scheduled job will operate. // If not specified, this defaults to Linux. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` }
func (m CreateManagedInstanceGroupDetails) String() string
CreateManagedInstanceGroupRequest wrapper for the CreateManagedInstanceGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/CreateManagedInstanceGroup.go.html to see an example of how to use CreateManagedInstanceGroupRequest.
type CreateManagedInstanceGroupRequest struct { // Details about a Managed Instance Group to create CreateManagedInstanceGroupDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateManagedInstanceGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateManagedInstanceGroupRequest) String() string
CreateManagedInstanceGroupResponse wrapper for the CreateManagedInstanceGroup operation
type CreateManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // The ManagedInstanceGroup instance ManagedInstanceGroup `presentIn:"body"` // A link to the created Managed Instance Group Location *string `presentIn:"header" name:"location"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response CreateManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateManagedInstanceGroupResponse) String() string
CreateScheduledJobDetails Information for creating a Scheduled Job
type CreateScheduledJobDetails struct { // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Scheduled Job name DisplayName *string `mandatory:"true" json:"displayName"` // the type of scheduling this Scheduled Job follows ScheduleType ScheduleTypesEnum `mandatory:"true" json:"scheduleType"` // the desired time for the next execution of this Scheduled Job TimeNextExecution *common.SDKTime `mandatory:"true" json:"timeNextExecution"` // the type of operation this Scheduled Job performs OperationType OperationTypesEnum `mandatory:"true" json:"operationType"` // Details describing the Scheduled Job. Description *string `mandatory:"false" json:"description"` // the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) IntervalType IntervalTypesEnum `mandatory:"false" json:"intervalType,omitempty"` // the value for the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) IntervalValue *string `mandatory:"false" json:"intervalValue"` // The list of managed instances this scheduled job operates on // (mutually exclusive with managedInstanceGroups). Either this or the // managedInstanceGroups must be supplied. ManagedInstances []Id `mandatory:"false" json:"managedInstances"` // The list of managed instance groups this scheduled job operates on // (mutually exclusive with managedInstances). Either this or // managedInstances must be supplied. ManagedInstanceGroups []Id `mandatory:"false" json:"managedInstanceGroups"` // Type of the update (only if operation type is UPDATEALL) UpdateType PackageUpdateTypesEnum `mandatory:"false" json:"updateType,omitempty"` // the id of the package (only if operation type is INSTALL/UPDATE/REMOVE) PackageNames []PackageName `mandatory:"false" json:"packageNames"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The unique names of the Windows Updates (only if operation type is INSTALL). // This is only applicable when the osFamily is for Windows managed instances. UpdateNames []string `mandatory:"false" json:"updateNames"` // The Operating System type of the managed instance(s) on which this scheduled job will operate. // If not specified, this defaults to Linux. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` }
func (m CreateScheduledJobDetails) String() string
CreateScheduledJobRequest wrapper for the CreateScheduledJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/CreateScheduledJob.go.html to see an example of how to use CreateScheduledJobRequest.
type CreateScheduledJobRequest struct { // Details about a Scheduled Job to create CreateScheduledJobDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateScheduledJobRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateScheduledJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateScheduledJobRequest) String() string
CreateScheduledJobResponse wrapper for the CreateScheduledJob operation
type CreateScheduledJobResponse struct { // The underlying http response RawResponse *http.Response // The ScheduledJob instance ScheduledJob `presentIn:"body"` // A link to the created Scheduled Job Location *string `presentIn:"header" name:"location"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response CreateScheduledJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateScheduledJobResponse) String() string
CreateSoftwareSourceDetails Description of a software source to be created on the management system
type CreateSoftwareSourceDetails struct { // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // User friendly name for the software source DisplayName *string `mandatory:"true" json:"displayName"` // The architecture type supported by the Software Source ArchType ArchTypesEnum `mandatory:"true" json:"archType"` // Information specified by the user about the software source Description *string `mandatory:"false" json:"description"` // Name of the person maintaining this software source MaintainerName *string `mandatory:"false" json:"maintainerName"` // Email address of the person maintaining this software source MaintainerEmail *string `mandatory:"false" json:"maintainerEmail"` // Phone number of the person maintaining this software source MaintainerPhone *string `mandatory:"false" json:"maintainerPhone"` // The yum repository checksum type used by this software source ChecksumType ChecksumTypesEnum `mandatory:"false" json:"checksumType,omitempty"` // OCID for the parent software source, if there is one ParentId *string `mandatory:"false" json:"parentId"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateSoftwareSourceDetails) String() string
CreateSoftwareSourceRequest wrapper for the CreateSoftwareSource operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/CreateSoftwareSource.go.html to see an example of how to use CreateSoftwareSourceRequest.
type CreateSoftwareSourceRequest struct { // Details about a Sofware Source to create CreateSoftwareSourceDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateSoftwareSourceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateSoftwareSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateSoftwareSourceRequest) String() string
CreateSoftwareSourceResponse wrapper for the CreateSoftwareSource operation
type CreateSoftwareSourceResponse struct { // The underlying http response RawResponse *http.Response // The SoftwareSource instance SoftwareSource `presentIn:"body"` // A link to the created Software Source Location *string `presentIn:"header" name:"location"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response CreateSoftwareSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateSoftwareSourceResponse) String() string
DeleteManagedInstanceGroupRequest wrapper for the DeleteManagedInstanceGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/DeleteManagedInstanceGroup.go.html to see an example of how to use DeleteManagedInstanceGroupRequest.
type DeleteManagedInstanceGroupRequest struct { // OCID for the managed instance group ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteManagedInstanceGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteManagedInstanceGroupRequest) String() string
DeleteManagedInstanceGroupResponse wrapper for the DeleteManagedInstanceGroup operation
type DeleteManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteManagedInstanceGroupResponse) String() string
DeleteScheduledJobRequest wrapper for the DeleteScheduledJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/DeleteScheduledJob.go.html to see an example of how to use DeleteScheduledJobRequest.
type DeleteScheduledJobRequest struct { // The ID of the scheduled job. ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteScheduledJobRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteScheduledJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteScheduledJobRequest) String() string
DeleteScheduledJobResponse wrapper for the DeleteScheduledJob operation
type DeleteScheduledJobResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteScheduledJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteScheduledJobResponse) String() string
DeleteSoftwareSourceRequest wrapper for the DeleteSoftwareSource operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/DeleteSoftwareSource.go.html to see an example of how to use DeleteSoftwareSourceRequest.
type DeleteSoftwareSourceRequest struct { // The OCID of the software source. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteSoftwareSourceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteSoftwareSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteSoftwareSourceRequest) String() string
DeleteSoftwareSourceResponse wrapper for the DeleteSoftwareSource operation
type DeleteSoftwareSourceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteSoftwareSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteSoftwareSourceResponse) String() string
DetachChildSoftwareSourceFromManagedInstanceDetails Information for detaching a software source from a managed instance
type DetachChildSoftwareSourceFromManagedInstanceDetails struct { // OCID for the Software Source SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"` }
func (m DetachChildSoftwareSourceFromManagedInstanceDetails) String() string
DetachChildSoftwareSourceFromManagedInstanceRequest wrapper for the DetachChildSoftwareSourceFromManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/DetachChildSoftwareSourceFromManagedInstance.go.html to see an example of how to use DetachChildSoftwareSourceFromManagedInstanceRequest.
type DetachChildSoftwareSourceFromManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Details for detaching a Software Source from a Managed Instance DetachChildSoftwareSourceFromManagedInstanceDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DetachChildSoftwareSourceFromManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DetachChildSoftwareSourceFromManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DetachChildSoftwareSourceFromManagedInstanceRequest) String() string
DetachChildSoftwareSourceFromManagedInstanceResponse wrapper for the DetachChildSoftwareSourceFromManagedInstance operation
type DetachChildSoftwareSourceFromManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DetachChildSoftwareSourceFromManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DetachChildSoftwareSourceFromManagedInstanceResponse) String() string
DetachManagedInstanceFromManagedInstanceGroupRequest wrapper for the DetachManagedInstanceFromManagedInstanceGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/DetachManagedInstanceFromManagedInstanceGroup.go.html to see an example of how to use DetachManagedInstanceFromManagedInstanceGroupRequest.
type DetachManagedInstanceFromManagedInstanceGroupRequest struct { // OCID for the managed instance group ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"query" name:"managedInstanceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DetachManagedInstanceFromManagedInstanceGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DetachManagedInstanceFromManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DetachManagedInstanceFromManagedInstanceGroupRequest) String() string
DetachManagedInstanceFromManagedInstanceGroupResponse wrapper for the DetachManagedInstanceFromManagedInstanceGroup operation
type DetachManagedInstanceFromManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DetachManagedInstanceFromManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DetachManagedInstanceFromManagedInstanceGroupResponse) String() string
DetachParentSoftwareSourceFromManagedInstanceDetails Information for detaching a software source from a managed instance
type DetachParentSoftwareSourceFromManagedInstanceDetails struct { // OCID for the Software Source SoftwareSourceId *string `mandatory:"true" json:"softwareSourceId"` }
func (m DetachParentSoftwareSourceFromManagedInstanceDetails) String() string
DetachParentSoftwareSourceFromManagedInstanceRequest wrapper for the DetachParentSoftwareSourceFromManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/DetachParentSoftwareSourceFromManagedInstance.go.html to see an example of how to use DetachParentSoftwareSourceFromManagedInstanceRequest.
type DetachParentSoftwareSourceFromManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Details for detaching a Software Source from a Managed Instance DetachParentSoftwareSourceFromManagedInstanceDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DetachParentSoftwareSourceFromManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DetachParentSoftwareSourceFromManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DetachParentSoftwareSourceFromManagedInstanceRequest) String() string
DetachParentSoftwareSourceFromManagedInstanceResponse wrapper for the DetachParentSoftwareSourceFromManagedInstance operation
type DetachParentSoftwareSourceFromManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DetachParentSoftwareSourceFromManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DetachParentSoftwareSourceFromManagedInstanceResponse) String() string
Erratum Details about the erratum.
type Erratum struct { // Advisory name Name *string `mandatory:"true" json:"name"` // OCID for the Erratum. Id *string `mandatory:"true" json:"id"` // OCID for the Compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Summary description of the erratum. Synopsis *string `mandatory:"false" json:"synopsis"` // date the erratum was issued Issued *string `mandatory:"false" json:"issued"` // Details describing the erratum. Description *string `mandatory:"false" json:"description"` // most recent date the erratum was updated Updated *string `mandatory:"false" json:"updated"` // Type of the erratum. AdvisoryType UpdateTypesEnum `mandatory:"false" json:"advisoryType,omitempty"` // Information specifying from where the erratum was release. From *string `mandatory:"false" json:"from"` // Information describing how the erratum can be resolved. Solution *string `mandatory:"false" json:"solution"` // Information describing how to find more information about the erratum. References *string `mandatory:"false" json:"references"` // list of managed instances to this erratum AffectedInstances []Id `mandatory:"false" json:"affectedInstances"` // list of CVEs applicable to this erratum RelatedCves []string `mandatory:"false" json:"relatedCves"` // list of Software Sources SoftwareSources []Id `mandatory:"false" json:"softwareSources"` // list of Packages affected by this erratum Packages []SoftwarePackageSummary `mandatory:"false" json:"packages"` }
func (m Erratum) String() string
ErratumSummary Important changes for software. This can include security | advisories, bug fixes, or enhancements.
type ErratumSummary struct { // Advisory name Name *string `mandatory:"true" json:"name"` // OCID for the Erratum. Id *string `mandatory:"true" json:"id"` // OCID for the Compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Summary description of the erratum. Synopsis *string `mandatory:"false" json:"synopsis"` // date the erratum was issued Issued *string `mandatory:"false" json:"issued"` // most recent date the erratum was updated Updated *string `mandatory:"false" json:"updated"` // Type of the erratum. AdvisoryType UpdateTypesEnum `mandatory:"false" json:"advisoryType,omitempty"` // list of CVEs applicable to this erratum RelatedCves []string `mandatory:"false" json:"relatedCves"` }
func (m ErratumSummary) String() string
GetErratumRequest wrapper for the GetErratum operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetErratum.go.html to see an example of how to use GetErratumRequest.
type GetErratumRequest struct { // The OCID of the erratum. ErratumId *string `mandatory:"true" contributesTo:"path" name:"erratumId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetErratumRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetErratumRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetErratumRequest) String() string
GetErratumResponse wrapper for the GetErratum operation
type GetErratumResponse struct { // The underlying http response RawResponse *http.Response // The Erratum instance Erratum `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetErratumResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetErratumResponse) String() string
GetManagedInstanceGroupRequest wrapper for the GetManagedInstanceGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetManagedInstanceGroup.go.html to see an example of how to use GetManagedInstanceGroupRequest.
type GetManagedInstanceGroupRequest struct { // OCID for the managed instance group ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetManagedInstanceGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagedInstanceGroupRequest) String() string
GetManagedInstanceGroupResponse wrapper for the GetManagedInstanceGroup operation
type GetManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // The ManagedInstanceGroup instance ManagedInstanceGroup `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client // should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response GetManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagedInstanceGroupResponse) String() string
GetManagedInstanceRequest wrapper for the GetManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetManagedInstance.go.html to see an example of how to use GetManagedInstanceRequest.
type GetManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagedInstanceRequest) String() string
GetManagedInstanceResponse wrapper for the GetManagedInstance operation
type GetManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // The ManagedInstance instance ManagedInstance `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagedInstanceResponse) String() string
GetScheduledJobRequest wrapper for the GetScheduledJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetScheduledJob.go.html to see an example of how to use GetScheduledJobRequest.
type GetScheduledJobRequest struct { // The ID of the scheduled job. ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetScheduledJobRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetScheduledJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetScheduledJobRequest) String() string
GetScheduledJobResponse wrapper for the GetScheduledJob operation
type GetScheduledJobResponse struct { // The underlying http response RawResponse *http.Response // The ScheduledJob instance ScheduledJob `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client // should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response GetScheduledJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetScheduledJobResponse) String() string
GetSoftwarePackageRequest wrapper for the GetSoftwarePackage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetSoftwarePackage.go.html to see an example of how to use GetSoftwarePackageRequest.
type GetSoftwarePackageRequest struct { // The OCID of the software source. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // The id of the software package. SoftwarePackageName *string `mandatory:"true" contributesTo:"path" name:"softwarePackageName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetSoftwarePackageRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSoftwarePackageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSoftwarePackageRequest) String() string
GetSoftwarePackageResponse wrapper for the GetSoftwarePackage operation
type GetSoftwarePackageResponse struct { // The underlying http response RawResponse *http.Response // The SoftwarePackage instance SoftwarePackage `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetSoftwarePackageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSoftwarePackageResponse) String() string
GetSoftwareSourceRequest wrapper for the GetSoftwareSource operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetSoftwareSource.go.html to see an example of how to use GetSoftwareSourceRequest.
type GetSoftwareSourceRequest struct { // The OCID of the software source. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetSoftwareSourceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSoftwareSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSoftwareSourceRequest) String() string
GetSoftwareSourceResponse wrapper for the GetSoftwareSource operation
type GetSoftwareSourceResponse struct { // The underlying http response RawResponse *http.Response // The SoftwareSource instance SoftwareSource `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client // should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response GetSoftwareSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSoftwareSourceResponse) String() string
GetWindowsUpdateRequest wrapper for the GetWindowsUpdate operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetWindowsUpdate.go.html to see an example of how to use GetWindowsUpdateRequest.
type GetWindowsUpdateRequest struct { // The Windows Update WindowsUpdate *string `mandatory:"true" contributesTo:"path" name:"windowsUpdate"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetWindowsUpdateRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWindowsUpdateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWindowsUpdateRequest) String() string
GetWindowsUpdateResponse wrapper for the GetWindowsUpdate operation
type GetWindowsUpdateResponse struct { // The underlying http response RawResponse *http.Response // The WindowsUpdate instance WindowsUpdate `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetWindowsUpdateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWindowsUpdateResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client // should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
Id An id along with a name to simplify display for a user
type Id struct { // unique identifier that is immutable on creation Id *string `mandatory:"true" json:"id"` // User friendly name DisplayName *string `mandatory:"true" json:"displayName"` }
func (m Id) String() string
InstallAllPackageUpdatesOnManagedInstanceRequest wrapper for the InstallAllPackageUpdatesOnManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/InstallAllPackageUpdatesOnManagedInstance.go.html to see an example of how to use InstallAllPackageUpdatesOnManagedInstanceRequest.
type InstallAllPackageUpdatesOnManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request InstallAllPackageUpdatesOnManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request InstallAllPackageUpdatesOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request InstallAllPackageUpdatesOnManagedInstanceRequest) String() string
InstallAllPackageUpdatesOnManagedInstanceResponse wrapper for the InstallAllPackageUpdatesOnManagedInstance operation
type InstallAllPackageUpdatesOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response InstallAllPackageUpdatesOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response InstallAllPackageUpdatesOnManagedInstanceResponse) String() string
InstallAllWindowsUpdatesOnManagedInstanceRequest wrapper for the InstallAllWindowsUpdatesOnManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/InstallAllWindowsUpdatesOnManagedInstance.go.html to see an example of how to use InstallAllWindowsUpdatesOnManagedInstanceRequest.
type InstallAllWindowsUpdatesOnManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request InstallAllWindowsUpdatesOnManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request InstallAllWindowsUpdatesOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request InstallAllWindowsUpdatesOnManagedInstanceRequest) String() string
InstallAllWindowsUpdatesOnManagedInstanceResponse wrapper for the InstallAllWindowsUpdatesOnManagedInstance operation
type InstallAllWindowsUpdatesOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response InstallAllWindowsUpdatesOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response InstallAllWindowsUpdatesOnManagedInstanceResponse) String() string
InstallPackageOnManagedInstanceRequest wrapper for the InstallPackageOnManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/InstallPackageOnManagedInstance.go.html to see an example of how to use InstallPackageOnManagedInstanceRequest.
type InstallPackageOnManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Package name SoftwarePackageName *string `mandatory:"true" contributesTo:"query" name:"softwarePackageName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request InstallPackageOnManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request InstallPackageOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request InstallPackageOnManagedInstanceRequest) String() string
InstallPackageOnManagedInstanceResponse wrapper for the InstallPackageOnManagedInstance operation
type InstallPackageOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response InstallPackageOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response InstallPackageOnManagedInstanceResponse) String() string
InstallPackageUpdateOnManagedInstanceRequest wrapper for the InstallPackageUpdateOnManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/InstallPackageUpdateOnManagedInstance.go.html to see an example of how to use InstallPackageUpdateOnManagedInstanceRequest.
type InstallPackageUpdateOnManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Package name SoftwarePackageName *string `mandatory:"true" contributesTo:"query" name:"softwarePackageName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request InstallPackageUpdateOnManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request InstallPackageUpdateOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request InstallPackageUpdateOnManagedInstanceRequest) String() string
InstallPackageUpdateOnManagedInstanceResponse wrapper for the InstallPackageUpdateOnManagedInstance operation
type InstallPackageUpdateOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response InstallPackageUpdateOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response InstallPackageUpdateOnManagedInstanceResponse) String() string
InstallWindowsUpdateOnManagedInstanceRequest wrapper for the InstallWindowsUpdateOnManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/InstallWindowsUpdateOnManagedInstance.go.html to see an example of how to use InstallWindowsUpdateOnManagedInstanceRequest.
type InstallWindowsUpdateOnManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Unique identifier for the Windows update. NOTE - This is not an OCID, // but is a unique identifier assigned by Microsoft. // Example: `6981d463-cd91-4a26-b7c4-ea4ded9183ed` WindowsUpdateName *string `mandatory:"true" contributesTo:"query" name:"windowsUpdateName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request InstallWindowsUpdateOnManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request InstallWindowsUpdateOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request InstallWindowsUpdateOnManagedInstanceRequest) String() string
InstallWindowsUpdateOnManagedInstanceResponse wrapper for the InstallWindowsUpdateOnManagedInstance operation
type InstallWindowsUpdateOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response InstallWindowsUpdateOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response InstallWindowsUpdateOnManagedInstanceResponse) String() string
InstallablePackageSummary A software package available for install on a managed instance
type InstallablePackageSummary struct { // Package name DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the package. NOTE - This is not an OCID Name *string `mandatory:"true" json:"name"` // Type of the package Type *string `mandatory:"true" json:"type"` // Version of the package Version *string `mandatory:"true" json:"version"` // The architecture for which this package was built Architecture *string `mandatory:"false" json:"architecture"` // list of software sources that provide the software package SoftwareSources []SoftwareSourceId `mandatory:"false" json:"softwareSources"` }
func (m InstallablePackageSummary) String() string
InstalledPackageSummary A software package installed on a managed instance
type InstalledPackageSummary struct { // Package name DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the package. NOTE - This is not an OCID Name *string `mandatory:"true" json:"name"` // Type of the package Type *string `mandatory:"true" json:"type"` // Version of the installed package Version *string `mandatory:"true" json:"version"` // The architecture for which this package was built Architecture *string `mandatory:"false" json:"architecture"` // Install time of the package InstallTime *string `mandatory:"false" json:"installTime"` // date the package was issued by a providing erratum (if available) Issued *string `mandatory:"false" json:"issued"` // list of software sources that provide the software package SoftwareSources []SoftwareSourceId `mandatory:"false" json:"softwareSources"` }
func (m InstalledPackageSummary) String() string
InstalledWindowsUpdateSummary A Windows update installed on the Windows managed instance.
type InstalledWindowsUpdateSummary struct { // Windows Update name DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the Windows update. NOTE - This is not an OCID, // but is a unique identifier assigned by Microsoft. // Example: `6981d463-cd91-4a26-b7c4-ea4ded9183ed` Name *string `mandatory:"true" json:"name"` // The purpose of this update. UpdateType UpdateTypesEnum `mandatory:"true" json:"updateType"` }
func (m InstalledWindowsUpdateSummary) String() string
IntervalTypesEnum Enum with underlying type: string
type IntervalTypesEnum string
Set of constants representing the allowable values for IntervalTypesEnum
const ( IntervalTypesHour IntervalTypesEnum = "HOUR" IntervalTypesDay IntervalTypesEnum = "DAY" IntervalTypesWeek IntervalTypesEnum = "WEEK" IntervalTypesMonth IntervalTypesEnum = "MONTH" )
func GetIntervalTypesEnumValues() []IntervalTypesEnum
GetIntervalTypesEnumValues Enumerates the set of values for IntervalTypesEnum
IsEligibleForInstallationEnum Enum with underlying type: string
type IsEligibleForInstallationEnum string
Set of constants representing the allowable values for IsEligibleForInstallationEnum
const ( IsEligibleForInstallationInstallable IsEligibleForInstallationEnum = "INSTALLABLE" IsEligibleForInstallationNotInstallable IsEligibleForInstallationEnum = "NOT_INSTALLABLE" IsEligibleForInstallationUnknown IsEligibleForInstallationEnum = "UNKNOWN" )
func GetIsEligibleForInstallationEnumValues() []IsEligibleForInstallationEnum
GetIsEligibleForInstallationEnumValues Enumerates the set of values for IsEligibleForInstallationEnum
LifecycleStatesEnum Enum with underlying type: string
type LifecycleStatesEnum string
Set of constants representing the allowable values for LifecycleStatesEnum
const ( LifecycleStatesCreating LifecycleStatesEnum = "CREATING" LifecycleStatesUpdating LifecycleStatesEnum = "UPDATING" LifecycleStatesActive LifecycleStatesEnum = "ACTIVE" LifecycleStatesDeleting LifecycleStatesEnum = "DELETING" LifecycleStatesDeleted LifecycleStatesEnum = "DELETED" LifecycleStatesFailed LifecycleStatesEnum = "FAILED" )
func GetLifecycleStatesEnumValues() []LifecycleStatesEnum
GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum
ListAvailablePackagesForManagedInstanceRequest wrapper for the ListAvailablePackagesForManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListAvailablePackagesForManagedInstance.go.html to see an example of how to use ListAvailablePackagesForManagedInstanceRequest.
type ListAvailablePackagesForManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListAvailablePackagesForManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListAvailablePackagesForManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListAvailablePackagesForManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAvailablePackagesForManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAvailablePackagesForManagedInstanceRequest) String() string
ListAvailablePackagesForManagedInstanceResponse wrapper for the ListAvailablePackagesForManagedInstance operation
type ListAvailablePackagesForManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // A list of []InstallablePackageSummary instances Items []InstallablePackageSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAvailablePackagesForManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAvailablePackagesForManagedInstanceResponse) String() string
ListAvailablePackagesForManagedInstanceSortByEnum Enum with underlying type: string
type ListAvailablePackagesForManagedInstanceSortByEnum string
Set of constants representing the allowable values for ListAvailablePackagesForManagedInstanceSortByEnum
const ( ListAvailablePackagesForManagedInstanceSortByTimecreated ListAvailablePackagesForManagedInstanceSortByEnum = "TIMECREATED" ListAvailablePackagesForManagedInstanceSortByDisplayname ListAvailablePackagesForManagedInstanceSortByEnum = "DISPLAYNAME" )
func GetListAvailablePackagesForManagedInstanceSortByEnumValues() []ListAvailablePackagesForManagedInstanceSortByEnum
GetListAvailablePackagesForManagedInstanceSortByEnumValues Enumerates the set of values for ListAvailablePackagesForManagedInstanceSortByEnum
ListAvailablePackagesForManagedInstanceSortOrderEnum Enum with underlying type: string
type ListAvailablePackagesForManagedInstanceSortOrderEnum string
Set of constants representing the allowable values for ListAvailablePackagesForManagedInstanceSortOrderEnum
const ( ListAvailablePackagesForManagedInstanceSortOrderAsc ListAvailablePackagesForManagedInstanceSortOrderEnum = "ASC" ListAvailablePackagesForManagedInstanceSortOrderDesc ListAvailablePackagesForManagedInstanceSortOrderEnum = "DESC" )
func GetListAvailablePackagesForManagedInstanceSortOrderEnumValues() []ListAvailablePackagesForManagedInstanceSortOrderEnum
GetListAvailablePackagesForManagedInstanceSortOrderEnumValues Enumerates the set of values for ListAvailablePackagesForManagedInstanceSortOrderEnum
ListAvailableSoftwareSourcesForManagedInstanceRequest wrapper for the ListAvailableSoftwareSourcesForManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListAvailableSoftwareSourcesForManagedInstance.go.html to see an example of how to use ListAvailableSoftwareSourcesForManagedInstanceRequest.
type ListAvailableSoftwareSourcesForManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListAvailableSoftwareSourcesForManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListAvailableSoftwareSourcesForManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAvailableSoftwareSourcesForManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAvailableSoftwareSourcesForManagedInstanceRequest) String() string
ListAvailableSoftwareSourcesForManagedInstanceResponse wrapper for the ListAvailableSoftwareSourcesForManagedInstance operation
type ListAvailableSoftwareSourcesForManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // A list of []AvailableSoftwareSourceSummary instances Items []AvailableSoftwareSourceSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAvailableSoftwareSourcesForManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAvailableSoftwareSourcesForManagedInstanceResponse) String() string
ListAvailableSoftwareSourcesForManagedInstanceSortByEnum Enum with underlying type: string
type ListAvailableSoftwareSourcesForManagedInstanceSortByEnum string
Set of constants representing the allowable values for ListAvailableSoftwareSourcesForManagedInstanceSortByEnum
const ( ListAvailableSoftwareSourcesForManagedInstanceSortByTimecreated ListAvailableSoftwareSourcesForManagedInstanceSortByEnum = "TIMECREATED" ListAvailableSoftwareSourcesForManagedInstanceSortByDisplayname ListAvailableSoftwareSourcesForManagedInstanceSortByEnum = "DISPLAYNAME" )
func GetListAvailableSoftwareSourcesForManagedInstanceSortByEnumValues() []ListAvailableSoftwareSourcesForManagedInstanceSortByEnum
GetListAvailableSoftwareSourcesForManagedInstanceSortByEnumValues Enumerates the set of values for ListAvailableSoftwareSourcesForManagedInstanceSortByEnum
ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum Enum with underlying type: string
type ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum string
Set of constants representing the allowable values for ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum
const ( ListAvailableSoftwareSourcesForManagedInstanceSortOrderAsc ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum = "ASC" ListAvailableSoftwareSourcesForManagedInstanceSortOrderDesc ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum = "DESC" )
func GetListAvailableSoftwareSourcesForManagedInstanceSortOrderEnumValues() []ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum
GetListAvailableSoftwareSourcesForManagedInstanceSortOrderEnumValues Enumerates the set of values for ListAvailableSoftwareSourcesForManagedInstanceSortOrderEnum
ListAvailableUpdatesForManagedInstanceRequest wrapper for the ListAvailableUpdatesForManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListAvailableUpdatesForManagedInstance.go.html to see an example of how to use ListAvailableUpdatesForManagedInstanceRequest.
type ListAvailableUpdatesForManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListAvailableUpdatesForManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListAvailableUpdatesForManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListAvailableUpdatesForManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAvailableUpdatesForManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAvailableUpdatesForManagedInstanceRequest) String() string
ListAvailableUpdatesForManagedInstanceResponse wrapper for the ListAvailableUpdatesForManagedInstance operation
type ListAvailableUpdatesForManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // A list of []AvailableUpdateSummary instances Items []AvailableUpdateSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAvailableUpdatesForManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAvailableUpdatesForManagedInstanceResponse) String() string
ListAvailableUpdatesForManagedInstanceSortByEnum Enum with underlying type: string
type ListAvailableUpdatesForManagedInstanceSortByEnum string
Set of constants representing the allowable values for ListAvailableUpdatesForManagedInstanceSortByEnum
const ( ListAvailableUpdatesForManagedInstanceSortByTimecreated ListAvailableUpdatesForManagedInstanceSortByEnum = "TIMECREATED" ListAvailableUpdatesForManagedInstanceSortByDisplayname ListAvailableUpdatesForManagedInstanceSortByEnum = "DISPLAYNAME" )
func GetListAvailableUpdatesForManagedInstanceSortByEnumValues() []ListAvailableUpdatesForManagedInstanceSortByEnum
GetListAvailableUpdatesForManagedInstanceSortByEnumValues Enumerates the set of values for ListAvailableUpdatesForManagedInstanceSortByEnum
ListAvailableUpdatesForManagedInstanceSortOrderEnum Enum with underlying type: string
type ListAvailableUpdatesForManagedInstanceSortOrderEnum string
Set of constants representing the allowable values for ListAvailableUpdatesForManagedInstanceSortOrderEnum
const ( ListAvailableUpdatesForManagedInstanceSortOrderAsc ListAvailableUpdatesForManagedInstanceSortOrderEnum = "ASC" ListAvailableUpdatesForManagedInstanceSortOrderDesc ListAvailableUpdatesForManagedInstanceSortOrderEnum = "DESC" )
func GetListAvailableUpdatesForManagedInstanceSortOrderEnumValues() []ListAvailableUpdatesForManagedInstanceSortOrderEnum
GetListAvailableUpdatesForManagedInstanceSortOrderEnumValues Enumerates the set of values for ListAvailableUpdatesForManagedInstanceSortOrderEnum
ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum Enum with underlying type: string
type ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum string
Set of constants representing the allowable values for ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum
const ( ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationInstallable ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum = "INSTALLABLE" ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationNotInstallable ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum = "NOT_INSTALLABLE" ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationUnknown ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum = "UNKNOWN" )
func GetListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnumValues() []ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum
GetListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnumValues Enumerates the set of values for ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum
ListAvailableWindowsUpdatesForManagedInstanceRequest wrapper for the ListAvailableWindowsUpdatesForManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListAvailableWindowsUpdatesForManagedInstance.go.html to see an example of how to use ListAvailableWindowsUpdatesForManagedInstanceRequest.
type ListAvailableWindowsUpdatesForManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListAvailableWindowsUpdatesForManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Indicator of whether the update can be installed using OSMS. IsEligibleForInstallation ListAvailableWindowsUpdatesForManagedInstanceIsEligibleForInstallationEnum `mandatory:"false" contributesTo:"query" name:"isEligibleForInstallation" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListAvailableWindowsUpdatesForManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAvailableWindowsUpdatesForManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAvailableWindowsUpdatesForManagedInstanceRequest) String() string
ListAvailableWindowsUpdatesForManagedInstanceResponse wrapper for the ListAvailableWindowsUpdatesForManagedInstance operation
type ListAvailableWindowsUpdatesForManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // A list of []AvailableWindowsUpdateSummary instances Items []AvailableWindowsUpdateSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAvailableWindowsUpdatesForManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAvailableWindowsUpdatesForManagedInstanceResponse) String() string
ListAvailableWindowsUpdatesForManagedInstanceSortByEnum Enum with underlying type: string
type ListAvailableWindowsUpdatesForManagedInstanceSortByEnum string
Set of constants representing the allowable values for ListAvailableWindowsUpdatesForManagedInstanceSortByEnum
const ( ListAvailableWindowsUpdatesForManagedInstanceSortByTimecreated ListAvailableWindowsUpdatesForManagedInstanceSortByEnum = "TIMECREATED" ListAvailableWindowsUpdatesForManagedInstanceSortByDisplayname ListAvailableWindowsUpdatesForManagedInstanceSortByEnum = "DISPLAYNAME" )
func GetListAvailableWindowsUpdatesForManagedInstanceSortByEnumValues() []ListAvailableWindowsUpdatesForManagedInstanceSortByEnum
GetListAvailableWindowsUpdatesForManagedInstanceSortByEnumValues Enumerates the set of values for ListAvailableWindowsUpdatesForManagedInstanceSortByEnum
ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum Enum with underlying type: string
type ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum string
Set of constants representing the allowable values for ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum
const ( ListAvailableWindowsUpdatesForManagedInstanceSortOrderAsc ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum = "ASC" ListAvailableWindowsUpdatesForManagedInstanceSortOrderDesc ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum = "DESC" )
func GetListAvailableWindowsUpdatesForManagedInstanceSortOrderEnumValues() []ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum
GetListAvailableWindowsUpdatesForManagedInstanceSortOrderEnumValues Enumerates the set of values for ListAvailableWindowsUpdatesForManagedInstanceSortOrderEnum
ListErrataRequest wrapper for the ListErrata operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListErrata.go.html to see an example of how to use ListErrataRequest.
type ListErrataRequest struct { // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The OCID of the erratum. ErratumId *string `mandatory:"false" contributesTo:"query" name:"erratumId"` // The assigned erratum name. It's unique and not changeable. // Example: `ELSA-2020-5804` AdvisoryName *string `mandatory:"false" contributesTo:"query" name:"advisoryName"` // The issue date after which to list all errata, in ISO 8601 format // Example: 2017-07-14T02:40:00.000Z TimeIssueDateStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIssueDateStart"` // The issue date before which to list all errata, in ISO 8601 format // Example: 2017-07-14T02:40:00.000Z TimeIssueDateEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIssueDateEnd"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListErrataSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort errata by. Only one sort order may be provided. Default order for ISSUEDATE is descending. Default order for ADVISORYNAME is ascending. If no value is specified ISSUEDATE is default. SortBy ListErrataSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListErrataRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListErrataRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListErrataRequest) String() string
ListErrataResponse wrapper for the ListErrata operation
type ListErrataResponse struct { // The underlying http response RawResponse *http.Response // A list of []ErratumSummary instances Items []ErratumSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListErrataResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListErrataResponse) String() string
ListErrataSortByEnum Enum with underlying type: string
type ListErrataSortByEnum string
Set of constants representing the allowable values for ListErrataSortByEnum
const ( ListErrataSortByIssuedate ListErrataSortByEnum = "ISSUEDATE" ListErrataSortByAdvisoryname ListErrataSortByEnum = "ADVISORYNAME" )
func GetListErrataSortByEnumValues() []ListErrataSortByEnum
GetListErrataSortByEnumValues Enumerates the set of values for ListErrataSortByEnum
ListErrataSortOrderEnum Enum with underlying type: string
type ListErrataSortOrderEnum string
Set of constants representing the allowable values for ListErrataSortOrderEnum
const ( ListErrataSortOrderAsc ListErrataSortOrderEnum = "ASC" ListErrataSortOrderDesc ListErrataSortOrderEnum = "DESC" )
func GetListErrataSortOrderEnumValues() []ListErrataSortOrderEnum
GetListErrataSortOrderEnumValues Enumerates the set of values for ListErrataSortOrderEnum
ListManagedInstanceErrataRequest wrapper for the ListManagedInstanceErrata operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListManagedInstanceErrata.go.html to see an example of how to use ListManagedInstanceErrataRequest.
type ListManagedInstanceErrataRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListManagedInstanceErrataSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListManagedInstanceErrataSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedInstanceErrataRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstanceErrataRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstanceErrataRequest) String() string
ListManagedInstanceErrataResponse wrapper for the ListManagedInstanceErrata operation
type ListManagedInstanceErrataResponse struct { // The underlying http response RawResponse *http.Response // A list of []ErratumSummary instances Items []ErratumSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedInstanceErrataResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstanceErrataResponse) String() string
ListManagedInstanceErrataSortByEnum Enum with underlying type: string
type ListManagedInstanceErrataSortByEnum string
Set of constants representing the allowable values for ListManagedInstanceErrataSortByEnum
const ( ListManagedInstanceErrataSortByTimecreated ListManagedInstanceErrataSortByEnum = "TIMECREATED" ListManagedInstanceErrataSortByDisplayname ListManagedInstanceErrataSortByEnum = "DISPLAYNAME" )
func GetListManagedInstanceErrataSortByEnumValues() []ListManagedInstanceErrataSortByEnum
GetListManagedInstanceErrataSortByEnumValues Enumerates the set of values for ListManagedInstanceErrataSortByEnum
ListManagedInstanceErrataSortOrderEnum Enum with underlying type: string
type ListManagedInstanceErrataSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstanceErrataSortOrderEnum
const ( ListManagedInstanceErrataSortOrderAsc ListManagedInstanceErrataSortOrderEnum = "ASC" ListManagedInstanceErrataSortOrderDesc ListManagedInstanceErrataSortOrderEnum = "DESC" )
func GetListManagedInstanceErrataSortOrderEnumValues() []ListManagedInstanceErrataSortOrderEnum
GetListManagedInstanceErrataSortOrderEnumValues Enumerates the set of values for ListManagedInstanceErrataSortOrderEnum
ListManagedInstanceGroupsLifecycleStateEnum Enum with underlying type: string
type ListManagedInstanceGroupsLifecycleStateEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupsLifecycleStateEnum
const ( ListManagedInstanceGroupsLifecycleStateCreating ListManagedInstanceGroupsLifecycleStateEnum = "CREATING" ListManagedInstanceGroupsLifecycleStateUpdating ListManagedInstanceGroupsLifecycleStateEnum = "UPDATING" ListManagedInstanceGroupsLifecycleStateActive ListManagedInstanceGroupsLifecycleStateEnum = "ACTIVE" ListManagedInstanceGroupsLifecycleStateDeleting ListManagedInstanceGroupsLifecycleStateEnum = "DELETING" ListManagedInstanceGroupsLifecycleStateDeleted ListManagedInstanceGroupsLifecycleStateEnum = "DELETED" ListManagedInstanceGroupsLifecycleStateFailed ListManagedInstanceGroupsLifecycleStateEnum = "FAILED" )
func GetListManagedInstanceGroupsLifecycleStateEnumValues() []ListManagedInstanceGroupsLifecycleStateEnum
GetListManagedInstanceGroupsLifecycleStateEnumValues Enumerates the set of values for ListManagedInstanceGroupsLifecycleStateEnum
ListManagedInstanceGroupsOsFamilyEnum Enum with underlying type: string
type ListManagedInstanceGroupsOsFamilyEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupsOsFamilyEnum
const ( ListManagedInstanceGroupsOsFamilyLinux ListManagedInstanceGroupsOsFamilyEnum = "LINUX" ListManagedInstanceGroupsOsFamilyWindows ListManagedInstanceGroupsOsFamilyEnum = "WINDOWS" ListManagedInstanceGroupsOsFamilyAll ListManagedInstanceGroupsOsFamilyEnum = "ALL" )
func GetListManagedInstanceGroupsOsFamilyEnumValues() []ListManagedInstanceGroupsOsFamilyEnum
GetListManagedInstanceGroupsOsFamilyEnumValues Enumerates the set of values for ListManagedInstanceGroupsOsFamilyEnum
ListManagedInstanceGroupsRequest wrapper for the ListManagedInstanceGroups operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListManagedInstanceGroups.go.html to see an example of how to use ListManagedInstanceGroupsRequest.
type ListManagedInstanceGroupsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListManagedInstanceGroupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListManagedInstanceGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The current lifecycle state for the object. LifecycleState ListManagedInstanceGroupsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The OS family for which to list resources. OsFamily ListManagedInstanceGroupsOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedInstanceGroupsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstanceGroupsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstanceGroupsRequest) String() string
ListManagedInstanceGroupsResponse wrapper for the ListManagedInstanceGroups operation
type ListManagedInstanceGroupsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ManagedInstanceGroupSummary instances Items []ManagedInstanceGroupSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedInstanceGroupsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstanceGroupsResponse) String() string
ListManagedInstanceGroupsSortByEnum Enum with underlying type: string
type ListManagedInstanceGroupsSortByEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupsSortByEnum
const ( ListManagedInstanceGroupsSortByTimecreated ListManagedInstanceGroupsSortByEnum = "TIMECREATED" ListManagedInstanceGroupsSortByDisplayname ListManagedInstanceGroupsSortByEnum = "DISPLAYNAME" )
func GetListManagedInstanceGroupsSortByEnumValues() []ListManagedInstanceGroupsSortByEnum
GetListManagedInstanceGroupsSortByEnumValues Enumerates the set of values for ListManagedInstanceGroupsSortByEnum
ListManagedInstanceGroupsSortOrderEnum Enum with underlying type: string
type ListManagedInstanceGroupsSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstanceGroupsSortOrderEnum
const ( ListManagedInstanceGroupsSortOrderAsc ListManagedInstanceGroupsSortOrderEnum = "ASC" ListManagedInstanceGroupsSortOrderDesc ListManagedInstanceGroupsSortOrderEnum = "DESC" )
func GetListManagedInstanceGroupsSortOrderEnumValues() []ListManagedInstanceGroupsSortOrderEnum
GetListManagedInstanceGroupsSortOrderEnumValues Enumerates the set of values for ListManagedInstanceGroupsSortOrderEnum
ListManagedInstancesOsFamilyEnum Enum with underlying type: string
type ListManagedInstancesOsFamilyEnum string
Set of constants representing the allowable values for ListManagedInstancesOsFamilyEnum
const ( ListManagedInstancesOsFamilyLinux ListManagedInstancesOsFamilyEnum = "LINUX" ListManagedInstancesOsFamilyWindows ListManagedInstancesOsFamilyEnum = "WINDOWS" ListManagedInstancesOsFamilyAll ListManagedInstancesOsFamilyEnum = "ALL" )
func GetListManagedInstancesOsFamilyEnumValues() []ListManagedInstancesOsFamilyEnum
GetListManagedInstancesOsFamilyEnumValues Enumerates the set of values for ListManagedInstancesOsFamilyEnum
ListManagedInstancesRequest wrapper for the ListManagedInstances operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListManagedInstances.go.html to see an example of how to use ListManagedInstancesRequest.
type ListManagedInstancesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListManagedInstancesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListManagedInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The OS family for which to list resources. OsFamily ListManagedInstancesOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedInstancesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedInstancesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedInstancesRequest) String() string
ListManagedInstancesResponse wrapper for the ListManagedInstances operation
type ListManagedInstancesResponse struct { // The underlying http response RawResponse *http.Response // A list of []ManagedInstanceSummary instances Items []ManagedInstanceSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedInstancesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedInstancesResponse) String() string
ListManagedInstancesSortByEnum Enum with underlying type: string
type ListManagedInstancesSortByEnum string
Set of constants representing the allowable values for ListManagedInstancesSortByEnum
const ( ListManagedInstancesSortByTimecreated ListManagedInstancesSortByEnum = "TIMECREATED" ListManagedInstancesSortByDisplayname ListManagedInstancesSortByEnum = "DISPLAYNAME" )
func GetListManagedInstancesSortByEnumValues() []ListManagedInstancesSortByEnum
GetListManagedInstancesSortByEnumValues Enumerates the set of values for ListManagedInstancesSortByEnum
ListManagedInstancesSortOrderEnum Enum with underlying type: string
type ListManagedInstancesSortOrderEnum string
Set of constants representing the allowable values for ListManagedInstancesSortOrderEnum
const ( ListManagedInstancesSortOrderAsc ListManagedInstancesSortOrderEnum = "ASC" ListManagedInstancesSortOrderDesc ListManagedInstancesSortOrderEnum = "DESC" )
func GetListManagedInstancesSortOrderEnumValues() []ListManagedInstancesSortOrderEnum
GetListManagedInstancesSortOrderEnumValues Enumerates the set of values for ListManagedInstancesSortOrderEnum
ListPackagesInstalledOnManagedInstanceRequest wrapper for the ListPackagesInstalledOnManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListPackagesInstalledOnManagedInstance.go.html to see an example of how to use ListPackagesInstalledOnManagedInstanceRequest.
type ListPackagesInstalledOnManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListPackagesInstalledOnManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListPackagesInstalledOnManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListPackagesInstalledOnManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListPackagesInstalledOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListPackagesInstalledOnManagedInstanceRequest) String() string
ListPackagesInstalledOnManagedInstanceResponse wrapper for the ListPackagesInstalledOnManagedInstance operation
type ListPackagesInstalledOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // A list of []InstalledPackageSummary instances Items []InstalledPackageSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListPackagesInstalledOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListPackagesInstalledOnManagedInstanceResponse) String() string
ListPackagesInstalledOnManagedInstanceSortByEnum Enum with underlying type: string
type ListPackagesInstalledOnManagedInstanceSortByEnum string
Set of constants representing the allowable values for ListPackagesInstalledOnManagedInstanceSortByEnum
const ( ListPackagesInstalledOnManagedInstanceSortByTimecreated ListPackagesInstalledOnManagedInstanceSortByEnum = "TIMECREATED" ListPackagesInstalledOnManagedInstanceSortByDisplayname ListPackagesInstalledOnManagedInstanceSortByEnum = "DISPLAYNAME" )
func GetListPackagesInstalledOnManagedInstanceSortByEnumValues() []ListPackagesInstalledOnManagedInstanceSortByEnum
GetListPackagesInstalledOnManagedInstanceSortByEnumValues Enumerates the set of values for ListPackagesInstalledOnManagedInstanceSortByEnum
ListPackagesInstalledOnManagedInstanceSortOrderEnum Enum with underlying type: string
type ListPackagesInstalledOnManagedInstanceSortOrderEnum string
Set of constants representing the allowable values for ListPackagesInstalledOnManagedInstanceSortOrderEnum
const ( ListPackagesInstalledOnManagedInstanceSortOrderAsc ListPackagesInstalledOnManagedInstanceSortOrderEnum = "ASC" ListPackagesInstalledOnManagedInstanceSortOrderDesc ListPackagesInstalledOnManagedInstanceSortOrderEnum = "DESC" )
func GetListPackagesInstalledOnManagedInstanceSortOrderEnumValues() []ListPackagesInstalledOnManagedInstanceSortOrderEnum
GetListPackagesInstalledOnManagedInstanceSortOrderEnumValues Enumerates the set of values for ListPackagesInstalledOnManagedInstanceSortOrderEnum
ListScheduledJobsLifecycleStateEnum Enum with underlying type: string
type ListScheduledJobsLifecycleStateEnum string
Set of constants representing the allowable values for ListScheduledJobsLifecycleStateEnum
const ( ListScheduledJobsLifecycleStateCreating ListScheduledJobsLifecycleStateEnum = "CREATING" ListScheduledJobsLifecycleStateUpdating ListScheduledJobsLifecycleStateEnum = "UPDATING" ListScheduledJobsLifecycleStateActive ListScheduledJobsLifecycleStateEnum = "ACTIVE" ListScheduledJobsLifecycleStateDeleting ListScheduledJobsLifecycleStateEnum = "DELETING" ListScheduledJobsLifecycleStateDeleted ListScheduledJobsLifecycleStateEnum = "DELETED" ListScheduledJobsLifecycleStateFailed ListScheduledJobsLifecycleStateEnum = "FAILED" )
func GetListScheduledJobsLifecycleStateEnumValues() []ListScheduledJobsLifecycleStateEnum
GetListScheduledJobsLifecycleStateEnumValues Enumerates the set of values for ListScheduledJobsLifecycleStateEnum
ListScheduledJobsOperationTypeEnum Enum with underlying type: string
type ListScheduledJobsOperationTypeEnum string
Set of constants representing the allowable values for ListScheduledJobsOperationTypeEnum
const ( ListScheduledJobsOperationTypeInstall ListScheduledJobsOperationTypeEnum = "INSTALL" ListScheduledJobsOperationTypeUpdate ListScheduledJobsOperationTypeEnum = "UPDATE" ListScheduledJobsOperationTypeRemove ListScheduledJobsOperationTypeEnum = "REMOVE" ListScheduledJobsOperationTypeUpdateall ListScheduledJobsOperationTypeEnum = "UPDATEALL" )
func GetListScheduledJobsOperationTypeEnumValues() []ListScheduledJobsOperationTypeEnum
GetListScheduledJobsOperationTypeEnumValues Enumerates the set of values for ListScheduledJobsOperationTypeEnum
ListScheduledJobsOsFamilyEnum Enum with underlying type: string
type ListScheduledJobsOsFamilyEnum string
Set of constants representing the allowable values for ListScheduledJobsOsFamilyEnum
const ( ListScheduledJobsOsFamilyLinux ListScheduledJobsOsFamilyEnum = "LINUX" ListScheduledJobsOsFamilyWindows ListScheduledJobsOsFamilyEnum = "WINDOWS" ListScheduledJobsOsFamilyAll ListScheduledJobsOsFamilyEnum = "ALL" )
func GetListScheduledJobsOsFamilyEnumValues() []ListScheduledJobsOsFamilyEnum
GetListScheduledJobsOsFamilyEnumValues Enumerates the set of values for ListScheduledJobsOsFamilyEnum
ListScheduledJobsRequest wrapper for the ListScheduledJobs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListScheduledJobs.go.html to see an example of how to use ListScheduledJobsRequest.
type ListScheduledJobsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The ID of the managed instance for which to list resources. ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"` // The ID of the managed instace group for which to list resources. ManagedInstanceGroupId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceGroupId"` // The operation type for which to list resources OperationType ListScheduledJobsOperationTypeEnum `mandatory:"false" contributesTo:"query" name:"operationType" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListScheduledJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListScheduledJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The current lifecycle state for the object. LifecycleState ListScheduledJobsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The OS family for which to list resources. OsFamily ListScheduledJobsOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListScheduledJobsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListScheduledJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListScheduledJobsRequest) String() string
ListScheduledJobsResponse wrapper for the ListScheduledJobs operation
type ListScheduledJobsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ScheduledJobSummary instances Items []ScheduledJobSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListScheduledJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListScheduledJobsResponse) String() string
ListScheduledJobsSortByEnum Enum with underlying type: string
type ListScheduledJobsSortByEnum string
Set of constants representing the allowable values for ListScheduledJobsSortByEnum
const ( ListScheduledJobsSortByTimecreated ListScheduledJobsSortByEnum = "TIMECREATED" ListScheduledJobsSortByDisplayname ListScheduledJobsSortByEnum = "DISPLAYNAME" )
func GetListScheduledJobsSortByEnumValues() []ListScheduledJobsSortByEnum
GetListScheduledJobsSortByEnumValues Enumerates the set of values for ListScheduledJobsSortByEnum
ListScheduledJobsSortOrderEnum Enum with underlying type: string
type ListScheduledJobsSortOrderEnum string
Set of constants representing the allowable values for ListScheduledJobsSortOrderEnum
const ( ListScheduledJobsSortOrderAsc ListScheduledJobsSortOrderEnum = "ASC" ListScheduledJobsSortOrderDesc ListScheduledJobsSortOrderEnum = "DESC" )
func GetListScheduledJobsSortOrderEnumValues() []ListScheduledJobsSortOrderEnum
GetListScheduledJobsSortOrderEnumValues Enumerates the set of values for ListScheduledJobsSortOrderEnum
ListSoftwareSourcePackagesRequest wrapper for the ListSoftwareSourcePackages operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListSoftwareSourcePackages.go.html to see an example of how to use ListSoftwareSourcePackagesRequest.
type ListSoftwareSourcePackagesRequest struct { // The OCID of the software source. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListSoftwareSourcePackagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListSoftwareSourcePackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListSoftwareSourcePackagesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSoftwareSourcePackagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSoftwareSourcePackagesRequest) String() string
ListSoftwareSourcePackagesResponse wrapper for the ListSoftwareSourcePackages operation
type ListSoftwareSourcePackagesResponse struct { // The underlying http response RawResponse *http.Response // A list of []SoftwarePackageSummary instances Items []SoftwarePackageSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListSoftwareSourcePackagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSoftwareSourcePackagesResponse) String() string
ListSoftwareSourcePackagesSortByEnum Enum with underlying type: string
type ListSoftwareSourcePackagesSortByEnum string
Set of constants representing the allowable values for ListSoftwareSourcePackagesSortByEnum
const ( ListSoftwareSourcePackagesSortByTimecreated ListSoftwareSourcePackagesSortByEnum = "TIMECREATED" ListSoftwareSourcePackagesSortByDisplayname ListSoftwareSourcePackagesSortByEnum = "DISPLAYNAME" )
func GetListSoftwareSourcePackagesSortByEnumValues() []ListSoftwareSourcePackagesSortByEnum
GetListSoftwareSourcePackagesSortByEnumValues Enumerates the set of values for ListSoftwareSourcePackagesSortByEnum
ListSoftwareSourcePackagesSortOrderEnum Enum with underlying type: string
type ListSoftwareSourcePackagesSortOrderEnum string
Set of constants representing the allowable values for ListSoftwareSourcePackagesSortOrderEnum
const ( ListSoftwareSourcePackagesSortOrderAsc ListSoftwareSourcePackagesSortOrderEnum = "ASC" ListSoftwareSourcePackagesSortOrderDesc ListSoftwareSourcePackagesSortOrderEnum = "DESC" )
func GetListSoftwareSourcePackagesSortOrderEnumValues() []ListSoftwareSourcePackagesSortOrderEnum
GetListSoftwareSourcePackagesSortOrderEnumValues Enumerates the set of values for ListSoftwareSourcePackagesSortOrderEnum
ListSoftwareSourcesLifecycleStateEnum Enum with underlying type: string
type ListSoftwareSourcesLifecycleStateEnum string
Set of constants representing the allowable values for ListSoftwareSourcesLifecycleStateEnum
const ( ListSoftwareSourcesLifecycleStateCreating ListSoftwareSourcesLifecycleStateEnum = "CREATING" ListSoftwareSourcesLifecycleStateUpdating ListSoftwareSourcesLifecycleStateEnum = "UPDATING" ListSoftwareSourcesLifecycleStateActive ListSoftwareSourcesLifecycleStateEnum = "ACTIVE" ListSoftwareSourcesLifecycleStateDeleting ListSoftwareSourcesLifecycleStateEnum = "DELETING" ListSoftwareSourcesLifecycleStateDeleted ListSoftwareSourcesLifecycleStateEnum = "DELETED" ListSoftwareSourcesLifecycleStateFailed ListSoftwareSourcesLifecycleStateEnum = "FAILED" )
func GetListSoftwareSourcesLifecycleStateEnumValues() []ListSoftwareSourcesLifecycleStateEnum
GetListSoftwareSourcesLifecycleStateEnumValues Enumerates the set of values for ListSoftwareSourcesLifecycleStateEnum
ListSoftwareSourcesRequest wrapper for the ListSoftwareSources operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListSoftwareSources.go.html to see an example of how to use ListSoftwareSourcesRequest.
type ListSoftwareSourcesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListSoftwareSourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListSoftwareSourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The current lifecycle state for the object. LifecycleState ListSoftwareSourcesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListSoftwareSourcesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSoftwareSourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSoftwareSourcesRequest) String() string
ListSoftwareSourcesResponse wrapper for the ListSoftwareSources operation
type ListSoftwareSourcesResponse struct { // The underlying http response RawResponse *http.Response // A list of []SoftwareSourceSummary instances Items []SoftwareSourceSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListSoftwareSourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSoftwareSourcesResponse) String() string
ListSoftwareSourcesSortByEnum Enum with underlying type: string
type ListSoftwareSourcesSortByEnum string
Set of constants representing the allowable values for ListSoftwareSourcesSortByEnum
const ( ListSoftwareSourcesSortByTimecreated ListSoftwareSourcesSortByEnum = "TIMECREATED" ListSoftwareSourcesSortByDisplayname ListSoftwareSourcesSortByEnum = "DISPLAYNAME" )
func GetListSoftwareSourcesSortByEnumValues() []ListSoftwareSourcesSortByEnum
GetListSoftwareSourcesSortByEnumValues Enumerates the set of values for ListSoftwareSourcesSortByEnum
ListSoftwareSourcesSortOrderEnum Enum with underlying type: string
type ListSoftwareSourcesSortOrderEnum string
Set of constants representing the allowable values for ListSoftwareSourcesSortOrderEnum
const ( ListSoftwareSourcesSortOrderAsc ListSoftwareSourcesSortOrderEnum = "ASC" ListSoftwareSourcesSortOrderDesc ListSoftwareSourcesSortOrderEnum = "DESC" )
func GetListSoftwareSourcesSortOrderEnumValues() []ListSoftwareSourcesSortOrderEnum
GetListSoftwareSourcesSortOrderEnumValues Enumerates the set of values for ListSoftwareSourcesSortOrderEnum
ListUpcomingScheduledJobsLifecycleStateEnum Enum with underlying type: string
type ListUpcomingScheduledJobsLifecycleStateEnum string
Set of constants representing the allowable values for ListUpcomingScheduledJobsLifecycleStateEnum
const ( ListUpcomingScheduledJobsLifecycleStateCreating ListUpcomingScheduledJobsLifecycleStateEnum = "CREATING" ListUpcomingScheduledJobsLifecycleStateUpdating ListUpcomingScheduledJobsLifecycleStateEnum = "UPDATING" ListUpcomingScheduledJobsLifecycleStateActive ListUpcomingScheduledJobsLifecycleStateEnum = "ACTIVE" ListUpcomingScheduledJobsLifecycleStateDeleting ListUpcomingScheduledJobsLifecycleStateEnum = "DELETING" ListUpcomingScheduledJobsLifecycleStateDeleted ListUpcomingScheduledJobsLifecycleStateEnum = "DELETED" ListUpcomingScheduledJobsLifecycleStateFailed ListUpcomingScheduledJobsLifecycleStateEnum = "FAILED" )
func GetListUpcomingScheduledJobsLifecycleStateEnumValues() []ListUpcomingScheduledJobsLifecycleStateEnum
GetListUpcomingScheduledJobsLifecycleStateEnumValues Enumerates the set of values for ListUpcomingScheduledJobsLifecycleStateEnum
ListUpcomingScheduledJobsOsFamilyEnum Enum with underlying type: string
type ListUpcomingScheduledJobsOsFamilyEnum string
Set of constants representing the allowable values for ListUpcomingScheduledJobsOsFamilyEnum
const ( ListUpcomingScheduledJobsOsFamilyLinux ListUpcomingScheduledJobsOsFamilyEnum = "LINUX" ListUpcomingScheduledJobsOsFamilyWindows ListUpcomingScheduledJobsOsFamilyEnum = "WINDOWS" ListUpcomingScheduledJobsOsFamilyAll ListUpcomingScheduledJobsOsFamilyEnum = "ALL" )
func GetListUpcomingScheduledJobsOsFamilyEnumValues() []ListUpcomingScheduledJobsOsFamilyEnum
GetListUpcomingScheduledJobsOsFamilyEnumValues Enumerates the set of values for ListUpcomingScheduledJobsOsFamilyEnum
ListUpcomingScheduledJobsRequest wrapper for the ListUpcomingScheduledJobs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListUpcomingScheduledJobs.go.html to see an example of how to use ListUpcomingScheduledJobsRequest.
type ListUpcomingScheduledJobsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The cut-off time before which to list all upcoming schedules, in ISO 8601 format // Example: 2017-07-14T02:40:00.000Z TimeEnd *common.SDKTime `mandatory:"true" contributesTo:"query" name:"timeEnd"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListUpcomingScheduledJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListUpcomingScheduledJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The name of the tag. TagName *string `mandatory:"false" contributesTo:"query" name:"tagName"` // The value for the tag. TagValue *string `mandatory:"false" contributesTo:"query" name:"tagValue"` // The current lifecycle state for the object. LifecycleState ListUpcomingScheduledJobsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The OS family for which to list resources. OsFamily ListUpcomingScheduledJobsOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListUpcomingScheduledJobsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListUpcomingScheduledJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListUpcomingScheduledJobsRequest) String() string
ListUpcomingScheduledJobsResponse wrapper for the ListUpcomingScheduledJobs operation
type ListUpcomingScheduledJobsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ScheduledJobSummary instances Items []ScheduledJobSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListUpcomingScheduledJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListUpcomingScheduledJobsResponse) String() string
ListUpcomingScheduledJobsSortByEnum Enum with underlying type: string
type ListUpcomingScheduledJobsSortByEnum string
Set of constants representing the allowable values for ListUpcomingScheduledJobsSortByEnum
const ( ListUpcomingScheduledJobsSortByTimecreated ListUpcomingScheduledJobsSortByEnum = "TIMECREATED" ListUpcomingScheduledJobsSortByDisplayname ListUpcomingScheduledJobsSortByEnum = "DISPLAYNAME" )
func GetListUpcomingScheduledJobsSortByEnumValues() []ListUpcomingScheduledJobsSortByEnum
GetListUpcomingScheduledJobsSortByEnumValues Enumerates the set of values for ListUpcomingScheduledJobsSortByEnum
ListUpcomingScheduledJobsSortOrderEnum Enum with underlying type: string
type ListUpcomingScheduledJobsSortOrderEnum string
Set of constants representing the allowable values for ListUpcomingScheduledJobsSortOrderEnum
const ( ListUpcomingScheduledJobsSortOrderAsc ListUpcomingScheduledJobsSortOrderEnum = "ASC" ListUpcomingScheduledJobsSortOrderDesc ListUpcomingScheduledJobsSortOrderEnum = "DESC" )
func GetListUpcomingScheduledJobsSortOrderEnumValues() []ListUpcomingScheduledJobsSortOrderEnum
GetListUpcomingScheduledJobsSortOrderEnumValues Enumerates the set of values for ListUpcomingScheduledJobsSortOrderEnum
ListWindowsUpdatesInstalledOnManagedInstanceRequest wrapper for the ListWindowsUpdatesInstalledOnManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListWindowsUpdatesInstalledOnManagedInstance.go.html to see an example of how to use ListWindowsUpdatesInstalledOnManagedInstanceRequest.
type ListWindowsUpdatesInstalledOnManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWindowsUpdatesInstalledOnManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWindowsUpdatesInstalledOnManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWindowsUpdatesInstalledOnManagedInstanceRequest) String() string
ListWindowsUpdatesInstalledOnManagedInstanceResponse wrapper for the ListWindowsUpdatesInstalledOnManagedInstance operation
type ListWindowsUpdatesInstalledOnManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // A list of []InstalledWindowsUpdateSummary instances Items []InstalledWindowsUpdateSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWindowsUpdatesInstalledOnManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWindowsUpdatesInstalledOnManagedInstanceResponse) String() string
ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum Enum with underlying type: string
type ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum string
Set of constants representing the allowable values for ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum
const ( ListWindowsUpdatesInstalledOnManagedInstanceSortByTimecreated ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum = "TIMECREATED" ListWindowsUpdatesInstalledOnManagedInstanceSortByDisplayname ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum = "DISPLAYNAME" )
func GetListWindowsUpdatesInstalledOnManagedInstanceSortByEnumValues() []ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum
GetListWindowsUpdatesInstalledOnManagedInstanceSortByEnumValues Enumerates the set of values for ListWindowsUpdatesInstalledOnManagedInstanceSortByEnum
ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum Enum with underlying type: string
type ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum string
Set of constants representing the allowable values for ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum
const ( ListWindowsUpdatesInstalledOnManagedInstanceSortOrderAsc ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum = "ASC" ListWindowsUpdatesInstalledOnManagedInstanceSortOrderDesc ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum = "DESC" )
func GetListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnumValues() []ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum
GetListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnumValues Enumerates the set of values for ListWindowsUpdatesInstalledOnManagedInstanceSortOrderEnum
ListWindowsUpdatesRequest wrapper for the ListWindowsUpdates operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListWindowsUpdates.go.html to see an example of how to use ListWindowsUpdatesRequest.
type ListWindowsUpdatesRequest struct { // The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWindowsUpdatesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListWindowsUpdatesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWindowsUpdatesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWindowsUpdatesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWindowsUpdatesRequest) String() string
ListWindowsUpdatesResponse wrapper for the ListWindowsUpdates operation
type ListWindowsUpdatesResponse struct { // The underlying http response RawResponse *http.Response // A list of []WindowsUpdateSummary instances Items []WindowsUpdateSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWindowsUpdatesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWindowsUpdatesResponse) String() string
ListWindowsUpdatesSortByEnum Enum with underlying type: string
type ListWindowsUpdatesSortByEnum string
Set of constants representing the allowable values for ListWindowsUpdatesSortByEnum
const ( ListWindowsUpdatesSortByTimecreated ListWindowsUpdatesSortByEnum = "TIMECREATED" ListWindowsUpdatesSortByDisplayname ListWindowsUpdatesSortByEnum = "DISPLAYNAME" )
func GetListWindowsUpdatesSortByEnumValues() []ListWindowsUpdatesSortByEnum
GetListWindowsUpdatesSortByEnumValues Enumerates the set of values for ListWindowsUpdatesSortByEnum
ListWindowsUpdatesSortOrderEnum Enum with underlying type: string
type ListWindowsUpdatesSortOrderEnum string
Set of constants representing the allowable values for ListWindowsUpdatesSortOrderEnum
const ( ListWindowsUpdatesSortOrderAsc ListWindowsUpdatesSortOrderEnum = "ASC" ListWindowsUpdatesSortOrderDesc ListWindowsUpdatesSortOrderEnum = "DESC" )
func GetListWindowsUpdatesSortOrderEnumValues() []ListWindowsUpdatesSortOrderEnum
GetListWindowsUpdatesSortOrderEnumValues Enumerates the set of values for ListWindowsUpdatesSortOrderEnum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestError instances Items []WorkRequestError `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // A decimal number representing the number of seconds the client // should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const ( ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "TIMECREATED" ListWorkRequestErrorsSortByDisplayname ListWorkRequestErrorsSortByEnum = "DISPLAYNAME" )
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestLogEntry instances Items []WorkRequestLogEntry `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // A decimal number representing the number of seconds the client // should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const ( ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "TIMECREATED" ListWorkRequestLogsSortByDisplayname ListWorkRequestLogsSortByEnum = "DISPLAYNAME" )
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
ListWorkRequestsOsFamilyEnum Enum with underlying type: string
type ListWorkRequestsOsFamilyEnum string
Set of constants representing the allowable values for ListWorkRequestsOsFamilyEnum
const ( ListWorkRequestsOsFamilyLinux ListWorkRequestsOsFamilyEnum = "LINUX" ListWorkRequestsOsFamilyWindows ListWorkRequestsOsFamilyEnum = "WINDOWS" ListWorkRequestsOsFamilyAll ListWorkRequestsOsFamilyEnum = "ALL" )
func GetListWorkRequestsOsFamilyEnumValues() []ListWorkRequestsOsFamilyEnum
GetListWorkRequestsOsFamilyEnumValues Enumerates the set of values for ListWorkRequestsOsFamilyEnum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The ID of the managed instance for which to list resources. ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The OS family for which to list resources. OsFamily ListWorkRequestsOsFamilyEnum `mandatory:"false" contributesTo:"query" name:"osFamily" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestSummary instances Items []WorkRequestSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByTimecreated ListWorkRequestsSortByEnum = "TIMECREATED" ListWorkRequestsSortByDisplayname ListWorkRequestsSortByEnum = "DISPLAYNAME" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
ManagedInstance Detail information for an OCI Compute instance that is being managed
type ManagedInstance struct { // Managed Instance identifier DisplayName *string `mandatory:"true" json:"displayName"` // OCID for the managed instance Id *string `mandatory:"true" json:"id"` // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Information specified by the user about the managed instance Description *string `mandatory:"false" json:"description"` // Time at which the instance last checked in LastCheckin *string `mandatory:"false" json:"lastCheckin"` // Time at which the instance last booted LastBoot *string `mandatory:"false" json:"lastBoot"` // Number of updates available to be installed UpdatesAvailable *int `mandatory:"false" json:"updatesAvailable"` // Operating System Name OsName *string `mandatory:"false" json:"osName"` // Operating System Version OsVersion *string `mandatory:"false" json:"osVersion"` // Operating System Kernel Version OsKernelVersion *string `mandatory:"false" json:"osKernelVersion"` // status of the managed instance. Status ManagedInstanceStatusEnum `mandatory:"false" json:"status,omitempty"` // the parent (base) Software Source attached to the Managed Instance ParentSoftwareSource *SoftwareSourceId `mandatory:"false" json:"parentSoftwareSource"` // list of child Software Sources attached to the Managed Instance ChildSoftwareSources []SoftwareSourceId `mandatory:"false" json:"childSoftwareSources"` // The ids of the managed instance groups of which this instance is a // member. ManagedInstanceGroups []Id `mandatory:"false" json:"managedInstanceGroups"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` // Indicates whether a reboot is required to complete installation of updates. IsRebootRequired *bool `mandatory:"false" json:"isRebootRequired"` // Number of security type updates available to be installed SecurityUpdatesAvailable *int `mandatory:"false" json:"securityUpdatesAvailable"` // Number of bug fix type updates available to be installed BugUpdatesAvailable *int `mandatory:"false" json:"bugUpdatesAvailable"` // Number of enhancement type updates available to be installed EnhancementUpdatesAvailable *int `mandatory:"false" json:"enhancementUpdatesAvailable"` // Number of non-classified updates available to be installed OtherUpdatesAvailable *int `mandatory:"false" json:"otherUpdatesAvailable"` // Number of scheduled jobs associated with this instance ScheduledJobCount *int `mandatory:"false" json:"scheduledJobCount"` // Number of work requests associated with this instance WorkRequestCount *int `mandatory:"false" json:"workRequestCount"` }
func (m ManagedInstance) String() string
ManagedInstanceGroup Detail information for a managed instance group
type ManagedInstanceGroup struct { // Managed Instance Group identifier DisplayName *string `mandatory:"true" json:"displayName"` // OCID for the managed instance group Id *string `mandatory:"true" json:"id"` // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Information specified by the user about the managed instance group Description *string `mandatory:"false" json:"description"` // list of Managed Instances in the group ManagedInstances []Id `mandatory:"false" json:"managedInstances"` // The current state of the Software Source. LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` }
func (m ManagedInstanceGroup) String() string
ManagedInstanceGroupSummary An group of managed instances that will be managed together
type ManagedInstanceGroupSummary struct { // user settable name DisplayName *string `mandatory:"true" json:"displayName"` // OCID for the managed instance group Id *string `mandatory:"true" json:"id"` // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Information specified by the user about the managed instance group Description *string `mandatory:"false" json:"description"` // Number of managed instances in this managed instance group ManagedInstanceCount *int `mandatory:"false" json:"managedInstanceCount"` // The current state of the Software Source. LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` }
func (m ManagedInstanceGroupSummary) String() string
ManagedInstanceStatusEnum Enum with underlying type: string
type ManagedInstanceStatusEnum string
Set of constants representing the allowable values for ManagedInstanceStatusEnum
const ( ManagedInstanceStatusNormal ManagedInstanceStatusEnum = "NORMAL" ManagedInstanceStatusUnreachable ManagedInstanceStatusEnum = "UNREACHABLE" ManagedInstanceStatusError ManagedInstanceStatusEnum = "ERROR" ManagedInstanceStatusWarning ManagedInstanceStatusEnum = "WARNING" )
func GetManagedInstanceStatusEnumValues() []ManagedInstanceStatusEnum
GetManagedInstanceStatusEnumValues Enumerates the set of values for ManagedInstanceStatusEnum
ManagedInstanceSummary An OCI Compute instance that is being managed
type ManagedInstanceSummary struct { // user settable name DisplayName *string `mandatory:"true" json:"displayName"` // OCID for the managed instance Id *string `mandatory:"true" json:"id"` // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Time at which the instance last checked in LastCheckin *string `mandatory:"false" json:"lastCheckin"` // Time at which the instance last booted LastBoot *string `mandatory:"false" json:"lastBoot"` // Number of updates available to be installed UpdatesAvailable *int `mandatory:"false" json:"updatesAvailable"` // Information specified by the user about the managed instance Description *string `mandatory:"false" json:"description"` // status of the managed instance. Status ManagedInstanceSummaryStatusEnum `mandatory:"false" json:"status,omitempty"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` // Indicates whether a reboot is required to complete installation of updates. IsRebootRequired *bool `mandatory:"false" json:"isRebootRequired"` }
func (m ManagedInstanceSummary) String() string
ManagedInstanceSummaryStatusEnum Enum with underlying type: string
type ManagedInstanceSummaryStatusEnum string
Set of constants representing the allowable values for ManagedInstanceSummaryStatusEnum
const ( ManagedInstanceSummaryStatusNormal ManagedInstanceSummaryStatusEnum = "NORMAL" ManagedInstanceSummaryStatusUnreachable ManagedInstanceSummaryStatusEnum = "UNREACHABLE" ManagedInstanceSummaryStatusError ManagedInstanceSummaryStatusEnum = "ERROR" ManagedInstanceSummaryStatusWarning ManagedInstanceSummaryStatusEnum = "WARNING" )
func GetManagedInstanceSummaryStatusEnumValues() []ManagedInstanceSummaryStatusEnum
GetManagedInstanceSummaryStatusEnumValues Enumerates the set of values for ManagedInstanceSummaryStatusEnum
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCancelling OperationStatusEnum = "CANCELLING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypesEnum Enum with underlying type: string
type OperationTypesEnum string
Set of constants representing the allowable values for OperationTypesEnum
const ( OperationTypesInstall OperationTypesEnum = "INSTALL" OperationTypesUpdate OperationTypesEnum = "UPDATE" OperationTypesRemove OperationTypesEnum = "REMOVE" OperationTypesUpdateall OperationTypesEnum = "UPDATEALL" )
func GetOperationTypesEnumValues() []OperationTypesEnum
GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum
OsFamiliesEnum Enum with underlying type: string
type OsFamiliesEnum string
Set of constants representing the allowable values for OsFamiliesEnum
const ( OsFamiliesLinux OsFamiliesEnum = "LINUX" OsFamiliesWindows OsFamiliesEnum = "WINDOWS" OsFamiliesAll OsFamiliesEnum = "ALL" )
func GetOsFamiliesEnumValues() []OsFamiliesEnum
GetOsFamiliesEnumValues Enumerates the set of values for OsFamiliesEnum
OsManagementClient a client for OsManagement
type OsManagementClient struct { common.BaseClient // contains filtered or unexported fields }
func NewOsManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OsManagementClient, err error)
NewOsManagementClientWithConfigurationProvider Creates a new default OsManagement client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewOsManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OsManagementClient, err error)
NewOsManagementClientWithOboToken Creates a new default OsManagement client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client OsManagementClient) AddPackagesToSoftwareSource(ctx context.Context, request AddPackagesToSoftwareSourceRequest) (response AddPackagesToSoftwareSourceResponse, err error)
AddPackagesToSoftwareSource Adds a given list of Software Packages to a specific Software Source.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/AddPackagesToSoftwareSource.go.html to see an example of how to use AddPackagesToSoftwareSource API.
func (client OsManagementClient) AttachChildSoftwareSourceToManagedInstance(ctx context.Context, request AttachChildSoftwareSourceToManagedInstanceRequest) (response AttachChildSoftwareSourceToManagedInstanceResponse, err error)
AttachChildSoftwareSourceToManagedInstance Adds a child software source to a managed instance. After the software source has been added, then packages from that software source can be installed on the managed instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/AttachChildSoftwareSourceToManagedInstance.go.html to see an example of how to use AttachChildSoftwareSourceToManagedInstance API.
func (client OsManagementClient) AttachManagedInstanceToManagedInstanceGroup(ctx context.Context, request AttachManagedInstanceToManagedInstanceGroupRequest) (response AttachManagedInstanceToManagedInstanceGroupResponse, err error)
AttachManagedInstanceToManagedInstanceGroup Adds a Managed Instance to a Managed Instance Group. After the Managed Instance has been added, then operations can be performed on the Managed Instance Group which will then apply to all Managed Instances in the group.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/AttachManagedInstanceToManagedInstanceGroup.go.html to see an example of how to use AttachManagedInstanceToManagedInstanceGroup API.
func (client OsManagementClient) AttachParentSoftwareSourceToManagedInstance(ctx context.Context, request AttachParentSoftwareSourceToManagedInstanceRequest) (response AttachParentSoftwareSourceToManagedInstanceResponse, err error)
AttachParentSoftwareSourceToManagedInstance Adds a parent software source to a managed instance. After the software source has been added, then packages from that software source can be installed on the managed instance. Software sources that have this software source as a parent will be able to be added to this managed instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/AttachParentSoftwareSourceToManagedInstance.go.html to see an example of how to use AttachParentSoftwareSourceToManagedInstance API.
func (client OsManagementClient) ChangeManagedInstanceGroupCompartment(ctx context.Context, request ChangeManagedInstanceGroupCompartmentRequest) (response ChangeManagedInstanceGroupCompartmentResponse, err error)
ChangeManagedInstanceGroupCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ChangeManagedInstanceGroupCompartment.go.html to see an example of how to use ChangeManagedInstanceGroupCompartment API.
func (client OsManagementClient) ChangeScheduledJobCompartment(ctx context.Context, request ChangeScheduledJobCompartmentRequest) (response ChangeScheduledJobCompartmentResponse, err error)
ChangeScheduledJobCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ChangeScheduledJobCompartment.go.html to see an example of how to use ChangeScheduledJobCompartment API.
func (client OsManagementClient) ChangeSoftwareSourceCompartment(ctx context.Context, request ChangeSoftwareSourceCompartmentRequest) (response ChangeSoftwareSourceCompartmentResponse, err error)
ChangeSoftwareSourceCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ChangeSoftwareSourceCompartment.go.html to see an example of how to use ChangeSoftwareSourceCompartment API.
func (client *OsManagementClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client OsManagementClient) CreateManagedInstanceGroup(ctx context.Context, request CreateManagedInstanceGroupRequest) (response CreateManagedInstanceGroupResponse, err error)
CreateManagedInstanceGroup Creates a new Managed Instance Group on the management system. This will not contain any managed instances after it is first created, and they must be added later.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/CreateManagedInstanceGroup.go.html to see an example of how to use CreateManagedInstanceGroup API.
func (client OsManagementClient) CreateScheduledJob(ctx context.Context, request CreateScheduledJobRequest) (response CreateScheduledJobResponse, err error)
CreateScheduledJob Creates a new Scheduled Job to perform a specific package operation on a set of managed instances or managed instance groups. Can be created as a one-time execution in the future, or as a recurring execution that repeats on a defined interval.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/CreateScheduledJob.go.html to see an example of how to use CreateScheduledJob API.
func (client OsManagementClient) CreateSoftwareSource(ctx context.Context, request CreateSoftwareSourceRequest) (response CreateSoftwareSourceResponse, err error)
CreateSoftwareSource Creates a new custom Software Source on the management system. This will not contain any packages after it is first created, and they must be added later.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/CreateSoftwareSource.go.html to see an example of how to use CreateSoftwareSource API.
func (client OsManagementClient) DeleteManagedInstanceGroup(ctx context.Context, request DeleteManagedInstanceGroupRequest) (response DeleteManagedInstanceGroupResponse, err error)
DeleteManagedInstanceGroup Deletes a Managed Instance Group from the management system
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/DeleteManagedInstanceGroup.go.html to see an example of how to use DeleteManagedInstanceGroup API.
func (client OsManagementClient) DeleteScheduledJob(ctx context.Context, request DeleteScheduledJobRequest) (response DeleteScheduledJobResponse, err error)
DeleteScheduledJob Cancels an existing Scheduled Job on the management system
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/DeleteScheduledJob.go.html to see an example of how to use DeleteScheduledJob API.
func (client OsManagementClient) DeleteSoftwareSource(ctx context.Context, request DeleteSoftwareSourceRequest) (response DeleteSoftwareSourceResponse, err error)
DeleteSoftwareSource Deletes a custom Software Source on the management system
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/DeleteSoftwareSource.go.html to see an example of how to use DeleteSoftwareSource API.
func (client OsManagementClient) DetachChildSoftwareSourceFromManagedInstance(ctx context.Context, request DetachChildSoftwareSourceFromManagedInstanceRequest) (response DetachChildSoftwareSourceFromManagedInstanceResponse, err error)
DetachChildSoftwareSourceFromManagedInstance Removes a child software source from a managed instance. Packages will no longer be able to be installed from these software sources.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/DetachChildSoftwareSourceFromManagedInstance.go.html to see an example of how to use DetachChildSoftwareSourceFromManagedInstance API.
func (client OsManagementClient) DetachManagedInstanceFromManagedInstanceGroup(ctx context.Context, request DetachManagedInstanceFromManagedInstanceGroupRequest) (response DetachManagedInstanceFromManagedInstanceGroupResponse, err error)
DetachManagedInstanceFromManagedInstanceGroup Removes a Managed Instance from a Managed Instance Group.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/DetachManagedInstanceFromManagedInstanceGroup.go.html to see an example of how to use DetachManagedInstanceFromManagedInstanceGroup API.
func (client OsManagementClient) DetachParentSoftwareSourceFromManagedInstance(ctx context.Context, request DetachParentSoftwareSourceFromManagedInstanceRequest) (response DetachParentSoftwareSourceFromManagedInstanceResponse, err error)
DetachParentSoftwareSourceFromManagedInstance Removes a software source from a managed instance. All child software sources will also be removed from the managed instance. Packages will no longer be able to be installed from these software sources.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/DetachParentSoftwareSourceFromManagedInstance.go.html to see an example of how to use DetachParentSoftwareSourceFromManagedInstance API.
func (client OsManagementClient) GetErratum(ctx context.Context, request GetErratumRequest) (response GetErratumResponse, err error)
GetErratum Returns a specific erratum.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetErratum.go.html to see an example of how to use GetErratum API.
func (client OsManagementClient) GetManagedInstance(ctx context.Context, request GetManagedInstanceRequest) (response GetManagedInstanceResponse, err error)
GetManagedInstance Returns a specific Managed Instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetManagedInstance.go.html to see an example of how to use GetManagedInstance API.
func (client OsManagementClient) GetManagedInstanceGroup(ctx context.Context, request GetManagedInstanceGroupRequest) (response GetManagedInstanceGroupResponse, err error)
GetManagedInstanceGroup Returns a specific Managed Instance Group.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetManagedInstanceGroup.go.html to see an example of how to use GetManagedInstanceGroup API.
func (client OsManagementClient) GetScheduledJob(ctx context.Context, request GetScheduledJobRequest) (response GetScheduledJobResponse, err error)
GetScheduledJob Gets the detailed information for the Scheduled Job with the given ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetScheduledJob.go.html to see an example of how to use GetScheduledJob API.
func (client OsManagementClient) GetSoftwarePackage(ctx context.Context, request GetSoftwarePackageRequest) (response GetSoftwarePackageResponse, err error)
GetSoftwarePackage Returns a specific Software Package.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetSoftwarePackage.go.html to see an example of how to use GetSoftwarePackage API.
func (client OsManagementClient) GetSoftwareSource(ctx context.Context, request GetSoftwareSourceRequest) (response GetSoftwareSourceResponse, err error)
GetSoftwareSource Returns a specific Software Source.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetSoftwareSource.go.html to see an example of how to use GetSoftwareSource API.
func (client OsManagementClient) GetWindowsUpdate(ctx context.Context, request GetWindowsUpdateRequest) (response GetWindowsUpdateResponse, err error)
GetWindowsUpdate Returns a Windows Update object.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetWindowsUpdate.go.html to see an example of how to use GetWindowsUpdate API.
func (client OsManagementClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the detailed information for the work request with the given ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client OsManagementClient) InstallAllPackageUpdatesOnManagedInstance(ctx context.Context, request InstallAllPackageUpdatesOnManagedInstanceRequest) (response InstallAllPackageUpdatesOnManagedInstanceResponse, err error)
InstallAllPackageUpdatesOnManagedInstance Install all of the available package updates for the managed instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/InstallAllPackageUpdatesOnManagedInstance.go.html to see an example of how to use InstallAllPackageUpdatesOnManagedInstance API.
func (client OsManagementClient) InstallAllWindowsUpdatesOnManagedInstance(ctx context.Context, request InstallAllWindowsUpdatesOnManagedInstanceRequest) (response InstallAllWindowsUpdatesOnManagedInstanceResponse, err error)
InstallAllWindowsUpdatesOnManagedInstance Install all of the available Windows updates for the managed instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/InstallAllWindowsUpdatesOnManagedInstance.go.html to see an example of how to use InstallAllWindowsUpdatesOnManagedInstance API.
func (client OsManagementClient) InstallPackageOnManagedInstance(ctx context.Context, request InstallPackageOnManagedInstanceRequest) (response InstallPackageOnManagedInstanceResponse, err error)
InstallPackageOnManagedInstance Installs a package on a managed instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/InstallPackageOnManagedInstance.go.html to see an example of how to use InstallPackageOnManagedInstance API.
func (client OsManagementClient) InstallPackageUpdateOnManagedInstance(ctx context.Context, request InstallPackageUpdateOnManagedInstanceRequest) (response InstallPackageUpdateOnManagedInstanceResponse, err error)
InstallPackageUpdateOnManagedInstance Updates a package on a managed instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/InstallPackageUpdateOnManagedInstance.go.html to see an example of how to use InstallPackageUpdateOnManagedInstance API.
func (client OsManagementClient) InstallWindowsUpdateOnManagedInstance(ctx context.Context, request InstallWindowsUpdateOnManagedInstanceRequest) (response InstallWindowsUpdateOnManagedInstanceResponse, err error)
InstallWindowsUpdateOnManagedInstance Installs a Windows update on a managed instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/InstallWindowsUpdateOnManagedInstance.go.html to see an example of how to use InstallWindowsUpdateOnManagedInstance API.
func (client OsManagementClient) ListAvailablePackagesForManagedInstance(ctx context.Context, request ListAvailablePackagesForManagedInstanceRequest) (response ListAvailablePackagesForManagedInstanceResponse, err error)
ListAvailablePackagesForManagedInstance Returns a list of packages available for install on the Managed Instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListAvailablePackagesForManagedInstance.go.html to see an example of how to use ListAvailablePackagesForManagedInstance API.
func (client OsManagementClient) ListAvailableSoftwareSourcesForManagedInstance(ctx context.Context, request ListAvailableSoftwareSourcesForManagedInstanceRequest) (response ListAvailableSoftwareSourcesForManagedInstanceResponse, err error)
ListAvailableSoftwareSourcesForManagedInstance Returns a list of available software sources for a Managed Instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListAvailableSoftwareSourcesForManagedInstance.go.html to see an example of how to use ListAvailableSoftwareSourcesForManagedInstance API.
func (client OsManagementClient) ListAvailableUpdatesForManagedInstance(ctx context.Context, request ListAvailableUpdatesForManagedInstanceRequest) (response ListAvailableUpdatesForManagedInstanceResponse, err error)
ListAvailableUpdatesForManagedInstance Returns a list of available updates for a Managed Instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListAvailableUpdatesForManagedInstance.go.html to see an example of how to use ListAvailableUpdatesForManagedInstance API.
func (client OsManagementClient) ListAvailableWindowsUpdatesForManagedInstance(ctx context.Context, request ListAvailableWindowsUpdatesForManagedInstanceRequest) (response ListAvailableWindowsUpdatesForManagedInstanceResponse, err error)
ListAvailableWindowsUpdatesForManagedInstance Returns a list of available Windows updates for a Managed Instance. This is only applicable to Windows instances.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListAvailableWindowsUpdatesForManagedInstance.go.html to see an example of how to use ListAvailableWindowsUpdatesForManagedInstance API.
func (client OsManagementClient) ListErrata(ctx context.Context, request ListErrataRequest) (response ListErrataResponse, err error)
ListErrata Returns a list of all of the currently available Errata in the system
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListErrata.go.html to see an example of how to use ListErrata API.
func (client OsManagementClient) ListManagedInstanceErrata(ctx context.Context, request ListManagedInstanceErrataRequest) (response ListManagedInstanceErrataResponse, err error)
ListManagedInstanceErrata Returns a list of errata relevant to the Managed Instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListManagedInstanceErrata.go.html to see an example of how to use ListManagedInstanceErrata API.
func (client OsManagementClient) ListManagedInstanceGroups(ctx context.Context, request ListManagedInstanceGroupsRequest) (response ListManagedInstanceGroupsResponse, err error)
ListManagedInstanceGroups Returns a list of all Managed Instance Groups.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListManagedInstanceGroups.go.html to see an example of how to use ListManagedInstanceGroups API.
func (client OsManagementClient) ListManagedInstances(ctx context.Context, request ListManagedInstancesRequest) (response ListManagedInstancesResponse, err error)
ListManagedInstances Returns a list of all Managed Instances.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListManagedInstances.go.html to see an example of how to use ListManagedInstances API.
func (client OsManagementClient) ListPackagesInstalledOnManagedInstance(ctx context.Context, request ListPackagesInstalledOnManagedInstanceRequest) (response ListPackagesInstalledOnManagedInstanceResponse, err error)
ListPackagesInstalledOnManagedInstance Returns a list of installed packages on the Managed Instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListPackagesInstalledOnManagedInstance.go.html to see an example of how to use ListPackagesInstalledOnManagedInstance API.
func (client OsManagementClient) ListScheduledJobs(ctx context.Context, request ListScheduledJobsRequest) (response ListScheduledJobsResponse, err error)
ListScheduledJobs Returns a list of all of the currently active Scheduled Jobs in the system
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListScheduledJobs.go.html to see an example of how to use ListScheduledJobs API.
func (client OsManagementClient) ListSoftwareSourcePackages(ctx context.Context, request ListSoftwareSourcePackagesRequest) (response ListSoftwareSourcePackagesResponse, err error)
ListSoftwareSourcePackages Lists Software Packages in a Software Source
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListSoftwareSourcePackages.go.html to see an example of how to use ListSoftwareSourcePackages API.
func (client OsManagementClient) ListSoftwareSources(ctx context.Context, request ListSoftwareSourcesRequest) (response ListSoftwareSourcesResponse, err error)
ListSoftwareSources Returns a list of all Software Sources.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListSoftwareSources.go.html to see an example of how to use ListSoftwareSources API.
func (client OsManagementClient) ListUpcomingScheduledJobs(ctx context.Context, request ListUpcomingScheduledJobsRequest) (response ListUpcomingScheduledJobsResponse, err error)
ListUpcomingScheduledJobs Returns a list of all of the Scheduled Jobs whose next execution time is at or before the specified time.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListUpcomingScheduledJobs.go.html to see an example of how to use ListUpcomingScheduledJobs API.
func (client OsManagementClient) ListWindowsUpdates(ctx context.Context, request ListWindowsUpdatesRequest) (response ListWindowsUpdatesResponse, err error)
ListWindowsUpdates Returns a list of Windows Updates.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListWindowsUpdates.go.html to see an example of how to use ListWindowsUpdates API.
func (client OsManagementClient) ListWindowsUpdatesInstalledOnManagedInstance(ctx context.Context, request ListWindowsUpdatesInstalledOnManagedInstanceRequest) (response ListWindowsUpdatesInstalledOnManagedInstanceResponse, err error)
ListWindowsUpdatesInstalledOnManagedInstance Returns a list of installed Windows updates for a Managed Instance. This is only applicable to Windows instances.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListWindowsUpdatesInstalledOnManagedInstance.go.html to see an example of how to use ListWindowsUpdatesInstalledOnManagedInstance API.
func (client OsManagementClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Gets the errors for the work request with the given ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client OsManagementClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Lists the log entries for the work request with the given ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (client OsManagementClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client OsManagementClient) RemovePackageFromManagedInstance(ctx context.Context, request RemovePackageFromManagedInstanceRequest) (response RemovePackageFromManagedInstanceResponse, err error)
RemovePackageFromManagedInstance Removes an installed package from a managed instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/RemovePackageFromManagedInstance.go.html to see an example of how to use RemovePackageFromManagedInstance API.
func (client OsManagementClient) RemovePackagesFromSoftwareSource(ctx context.Context, request RemovePackagesFromSoftwareSourceRequest) (response RemovePackagesFromSoftwareSourceResponse, err error)
RemovePackagesFromSoftwareSource Removes a given list of Software Packages from a specific Software Source.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/RemovePackagesFromSoftwareSource.go.html to see an example of how to use RemovePackagesFromSoftwareSource API.
func (client OsManagementClient) RunScheduledJobNow(ctx context.Context, request RunScheduledJobNowRequest) (response RunScheduledJobNowResponse, err error)
RunScheduledJobNow This will trigger an already created Scheduled Job to being executing immediately instead of waiting for its next regularly scheduled time.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/RunScheduledJobNow.go.html to see an example of how to use RunScheduledJobNow API.
func (client OsManagementClient) SearchSoftwarePackages(ctx context.Context, request SearchSoftwarePackagesRequest) (response SearchSoftwarePackagesResponse, err error)
SearchSoftwarePackages Searches all of the available Software Sources and returns any/all Software Packages matching the search criteria.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/SearchSoftwarePackages.go.html to see an example of how to use SearchSoftwarePackages API.
func (client *OsManagementClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client OsManagementClient) SkipNextScheduledJobExecution(ctx context.Context, request SkipNextScheduledJobExecutionRequest) (response SkipNextScheduledJobExecutionResponse, err error)
SkipNextScheduledJobExecution This will force an already created Scheduled Job to skip its next regularly scheduled execution
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/SkipNextScheduledJobExecution.go.html to see an example of how to use SkipNextScheduledJobExecution API.
func (client OsManagementClient) UpdateManagedInstanceGroup(ctx context.Context, request UpdateManagedInstanceGroupRequest) (response UpdateManagedInstanceGroupResponse, err error)
UpdateManagedInstanceGroup Updates a specific Managed Instance Group.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/UpdateManagedInstanceGroup.go.html to see an example of how to use UpdateManagedInstanceGroup API.
func (client OsManagementClient) UpdateScheduledJob(ctx context.Context, request UpdateScheduledJobRequest) (response UpdateScheduledJobResponse, err error)
UpdateScheduledJob Updates an existing Scheduled Job on the management system.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/UpdateScheduledJob.go.html to see an example of how to use UpdateScheduledJob API.
func (client OsManagementClient) UpdateSoftwareSource(ctx context.Context, request UpdateSoftwareSourceRequest) (response UpdateSoftwareSourceResponse, err error)
UpdateSoftwareSource Updates an existing custom Software Source on the management system.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/UpdateSoftwareSource.go.html to see an example of how to use UpdateSoftwareSource API.
PackageName Identifying information for the specified package
type PackageName struct { // package identifier Name *string `mandatory:"true" json:"name"` }
func (m PackageName) String() string
PackageUpdateTypesEnum Enum with underlying type: string
type PackageUpdateTypesEnum string
Set of constants representing the allowable values for PackageUpdateTypesEnum
const ( PackageUpdateTypesSecurity PackageUpdateTypesEnum = "SECURITY" PackageUpdateTypesBugfix PackageUpdateTypesEnum = "BUGFIX" PackageUpdateTypesEnhancement PackageUpdateTypesEnum = "ENHANCEMENT" PackageUpdateTypesAll PackageUpdateTypesEnum = "ALL" )
func GetPackageUpdateTypesEnumValues() []PackageUpdateTypesEnum
GetPackageUpdateTypesEnumValues Enumerates the set of values for PackageUpdateTypesEnum
Recurrence An object for representing a recurrence time interval
type Recurrence struct { // the interval period for the recurrence IntervalType RecurrenceIntervalTypeEnum `mandatory:"true" json:"intervalType"` // the value for the interval period for the recurrence IntervalValue *string `mandatory:"true" json:"intervalValue"` }
func (m Recurrence) String() string
RecurrenceIntervalTypeEnum Enum with underlying type: string
type RecurrenceIntervalTypeEnum string
Set of constants representing the allowable values for RecurrenceIntervalTypeEnum
const ( RecurrenceIntervalTypeMinutes RecurrenceIntervalTypeEnum = "MINUTES" RecurrenceIntervalTypeHours RecurrenceIntervalTypeEnum = "HOURS" RecurrenceIntervalTypeDays RecurrenceIntervalTypeEnum = "DAYS" RecurrenceIntervalTypeWeeks RecurrenceIntervalTypeEnum = "WEEKS" )
func GetRecurrenceIntervalTypeEnumValues() []RecurrenceIntervalTypeEnum
GetRecurrenceIntervalTypeEnumValues Enumerates the set of values for RecurrenceIntervalTypeEnum
RemovePackageFromManagedInstanceRequest wrapper for the RemovePackageFromManagedInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/RemovePackageFromManagedInstance.go.html to see an example of how to use RemovePackageFromManagedInstanceRequest.
type RemovePackageFromManagedInstanceRequest struct { // OCID for the managed instance ManagedInstanceId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceId"` // Package name SoftwarePackageName *string `mandatory:"true" contributesTo:"query" name:"softwarePackageName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RemovePackageFromManagedInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemovePackageFromManagedInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemovePackageFromManagedInstanceRequest) String() string
RemovePackageFromManagedInstanceResponse wrapper for the RemovePackageFromManagedInstance operation
type RemovePackageFromManagedInstanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response RemovePackageFromManagedInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemovePackageFromManagedInstanceResponse) String() string
RemovePackagesFromSoftwareSourceDetails List of software package names
type RemovePackagesFromSoftwareSourceDetails struct { // the list of package names PackageNames []string `mandatory:"true" json:"packageNames"` }
func (m RemovePackagesFromSoftwareSourceDetails) String() string
RemovePackagesFromSoftwareSourceRequest wrapper for the RemovePackagesFromSoftwareSource operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/RemovePackagesFromSoftwareSource.go.html to see an example of how to use RemovePackagesFromSoftwareSourceRequest.
type RemovePackagesFromSoftwareSourceRequest struct { // The OCID of the software source. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // A list of package identifiers RemovePackagesFromSoftwareSourceDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RemovePackagesFromSoftwareSourceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemovePackagesFromSoftwareSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemovePackagesFromSoftwareSourceRequest) String() string
RemovePackagesFromSoftwareSourceResponse wrapper for the RemovePackagesFromSoftwareSource operation
type RemovePackagesFromSoftwareSourceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response RemovePackagesFromSoftwareSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemovePackagesFromSoftwareSourceResponse) String() string
RunScheduledJobNowRequest wrapper for the RunScheduledJobNow operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/RunScheduledJobNow.go.html to see an example of how to use RunScheduledJobNowRequest.
type RunScheduledJobNowRequest struct { // The ID of the scheduled job. ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RunScheduledJobNowRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RunScheduledJobNowRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RunScheduledJobNowRequest) String() string
RunScheduledJobNowResponse wrapper for the RunScheduledJobNow operation
type RunScheduledJobNowResponse struct { // The underlying http response RawResponse *http.Response // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response RunScheduledJobNowResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RunScheduledJobNowResponse) String() string
ScheduleTypesEnum Enum with underlying type: string
type ScheduleTypesEnum string
Set of constants representing the allowable values for ScheduleTypesEnum
const ( ScheduleTypesOnetime ScheduleTypesEnum = "ONETIME" ScheduleTypesRecurring ScheduleTypesEnum = "RECURRING" )
func GetScheduleTypesEnumValues() []ScheduleTypesEnum
GetScheduleTypesEnumValues Enumerates the set of values for ScheduleTypesEnum
ScheduledJob Detailed information about a Scheduled Job
type ScheduledJob struct { // OCID for the Scheduled Job Id *string `mandatory:"true" json:"id"` // Scheduled Job name DisplayName *string `mandatory:"true" json:"displayName"` // OCID for the Compartment CompartmentId *string `mandatory:"false" json:"compartmentId"` // Details describing the Scheduled Job. Description *string `mandatory:"false" json:"description"` // the type of scheduling this Scheduled Job follows ScheduleType ScheduleTypesEnum `mandatory:"false" json:"scheduleType,omitempty"` // the time of the next execution of this Scheduled Job TimeNextExecution *common.SDKTime `mandatory:"false" json:"timeNextExecution"` // the time of the last execution of this Scheduled Job TimeLastExecution *common.SDKTime `mandatory:"false" json:"timeLastExecution"` // the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) IntervalType IntervalTypesEnum `mandatory:"false" json:"intervalType,omitempty"` // the value for the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) IntervalValue *string `mandatory:"false" json:"intervalValue"` // the list of managed instances this scheduled job operates on (mutually exclusive with managedInstanceGroups) ManagedInstances []Id `mandatory:"false" json:"managedInstances"` // the list of managed instance groups this scheduled job operates on (mutually exclusive with managedInstances) ManagedInstanceGroups []Id `mandatory:"false" json:"managedInstanceGroups"` // the type of operation this Scheduled Job performs OperationType OperationTypesEnum `mandatory:"false" json:"operationType,omitempty"` // Type of the update (only if operation type is UPDATEALL) UpdateType PackageUpdateTypesEnum `mandatory:"false" json:"updateType,omitempty"` // the names of the updates (only if operation type is INSTALL/UPDATE/REMOVE) PackageNames []PackageName `mandatory:"false" json:"packageNames"` // list of Work Requests associated with this Scheduled Job WorkRequests []Id `mandatory:"false" json:"workRequests"` // The current state of the Scheduled Job. LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The unique names of the Windows Updates (only if operation type is INSTALL). // This is only applicable when the osFamily is for Windows managed instances. UpdateNames []string `mandatory:"false" json:"updateNames"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` }
func (m ScheduledJob) String() string
ScheduledJobSummary Basic information about a Scheduled Job
type ScheduledJobSummary struct { // OCID for the Scheduled Job Id *string `mandatory:"true" json:"id"` // Scheduled Job name DisplayName *string `mandatory:"true" json:"displayName"` // OCID for the Compartment CompartmentId *string `mandatory:"false" json:"compartmentId"` // the type of scheduling this Scheduled Job follows ScheduleType ScheduleTypesEnum `mandatory:"false" json:"scheduleType,omitempty"` // the time/date of the next scheduled execution of this Scheduled Job TimeNextExecution *common.SDKTime `mandatory:"false" json:"timeNextExecution"` // the time/date of the last execution of this Scheduled Job TimeLastExecution *common.SDKTime `mandatory:"false" json:"timeLastExecution"` // the list of managed instances this scheduled job operates on (mutually exclusive with managedInstanceGroups) ManagedInstances []Id `mandatory:"false" json:"managedInstances"` // the list of managed instance groups this scheduled job operates on (mutually exclusive with managedInstances) ManagedInstanceGroups []Id `mandatory:"false" json:"managedInstanceGroups"` // the type of operation this Scheduled Job performs OperationType OperationTypesEnum `mandatory:"false" json:"operationType,omitempty"` // The current state of the Scheduled Job. LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` }
func (m ScheduledJobSummary) String() string
SearchSoftwarePackagesRequest wrapper for the SearchSoftwarePackages operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/SearchSoftwarePackages.go.html to see an example of how to use SearchSoftwarePackagesRequest.
type SearchSoftwarePackagesRequest struct { // the identifier for the software package (not an OCID) SoftwarePackageName *string `mandatory:"false" contributesTo:"query" name:"softwarePackageName"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The name of the CVE as published. // Example: `CVE-2006-4535` CveName *string `mandatory:"false" contributesTo:"query" name:"cveName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder SearchSoftwarePackagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. SortBy SearchSoftwarePackagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request SearchSoftwarePackagesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SearchSoftwarePackagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SearchSoftwarePackagesRequest) String() string
SearchSoftwarePackagesResponse wrapper for the SearchSoftwarePackages operation
type SearchSoftwarePackagesResponse struct { // The underlying http response RawResponse *http.Response // A list of []SoftwarePackageSearchSummary instances Items []SoftwarePackageSearchSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this // header appears in the response, then a partial list might have been // returned. Include this value as the `page` parameter for the subsequent // GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SearchSoftwarePackagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SearchSoftwarePackagesResponse) String() string
SearchSoftwarePackagesSortByEnum Enum with underlying type: string
type SearchSoftwarePackagesSortByEnum string
Set of constants representing the allowable values for SearchSoftwarePackagesSortByEnum
const ( SearchSoftwarePackagesSortByTimecreated SearchSoftwarePackagesSortByEnum = "TIMECREATED" SearchSoftwarePackagesSortByDisplayname SearchSoftwarePackagesSortByEnum = "DISPLAYNAME" )
func GetSearchSoftwarePackagesSortByEnumValues() []SearchSoftwarePackagesSortByEnum
GetSearchSoftwarePackagesSortByEnumValues Enumerates the set of values for SearchSoftwarePackagesSortByEnum
SearchSoftwarePackagesSortOrderEnum Enum with underlying type: string
type SearchSoftwarePackagesSortOrderEnum string
Set of constants representing the allowable values for SearchSoftwarePackagesSortOrderEnum
const ( SearchSoftwarePackagesSortOrderAsc SearchSoftwarePackagesSortOrderEnum = "ASC" SearchSoftwarePackagesSortOrderDesc SearchSoftwarePackagesSortOrderEnum = "DESC" )
func GetSearchSoftwarePackagesSortOrderEnumValues() []SearchSoftwarePackagesSortOrderEnum
GetSearchSoftwarePackagesSortOrderEnumValues Enumerates the set of values for SearchSoftwarePackagesSortOrderEnum
SkipNextScheduledJobExecutionRequest wrapper for the SkipNextScheduledJobExecution operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/SkipNextScheduledJobExecution.go.html to see an example of how to use SkipNextScheduledJobExecutionRequest.
type SkipNextScheduledJobExecutionRequest struct { // The ID of the scheduled job. ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request SkipNextScheduledJobExecutionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SkipNextScheduledJobExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SkipNextScheduledJobExecutionRequest) String() string
SkipNextScheduledJobExecutionResponse wrapper for the SkipNextScheduledJobExecution operation
type SkipNextScheduledJobExecutionResponse struct { // The underlying http response RawResponse *http.Response // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response SkipNextScheduledJobExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SkipNextScheduledJobExecutionResponse) String() string
SoftwarePackage The details for a software package
type SoftwarePackage struct { // Package name DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the package. NOTE - This is not an OCID Name *string `mandatory:"true" json:"name"` // Type of the package Type *string `mandatory:"true" json:"type"` // Version of the package Version *string `mandatory:"true" json:"version"` // the architecture for which this software was built Architecture *string `mandatory:"false" json:"architecture"` // date of the last update to the package LastModifiedDate *string `mandatory:"false" json:"lastModifiedDate"` // checksum of the package Checksum *string `mandatory:"false" json:"checksum"` // type of the checksum ChecksumType *string `mandatory:"false" json:"checksumType"` // description of the package Description *string `mandatory:"false" json:"description"` // size of the package in bytes SizeInBytes *int64 `mandatory:"false" json:"sizeInBytes"` // list of dependencies for the software package Dependencies []SoftwarePackageDependency `mandatory:"false" json:"dependencies"` // list of files for the software package Files []SoftwarePackageFile `mandatory:"false" json:"files"` // list of software sources that provide the software package SoftwareSources []SoftwareSourceId `mandatory:"false" json:"softwareSources"` }
func (m SoftwarePackage) String() string
SoftwarePackageDependency A dependecy for a software package
type SoftwarePackageDependency struct { // the software package's dependency Dependency *string `mandatory:"false" json:"dependency"` // the type of the dependency DependencyType *string `mandatory:"false" json:"dependencyType"` // the modifier for the dependency DependencyModifier *string `mandatory:"false" json:"dependencyModifier"` }
func (m SoftwarePackageDependency) String() string
SoftwarePackageFile A file associated with a package
type SoftwarePackageFile struct { // file path Path *string `mandatory:"false" json:"path"` // type of the file Type *string `mandatory:"false" json:"type"` // The date and time of the last modification to this file, as described // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"` // checksum of the file Checksum *string `mandatory:"false" json:"checksum"` // type of the checksum ChecksumType *string `mandatory:"false" json:"checksumType"` // size of the file in bytes SizeInBytes *int64 `mandatory:"false" json:"sizeInBytes"` }
func (m SoftwarePackageFile) String() string
SoftwarePackageSearchSummary Summary information for a software package
type SoftwarePackageSearchSummary struct { // Package name DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the package. NOTE - This is not an OCID Name *string `mandatory:"true" json:"name"` // Type of the package Type *string `mandatory:"true" json:"type"` // Version of the package Version *string `mandatory:"true" json:"version"` // the architecture for which this software was built Architecture *string `mandatory:"false" json:"architecture"` // a summary description of the software package Summary *string `mandatory:"false" json:"summary"` // Type of the erratum. AdvisoryType UpdateTypesEnum `mandatory:"false" json:"advisoryType,omitempty"` // List of errata containing this software package Errata []Id `mandatory:"false" json:"errata"` // list of software sources that provide the software package SoftwareSources []SoftwareSourceId `mandatory:"false" json:"softwareSources"` }
func (m SoftwarePackageSearchSummary) String() string
SoftwarePackageSummary Summary information for a software package
type SoftwarePackageSummary struct { // Package name DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the package. NOTE - This is not an OCID Name *string `mandatory:"true" json:"name"` // Type of the package Type *string `mandatory:"true" json:"type"` // Version of the package Version *string `mandatory:"true" json:"version"` // the architecture for which this software was built Architecture *string `mandatory:"false" json:"architecture"` // checksum of the package Checksum *string `mandatory:"false" json:"checksum"` // type of the checksum ChecksumType *string `mandatory:"false" json:"checksumType"` }
func (m SoftwarePackageSummary) String() string
SoftwareSource A software source contains a collection of packages
type SoftwareSource struct { // OCID for the Software Source Id *string `mandatory:"true" json:"id"` // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // User friendly name for the software source DisplayName *string `mandatory:"true" json:"displayName"` // Type of the Software Source RepoType *string `mandatory:"true" json:"repoType"` // URL for the repostiory Url *string `mandatory:"true" json:"url"` // Information specified by the user about the software source Description *string `mandatory:"false" json:"description"` // The architecture type supported by the Software Source ArchType ArchTypesEnum `mandatory:"false" json:"archType,omitempty"` // OCID for the parent software source, if there is one ParentId *string `mandatory:"false" json:"parentId"` // Display name the parent software source, if there is one ParentName *string `mandatory:"false" json:"parentName"` // The yum repository checksum type used by this software source ChecksumType ChecksumTypesEnum `mandatory:"false" json:"checksumType,omitempty"` // Name of the person maintaining this software source MaintainerName *string `mandatory:"false" json:"maintainerName"` // Email address of the person maintaining this software source MaintainerEmail *string `mandatory:"false" json:"maintainerEmail"` // Phone number of the person maintaining this software source MaintainerPhone *string `mandatory:"false" json:"maintainerPhone"` // URL of the GPG key for this software source GpgKeyUrl *string `mandatory:"false" json:"gpgKeyUrl"` // ID of the GPG key for this software source GpgKeyId *string `mandatory:"false" json:"gpgKeyId"` // Fingerprint of the GPG key for this software source GpgKeyFingerprint *string `mandatory:"false" json:"gpgKeyFingerprint"` // status of the software source. Status SoftwareSourceStatusEnum `mandatory:"false" json:"status,omitempty"` // The current state of the Software Source. LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Number of packages Packages *int `mandatory:"false" json:"packages"` // list of the Managed Instances associated with this Software Sources AssociatedManagedInstances []Id `mandatory:"false" json:"associatedManagedInstances"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m SoftwareSource) String() string
SoftwareSourceId Identifying information for the specified software source
type SoftwareSourceId struct { // software source identifier Id *string `mandatory:"true" json:"id"` // software source name Name *string `mandatory:"false" json:"name"` }
func (m SoftwareSourceId) String() string
SoftwareSourceStatusEnum Enum with underlying type: string
type SoftwareSourceStatusEnum string
Set of constants representing the allowable values for SoftwareSourceStatusEnum
const ( SoftwareSourceStatusNormal SoftwareSourceStatusEnum = "NORMAL" SoftwareSourceStatusUnreachable SoftwareSourceStatusEnum = "UNREACHABLE" SoftwareSourceStatusError SoftwareSourceStatusEnum = "ERROR" SoftwareSourceStatusWarning SoftwareSourceStatusEnum = "WARNING" )
func GetSoftwareSourceStatusEnumValues() []SoftwareSourceStatusEnum
GetSoftwareSourceStatusEnumValues Enumerates the set of values for SoftwareSourceStatusEnum
SoftwareSourceSummary A software source contains a collection of packages
type SoftwareSourceSummary struct { // OCID for the Software Source Id *string `mandatory:"true" json:"id"` // OCID for the Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // User friendly name for the software source DisplayName *string `mandatory:"true" json:"displayName"` // Type of the Software Source RepoType *string `mandatory:"true" json:"repoType"` // Information specified by the user about the software source Description *string `mandatory:"false" json:"description"` // status of the software source. Status SoftwareSourceSummaryStatusEnum `mandatory:"false" json:"status,omitempty"` // Number of packages Packages *int `mandatory:"false" json:"packages"` // The current state of the software source. LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // OCID for the parent software source, if there is one ParentId *string `mandatory:"false" json:"parentId"` // Display name the parent software source, if there is one ParentName *string `mandatory:"false" json:"parentName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m SoftwareSourceSummary) String() string
SoftwareSourceSummaryStatusEnum Enum with underlying type: string
type SoftwareSourceSummaryStatusEnum string
Set of constants representing the allowable values for SoftwareSourceSummaryStatusEnum
const ( SoftwareSourceSummaryStatusNormal SoftwareSourceSummaryStatusEnum = "NORMAL" SoftwareSourceSummaryStatusUnreachable SoftwareSourceSummaryStatusEnum = "UNREACHABLE" SoftwareSourceSummaryStatusError SoftwareSourceSummaryStatusEnum = "ERROR" SoftwareSourceSummaryStatusWarning SoftwareSourceSummaryStatusEnum = "WARNING" )
func GetSoftwareSourceSummaryStatusEnumValues() []SoftwareSourceSummaryStatusEnum
GetSoftwareSourceSummaryStatusEnumValues Enumerates the set of values for SoftwareSourceSummaryStatusEnum
UpdateManagedInstanceGroupDetails Information for updating a managed instance group
type UpdateManagedInstanceGroupDetails struct { // Managed Instance Group identifier DisplayName *string `mandatory:"false" json:"displayName"` // Information specified by the user about the managed instance group Description *string `mandatory:"false" json:"description"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateManagedInstanceGroupDetails) String() string
UpdateManagedInstanceGroupRequest wrapper for the UpdateManagedInstanceGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/UpdateManagedInstanceGroup.go.html to see an example of how to use UpdateManagedInstanceGroupRequest.
type UpdateManagedInstanceGroupRequest struct { // OCID for the managed instance group ManagedInstanceGroupId *string `mandatory:"true" contributesTo:"path" name:"managedInstanceGroupId"` // Details about a Managed Instance Group to update UpdateManagedInstanceGroupDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateManagedInstanceGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateManagedInstanceGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateManagedInstanceGroupRequest) String() string
UpdateManagedInstanceGroupResponse wrapper for the UpdateManagedInstanceGroup operation
type UpdateManagedInstanceGroupResponse struct { // The underlying http response RawResponse *http.Response // The ManagedInstanceGroup instance ManagedInstanceGroup `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateManagedInstanceGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateManagedInstanceGroupResponse) String() string
UpdateScheduledJobDetails Information for updating a Scheduled Job
type UpdateScheduledJobDetails struct { // Scheduled Job name DisplayName *string `mandatory:"false" json:"displayName"` // Details describing the Scheduled Job. Description *string `mandatory:"false" json:"description"` // the type of scheduling this Scheduled Job follows ScheduleType ScheduleTypesEnum `mandatory:"false" json:"scheduleType,omitempty"` // the desired time for the next execution of this Scheduled Job TimeNextExecution *common.SDKTime `mandatory:"false" json:"timeNextExecution"` // the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) IntervalType IntervalTypesEnum `mandatory:"false" json:"intervalType,omitempty"` // the value for the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) IntervalValue *string `mandatory:"false" json:"intervalValue"` // the type of operation this Scheduled Job performs OperationType OperationTypesEnum `mandatory:"false" json:"operationType,omitempty"` // Type of the update (only if operation type is UPDATEALL) UpdateType PackageUpdateTypesEnum `mandatory:"false" json:"updateType,omitempty"` // the id of the package (only if operation type is INSTALL/UPDATE/REMOVE) PackageNames []PackageName `mandatory:"false" json:"packageNames"` // The unique names of the Windows Updates (only if operation type is INSTALL). // This is only applicable when the osFamily is for Windows managed instances. UpdateNames []string `mandatory:"false" json:"updateNames"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateScheduledJobDetails) String() string
UpdateScheduledJobRequest wrapper for the UpdateScheduledJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/UpdateScheduledJob.go.html to see an example of how to use UpdateScheduledJobRequest.
type UpdateScheduledJobRequest struct { // The ID of the scheduled job. ScheduledJobId *string `mandatory:"true" contributesTo:"path" name:"scheduledJobId"` // Details about a Scheduled Job to update UpdateScheduledJobDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateScheduledJobRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateScheduledJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateScheduledJobRequest) String() string
UpdateScheduledJobResponse wrapper for the UpdateScheduledJob operation
type UpdateScheduledJobResponse struct { // The underlying http response RawResponse *http.Response // The ScheduledJob instance ScheduledJob `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateScheduledJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateScheduledJobResponse) String() string
UpdateSoftwareSourceDetails Information for updating a software source on the management system
type UpdateSoftwareSourceDetails struct { // User friendly name for the software source DisplayName *string `mandatory:"false" json:"displayName"` // Information specified by the user about the software source Description *string `mandatory:"false" json:"description"` // Name of the person maintaining this software source MaintainerName *string `mandatory:"false" json:"maintainerName"` // Email address of the person maintaining this software source MaintainerEmail *string `mandatory:"false" json:"maintainerEmail"` // Phone number of the person maintaining this software source MaintainerPhone *string `mandatory:"false" json:"maintainerPhone"` // The yum repository checksum type used by this software source ChecksumType ChecksumTypesEnum `mandatory:"false" json:"checksumType,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateSoftwareSourceDetails) String() string
UpdateSoftwareSourceRequest wrapper for the UpdateSoftwareSource operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/osmanagement/UpdateSoftwareSource.go.html to see an example of how to use UpdateSoftwareSourceRequest.
type UpdateSoftwareSourceRequest struct { // The OCID of the software source. SoftwareSourceId *string `mandatory:"true" contributesTo:"path" name:"softwareSourceId"` // Details about a Sofware Source to update UpdateSoftwareSourceDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateSoftwareSourceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateSoftwareSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateSoftwareSourceRequest) String() string
UpdateSoftwareSourceResponse wrapper for the UpdateSoftwareSource operation
type UpdateSoftwareSourceResponse struct { // The underlying http response RawResponse *http.Response // The SoftwareSource instance SoftwareSource `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateSoftwareSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateSoftwareSourceResponse) String() string
UpdateTypesEnum Enum with underlying type: string
type UpdateTypesEnum string
Set of constants representing the allowable values for UpdateTypesEnum
const ( UpdateTypesSecurity UpdateTypesEnum = "SECURITY" UpdateTypesBug UpdateTypesEnum = "BUG" UpdateTypesEnhancement UpdateTypesEnum = "ENHANCEMENT" UpdateTypesOther UpdateTypesEnum = "OTHER" )
func GetUpdateTypesEnumValues() []UpdateTypesEnum
GetUpdateTypesEnumValues Enumerates the set of values for UpdateTypesEnum
WindowsUpdate An update available for a Windows managed instance.
type WindowsUpdate struct { // Windows Update name. DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the Windows update. NOTE - This is not an OCID, // but is a unique identifier assigned by Microsoft. // Example: `6981d463-cd91-4a26-b7c4-ea4ded9183ed` Name *string `mandatory:"true" json:"name"` // The purpose of this update. UpdateType UpdateTypesEnum `mandatory:"true" json:"updateType"` // Information about the Windows Update. Description *string `mandatory:"false" json:"description"` // size of the package in bytes SizeInBytes *int64 `mandatory:"false" json:"sizeInBytes"` // Indicates whether the update can be installed using OSMS. IsEligibleForInstallation IsEligibleForInstallationEnum `mandatory:"false" json:"isEligibleForInstallation,omitempty"` // List of requirements forinstalling on a managed instances InstallationRequirements []WindowsUpdateInstallationRequirementsEnum `mandatory:"false" json:"installationRequirements,omitempty"` // Indicates whether a reboot may be required to complete installation of this update. IsRebootRequiredForInstallation *bool `mandatory:"false" json:"isRebootRequiredForInstallation"` // List of the Microsoft Knowledge Base Article Ids related to this Windows Update. KbArticleIds []string `mandatory:"false" json:"kbArticleIds"` }
func (m WindowsUpdate) String() string
WindowsUpdateInstallationRequirementsEnum Enum with underlying type: string
type WindowsUpdateInstallationRequirementsEnum string
Set of constants representing the allowable values for WindowsUpdateInstallationRequirementsEnum
const ( WindowsUpdateInstallationRequirementsEulaAcceptanceRequired WindowsUpdateInstallationRequirementsEnum = "EULA_ACCEPTANCE_REQUIRED" WindowsUpdateInstallationRequirementsSoftwareMediaRequired WindowsUpdateInstallationRequirementsEnum = "SOFTWARE_MEDIA_REQUIRED" WindowsUpdateInstallationRequirementsUserInteractionRequired WindowsUpdateInstallationRequirementsEnum = "USER_INTERACTION_REQUIRED" )
func GetWindowsUpdateInstallationRequirementsEnumValues() []WindowsUpdateInstallationRequirementsEnum
GetWindowsUpdateInstallationRequirementsEnumValues Enumerates the set of values for WindowsUpdateInstallationRequirementsEnum
WindowsUpdateSummary An update available for a Windows managed instance.
type WindowsUpdateSummary struct { // Windows Update name DisplayName *string `mandatory:"true" json:"displayName"` // Unique identifier for the Windows update. NOTE - This is not an OCID, // but is a unique identifier assigned by Microsoft. // Example: `6981d463-cd91-4a26-b7c4-ea4ded9183ed` Name *string `mandatory:"true" json:"name"` // The purpose of this update. UpdateType UpdateTypesEnum `mandatory:"true" json:"updateType"` // Indicates whether the update can be installed using OSMS. Installable IsEligibleForInstallationEnum `mandatory:"false" json:"installable,omitempty"` // Indicates whether a reboot may be required to complete installation of this update. IsRebootRequiredForInstallation *bool `mandatory:"false" json:"isRebootRequiredForInstallation"` }
func (m WindowsUpdateSummary) String() string
WorkRequest A description of workrequest status
type WorkRequest struct { // the type of operation this Work Request performs OperationType OperationTypesEnum `mandatory:"true" json:"operationType"` // status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // Description of the type of work. Description *string `mandatory:"false" json:"description"` // A progress or error message, if there is any. Message *string `mandatory:"false" json:"message"` ManagedInstanceId *Id `mandatory:"false" json:"managedInstanceId"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` }
func (m WorkRequest) String() string
WorkRequestError Human readable error message describing why the work request failed
type WorkRequestError struct { // A machine-usable code for the error that occured. Code *string `mandatory:"true" json:"code"` // A human readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // The date and time the error happened, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` }
func (m WorkRequestError) String() string
WorkRequestLogEntry Human readable log message describing what the work request is doing
type WorkRequestLogEntry struct { // A human readable log message. Message *string `mandatory:"true" json:"message"` // The date and time the error happened, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
WorkRequestResource A resource created, operated on or used by a work request.
type WorkRequestResource struct { // The resource type for the work request. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the work tracked in the work request. // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until // work is complete for that resource at which point it will transition to CREATED, UPDATED, // or DELETED, respectively. If the request failed for that resource, // the state will be FAILED. ActionType WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"` // The identifier of the resource. Not all resources will have an id. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can do a GET on to access the resource metadata. EntityUri *string `mandatory:"true" json:"entityUri"` // The name of the resource. Not all resources will have a name specified. Name *string `mandatory:"false" json:"name"` }
func (m WorkRequestResource) String() string
WorkRequestResourceActionTypeEnum Enum with underlying type: string
type WorkRequestResourceActionTypeEnum string
Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum
const ( WorkRequestResourceActionTypeCreated WorkRequestResourceActionTypeEnum = "CREATED" WorkRequestResourceActionTypeUpdated WorkRequestResourceActionTypeEnum = "UPDATED" WorkRequestResourceActionTypeDeleted WorkRequestResourceActionTypeEnum = "DELETED" WorkRequestResourceActionTypeFailed WorkRequestResourceActionTypeEnum = "FAILED" WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS" WorkRequestResourceActionTypeInstalled WorkRequestResourceActionTypeEnum = "INSTALLED" WorkRequestResourceActionTypeRemoved WorkRequestResourceActionTypeEnum = "REMOVED" )
func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
WorkRequestSummary A work request summary
type WorkRequestSummary struct { // the type of operation this Work Request performs OperationType OperationTypesEnum `mandatory:"true" json:"operationType"` // status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // Description of the type of work. Description *string `mandatory:"false" json:"description"` // A progress or error message, if there is any. Message *string `mandatory:"false" json:"message"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"false" json:"percentComplete"` // The Operating System type of the managed instance. OsFamily OsFamiliesEnum `mandatory:"false" json:"osFamily,omitempty"` }
func (m WorkRequestSummary) String() string