func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetApplicationSortByEnumStringValues() []string
GetApplicationSortByEnumStringValues Enumerates the set of values in String for ApplicationSortByEnum
func GetBlocklistSortByEnumStringValues() []string
GetBlocklistSortByEnumStringValues Enumerates the set of values in String for BlocklistSortByEnum
func GetInstallationSiteSortByEnumStringValues() []string
GetInstallationSiteSortByEnumStringValues Enumerates the set of values in String for InstallationSiteSortByEnum
func GetInstallationSortByEnumStringValues() []string
GetInstallationSortByEnumStringValues Enumerates the set of values in String for InstallationSortByEnum
func GetJreSecurityStatusEnumStringValues() []string
GetJreSecurityStatusEnumStringValues Enumerates the set of values in String for JreSecurityStatusEnum
func GetJreSortByEnumStringValues() []string
GetJreSortByEnumStringValues Enumerates the set of values in String for JreSortByEnum
func GetLifecycleStateEnumStringValues() []string
GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum
func GetListBlocklistsOperationEnumStringValues() []string
GetListBlocklistsOperationEnumStringValues Enumerates the set of values in String for ListBlocklistsOperationEnum
func GetListBlocklistsSortByEnumStringValues() []string
GetListBlocklistsSortByEnumStringValues Enumerates the set of values in String for ListBlocklistsSortByEnum
func GetListBlocklistsSortOrderEnumStringValues() []string
GetListBlocklistsSortOrderEnumStringValues Enumerates the set of values in String for ListBlocklistsSortOrderEnum
func GetListFleetsLifecycleStateEnumStringValues() []string
GetListFleetsLifecycleStateEnumStringValues Enumerates the set of values in String for ListFleetsLifecycleStateEnum
func GetListFleetsSortByEnumStringValues() []string
GetListFleetsSortByEnumStringValues Enumerates the set of values in String for ListFleetsSortByEnum
func GetListFleetsSortOrderEnumStringValues() []string
GetListFleetsSortOrderEnumStringValues Enumerates the set of values in String for ListFleetsSortOrderEnum
func GetListInstallationSitesJreSecurityStatusEnumStringValues() []string
GetListInstallationSitesJreSecurityStatusEnumStringValues Enumerates the set of values in String for ListInstallationSitesJreSecurityStatusEnum
func GetListInstallationSitesSortByEnumStringValues() []string
GetListInstallationSitesSortByEnumStringValues Enumerates the set of values in String for ListInstallationSitesSortByEnum
func GetListInstallationSitesSortOrderEnumStringValues() []string
GetListInstallationSitesSortOrderEnumStringValues Enumerates the set of values in String for ListInstallationSitesSortOrderEnum
func GetListJreUsageSortByEnumStringValues() []string
GetListJreUsageSortByEnumStringValues Enumerates the set of values in String for ListJreUsageSortByEnum
func GetListJreUsageSortOrderEnumStringValues() []string
GetListJreUsageSortOrderEnumStringValues Enumerates the set of values in String for ListJreUsageSortOrderEnum
func GetManagedInstanceSortByEnumStringValues() []string
GetManagedInstanceSortByEnumStringValues Enumerates the set of values in String for ManagedInstanceSortByEnum
func GetManagedInstanceTypeEnumStringValues() []string
GetManagedInstanceTypeEnumStringValues Enumerates the set of values in String for ManagedInstanceTypeEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetOsFamilyEnumStringValues() []string
GetOsFamilyEnumStringValues Enumerates the set of values in String for OsFamilyEnum
func GetSortByEnumStringValues() []string
GetSortByEnumStringValues Enumerates the set of values in String for SortByEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetSummarizeApplicationUsageFieldsEnumStringValues() []string
GetSummarizeApplicationUsageFieldsEnumStringValues Enumerates the set of values in String for SummarizeApplicationUsageFieldsEnum
func GetSummarizeApplicationUsageSortByEnumStringValues() []string
GetSummarizeApplicationUsageSortByEnumStringValues Enumerates the set of values in String for SummarizeApplicationUsageSortByEnum
func GetSummarizeApplicationUsageSortOrderEnumStringValues() []string
GetSummarizeApplicationUsageSortOrderEnumStringValues Enumerates the set of values in String for SummarizeApplicationUsageSortOrderEnum
func GetSummarizeInstallationUsageFieldsEnumStringValues() []string
GetSummarizeInstallationUsageFieldsEnumStringValues Enumerates the set of values in String for SummarizeInstallationUsageFieldsEnum
func GetSummarizeInstallationUsageSortByEnumStringValues() []string
GetSummarizeInstallationUsageSortByEnumStringValues Enumerates the set of values in String for SummarizeInstallationUsageSortByEnum
func GetSummarizeInstallationUsageSortOrderEnumStringValues() []string
GetSummarizeInstallationUsageSortOrderEnumStringValues Enumerates the set of values in String for SummarizeInstallationUsageSortOrderEnum
func GetSummarizeJreUsageFieldsEnumStringValues() []string
GetSummarizeJreUsageFieldsEnumStringValues Enumerates the set of values in String for SummarizeJreUsageFieldsEnum
func GetSummarizeJreUsageJreSecurityStatusEnumStringValues() []string
GetSummarizeJreUsageJreSecurityStatusEnumStringValues Enumerates the set of values in String for SummarizeJreUsageJreSecurityStatusEnum
func GetSummarizeJreUsageSortByEnumStringValues() []string
GetSummarizeJreUsageSortByEnumStringValues Enumerates the set of values in String for SummarizeJreUsageSortByEnum
func GetSummarizeJreUsageSortOrderEnumStringValues() []string
GetSummarizeJreUsageSortOrderEnumStringValues Enumerates the set of values in String for SummarizeJreUsageSortOrderEnum
func GetSummarizeManagedInstanceUsageFieldsEnumStringValues() []string
GetSummarizeManagedInstanceUsageFieldsEnumStringValues Enumerates the set of values in String for SummarizeManagedInstanceUsageFieldsEnum
func GetSummarizeManagedInstanceUsageManagedInstanceTypeEnumStringValues() []string
GetSummarizeManagedInstanceUsageManagedInstanceTypeEnumStringValues Enumerates the set of values in String for SummarizeManagedInstanceUsageManagedInstanceTypeEnum
func GetSummarizeManagedInstanceUsageSortByEnumStringValues() []string
GetSummarizeManagedInstanceUsageSortByEnumStringValues Enumerates the set of values in String for SummarizeManagedInstanceUsageSortByEnum
func GetSummarizeManagedInstanceUsageSortOrderEnumStringValues() []string
GetSummarizeManagedInstanceUsageSortOrderEnumStringValues Enumerates the set of values in String for SummarizeManagedInstanceUsageSortOrderEnum
func GetWorkItemStatusEnumStringValues() []string
GetWorkItemStatusEnumStringValues Enumerates the set of values in String for WorkItemStatusEnum
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ApplicationSortByEnum Enum with underlying type: string
type ApplicationSortByEnum string
Set of constants representing the allowable values for ApplicationSortByEnum
const ( ApplicationSortByTimeFirstSeen ApplicationSortByEnum = "timeFirstSeen" ApplicationSortByTimeLastSeen ApplicationSortByEnum = "timeLastSeen" ApplicationSortByDisplayName ApplicationSortByEnum = "displayName" ApplicationSortByApproximateJreCount ApplicationSortByEnum = "approximateJreCount" ApplicationSortByApproximateInstallationCount ApplicationSortByEnum = "approximateInstallationCount" ApplicationSortByApproximateManagedInstanceCount ApplicationSortByEnum = "approximateManagedInstanceCount" ApplicationSortByOsName ApplicationSortByEnum = "osName" )
func GetApplicationSortByEnumValues() []ApplicationSortByEnum
GetApplicationSortByEnumValues Enumerates the set of values for ApplicationSortByEnum
func GetMappingApplicationSortByEnum(val string) (ApplicationSortByEnum, bool)
GetMappingApplicationSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ApplicationUsage Application usage during a specified time period. An application is a Java application that can be executed by a Java Runtime installation. An application is independent of the Java Runtime or its installation.
type ApplicationUsage struct { // An internal identifier for the application that is unique to a Fleet. ApplicationId *string `mandatory:"true" json:"applicationId"` // The name of the application. DisplayName *string `mandatory:"true" json:"displayName"` // The type of the application, denoted by how the application was started. ApplicationType *string `mandatory:"true" json:"applicationType"` // The operating systems running this application. OperatingSystems []OperatingSystem `mandatory:"false" json:"operatingSystems"` // The approximate count of installations running this application. ApproximateInstallationCount *int `mandatory:"false" json:"approximateInstallationCount"` // The approximate count of Java Runtimes running this application. ApproximateJreCount *int `mandatory:"false" json:"approximateJreCount"` // The approximate count of managed instances reporting this application. ApproximateManagedInstanceCount *int `mandatory:"false" json:"approximateManagedInstanceCount"` // Lower bound of the specified time period filter. JMS provides a view of the data that is _per day_. The query uses only the date element of the parameter. TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"` // Upper bound of the specified time period filter. JMS provides a view of the data that is _per day_. The query uses only the date element of the parameter. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The date and time the resource was _first_ reported to JMS. // This is potentially _before_ the specified time period provided by the filters. // For example, a resource can be first reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeFirstSeen *common.SDKTime `mandatory:"false" json:"timeFirstSeen"` // The date and time the resource was _last_ reported to JMS. // This is potentially _after_ the specified time period provided by the filters. // For example, a resource can be last reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeLastSeen *common.SDKTime `mandatory:"false" json:"timeLastSeen"` }
func (m ApplicationUsage) String() string
func (m ApplicationUsage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ApplicationUsageCollection Results of an application search. Contains ApplicationUsage items.
type ApplicationUsageCollection struct { // A list of applications. Items []ApplicationUsage `mandatory:"true" json:"items"` }
func (m ApplicationUsageCollection) String() string
func (m ApplicationUsageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Blocklist The blocklist record to prevent a target resource from certain operation with reason.
type Blocklist struct { // The unique identifier of this blocklist record. Key *string `mandatory:"true" json:"key"` Target *BlocklistTarget `mandatory:"true" json:"target"` // The operation type Operation OperationTypeEnum `mandatory:"true" json:"operation"` // The reason for why the operation is blocklisted Reason *string `mandatory:"false" json:"reason"` }
func (m Blocklist) String() string
func (m Blocklist) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BlocklistCollection Results of a blocklist search. Contains Blocklist records.
type BlocklistCollection struct { // The blocklist Items []Blocklist `mandatory:"true" json:"items"` }
func (m BlocklistCollection) String() string
func (m BlocklistCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BlocklistEntry An entry for blocklist to describe blocked operation and reason.
type BlocklistEntry struct { // The operation type. Operation OperationTypeEnum `mandatory:"true" json:"operation"` // The reason why the operation is blocklisted. Reason *string `mandatory:"true" json:"reason"` }
func (m BlocklistEntry) String() string
func (m BlocklistEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BlocklistSortByEnum Enum with underlying type: string
type BlocklistSortByEnum string
Set of constants representing the allowable values for BlocklistSortByEnum
const ( BlocklistSortByOperation BlocklistSortByEnum = "operation" )
func GetBlocklistSortByEnumValues() []BlocklistSortByEnum
GetBlocklistSortByEnumValues Enumerates the set of values for BlocklistSortByEnum
func GetMappingBlocklistSortByEnum(val string) (BlocklistSortByEnum, bool)
GetMappingBlocklistSortByEnum performs case Insensitive comparison on enum value and return the desired enum
BlocklistTarget A resource to blocklist for certain operation.
type BlocklistTarget struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the fleet. FleetId *string `mandatory:"true" json:"fleetId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the related managed instance. ManagedInstanceId *string `mandatory:"false" json:"managedInstanceId"` // The unique identifier for the installation of Java Runtime at a specific path on a specific operating system. InstallationKey *string `mandatory:"false" json:"installationKey"` }
func (m BlocklistTarget) String() string
func (m BlocklistTarget) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
type CancelWorkRequestRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous work 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"` // 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 CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelWorkRequestRequest) String() string
func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
type CancelWorkRequestResponse 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 CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelWorkRequestResponse) String() string
ChangeFleetCompartmentDetails Attributes to change the compartment of a Fleet.
type ChangeFleetCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the Fleet should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeFleetCompartmentDetails) String() string
func (m ChangeFleetCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeFleetCompartmentRequest wrapper for the ChangeFleetCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ChangeFleetCompartment.go.html to see an example of how to use ChangeFleetCompartmentRequest.
type ChangeFleetCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // Compartment identifier. ChangeFleetCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // ETag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the ETag you // provide matches the resource's current ETag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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"` // 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 ChangeFleetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeFleetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeFleetCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeFleetCompartmentRequest) String() string
func (request ChangeFleetCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeFleetCompartmentResponse wrapper for the ChangeFleetCompartment operation
type ChangeFleetCompartmentResponse 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 ChangeFleetCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeFleetCompartmentResponse) String() string
CreateBlocklistDetails The blocklist record details.
type CreateBlocklistDetails struct { Target *BlocklistTarget `mandatory:"true" json:"target"` // The operation type Operation OperationTypeEnum `mandatory:"true" json:"operation"` // The reason for why the operation is blocklisted Reason *string `mandatory:"false" json:"reason"` }
func (m CreateBlocklistDetails) String() string
func (m CreateBlocklistDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBlocklistRequest wrapper for the CreateBlocklist operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/CreateBlocklist.go.html to see an example of how to use CreateBlocklistRequest.
type CreateBlocklistRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // Details for the new blocklist record. CreateBlocklistDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 CreateBlocklistRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateBlocklistRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateBlocklistRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateBlocklistRequest) String() string
func (request CreateBlocklistRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBlocklistResponse wrapper for the CreateBlocklist operation
type CreateBlocklistResponse struct { // The underlying http response RawResponse *http.Response // The Blocklist instance Blocklist `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response CreateBlocklistResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateBlocklistResponse) String() string
CreateFleetDetails Attributes to create a Fleet.
type CreateFleetDetails struct { // The name of the Fleet. The displayName must be unique for Fleets in the same compartment. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment of the Fleet. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The Fleet's description. If nothing is provided, the Fleet description will be null. Description *string `mandatory:"false" json:"description"` InventoryLog *CustomLog `mandatory:"false" json:"inventoryLog"` OperationLog *CustomLog `mandatory:"false" json:"operationLog"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).) FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` }
func (m CreateFleetDetails) String() string
func (m CreateFleetDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateFleetRequest wrapper for the CreateFleet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/CreateFleet.go.html to see an example of how to use CreateFleetRequest.
type CreateFleetRequest struct { // Details for the new Fleet. CreateFleetDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 CreateFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateFleetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateFleetRequest) String() string
func (request CreateFleetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateFleetResponse wrapper for the CreateFleet operation
type CreateFleetResponse 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 CreateFleetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateFleetResponse) String() string
CustomLog Custom Log for inventory or operation log.
type CustomLog struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the log group. LogGroupId *string `mandatory:"true" json:"logGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the log. LogId *string `mandatory:"true" json:"logId"` }
func (m CustomLog) String() string
func (m CustomLog) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteBlocklistRequest wrapper for the DeleteBlocklist operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/DeleteBlocklist.go.html to see an example of how to use DeleteBlocklistRequest.
type DeleteBlocklistRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // The unique identifier of the blocklist record. BlocklistKey *string `mandatory:"true" contributesTo:"path" name:"blocklistKey"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // ETag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the ETag you // provide matches the resource's current ETag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The 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 DeleteBlocklistRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteBlocklistRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteBlocklistRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteBlocklistRequest) String() string
func (request DeleteBlocklistRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteBlocklistResponse wrapper for the DeleteBlocklist operation
type DeleteBlocklistResponse 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 DeleteBlocklistResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteBlocklistResponse) String() string
DeleteFleetRequest wrapper for the DeleteFleet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/DeleteFleet.go.html to see an example of how to use DeleteFleetRequest.
type DeleteFleetRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // ETag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the ETag you // provide matches the resource's current ETag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The 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 DeleteFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteFleetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteFleetRequest) String() string
func (request DeleteFleetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteFleetResponse wrapper for the DeleteFleet operation
type DeleteFleetResponse 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 DeleteFleetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteFleetResponse) String() string
ExistingInstallationSiteId The essential properties to identity a Java installation site.
type ExistingInstallationSiteId struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the related managed instance. ManagedInstanceId *string `mandatory:"true" json:"managedInstanceId"` // The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system. InstallationKey *string `mandatory:"true" json:"installationKey"` }
func (m ExistingInstallationSiteId) String() string
func (m ExistingInstallationSiteId) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Fleet A Fleet is the primary collection with which users interact when using Java Management Service.
type Fleet struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. Id *string `mandatory:"true" json:"id"` // The name of the Fleet. DisplayName *string `mandatory:"true" json:"displayName"` // The Fleet's description. Description *string `mandatory:"true" json:"description"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment of the Fleet. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The approximate count of all unique Java Runtimes in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateJreCount *int `mandatory:"true" json:"approximateJreCount"` // The approximate count of all unique Java installations in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateInstallationCount *int `mandatory:"true" json:"approximateInstallationCount"` // The approximate count of all unique applications in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateApplicationCount *int `mandatory:"true" json:"approximateApplicationCount"` // The approximate count of all unique managed instances in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateManagedInstanceCount *int `mandatory:"true" json:"approximateManagedInstanceCount"` // The creation date and time of the Fleet (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The lifecycle state of the Fleet. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` InventoryLog *CustomLog `mandatory:"false" json:"inventoryLog"` OperationLog *CustomLog `mandatory:"false" json:"operationLog"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).) FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // System tags can be viewed by users, but can only be created by the system. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Fleet) String() string
func (m Fleet) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FleetAgentConfiguration Management Agent Configuration for a Fleet. Includes JRE scanning frequency and list of include/exclude file system paths.
type FleetAgentConfiguration struct { // The frequency (in minutes) of JRE scanning. (That is, how often should JMS scan for JRE installations.) JreScanFrequencyInMinutes *int `mandatory:"true" json:"jreScanFrequencyInMinutes"` // The frequency (in minutes) of Java Usage Tracker processing. (That is, how often should JMS process data from the Java Usage Tracker.) JavaUsageTrackerProcessingFrequencyInMinutes *int `mandatory:"true" json:"javaUsageTrackerProcessingFrequencyInMinutes"` LinuxConfiguration *FleetAgentOsConfiguration `mandatory:"true" json:"linuxConfiguration"` WindowsConfiguration *FleetAgentOsConfiguration `mandatory:"true" json:"windowsConfiguration"` // The date and time of the last modification to the Fleet Agent Configuration (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeLastModified *common.SDKTime `mandatory:"true" json:"timeLastModified"` }
func (m FleetAgentConfiguration) String() string
func (m FleetAgentConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FleetAgentOsConfiguration Management Agent Configuration for list of include/exclude file system paths (specific to operating system).
type FleetAgentOsConfiguration struct { // An array of file system paths (environment variables supported). IncludePaths []string `mandatory:"true" json:"includePaths"` // An array of file system paths (environment variables supported). ExcludePaths []string `mandatory:"true" json:"excludePaths"` }
func (m FleetAgentOsConfiguration) String() string
func (m FleetAgentOsConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FleetCollection Results of a Fleet search. Contains FleetSummary items.
type FleetCollection struct { // A list of Fleets. Items []FleetSummary `mandatory:"true" json:"items"` }
func (m FleetCollection) String() string
func (m FleetCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FleetSummary The summary of the Fleet. A Fleet is the primary collection with which users interact when using Java Management Service.
type FleetSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. Id *string `mandatory:"true" json:"id"` // The name of the Fleet. The displayName must be unique for Fleets in the same compartment. DisplayName *string `mandatory:"true" json:"displayName"` // The Fleet's description. Description *string `mandatory:"true" json:"description"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment of the Fleet. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The approximate count of all unique Java Runtimes in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateJreCount *int `mandatory:"true" json:"approximateJreCount"` // The approximate count of all unique Java Installations in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateInstallationCount *int `mandatory:"true" json:"approximateInstallationCount"` // The approximate count of all unique applications in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateApplicationCount *int `mandatory:"true" json:"approximateApplicationCount"` // The approximate count of all unique managed instances in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateManagedInstanceCount *int `mandatory:"true" json:"approximateManagedInstanceCount"` // The creation date and time of the Fleet (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The lifecycle state of the Fleet. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` InventoryLog *CustomLog `mandatory:"false" json:"inventoryLog"` OperationLog *CustomLog `mandatory:"false" json:"operationLog"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).) FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // System tags can be viewed by users, but can only be created by the system. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m FleetSummary) String() string
func (m FleetSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetFleetAgentConfigurationRequest wrapper for the GetFleetAgentConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/GetFleetAgentConfiguration.go.html to see an example of how to use GetFleetAgentConfigurationRequest.
type GetFleetAgentConfigurationRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // 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 GetFleetAgentConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetFleetAgentConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetFleetAgentConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetFleetAgentConfigurationRequest) String() string
func (request GetFleetAgentConfigurationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetFleetAgentConfigurationResponse wrapper for the GetFleetAgentConfiguration operation
type GetFleetAgentConfigurationResponse struct { // The underlying http response RawResponse *http.Response // The FleetAgentConfiguration instance FleetAgentConfiguration `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 GetFleetAgentConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetFleetAgentConfigurationResponse) String() string
GetFleetRequest wrapper for the GetFleet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/GetFleet.go.html to see an example of how to use GetFleetRequest.
type GetFleetRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // 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 GetFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetFleetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetFleetRequest) String() string
func (request GetFleetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetFleetResponse wrapper for the GetFleet operation
type GetFleetResponse struct { // The underlying http response RawResponse *http.Response // The Fleet instance Fleet `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 GetFleetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetFleetResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // Unique Oracle-assigned identifier for the 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"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
InstallationSite Installation site of a Java Runtime. An installation site is a Java Runtime installed at a specific path on a managed instance.
type InstallationSite struct { // The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system. InstallationKey *string `mandatory:"true" json:"installationKey"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the related managed instance. ManagedInstanceId *string `mandatory:"true" json:"managedInstanceId"` Jre *JavaRuntimeId `mandatory:"true" json:"jre"` // The file system path of the installation. Path *string `mandatory:"true" json:"path"` OperatingSystem *OperatingSystem `mandatory:"true" json:"operatingSystem"` // The approximate count of applications running on this installation ApproximateApplicationCount *int `mandatory:"false" json:"approximateApplicationCount"` // The date and time the resource was _last_ reported to JMS. // This is potentially _after_ the specified time period provided by the filters. // For example, a resource can be last reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeLastSeen *common.SDKTime `mandatory:"false" json:"timeLastSeen"` // The list of operations that are blocklisted. Blocklist []BlocklistEntry `mandatory:"false" json:"blocklist"` // The lifecycle state of the installation site. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The type of the source of events. ManagedInstanceType ManagedInstanceTypeEnum `mandatory:"false" json:"managedInstanceType,omitempty"` // The hostname of the managed instance (if applicable). Hostname *string `mandatory:"false" json:"hostname"` }
func (m InstallationSite) String() string
func (m InstallationSite) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InstallationSiteCollection Results of an installation site search. Contains installation sites.
type InstallationSiteCollection struct { // A list of Java installation sites. Items []InstallationSiteSummary `mandatory:"true" json:"items"` }
func (m InstallationSiteCollection) String() string
func (m InstallationSiteCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InstallationSiteSortByEnum Enum with underlying type: string
type InstallationSiteSortByEnum string
Set of constants representing the allowable values for InstallationSiteSortByEnum
const ( InstallationSiteSortByManagedInstanceId InstallationSiteSortByEnum = "managedInstanceId" InstallationSiteSortByJreDistribution InstallationSiteSortByEnum = "jreDistribution" InstallationSiteSortByJreVendor InstallationSiteSortByEnum = "jreVendor" InstallationSiteSortByJreVersion InstallationSiteSortByEnum = "jreVersion" InstallationSiteSortByPath InstallationSiteSortByEnum = "path" InstallationSiteSortByApproximateApplicationCount InstallationSiteSortByEnum = "approximateApplicationCount" InstallationSiteSortByOsName InstallationSiteSortByEnum = "osName" InstallationSiteSortBySecurityStatus InstallationSiteSortByEnum = "securityStatus" )
func GetInstallationSiteSortByEnumValues() []InstallationSiteSortByEnum
GetInstallationSiteSortByEnumValues Enumerates the set of values for InstallationSiteSortByEnum
func GetMappingInstallationSiteSortByEnum(val string) (InstallationSiteSortByEnum, bool)
GetMappingInstallationSiteSortByEnum performs case Insensitive comparison on enum value and return the desired enum
InstallationSiteSummary Installation site of a Java Runtime. An installation site is a Java Runtime installed at a specific path on a managed instance.
type InstallationSiteSummary struct { // The unique identifier for the installation of Java Runtime at a specific path on a specific operating system. InstallationKey *string `mandatory:"true" json:"installationKey"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the related managed instance. ManagedInstanceId *string `mandatory:"true" json:"managedInstanceId"` Jre *JavaRuntimeId `mandatory:"false" json:"jre"` // The security status of the Java Runtime. SecurityStatus JreSecurityStatusEnum `mandatory:"false" json:"securityStatus,omitempty"` // The file system path of the installation. Path *string `mandatory:"false" json:"path"` OperatingSystem *OperatingSystem `mandatory:"false" json:"operatingSystem"` // The approximate count of applications running on this installation ApproximateApplicationCount *int `mandatory:"false" json:"approximateApplicationCount"` // The date and time the resource was _last_ reported to JMS. // This is potentially _after_ the specified time period provided by the filters. // For example, a resource can be last reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeLastSeen *common.SDKTime `mandatory:"false" json:"timeLastSeen"` // The list of operations that are blocklisted. Blocklist []BlocklistEntry `mandatory:"false" json:"blocklist"` // The lifecycle state of the installation site. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m InstallationSiteSummary) String() string
func (m InstallationSiteSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InstallationSortByEnum Enum with underlying type: string
type InstallationSortByEnum string
Set of constants representing the allowable values for InstallationSortByEnum
const ( InstallationSortByJreDistribution InstallationSortByEnum = "jreDistribution" InstallationSortByJreVendor InstallationSortByEnum = "jreVendor" InstallationSortByJreVersion InstallationSortByEnum = "jreVersion" InstallationSortByPath InstallationSortByEnum = "path" InstallationSortByTimeFirstSeen InstallationSortByEnum = "timeFirstSeen" InstallationSortByTimeLastSeen InstallationSortByEnum = "timeLastSeen" InstallationSortByApproximateApplicationCount InstallationSortByEnum = "approximateApplicationCount" InstallationSortByApproximateManagedInstanceCount InstallationSortByEnum = "approximateManagedInstanceCount" InstallationSortByOsName InstallationSortByEnum = "osName" )
func GetInstallationSortByEnumValues() []InstallationSortByEnum
GetInstallationSortByEnumValues Enumerates the set of values for InstallationSortByEnum
func GetMappingInstallationSortByEnum(val string) (InstallationSortByEnum, bool)
GetMappingInstallationSortByEnum performs case Insensitive comparison on enum value and return the desired enum
InstallationUsage Installation usage during a specified time period. An installation is a collection of deployed instances of a specific Java Runtime that share the same install path.
type InstallationUsage struct { // The vendor of the Java Runtime that is deployed with the installation. JreVendor *string `mandatory:"true" json:"jreVendor"` // The distribution of the Java Runtime that is deployed with the installation. JreDistribution *string `mandatory:"true" json:"jreDistribution"` // The version of the Java Runtime that is deployed with the installation. JreVersion *string `mandatory:"true" json:"jreVersion"` // The file system path of the Java installation. Path *string `mandatory:"true" json:"path"` // The Operating System for the installation. Deprecated, use `operatingSystem` instead. Os *string `mandatory:"true" json:"os"` // The architecture of the operating system for the installation. Deprecated, use `operatingSystem` instead. Architecture *string `mandatory:"true" json:"architecture"` OperatingSystem *OperatingSystem `mandatory:"false" json:"operatingSystem"` // The approximate count of applications running on this installation ApproximateApplicationCount *int `mandatory:"false" json:"approximateApplicationCount"` // The approximate count of managed instances reporting this installation ApproximateManagedInstanceCount *int `mandatory:"false" json:"approximateManagedInstanceCount"` // Lower bound of the specified time period filter. JMS provides a view of the data that is _per day_. The query uses only the date element of the parameter. TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"` // Upper bound of the specified time period filter. JMS provides a view of the data that is _per day_. The query uses only the date element of the parameter. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The date and time the resource was _first_ reported to JMS. // This is potentially _before_ the specified time period provided by the filters. // For example, a resource can be first reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeFirstSeen *common.SDKTime `mandatory:"false" json:"timeFirstSeen"` // The date and time the resource was _last_ reported to JMS. // This is potentially _after_ the specified time period provided by the filters. // For example, a resource can be last reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeLastSeen *common.SDKTime `mandatory:"false" json:"timeLastSeen"` }
func (m InstallationUsage) String() string
func (m InstallationUsage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InstallationUsageCollection Results of an installation search. Contains InstallationUsage items.
type InstallationUsageCollection struct { // A list of installations. Items []InstallationUsage `mandatory:"true" json:"items"` }
func (m InstallationUsageCollection) String() string
func (m InstallationUsageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JavaManagementServiceClient a client for JavaManagementService
type JavaManagementServiceClient struct { common.BaseClient // contains filtered or unexported fields }
func NewJavaManagementServiceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client JavaManagementServiceClient, err error)
NewJavaManagementServiceClientWithConfigurationProvider Creates a new default JavaManagementService client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewJavaManagementServiceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client JavaManagementServiceClient, err error)
NewJavaManagementServiceClientWithOboToken Creates a new default JavaManagementService 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 JavaManagementServiceClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Deletes the work request specified by an identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()
func (client JavaManagementServiceClient) ChangeFleetCompartment(ctx context.Context, request ChangeFleetCompartmentRequest) (response ChangeFleetCompartmentResponse, err error)
ChangeFleetCompartment Move a specified Fleet into the compartment identified in the POST form. 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/65.14.0/jms/ChangeFleetCompartment.go.html to see an example of how to use ChangeFleetCompartment API. A default retry strategy applies to this operation ChangeFleetCompartment()
func (client *JavaManagementServiceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client JavaManagementServiceClient) CreateBlocklist(ctx context.Context, request CreateBlocklistRequest) (response CreateBlocklistResponse, err error)
CreateBlocklist Add a new record to the fleet blocklist.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/CreateBlocklist.go.html to see an example of how to use CreateBlocklist API. A default retry strategy applies to this operation CreateBlocklist()
func (client JavaManagementServiceClient) CreateFleet(ctx context.Context, request CreateFleetRequest) (response CreateFleetResponse, err error)
CreateFleet Create a new Fleet using the information provided.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/CreateFleet.go.html to see an example of how to use CreateFleet API. A default retry strategy applies to this operation CreateFleet()
func (client JavaManagementServiceClient) DeleteBlocklist(ctx context.Context, request DeleteBlocklistRequest) (response DeleteBlocklistResponse, err error)
DeleteBlocklist Deletes the blocklist record specified by an identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/DeleteBlocklist.go.html to see an example of how to use DeleteBlocklist API. A default retry strategy applies to this operation DeleteBlocklist()
func (client JavaManagementServiceClient) DeleteFleet(ctx context.Context, request DeleteFleetRequest) (response DeleteFleetResponse, err error)
DeleteFleet Deletes the Fleet specified by an identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/DeleteFleet.go.html to see an example of how to use DeleteFleet API. A default retry strategy applies to this operation DeleteFleet()
func (client JavaManagementServiceClient) GetFleet(ctx context.Context, request GetFleetRequest) (response GetFleetResponse, err error)
GetFleet Retrieve a Fleet with the specified identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/GetFleet.go.html to see an example of how to use GetFleet API. A default retry strategy applies to this operation GetFleet()
func (client JavaManagementServiceClient) GetFleetAgentConfiguration(ctx context.Context, request GetFleetAgentConfigurationRequest) (response GetFleetAgentConfigurationResponse, err error)
GetFleetAgentConfiguration Retrieve a Fleet Agent Configuration for the specified Fleet.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/GetFleetAgentConfiguration.go.html to see an example of how to use GetFleetAgentConfiguration API. A default retry strategy applies to this operation GetFleetAgentConfiguration()
func (client JavaManagementServiceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Retrieve the details of a work request with the specified ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (client JavaManagementServiceClient) ListBlocklists(ctx context.Context, request ListBlocklistsRequest) (response ListBlocklistsResponse, err error)
ListBlocklists Returns a list of blocklist entities contained by a fleet.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListBlocklists.go.html to see an example of how to use ListBlocklists API. A default retry strategy applies to this operation ListBlocklists()
func (client JavaManagementServiceClient) ListFleets(ctx context.Context, request ListFleetsRequest) (response ListFleetsResponse, err error)
ListFleets Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` is required unless the query parameter `id` is specified.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListFleets.go.html to see an example of how to use ListFleets API. A default retry strategy applies to this operation ListFleets()
func (client JavaManagementServiceClient) ListInstallationSites(ctx context.Context, request ListInstallationSitesRequest) (response ListInstallationSitesResponse, err error)
ListInstallationSites List Java installation sites in a Fleet filtered by query parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListInstallationSites.go.html to see an example of how to use ListInstallationSites API. A default retry strategy applies to this operation ListInstallationSites()
func (client JavaManagementServiceClient) ListJreUsage(ctx context.Context, request ListJreUsageRequest) (response ListJreUsageResponse, err error)
ListJreUsage List Java Runtime usage in a specified host filtered by query parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListJreUsage.go.html to see an example of how to use ListJreUsage API. A default retry strategy applies to this operation ListJreUsage()
func (client JavaManagementServiceClient) ListWorkItems(ctx context.Context, request ListWorkItemsRequest) (response ListWorkItemsResponse, err error)
ListWorkItems Retrieve a (paginated) list of work items for a specified work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListWorkItems.go.html to see an example of how to use ListWorkItems API. A default retry strategy applies to this operation ListWorkItems()
func (client JavaManagementServiceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Retrieve a (paginated) list of errors for a specified work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (client JavaManagementServiceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Retrieve a (paginated) list of logs for a specified work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (client JavaManagementServiceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests List the work requests in a compartment. The query parameter `compartmentId` is required unless the query parameter `id` or `fleetId` is specified.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (client JavaManagementServiceClient) RemoveFleetInstallationSites(ctx context.Context, request RemoveFleetInstallationSitesRequest) (response RemoveFleetInstallationSitesResponse, err error)
RemoveFleetInstallationSites Remove Java installation sites in a Fleet.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/RemoveFleetInstallationSites.go.html to see an example of how to use RemoveFleetInstallationSites API. A default retry strategy applies to this operation RemoveFleetInstallationSites()
func (client *JavaManagementServiceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client JavaManagementServiceClient) SummarizeApplicationUsage(ctx context.Context, request SummarizeApplicationUsageRequest) (response SummarizeApplicationUsageResponse, err error)
SummarizeApplicationUsage List application usage in a Fleet filtered by query parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/SummarizeApplicationUsage.go.html to see an example of how to use SummarizeApplicationUsage API. A default retry strategy applies to this operation SummarizeApplicationUsage()
func (client JavaManagementServiceClient) SummarizeInstallationUsage(ctx context.Context, request SummarizeInstallationUsageRequest) (response SummarizeInstallationUsageResponse, err error)
SummarizeInstallationUsage List Java installation usage in a Fleet filtered by query parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/SummarizeInstallationUsage.go.html to see an example of how to use SummarizeInstallationUsage API. A default retry strategy applies to this operation SummarizeInstallationUsage()
func (client JavaManagementServiceClient) SummarizeJreUsage(ctx context.Context, request SummarizeJreUsageRequest) (response SummarizeJreUsageResponse, err error)
SummarizeJreUsage List Java Runtime usage in a specified Fleet filtered by query parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/SummarizeJreUsage.go.html to see an example of how to use SummarizeJreUsage API. A default retry strategy applies to this operation SummarizeJreUsage()
func (client JavaManagementServiceClient) SummarizeManagedInstanceUsage(ctx context.Context, request SummarizeManagedInstanceUsageRequest) (response SummarizeManagedInstanceUsageResponse, err error)
SummarizeManagedInstanceUsage List managed instance usage in a Fleet filtered by query parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/SummarizeManagedInstanceUsage.go.html to see an example of how to use SummarizeManagedInstanceUsage API. A default retry strategy applies to this operation SummarizeManagedInstanceUsage()
func (client JavaManagementServiceClient) SummarizeResourceInventory(ctx context.Context, request SummarizeResourceInventoryRequest) (response SummarizeResourceInventoryResponse, err error)
SummarizeResourceInventory Retrieve the inventory of JMS resources in the specified compartment: a list of the number of _active_ fleets, managed instances, Java Runtimes, Java installations, and applications.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/SummarizeResourceInventory.go.html to see an example of how to use SummarizeResourceInventory API. A default retry strategy applies to this operation SummarizeResourceInventory()
func (client JavaManagementServiceClient) UpdateFleet(ctx context.Context, request UpdateFleetRequest) (response UpdateFleetResponse, err error)
UpdateFleet Update the Fleet specified by an identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/UpdateFleet.go.html to see an example of how to use UpdateFleet API. A default retry strategy applies to this operation UpdateFleet()
func (client JavaManagementServiceClient) UpdateFleetAgentConfiguration(ctx context.Context, request UpdateFleetAgentConfigurationRequest) (response UpdateFleetAgentConfigurationResponse, err error)
UpdateFleetAgentConfiguration Update the Fleet Agent Configuration for the specified Fleet.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/UpdateFleetAgentConfiguration.go.html to see an example of how to use UpdateFleetAgentConfiguration API. A default retry strategy applies to this operation UpdateFleetAgentConfiguration()
JavaRuntimeId The essential properties to identify a Java Runtime.
type JavaRuntimeId struct { // The version of the Java Runtime. Version *string `mandatory:"true" json:"version"` // The vendor of the Java Runtime. Vendor *string `mandatory:"true" json:"vendor"` // The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. Distribution *string `mandatory:"true" json:"distribution"` // The unique identifier for a Java Runtime. JreKey *string `mandatory:"false" json:"jreKey"` }
func (m JavaRuntimeId) String() string
func (m JavaRuntimeId) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JreSecurityStatusEnum Enum with underlying type: string
type JreSecurityStatusEnum string
Set of constants representing the allowable values for JreSecurityStatusEnum
const ( JreSecurityStatusUnknown JreSecurityStatusEnum = "UNKNOWN" JreSecurityStatusUpToDate JreSecurityStatusEnum = "UP_TO_DATE" JreSecurityStatusUpdateRequired JreSecurityStatusEnum = "UPDATE_REQUIRED" JreSecurityStatusUpgradeRequired JreSecurityStatusEnum = "UPGRADE_REQUIRED" )
func GetJreSecurityStatusEnumValues() []JreSecurityStatusEnum
GetJreSecurityStatusEnumValues Enumerates the set of values for JreSecurityStatusEnum
func GetMappingJreSecurityStatusEnum(val string) (JreSecurityStatusEnum, bool)
GetMappingJreSecurityStatusEnum performs case Insensitive comparison on enum value and return the desired enum
JreSortByEnum Enum with underlying type: string
type JreSortByEnum string
Set of constants representing the allowable values for JreSortByEnum
const ( JreSortByDistribution JreSortByEnum = "distribution" JreSortByTimeFirstSeen JreSortByEnum = "timeFirstSeen" JreSortByTimeLastSeen JreSortByEnum = "timeLastSeen" JreSortByVendor JreSortByEnum = "vendor" JreSortByVersion JreSortByEnum = "version" JreSortByApproximateInstallationCount JreSortByEnum = "approximateInstallationCount" JreSortByApproximateApplicationCount JreSortByEnum = "approximateApplicationCount" JreSortByApproximateManagedInstanceCount JreSortByEnum = "approximateManagedInstanceCount" JreSortByOsName JreSortByEnum = "osName" JreSortBySecurityStatus JreSortByEnum = "securityStatus" )
func GetJreSortByEnumValues() []JreSortByEnum
GetJreSortByEnumValues Enumerates the set of values for JreSortByEnum
func GetMappingJreSortByEnum(val string) (JreSortByEnum, bool)
GetMappingJreSortByEnum performs case Insensitive comparison on enum value and return the desired enum
JreUsage Java Runtime usage during a specified time period. A Java Runtime is identified by its vendor and version.
type JreUsage struct { // The vendor of the Java Runtime. Vendor *string `mandatory:"true" json:"vendor"` // The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. Distribution *string `mandatory:"true" json:"distribution"` // The version of the Java Runtime. Version *string `mandatory:"true" json:"version"` // The internal identifier of the Java Runtime. Id *string `mandatory:"false" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the related fleet. This property value is present only for /actions/listJreUsage. FleetId *string `mandatory:"false" json:"fleetId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the related managed instance. This property value is present only for /actions/listJreUsage. ManagedInstanceId *string `mandatory:"false" json:"managedInstanceId"` // The security status of the Java Runtime. SecurityStatus JreSecurityStatusEnum `mandatory:"false" json:"securityStatus,omitempty"` // The release date of the Java Runtime (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). ReleaseDate *common.SDKTime `mandatory:"false" json:"releaseDate"` // The End of Support Life (EOSL) date of the Java Runtime (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). EndOfSupportLifeDate *common.SDKTime `mandatory:"false" json:"endOfSupportLifeDate"` // The operating systems that have this Java Runtime installed. OperatingSystems []OperatingSystem `mandatory:"false" json:"operatingSystems"` // The approximate count of installations that are installations of this Java Runtime. ApproximateInstallationCount *int `mandatory:"false" json:"approximateInstallationCount"` // The approximate count of the applications running on this Java Runtime. ApproximateApplicationCount *int `mandatory:"false" json:"approximateApplicationCount"` // The approximate count of the managed instances that report this Java Runtime. ApproximateManagedInstanceCount *int `mandatory:"false" json:"approximateManagedInstanceCount"` // The approximate count of work requests working on this Java Runtime. ApproximatePendingWorkRequestCount *int `mandatory:"false" json:"approximatePendingWorkRequestCount"` // Lower bound of the specified time period filter. JMS provides a view of the data that is _per day_. The query uses only the date element of the parameter. TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"` // Upper bound of the specified time period filter. JMS provides a view of the data that is _per day_. The query uses only the date element of the parameter. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The date and time the resource was _first_ reported to JMS. // This is potentially _before_ the specified time period provided by the filters. // For example, a resource can be first reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeFirstSeen *common.SDKTime `mandatory:"false" json:"timeFirstSeen"` // The date and time the resource was _last_ reported to JMS. // This is potentially _after_ the specified time period provided by the filters. // For example, a resource can be last reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeLastSeen *common.SDKTime `mandatory:"false" json:"timeLastSeen"` }
func (m JreUsage) String() string
func (m JreUsage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JreUsageCollection Results of a Java Runtime search. Contains JreUsage items
type JreUsageCollection struct { // A list of Java Runtimes. Items []JreUsage `mandatory:"true" json:"items"` }
func (m JreUsageCollection) String() string
func (m JreUsageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
LifecycleStateEnum Enum with underlying type: string
type LifecycleStateEnum string
Set of constants representing the allowable values for LifecycleStateEnum
const ( LifecycleStateActive LifecycleStateEnum = "ACTIVE" LifecycleStateCreating LifecycleStateEnum = "CREATING" LifecycleStateDeleted LifecycleStateEnum = "DELETED" LifecycleStateDeleting LifecycleStateEnum = "DELETING" LifecycleStateFailed LifecycleStateEnum = "FAILED" LifecycleStateNeedsAttention LifecycleStateEnum = "NEEDS_ATTENTION" LifecycleStateUpdating LifecycleStateEnum = "UPDATING" )
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)
GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListBlocklistsOperationEnum Enum with underlying type: string
type ListBlocklistsOperationEnum string
Set of constants representing the allowable values for ListBlocklistsOperationEnum
const ( ListBlocklistsOperationCreateFleet ListBlocklistsOperationEnum = "CREATE_FLEET" ListBlocklistsOperationDeleteFleet ListBlocklistsOperationEnum = "DELETE_FLEET" ListBlocklistsOperationMoveFleet ListBlocklistsOperationEnum = "MOVE_FLEET" ListBlocklistsOperationUpdateFleet ListBlocklistsOperationEnum = "UPDATE_FLEET" ListBlocklistsOperationUpdateFleetAgentConfiguration ListBlocklistsOperationEnum = "UPDATE_FLEET_AGENT_CONFIGURATION" ListBlocklistsOperationDeleteJavaInstallation ListBlocklistsOperationEnum = "DELETE_JAVA_INSTALLATION" )
func GetListBlocklistsOperationEnumValues() []ListBlocklistsOperationEnum
GetListBlocklistsOperationEnumValues Enumerates the set of values for ListBlocklistsOperationEnum
func GetMappingListBlocklistsOperationEnum(val string) (ListBlocklistsOperationEnum, bool)
GetMappingListBlocklistsOperationEnum performs case Insensitive comparison on enum value and return the desired enum
ListBlocklistsRequest wrapper for the ListBlocklists operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListBlocklists.go.html to see an example of how to use ListBlocklistsRequest.
type ListBlocklistsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // The operation type. Operation ListBlocklistsOperationEnum `mandatory:"false" contributesTo:"query" name:"operation" omitEmpty:"true"` // The Fleet-unique identifier of the related managed instance. 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. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order, either 'asc' or 'desc'. SortOrder ListBlocklistsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort blocklist records. Only one sort order may be provided. // Default order for _operation_ is **ascending**. // If no value is specified _operation_ is default. SortBy ListBlocklistsSortByEnum `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 ListBlocklistsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListBlocklistsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListBlocklistsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListBlocklistsRequest) String() string
func (request ListBlocklistsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListBlocklistsResponse wrapper for the ListBlocklists operation
type ListBlocklistsResponse struct { // The underlying http response RawResponse *http.Response // A list of BlocklistCollection instances BlocklistCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListBlocklistsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListBlocklistsResponse) String() string
ListBlocklistsSortByEnum Enum with underlying type: string
type ListBlocklistsSortByEnum string
Set of constants representing the allowable values for ListBlocklistsSortByEnum
const ( ListBlocklistsSortByOperation ListBlocklistsSortByEnum = "operation" )
func GetListBlocklistsSortByEnumValues() []ListBlocklistsSortByEnum
GetListBlocklistsSortByEnumValues Enumerates the set of values for ListBlocklistsSortByEnum
func GetMappingListBlocklistsSortByEnum(val string) (ListBlocklistsSortByEnum, bool)
GetMappingListBlocklistsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListBlocklistsSortOrderEnum Enum with underlying type: string
type ListBlocklistsSortOrderEnum string
Set of constants representing the allowable values for ListBlocklistsSortOrderEnum
const ( ListBlocklistsSortOrderAsc ListBlocklistsSortOrderEnum = "ASC" ListBlocklistsSortOrderDesc ListBlocklistsSortOrderEnum = "DESC" )
func GetListBlocklistsSortOrderEnumValues() []ListBlocklistsSortOrderEnum
GetListBlocklistsSortOrderEnumValues Enumerates the set of values for ListBlocklistsSortOrderEnum
func GetMappingListBlocklistsSortOrderEnum(val string) (ListBlocklistsSortOrderEnum, bool)
GetMappingListBlocklistsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListFleetsLifecycleStateEnum Enum with underlying type: string
type ListFleetsLifecycleStateEnum string
Set of constants representing the allowable values for ListFleetsLifecycleStateEnum
const ( ListFleetsLifecycleStateActive ListFleetsLifecycleStateEnum = "ACTIVE" ListFleetsLifecycleStateCreating ListFleetsLifecycleStateEnum = "CREATING" ListFleetsLifecycleStateDeleted ListFleetsLifecycleStateEnum = "DELETED" ListFleetsLifecycleStateDeleting ListFleetsLifecycleStateEnum = "DELETING" ListFleetsLifecycleStateFailed ListFleetsLifecycleStateEnum = "FAILED" ListFleetsLifecycleStateNeedsAttention ListFleetsLifecycleStateEnum = "NEEDS_ATTENTION" ListFleetsLifecycleStateUpdating ListFleetsLifecycleStateEnum = "UPDATING" )
func GetListFleetsLifecycleStateEnumValues() []ListFleetsLifecycleStateEnum
GetListFleetsLifecycleStateEnumValues Enumerates the set of values for ListFleetsLifecycleStateEnum
func GetMappingListFleetsLifecycleStateEnum(val string) (ListFleetsLifecycleStateEnum, bool)
GetMappingListFleetsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListFleetsRequest wrapper for the ListFleets operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListFleets.go.html to see an example of how to use ListFleetsRequest.
type ListFleetsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The ID of the Fleet. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The state of the lifecycle. LifecycleState ListFleetsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The display name. 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. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order, either 'asc' or 'desc'. SortOrder ListFleetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort Fleets. Only one sort order may be provided. // Default order for _timeCreated_, _approximateJreCount_, _approximateInstallationCount_, // _approximateApplicationCount_ and _approximateManagedInstanceCount_ is **descending**. // Default order for _displayName_ is **ascending**. // If no value is specified _timeCreated_ is default. SortBy ListFleetsSortByEnum `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 ListFleetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListFleetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListFleetsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListFleetsRequest) String() string
func (request ListFleetsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListFleetsResponse wrapper for the ListFleets operation
type ListFleetsResponse struct { // The underlying http response RawResponse *http.Response // A list of FleetCollection instances FleetCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListFleetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListFleetsResponse) String() string
ListFleetsSortByEnum Enum with underlying type: string
type ListFleetsSortByEnum string
Set of constants representing the allowable values for ListFleetsSortByEnum
const ( ListFleetsSortByDisplayname ListFleetsSortByEnum = "displayName" ListFleetsSortByTimecreated ListFleetsSortByEnum = "timeCreated" )
func GetListFleetsSortByEnumValues() []ListFleetsSortByEnum
GetListFleetsSortByEnumValues Enumerates the set of values for ListFleetsSortByEnum
func GetMappingListFleetsSortByEnum(val string) (ListFleetsSortByEnum, bool)
GetMappingListFleetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListFleetsSortOrderEnum Enum with underlying type: string
type ListFleetsSortOrderEnum string
Set of constants representing the allowable values for ListFleetsSortOrderEnum
const ( ListFleetsSortOrderAsc ListFleetsSortOrderEnum = "ASC" ListFleetsSortOrderDesc ListFleetsSortOrderEnum = "DESC" )
func GetListFleetsSortOrderEnumValues() []ListFleetsSortOrderEnum
GetListFleetsSortOrderEnumValues Enumerates the set of values for ListFleetsSortOrderEnum
func GetMappingListFleetsSortOrderEnum(val string) (ListFleetsSortOrderEnum, bool)
GetMappingListFleetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListInstallationSitesJreSecurityStatusEnum Enum with underlying type: string
type ListInstallationSitesJreSecurityStatusEnum string
Set of constants representing the allowable values for ListInstallationSitesJreSecurityStatusEnum
const ( ListInstallationSitesJreSecurityStatusUnknown ListInstallationSitesJreSecurityStatusEnum = "UNKNOWN" ListInstallationSitesJreSecurityStatusUpToDate ListInstallationSitesJreSecurityStatusEnum = "UP_TO_DATE" ListInstallationSitesJreSecurityStatusUpdateRequired ListInstallationSitesJreSecurityStatusEnum = "UPDATE_REQUIRED" ListInstallationSitesJreSecurityStatusUpgradeRequired ListInstallationSitesJreSecurityStatusEnum = "UPGRADE_REQUIRED" )
func GetListInstallationSitesJreSecurityStatusEnumValues() []ListInstallationSitesJreSecurityStatusEnum
GetListInstallationSitesJreSecurityStatusEnumValues Enumerates the set of values for ListInstallationSitesJreSecurityStatusEnum
func GetMappingListInstallationSitesJreSecurityStatusEnum(val string) (ListInstallationSitesJreSecurityStatusEnum, bool)
GetMappingListInstallationSitesJreSecurityStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListInstallationSitesRequest wrapper for the ListInstallationSites operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListInstallationSites.go.html to see an example of how to use ListInstallationSitesRequest.
type ListInstallationSitesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // The vendor of the related Java Runtime. JreVendor *string `mandatory:"false" contributesTo:"query" name:"jreVendor"` // The distribution of the related Java Runtime. JreDistribution *string `mandatory:"false" contributesTo:"query" name:"jreDistribution"` // The version of the related Java Runtime. JreVersion *string `mandatory:"false" contributesTo:"query" name:"jreVersion"` // The file system path of the installation. InstallationPath *string `mandatory:"false" contributesTo:"query" name:"installationPath"` // The Fleet-unique identifier of the related application. ApplicationId *string `mandatory:"false" contributesTo:"query" name:"applicationId"` // The Fleet-unique identifier of the related managed instance. 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. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order, either 'asc' or 'desc'. SortOrder ListInstallationSitesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort installation sites. Only one sort order may be provided. // Default order for _timeLastSeen_, and _jreVersion_, _approximateApplicationCount_ is **descending**. // Default order for _managedInstanceId_, _jreDistribution_, _jreVendor_ and _osName_ is **ascending**. // If no value is specified _managedInstanceId_ is default. SortBy ListInstallationSitesSortByEnum `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 operating system type. OsFamily []OsFamilyEnum `contributesTo:"query" name:"osFamily" omitEmpty:"true" collectionFormat:"multi"` // The security status of the Java Runtime. JreSecurityStatus ListInstallationSitesJreSecurityStatusEnum `mandatory:"false" contributesTo:"query" name:"jreSecurityStatus" 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 ListInstallationSitesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListInstallationSitesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListInstallationSitesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListInstallationSitesRequest) String() string
func (request ListInstallationSitesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListInstallationSitesResponse wrapper for the ListInstallationSites operation
type ListInstallationSitesResponse struct { // The underlying http response RawResponse *http.Response // A list of InstallationSiteCollection instances InstallationSiteCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListInstallationSitesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListInstallationSitesResponse) String() string
ListInstallationSitesSortByEnum Enum with underlying type: string
type ListInstallationSitesSortByEnum string
Set of constants representing the allowable values for ListInstallationSitesSortByEnum
const ( ListInstallationSitesSortByManagedinstanceid ListInstallationSitesSortByEnum = "managedInstanceId" ListInstallationSitesSortByJredistribution ListInstallationSitesSortByEnum = "jreDistribution" ListInstallationSitesSortByJrevendor ListInstallationSitesSortByEnum = "jreVendor" ListInstallationSitesSortByJreversion ListInstallationSitesSortByEnum = "jreVersion" ListInstallationSitesSortByPath ListInstallationSitesSortByEnum = "path" ListInstallationSitesSortByApproximateapplicationcount ListInstallationSitesSortByEnum = "approximateApplicationCount" ListInstallationSitesSortByOsname ListInstallationSitesSortByEnum = "osName" ListInstallationSitesSortBySecuritystatus ListInstallationSitesSortByEnum = "securityStatus" )
func GetListInstallationSitesSortByEnumValues() []ListInstallationSitesSortByEnum
GetListInstallationSitesSortByEnumValues Enumerates the set of values for ListInstallationSitesSortByEnum
func GetMappingListInstallationSitesSortByEnum(val string) (ListInstallationSitesSortByEnum, bool)
GetMappingListInstallationSitesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListInstallationSitesSortOrderEnum Enum with underlying type: string
type ListInstallationSitesSortOrderEnum string
Set of constants representing the allowable values for ListInstallationSitesSortOrderEnum
const ( ListInstallationSitesSortOrderAsc ListInstallationSitesSortOrderEnum = "ASC" ListInstallationSitesSortOrderDesc ListInstallationSitesSortOrderEnum = "DESC" )
func GetListInstallationSitesSortOrderEnumValues() []ListInstallationSitesSortOrderEnum
GetListInstallationSitesSortOrderEnumValues Enumerates the set of values for ListInstallationSitesSortOrderEnum
func GetMappingListInstallationSitesSortOrderEnum(val string) (ListInstallationSitesSortOrderEnum, bool)
GetMappingListInstallationSitesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListJreUsageRequest wrapper for the ListJreUsage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListJreUsage.go.html to see an example of how to use ListJreUsageRequest.
type ListJreUsageRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The host OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the managed instance. HostId *string `mandatory:"false" contributesTo:"query" name:"hostId"` // The Fleet-unique identifier of the application. ApplicationId *string `mandatory:"false" contributesTo:"query" name:"applicationId"` // The name of the application. ApplicationName *string `mandatory:"false" contributesTo:"query" name:"applicationName"` // The start of the time period during which resources are searched (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStart"` // The end of the time period during which resources are searched (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnd"` // 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. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order, either 'asc' or 'desc'. SortOrder ListJreUsageSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort JRE usages. Only one sort order may be provided. // Default order for _timeFirstSeen_, _timeLastSeen_, and _version_ is **descending**. // Default order for _timeFirstSeen_, _timeLastSeen_, _version_, _approximateInstallationCount_, // _approximateApplicationCount_ and _approximateManagedInstanceCount_ is **descending**. // Default order for _distribution_, _vendor_, and _osName_ is **ascending**. // If no value is specified _timeLastSeen_ is default. SortBy ListJreUsageSortByEnum `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 ListJreUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJreUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJreUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJreUsageRequest) String() string
func (request ListJreUsageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListJreUsageResponse wrapper for the ListJreUsage operation
type ListJreUsageResponse struct { // The underlying http response RawResponse *http.Response // A list of JreUsageCollection instances JreUsageCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListJreUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJreUsageResponse) String() string
ListJreUsageSortByEnum Enum with underlying type: string
type ListJreUsageSortByEnum string
Set of constants representing the allowable values for ListJreUsageSortByEnum
const ( ListJreUsageSortByDistribution ListJreUsageSortByEnum = "distribution" ListJreUsageSortByTimefirstseen ListJreUsageSortByEnum = "timeFirstSeen" ListJreUsageSortByTimelastseen ListJreUsageSortByEnum = "timeLastSeen" ListJreUsageSortByVendor ListJreUsageSortByEnum = "vendor" ListJreUsageSortByVersion ListJreUsageSortByEnum = "version" ListJreUsageSortByApproximateinstallationcount ListJreUsageSortByEnum = "approximateInstallationCount" ListJreUsageSortByApproximateapplicationcount ListJreUsageSortByEnum = "approximateApplicationCount" ListJreUsageSortByApproximatemanagedinstancecount ListJreUsageSortByEnum = "approximateManagedInstanceCount" ListJreUsageSortByOsname ListJreUsageSortByEnum = "osName" ListJreUsageSortBySecuritystatus ListJreUsageSortByEnum = "securityStatus" )
func GetListJreUsageSortByEnumValues() []ListJreUsageSortByEnum
GetListJreUsageSortByEnumValues Enumerates the set of values for ListJreUsageSortByEnum
func GetMappingListJreUsageSortByEnum(val string) (ListJreUsageSortByEnum, bool)
GetMappingListJreUsageSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListJreUsageSortOrderEnum Enum with underlying type: string
type ListJreUsageSortOrderEnum string
Set of constants representing the allowable values for ListJreUsageSortOrderEnum
const ( ListJreUsageSortOrderAsc ListJreUsageSortOrderEnum = "ASC" ListJreUsageSortOrderDesc ListJreUsageSortOrderEnum = "DESC" )
func GetListJreUsageSortOrderEnumValues() []ListJreUsageSortOrderEnum
GetListJreUsageSortOrderEnumValues Enumerates the set of values for ListJreUsageSortOrderEnum
func GetMappingListJreUsageSortOrderEnum(val string) (ListJreUsageSortOrderEnum, bool)
GetMappingListJreUsageSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkItemsRequest wrapper for the ListWorkItems operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListWorkItems.go.html to see an example of how to use ListWorkItemsRequest.
type ListWorkItemsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous work 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"` // The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Metadata about the request. 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 ListWorkItemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkItemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkItemsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkItemsRequest) String() string
func (request ListWorkItemsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkItemsResponse wrapper for the ListWorkItems operation
type ListWorkItemsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkItemCollection instances WorkItemCollection `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkItemsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkItemsResponse) String() string
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous work 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"` // The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous work 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"` // The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The ID of an asynchronous work request. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the fleet. FleetId *string `mandatory:"false" contributesTo:"query" name:"fleetId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestCollection instances WorkRequestCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ManagedInstanceSortByEnum Enum with underlying type: string
type ManagedInstanceSortByEnum string
Set of constants representing the allowable values for ManagedInstanceSortByEnum
const ( ManagedInstanceSortByTimeFirstSeen ManagedInstanceSortByEnum = "timeFirstSeen" ManagedInstanceSortByTimeLastSeen ManagedInstanceSortByEnum = "timeLastSeen" ManagedInstanceSortByApproximateJreCount ManagedInstanceSortByEnum = "approximateJreCount" ManagedInstanceSortByApproximateInstallationCount ManagedInstanceSortByEnum = "approximateInstallationCount" ManagedInstanceSortByApproximateApplicationCount ManagedInstanceSortByEnum = "approximateApplicationCount" ManagedInstanceSortByOsName ManagedInstanceSortByEnum = "osName" )
func GetManagedInstanceSortByEnumValues() []ManagedInstanceSortByEnum
GetManagedInstanceSortByEnumValues Enumerates the set of values for ManagedInstanceSortByEnum
func GetMappingManagedInstanceSortByEnum(val string) (ManagedInstanceSortByEnum, bool)
GetMappingManagedInstanceSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ManagedInstanceTypeEnum Enum with underlying type: string
type ManagedInstanceTypeEnum string
Set of constants representing the allowable values for ManagedInstanceTypeEnum
const ( ManagedInstanceTypeOracleManagementAgent ManagedInstanceTypeEnum = "ORACLE_MANAGEMENT_AGENT" )
func GetManagedInstanceTypeEnumValues() []ManagedInstanceTypeEnum
GetManagedInstanceTypeEnumValues Enumerates the set of values for ManagedInstanceTypeEnum
func GetMappingManagedInstanceTypeEnum(val string) (ManagedInstanceTypeEnum, bool)
GetMappingManagedInstanceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ManagedInstanceUsage Managed instance usage during a specified time period. An entity that emits usage events to Java Management Service (JMS) is represented as a managed instance. A managed instance has a unique identity which is used by JMS to distinguish it from other managed instances. Currently, JMS supports only one kind of managed instance, a Management Agent.
type ManagedInstanceUsage struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the related managed instance. ManagedInstanceId *string `mandatory:"true" json:"managedInstanceId"` // The type of the source of events. ManagedInstanceType ManagedInstanceTypeEnum `mandatory:"true" json:"managedInstanceType"` // The hostname of the managed instance (if applicable). Hostname *string `mandatory:"false" json:"hostname"` // The host OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the related managed instance. HostId *string `mandatory:"false" json:"hostId"` OperatingSystem *OperatingSystem `mandatory:"false" json:"operatingSystem"` // The approximate count of applications reported by this managed instance. ApproximateApplicationCount *int `mandatory:"false" json:"approximateApplicationCount"` // The approximate count of installations reported by this managed instance. ApproximateInstallationCount *int `mandatory:"false" json:"approximateInstallationCount"` // The approximate count of Java Runtimes reported by this managed instance. ApproximateJreCount *int `mandatory:"false" json:"approximateJreCount"` // Lower bound of the specified time period filter. JMS provides a view of the data that is _per day_. The query uses only the date element of the parameter. TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"` // Upper bound of the specified time period filter. JMS provides a view of the data that is _per day_. The query uses only the date element of the parameter. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The date and time the resource was _first_ reported to JMS. // This is potentially _before_ the specified time period provided by the filters. // For example, a resource can be first reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeFirstSeen *common.SDKTime `mandatory:"false" json:"timeFirstSeen"` // The date and time the resource was _last_ reported to JMS. // This is potentially _after_ the specified time period provided by the filters. // For example, a resource can be last reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeLastSeen *common.SDKTime `mandatory:"false" json:"timeLastSeen"` }
func (m ManagedInstanceUsage) String() string
func (m ManagedInstanceUsage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedInstanceUsageCollection Results of a managed instance search. Contains ManagedInstanceUsage items.
type ManagedInstanceUsageCollection struct { // A list of managed instances. Items []ManagedInstanceUsage `mandatory:"true" json:"items"` }
func (m ManagedInstanceUsageCollection) String() string
func (m ManagedInstanceUsageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OperatingSystem Operating System of the platform on which the Java Runtime was reported.
type OperatingSystem struct { // The operating system type, such as Windows or Linux Family OsFamilyEnum `mandatory:"true" json:"family"` // The name of the operating system as provided by the Java system property os.name. Name *string `mandatory:"true" json:"name"` // The version of the operating system as provided by the Java system property os.version. Version *string `mandatory:"true" json:"version"` // The architecture of the operating system as provided by the Java system property os.arch. Architecture *string `mandatory:"true" json:"architecture"` }
func (m OperatingSystem) String() string
func (m OperatingSystem) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusCanceled OperationStatusEnum = "CANCELED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" )
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
const ( OperationTypeCreateFleet OperationTypeEnum = "CREATE_FLEET" OperationTypeDeleteFleet OperationTypeEnum = "DELETE_FLEET" OperationTypeMoveFleet OperationTypeEnum = "MOVE_FLEET" OperationTypeUpdateFleet OperationTypeEnum = "UPDATE_FLEET" OperationTypeUpdateFleetAgentConfiguration OperationTypeEnum = "UPDATE_FLEET_AGENT_CONFIGURATION" OperationTypeDeleteJavaInstallation OperationTypeEnum = "DELETE_JAVA_INSTALLATION" )
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
OsFamilyEnum Enum with underlying type: string
type OsFamilyEnum string
Set of constants representing the allowable values for OsFamilyEnum
const ( OsFamilyLinux OsFamilyEnum = "LINUX" OsFamilyWindows OsFamilyEnum = "WINDOWS" OsFamilyMacos OsFamilyEnum = "MACOS" OsFamilyUnknown OsFamilyEnum = "UNKNOWN" )
func GetMappingOsFamilyEnum(val string) (OsFamilyEnum, bool)
GetMappingOsFamilyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOsFamilyEnumValues() []OsFamilyEnum
GetOsFamilyEnumValues Enumerates the set of values for OsFamilyEnum
Principal An authorized principal.
type Principal struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the principal. Id *string `mandatory:"true" json:"id"` // The name of the principal. DisplayName *string `mandatory:"true" json:"displayName"` }
func (m Principal) String() string
func (m Principal) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveFleetInstallationSitesDetails The list of Java installation sites to remove.
type RemoveFleetInstallationSitesDetails struct { // The list of installation sites to remove. InstallationSites []ExistingInstallationSiteId `mandatory:"true" json:"installationSites"` }
func (m RemoveFleetInstallationSitesDetails) String() string
func (m RemoveFleetInstallationSitesDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveFleetInstallationSitesRequest wrapper for the RemoveFleetInstallationSites operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/RemoveFleetInstallationSites.go.html to see an example of how to use RemoveFleetInstallationSitesRequest.
type RemoveFleetInstallationSitesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // List of installation sites to be deleted. RemoveFleetInstallationSitesDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // ETag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the ETag you // provide matches the resource's current ETag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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"` // 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 RemoveFleetInstallationSitesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemoveFleetInstallationSitesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveFleetInstallationSitesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveFleetInstallationSitesRequest) String() string
func (request RemoveFleetInstallationSitesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveFleetInstallationSitesResponse wrapper for the RemoveFleetInstallationSites operation
type RemoveFleetInstallationSitesResponse 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 RemoveFleetInstallationSitesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveFleetInstallationSitesResponse) String() string
ResourceInventory Inventory of JMS resources in a compartment during a specified time period.
type ResourceInventory struct { // The number of _active_ fleets. ActiveFleetCount *int `mandatory:"true" json:"activeFleetCount"` // The number of managed instances. ManagedInstanceCount *int `mandatory:"true" json:"managedInstanceCount"` // The number of Java Runtimes. JreCount *int `mandatory:"true" json:"jreCount"` // The number of Java installations. InstallationCount *int `mandatory:"true" json:"installationCount"` // The number of applications. ApplicationCount *int `mandatory:"true" json:"applicationCount"` }
func (m ResourceInventory) String() string
func (m ResourceInventory) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SortByEnum Enum with underlying type: string
type SortByEnum string
Set of constants representing the allowable values for SortByEnum
const ( SortByDisplayName SortByEnum = "displayName" SortByTimeCreated SortByEnum = "timeCreated" )
func GetMappingSortByEnum(val string) (SortByEnum, bool)
GetMappingSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortByEnumValues() []SortByEnum
GetSortByEnumValues Enumerates the set of values for SortByEnum
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
SummarizeApplicationUsageFieldsEnum Enum with underlying type: string
type SummarizeApplicationUsageFieldsEnum string
Set of constants representing the allowable values for SummarizeApplicationUsageFieldsEnum
const ( SummarizeApplicationUsageFieldsApproximateJreCount SummarizeApplicationUsageFieldsEnum = "approximateJreCount" SummarizeApplicationUsageFieldsApproximateInstallationCount SummarizeApplicationUsageFieldsEnum = "approximateInstallationCount" SummarizeApplicationUsageFieldsApproximateManagedInstanceCount SummarizeApplicationUsageFieldsEnum = "approximateManagedInstanceCount" )
func GetMappingSummarizeApplicationUsageFieldsEnum(val string) (SummarizeApplicationUsageFieldsEnum, bool)
GetMappingSummarizeApplicationUsageFieldsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeApplicationUsageFieldsEnumValues() []SummarizeApplicationUsageFieldsEnum
GetSummarizeApplicationUsageFieldsEnumValues Enumerates the set of values for SummarizeApplicationUsageFieldsEnum
SummarizeApplicationUsageRequest wrapper for the SummarizeApplicationUsage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/SummarizeApplicationUsage.go.html to see an example of how to use SummarizeApplicationUsageRequest.
type SummarizeApplicationUsageRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // The Fleet-unique identifier of the application. ApplicationId *string `mandatory:"false" contributesTo:"query" name:"applicationId"` // The display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The type of the application. ApplicationType *string `mandatory:"false" contributesTo:"query" name:"applicationType"` // The vendor of the related Java Runtime. JreVendor *string `mandatory:"false" contributesTo:"query" name:"jreVendor"` // The distribution of the related Java Runtime. JreDistribution *string `mandatory:"false" contributesTo:"query" name:"jreDistribution"` // The version of the related Java Runtime. JreVersion *string `mandatory:"false" contributesTo:"query" name:"jreVersion"` // The file system path of the installation. InstallationPath *string `mandatory:"false" contributesTo:"query" name:"installationPath"` // The Fleet-unique identifier of the related managed instance. ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"` // Additional fields to include into the returned model on top of the required ones. // This parameter can also include 'approximateJreCount', 'approximateInstallationCount' and 'approximateManagedInstanceCount'. // For example 'approximateJreCount,approximateInstallationCount'. Fields []SummarizeApplicationUsageFieldsEnum `contributesTo:"query" name:"fields" omitEmpty:"true" collectionFormat:"multi"` // The start of the time period during which resources are searched (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStart"` // The end of the time period during which resources are searched (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnd"` // 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. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order, either 'asc' or 'desc'. SortOrder SummarizeApplicationUsageSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort application views. Only one sort order may be provided. // Default order for _timeFirstSeen_, _timeLastSeen_, _approximateJreCount_, _approximateInstallationCount_ // and _approximateManagedInstanceCount_ is **descending**. // Default order for _displayName_ and _osName_ is **ascending**. // If no value is specified _timeLastSeen_ is default. SortBy SummarizeApplicationUsageSortByEnum `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 operating system type. OsFamily []OsFamilyEnum `contributesTo:"query" name:"osFamily" omitEmpty:"true" collectionFormat:"multi"` // Metadata about the request. 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 SummarizeApplicationUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeApplicationUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeApplicationUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeApplicationUsageRequest) String() string
func (request SummarizeApplicationUsageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeApplicationUsageResponse wrapper for the SummarizeApplicationUsage operation
type SummarizeApplicationUsageResponse struct { // The underlying http response RawResponse *http.Response // A list of ApplicationUsageCollection instances ApplicationUsageCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeApplicationUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeApplicationUsageResponse) String() string
SummarizeApplicationUsageSortByEnum Enum with underlying type: string
type SummarizeApplicationUsageSortByEnum string
Set of constants representing the allowable values for SummarizeApplicationUsageSortByEnum
const ( SummarizeApplicationUsageSortByTimefirstseen SummarizeApplicationUsageSortByEnum = "timeFirstSeen" SummarizeApplicationUsageSortByTimelastseen SummarizeApplicationUsageSortByEnum = "timeLastSeen" SummarizeApplicationUsageSortByDisplayname SummarizeApplicationUsageSortByEnum = "displayName" SummarizeApplicationUsageSortByApproximatejrecount SummarizeApplicationUsageSortByEnum = "approximateJreCount" SummarizeApplicationUsageSortByApproximateinstallationcount SummarizeApplicationUsageSortByEnum = "approximateInstallationCount" SummarizeApplicationUsageSortByApproximatemanagedinstancecount SummarizeApplicationUsageSortByEnum = "approximateManagedInstanceCount" SummarizeApplicationUsageSortByOsname SummarizeApplicationUsageSortByEnum = "osName" )
func GetMappingSummarizeApplicationUsageSortByEnum(val string) (SummarizeApplicationUsageSortByEnum, bool)
GetMappingSummarizeApplicationUsageSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeApplicationUsageSortByEnumValues() []SummarizeApplicationUsageSortByEnum
GetSummarizeApplicationUsageSortByEnumValues Enumerates the set of values for SummarizeApplicationUsageSortByEnum
SummarizeApplicationUsageSortOrderEnum Enum with underlying type: string
type SummarizeApplicationUsageSortOrderEnum string
Set of constants representing the allowable values for SummarizeApplicationUsageSortOrderEnum
const ( SummarizeApplicationUsageSortOrderAsc SummarizeApplicationUsageSortOrderEnum = "ASC" SummarizeApplicationUsageSortOrderDesc SummarizeApplicationUsageSortOrderEnum = "DESC" )
func GetMappingSummarizeApplicationUsageSortOrderEnum(val string) (SummarizeApplicationUsageSortOrderEnum, bool)
GetMappingSummarizeApplicationUsageSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeApplicationUsageSortOrderEnumValues() []SummarizeApplicationUsageSortOrderEnum
GetSummarizeApplicationUsageSortOrderEnumValues Enumerates the set of values for SummarizeApplicationUsageSortOrderEnum
SummarizeInstallationUsageFieldsEnum Enum with underlying type: string
type SummarizeInstallationUsageFieldsEnum string
Set of constants representing the allowable values for SummarizeInstallationUsageFieldsEnum
const ( SummarizeInstallationUsageFieldsApproximateApplicationCount SummarizeInstallationUsageFieldsEnum = "approximateApplicationCount" SummarizeInstallationUsageFieldsApproximateManagedInstanceCount SummarizeInstallationUsageFieldsEnum = "approximateManagedInstanceCount" )
func GetMappingSummarizeInstallationUsageFieldsEnum(val string) (SummarizeInstallationUsageFieldsEnum, bool)
GetMappingSummarizeInstallationUsageFieldsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeInstallationUsageFieldsEnumValues() []SummarizeInstallationUsageFieldsEnum
GetSummarizeInstallationUsageFieldsEnumValues Enumerates the set of values for SummarizeInstallationUsageFieldsEnum
SummarizeInstallationUsageRequest wrapper for the SummarizeInstallationUsage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/SummarizeInstallationUsage.go.html to see an example of how to use SummarizeInstallationUsageRequest.
type SummarizeInstallationUsageRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // The vendor of the related Java Runtime. JreVendor *string `mandatory:"false" contributesTo:"query" name:"jreVendor"` // The distribution of the related Java Runtime. JreDistribution *string `mandatory:"false" contributesTo:"query" name:"jreDistribution"` // The version of the related Java Runtime. JreVersion *string `mandatory:"false" contributesTo:"query" name:"jreVersion"` // The file system path of the installation. InstallationPath *string `mandatory:"false" contributesTo:"query" name:"installationPath"` // The Fleet-unique identifier of the related application. ApplicationId *string `mandatory:"false" contributesTo:"query" name:"applicationId"` // The Fleet-unique identifier of the related managed instance. ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"` // Additional fields to include into the returned model on top of the required ones. // This parameter can also include 'approximateApplicationCount' and 'approximateManagedInstanceCount'. // For example 'approximateApplicationCount,approximateManagedInstanceCount'. Fields []SummarizeInstallationUsageFieldsEnum `contributesTo:"query" name:"fields" omitEmpty:"true" collectionFormat:"multi"` // The start of the time period during which resources are searched (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStart"` // The end of the time period during which resources are searched (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnd"` // 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. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order, either 'asc' or 'desc'. SortOrder SummarizeInstallationUsageSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort installation views. Only one sort order may be provided. // Default order for _timeFirstSeen_, _timeLastSeen_, and _jreVersion_, _approximateApplicationCount_ // and _approximateManagedInstanceCount_ is **descending**. // Default order for _jreDistribution_ and _jreVendor_ is **ascending**. If no value is specified _timeLastSeen_ is default. SortBy SummarizeInstallationUsageSortByEnum `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 operating system type. OsFamily []OsFamilyEnum `contributesTo:"query" name:"osFamily" omitEmpty:"true" collectionFormat:"multi"` // Metadata about the request. 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 SummarizeInstallationUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeInstallationUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeInstallationUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeInstallationUsageRequest) String() string
func (request SummarizeInstallationUsageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeInstallationUsageResponse wrapper for the SummarizeInstallationUsage operation
type SummarizeInstallationUsageResponse struct { // The underlying http response RawResponse *http.Response // A list of InstallationUsageCollection instances InstallationUsageCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeInstallationUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeInstallationUsageResponse) String() string
SummarizeInstallationUsageSortByEnum Enum with underlying type: string
type SummarizeInstallationUsageSortByEnum string
Set of constants representing the allowable values for SummarizeInstallationUsageSortByEnum
const ( SummarizeInstallationUsageSortByJredistribution SummarizeInstallationUsageSortByEnum = "jreDistribution" SummarizeInstallationUsageSortByJrevendor SummarizeInstallationUsageSortByEnum = "jreVendor" SummarizeInstallationUsageSortByJreversion SummarizeInstallationUsageSortByEnum = "jreVersion" SummarizeInstallationUsageSortByPath SummarizeInstallationUsageSortByEnum = "path" SummarizeInstallationUsageSortByTimefirstseen SummarizeInstallationUsageSortByEnum = "timeFirstSeen" SummarizeInstallationUsageSortByTimelastseen SummarizeInstallationUsageSortByEnum = "timeLastSeen" SummarizeInstallationUsageSortByApproximateapplicationcount SummarizeInstallationUsageSortByEnum = "approximateApplicationCount" SummarizeInstallationUsageSortByApproximatemanagedinstancecount SummarizeInstallationUsageSortByEnum = "approximateManagedInstanceCount" SummarizeInstallationUsageSortByOsname SummarizeInstallationUsageSortByEnum = "osName" )
func GetMappingSummarizeInstallationUsageSortByEnum(val string) (SummarizeInstallationUsageSortByEnum, bool)
GetMappingSummarizeInstallationUsageSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeInstallationUsageSortByEnumValues() []SummarizeInstallationUsageSortByEnum
GetSummarizeInstallationUsageSortByEnumValues Enumerates the set of values for SummarizeInstallationUsageSortByEnum
SummarizeInstallationUsageSortOrderEnum Enum with underlying type: string
type SummarizeInstallationUsageSortOrderEnum string
Set of constants representing the allowable values for SummarizeInstallationUsageSortOrderEnum
const ( SummarizeInstallationUsageSortOrderAsc SummarizeInstallationUsageSortOrderEnum = "ASC" SummarizeInstallationUsageSortOrderDesc SummarizeInstallationUsageSortOrderEnum = "DESC" )
func GetMappingSummarizeInstallationUsageSortOrderEnum(val string) (SummarizeInstallationUsageSortOrderEnum, bool)
GetMappingSummarizeInstallationUsageSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeInstallationUsageSortOrderEnumValues() []SummarizeInstallationUsageSortOrderEnum
GetSummarizeInstallationUsageSortOrderEnumValues Enumerates the set of values for SummarizeInstallationUsageSortOrderEnum
SummarizeJreUsageFieldsEnum Enum with underlying type: string
type SummarizeJreUsageFieldsEnum string
Set of constants representing the allowable values for SummarizeJreUsageFieldsEnum
const ( SummarizeJreUsageFieldsApproximateInstallationCount SummarizeJreUsageFieldsEnum = "approximateInstallationCount" SummarizeJreUsageFieldsApproximateApplicationCount SummarizeJreUsageFieldsEnum = "approximateApplicationCount" SummarizeJreUsageFieldsApproximateManagedInstanceCount SummarizeJreUsageFieldsEnum = "approximateManagedInstanceCount" )
func GetMappingSummarizeJreUsageFieldsEnum(val string) (SummarizeJreUsageFieldsEnum, bool)
GetMappingSummarizeJreUsageFieldsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeJreUsageFieldsEnumValues() []SummarizeJreUsageFieldsEnum
GetSummarizeJreUsageFieldsEnumValues Enumerates the set of values for SummarizeJreUsageFieldsEnum
SummarizeJreUsageJreSecurityStatusEnum Enum with underlying type: string
type SummarizeJreUsageJreSecurityStatusEnum string
Set of constants representing the allowable values for SummarizeJreUsageJreSecurityStatusEnum
const ( SummarizeJreUsageJreSecurityStatusUnknown SummarizeJreUsageJreSecurityStatusEnum = "UNKNOWN" SummarizeJreUsageJreSecurityStatusUpToDate SummarizeJreUsageJreSecurityStatusEnum = "UP_TO_DATE" SummarizeJreUsageJreSecurityStatusUpdateRequired SummarizeJreUsageJreSecurityStatusEnum = "UPDATE_REQUIRED" SummarizeJreUsageJreSecurityStatusUpgradeRequired SummarizeJreUsageJreSecurityStatusEnum = "UPGRADE_REQUIRED" )
func GetMappingSummarizeJreUsageJreSecurityStatusEnum(val string) (SummarizeJreUsageJreSecurityStatusEnum, bool)
GetMappingSummarizeJreUsageJreSecurityStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeJreUsageJreSecurityStatusEnumValues() []SummarizeJreUsageJreSecurityStatusEnum
GetSummarizeJreUsageJreSecurityStatusEnumValues Enumerates the set of values for SummarizeJreUsageJreSecurityStatusEnum
SummarizeJreUsageRequest wrapper for the SummarizeJreUsage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/SummarizeJreUsage.go.html to see an example of how to use SummarizeJreUsageRequest.
type SummarizeJreUsageRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // The vendor of the Java Runtime. JreVendor *string `mandatory:"false" contributesTo:"query" name:"jreVendor"` // The distribution of the Java Runtime. JreDistribution *string `mandatory:"false" contributesTo:"query" name:"jreDistribution"` // The version of the Java Runtime. JreVersion *string `mandatory:"false" contributesTo:"query" name:"jreVersion"` // The Fleet-unique identifier of the related application. ApplicationId *string `mandatory:"false" contributesTo:"query" name:"applicationId"` // The Fleet-unique identifier of the related managed instance. ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"` // Additional fields to include into the returned model on top of the required ones. // This parameter can also include 'approximateApplicationCount', 'approximateInstallationCount' and 'approximateManagedInstanceCount'. // For example 'approximateApplicationCount,approximateManagedInstanceCount'. Fields []SummarizeJreUsageFieldsEnum `contributesTo:"query" name:"fields" omitEmpty:"true" collectionFormat:"multi"` // The start of the time period during which resources are searched (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStart"` // The end of the time period during which resources are searched (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnd"` // 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. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order, either 'asc' or 'desc'. SortOrder SummarizeJreUsageSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort JRE usages. Only one sort order may be provided. // Default order for _timeFirstSeen_, _timeLastSeen_, and _version_ is **descending**. // Default order for _timeFirstSeen_, _timeLastSeen_, _version_, _approximateInstallationCount_, // _approximateApplicationCount_ and _approximateManagedInstanceCount_ is **descending**. // Default order for _distribution_, _vendor_, and _osName_ is **ascending**. // If no value is specified _timeLastSeen_ is default. SortBy SummarizeJreUsageSortByEnum `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 operating system type. OsFamily []OsFamilyEnum `contributesTo:"query" name:"osFamily" omitEmpty:"true" collectionFormat:"multi"` // The security status of the Java Runtime. JreSecurityStatus SummarizeJreUsageJreSecurityStatusEnum `mandatory:"false" contributesTo:"query" name:"jreSecurityStatus" 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 SummarizeJreUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeJreUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeJreUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeJreUsageRequest) String() string
func (request SummarizeJreUsageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeJreUsageResponse wrapper for the SummarizeJreUsage operation
type SummarizeJreUsageResponse struct { // The underlying http response RawResponse *http.Response // A list of JreUsageCollection instances JreUsageCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeJreUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeJreUsageResponse) String() string
SummarizeJreUsageSortByEnum Enum with underlying type: string
type SummarizeJreUsageSortByEnum string
Set of constants representing the allowable values for SummarizeJreUsageSortByEnum
const ( SummarizeJreUsageSortByDistribution SummarizeJreUsageSortByEnum = "distribution" SummarizeJreUsageSortByTimefirstseen SummarizeJreUsageSortByEnum = "timeFirstSeen" SummarizeJreUsageSortByTimelastseen SummarizeJreUsageSortByEnum = "timeLastSeen" SummarizeJreUsageSortByVendor SummarizeJreUsageSortByEnum = "vendor" SummarizeJreUsageSortByVersion SummarizeJreUsageSortByEnum = "version" SummarizeJreUsageSortByApproximateinstallationcount SummarizeJreUsageSortByEnum = "approximateInstallationCount" SummarizeJreUsageSortByApproximateapplicationcount SummarizeJreUsageSortByEnum = "approximateApplicationCount" SummarizeJreUsageSortByApproximatemanagedinstancecount SummarizeJreUsageSortByEnum = "approximateManagedInstanceCount" SummarizeJreUsageSortByOsname SummarizeJreUsageSortByEnum = "osName" SummarizeJreUsageSortBySecuritystatus SummarizeJreUsageSortByEnum = "securityStatus" )
func GetMappingSummarizeJreUsageSortByEnum(val string) (SummarizeJreUsageSortByEnum, bool)
GetMappingSummarizeJreUsageSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeJreUsageSortByEnumValues() []SummarizeJreUsageSortByEnum
GetSummarizeJreUsageSortByEnumValues Enumerates the set of values for SummarizeJreUsageSortByEnum
SummarizeJreUsageSortOrderEnum Enum with underlying type: string
type SummarizeJreUsageSortOrderEnum string
Set of constants representing the allowable values for SummarizeJreUsageSortOrderEnum
const ( SummarizeJreUsageSortOrderAsc SummarizeJreUsageSortOrderEnum = "ASC" SummarizeJreUsageSortOrderDesc SummarizeJreUsageSortOrderEnum = "DESC" )
func GetMappingSummarizeJreUsageSortOrderEnum(val string) (SummarizeJreUsageSortOrderEnum, bool)
GetMappingSummarizeJreUsageSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeJreUsageSortOrderEnumValues() []SummarizeJreUsageSortOrderEnum
GetSummarizeJreUsageSortOrderEnumValues Enumerates the set of values for SummarizeJreUsageSortOrderEnum
SummarizeManagedInstanceUsageFieldsEnum Enum with underlying type: string
type SummarizeManagedInstanceUsageFieldsEnum string
Set of constants representing the allowable values for SummarizeManagedInstanceUsageFieldsEnum
const ( SummarizeManagedInstanceUsageFieldsApproximateJreCount SummarizeManagedInstanceUsageFieldsEnum = "approximateJreCount" SummarizeManagedInstanceUsageFieldsApproximateInstallationCount SummarizeManagedInstanceUsageFieldsEnum = "approximateInstallationCount" SummarizeManagedInstanceUsageFieldsApproximateApplicationCount SummarizeManagedInstanceUsageFieldsEnum = "approximateApplicationCount" )
func GetMappingSummarizeManagedInstanceUsageFieldsEnum(val string) (SummarizeManagedInstanceUsageFieldsEnum, bool)
GetMappingSummarizeManagedInstanceUsageFieldsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeManagedInstanceUsageFieldsEnumValues() []SummarizeManagedInstanceUsageFieldsEnum
GetSummarizeManagedInstanceUsageFieldsEnumValues Enumerates the set of values for SummarizeManagedInstanceUsageFieldsEnum
SummarizeManagedInstanceUsageManagedInstanceTypeEnum Enum with underlying type: string
type SummarizeManagedInstanceUsageManagedInstanceTypeEnum string
Set of constants representing the allowable values for SummarizeManagedInstanceUsageManagedInstanceTypeEnum
const ( SummarizeManagedInstanceUsageManagedInstanceTypeOracleManagementAgent SummarizeManagedInstanceUsageManagedInstanceTypeEnum = "ORACLE_MANAGEMENT_AGENT" )
func GetMappingSummarizeManagedInstanceUsageManagedInstanceTypeEnum(val string) (SummarizeManagedInstanceUsageManagedInstanceTypeEnum, bool)
GetMappingSummarizeManagedInstanceUsageManagedInstanceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeManagedInstanceUsageManagedInstanceTypeEnumValues() []SummarizeManagedInstanceUsageManagedInstanceTypeEnum
GetSummarizeManagedInstanceUsageManagedInstanceTypeEnumValues Enumerates the set of values for SummarizeManagedInstanceUsageManagedInstanceTypeEnum
SummarizeManagedInstanceUsageRequest wrapper for the SummarizeManagedInstanceUsage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/SummarizeManagedInstanceUsage.go.html to see an example of how to use SummarizeManagedInstanceUsageRequest.
type SummarizeManagedInstanceUsageRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // The Fleet-unique identifier of the managed instance. ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"` // The type of the managed instance. ManagedInstanceType SummarizeManagedInstanceUsageManagedInstanceTypeEnum `mandatory:"false" contributesTo:"query" name:"managedInstanceType" omitEmpty:"true"` // The vendor of the related Java Runtime. JreVendor *string `mandatory:"false" contributesTo:"query" name:"jreVendor"` // The distribution of the related Java Runtime. JreDistribution *string `mandatory:"false" contributesTo:"query" name:"jreDistribution"` // The version of the related Java Runtime. JreVersion *string `mandatory:"false" contributesTo:"query" name:"jreVersion"` // The file system path of the installation. InstallationPath *string `mandatory:"false" contributesTo:"query" name:"installationPath"` // The Fleet-unique identifier of the related application. ApplicationId *string `mandatory:"false" contributesTo:"query" name:"applicationId"` // Additional fields to include into the returned model on top of the required ones. // This parameter can also include 'approximateJreCount', 'approximateInstallationCount' and 'approximateApplicationCount'. // For example 'approximateJreCount,approximateInstallationCount'. Fields []SummarizeManagedInstanceUsageFieldsEnum `contributesTo:"query" name:"fields" omitEmpty:"true" collectionFormat:"multi"` // The start of the time period during which resources are searched (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStart"` // The end of the time period during which resources are searched (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnd"` // 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. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order, either 'asc' or 'desc'. SortOrder SummarizeManagedInstanceUsageSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort managed instance views. Only one sort order may be provided. // Default order for _timeFirstSeen_, _timeLastSeen_, approximateJreCount_, _approximateInstallationCount_ // and _approximateApplicationCount_ is **descending**. // Default order for _osName_ is **ascending**. // If no value is specified _timeLastSeen_ is default. SortBy SummarizeManagedInstanceUsageSortByEnum `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 operating system type. OsFamily []OsFamilyEnum `contributesTo:"query" name:"osFamily" omitEmpty:"true" collectionFormat:"multi"` // Metadata about the request. 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 SummarizeManagedInstanceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeManagedInstanceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeManagedInstanceUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeManagedInstanceUsageRequest) String() string
func (request SummarizeManagedInstanceUsageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeManagedInstanceUsageResponse wrapper for the SummarizeManagedInstanceUsage operation
type SummarizeManagedInstanceUsageResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagedInstanceUsageCollection instances ManagedInstanceUsageCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeManagedInstanceUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeManagedInstanceUsageResponse) String() string
SummarizeManagedInstanceUsageSortByEnum Enum with underlying type: string
type SummarizeManagedInstanceUsageSortByEnum string
Set of constants representing the allowable values for SummarizeManagedInstanceUsageSortByEnum
const ( SummarizeManagedInstanceUsageSortByTimefirstseen SummarizeManagedInstanceUsageSortByEnum = "timeFirstSeen" SummarizeManagedInstanceUsageSortByTimelastseen SummarizeManagedInstanceUsageSortByEnum = "timeLastSeen" SummarizeManagedInstanceUsageSortByApproximatejrecount SummarizeManagedInstanceUsageSortByEnum = "approximateJreCount" SummarizeManagedInstanceUsageSortByApproximateinstallationcount SummarizeManagedInstanceUsageSortByEnum = "approximateInstallationCount" SummarizeManagedInstanceUsageSortByApproximateapplicationcount SummarizeManagedInstanceUsageSortByEnum = "approximateApplicationCount" SummarizeManagedInstanceUsageSortByOsname SummarizeManagedInstanceUsageSortByEnum = "osName" )
func GetMappingSummarizeManagedInstanceUsageSortByEnum(val string) (SummarizeManagedInstanceUsageSortByEnum, bool)
GetMappingSummarizeManagedInstanceUsageSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeManagedInstanceUsageSortByEnumValues() []SummarizeManagedInstanceUsageSortByEnum
GetSummarizeManagedInstanceUsageSortByEnumValues Enumerates the set of values for SummarizeManagedInstanceUsageSortByEnum
SummarizeManagedInstanceUsageSortOrderEnum Enum with underlying type: string
type SummarizeManagedInstanceUsageSortOrderEnum string
Set of constants representing the allowable values for SummarizeManagedInstanceUsageSortOrderEnum
const ( SummarizeManagedInstanceUsageSortOrderAsc SummarizeManagedInstanceUsageSortOrderEnum = "ASC" SummarizeManagedInstanceUsageSortOrderDesc SummarizeManagedInstanceUsageSortOrderEnum = "DESC" )
func GetMappingSummarizeManagedInstanceUsageSortOrderEnum(val string) (SummarizeManagedInstanceUsageSortOrderEnum, bool)
GetMappingSummarizeManagedInstanceUsageSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeManagedInstanceUsageSortOrderEnumValues() []SummarizeManagedInstanceUsageSortOrderEnum
GetSummarizeManagedInstanceUsageSortOrderEnumValues Enumerates the set of values for SummarizeManagedInstanceUsageSortOrderEnum
SummarizeResourceInventoryRequest wrapper for the SummarizeResourceInventory operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/SummarizeResourceInventory.go.html to see an example of how to use SummarizeResourceInventoryRequest.
type SummarizeResourceInventoryRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The start of the time period during which resources are searched (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStart"` // The end of the time period during which resources are searched (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnd"` // 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 SummarizeResourceInventoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeResourceInventoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeResourceInventoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeResourceInventoryRequest) String() string
func (request SummarizeResourceInventoryRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeResourceInventoryResponse wrapper for the SummarizeResourceInventory operation
type SummarizeResourceInventoryResponse struct { // The underlying http response RawResponse *http.Response // The ResourceInventory instance ResourceInventory `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 SummarizeResourceInventoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeResourceInventoryResponse) String() string
UpdateFleetAgentConfigurationDetails Attributes to update a Fleet Agent Configuration.
type UpdateFleetAgentConfigurationDetails struct { // The frequency (in minutes) of JRE scanning. (That is, how often should JMS scan for JRE installations.) JreScanFrequencyInMinutes *int `mandatory:"false" json:"jreScanFrequencyInMinutes"` // The frequency (in minutes) of Java Usage Tracker processing. (That is, how often should JMS process data from the Java Usage Tracker.) JavaUsageTrackerProcessingFrequencyInMinutes *int `mandatory:"false" json:"javaUsageTrackerProcessingFrequencyInMinutes"` LinuxConfiguration *FleetAgentOsConfiguration `mandatory:"false" json:"linuxConfiguration"` WindowsConfiguration *FleetAgentOsConfiguration `mandatory:"false" json:"windowsConfiguration"` }
func (m UpdateFleetAgentConfigurationDetails) String() string
func (m UpdateFleetAgentConfigurationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateFleetAgentConfigurationRequest wrapper for the UpdateFleetAgentConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/UpdateFleetAgentConfiguration.go.html to see an example of how to use UpdateFleetAgentConfigurationRequest.
type UpdateFleetAgentConfigurationRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // The new details for the Fleet Agent Configuration. UpdateFleetAgentConfigurationDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // ETag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the ETag you // provide matches the resource's current ETag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 UpdateFleetAgentConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateFleetAgentConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateFleetAgentConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateFleetAgentConfigurationRequest) String() string
func (request UpdateFleetAgentConfigurationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateFleetAgentConfigurationResponse wrapper for the UpdateFleetAgentConfiguration operation
type UpdateFleetAgentConfigurationResponse 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 UpdateFleetAgentConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateFleetAgentConfigurationResponse) String() string
UpdateFleetDetails Attributes to update a Fleet.
type UpdateFleetDetails struct { // The name of the Fleet. The displayName must be unique for Fleets in the same compartment. DisplayName *string `mandatory:"false" json:"displayName"` // The Fleet's description. Description *string `mandatory:"false" json:"description"` InventoryLog *CustomLog `mandatory:"false" json:"inventoryLog"` OperationLog *CustomLog `mandatory:"false" json:"operationLog"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).) FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` }
func (m UpdateFleetDetails) String() string
func (m UpdateFleetDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateFleetRequest wrapper for the UpdateFleet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.14.0/jms/UpdateFleet.go.html to see an example of how to use UpdateFleetRequest.
type UpdateFleetRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // The new details for the Fleet. UpdateFleetDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // ETag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the ETag you // provide matches the resource's current ETag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 UpdateFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateFleetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateFleetRequest) String() string
func (request UpdateFleetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateFleetResponse wrapper for the UpdateFleet operation
type UpdateFleetResponse 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 UpdateFleetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateFleetResponse) String() string
WorkItemCollection A list of WorkItem.
type WorkItemCollection struct { // A list of work request items. Items []WorkItemSummary `mandatory:"true" json:"items"` }
func (m WorkItemCollection) String() string
func (m WorkItemCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkItemStatusEnum Enum with underlying type: string
type WorkItemStatusEnum string
Set of constants representing the allowable values for WorkItemStatusEnum
const ( WorkItemStatusAccepted WorkItemStatusEnum = "ACCEPTED" WorkItemStatusInProgress WorkItemStatusEnum = "IN_PROGRESS" WorkItemStatusCanceling WorkItemStatusEnum = "CANCELING" WorkItemStatusCanceled WorkItemStatusEnum = "CANCELED" WorkItemStatusSucceeded WorkItemStatusEnum = "SUCCEEDED" WorkItemStatusNeedsAttention WorkItemStatusEnum = "NEEDS_ATTENTION" WorkItemStatusRetrying WorkItemStatusEnum = "RETRYING" )
func GetMappingWorkItemStatusEnum(val string) (WorkItemStatusEnum, bool)
GetMappingWorkItemStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkItemStatusEnumValues() []WorkItemStatusEnum
GetWorkItemStatusEnumValues Enumerates the set of values for WorkItemStatusEnum
WorkItemSummary The LCM work request for a JVM installation site.
type WorkItemSummary struct { // The unique ID of ths work item. Id *string `mandatory:"true" json:"id"` // The OCID of the work request created this work item. WorkRequestId *string `mandatory:"true" json:"workRequestId"` InstallationSite *InstallationSite `mandatory:"true" json:"installationSite"` // The status of the work item. Status WorkItemStatusEnum `mandatory:"true" json:"status"` // Number of times this work item is retried. RetryCount *int `mandatory:"true" json:"retryCount"` // The date and time the work item was last updated. (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeLastUpdated *common.SDKTime `mandatory:"false" json:"timeLastUpdated"` }
func (m WorkItemSummary) String() string
func (m WorkItemSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequest An asynchronous work request. See Work Requests (https://docs.cloud.oracle.com/Content/General/Concepts/workrequestoverview.htm).
type WorkRequest struct { // The asynchronous operation tracked by this work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // The status of the work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource 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 that are affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The percentage complete of the operation tracked by this work request. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the work request transitioned from _ACCEPTED_ to _IN_PROGRESS_ (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the work request reached a terminal state, either _FAILED_ or _SUCCEEDED_ (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` CreatedBy *Principal `mandatory:"false" json:"createdBy"` // The date and time the work request percentage was last updated. (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeLastUpdated *common.SDKTime `mandatory:"false" json:"timeLastUpdated"` // The total number of tasks to be executed for this work request. TotalTaskCount *int `mandatory:"false" json:"totalTaskCount"` // The number of tasks had been executed to a terminal state. CompletedTaskCount *int `mandatory:"false" json:"completedTaskCount"` }
func (m WorkRequest) String() string
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestCollection Results of a work request search. Contains WorkRequest items
type WorkRequestCollection struct { // A list of work requests. Items []WorkRequest `mandatory:"true" json:"items"` }
func (m WorkRequestCollection) String() string
func (m WorkRequestCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestError An error encountered while executing an operation that is tracked by a work request.
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed at // API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // The date and time the error occured (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestError) String() string
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestErrorCollection Results of a work request error search. Contains WorkRequestError items
type WorkRequestErrorCollection struct { // A list of work request errors. Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntry A log message from executing an operation that is tracked by a work request.
type WorkRequestLogEntry struct { // A human-readable log message. Message *string `mandatory:"true" json:"message"` // The date and time the log message was written (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntryCollection Results of a work request log entry search. Contains WorkRequestLogEntry items
type WorkRequestLogEntryCollection struct { // A list of work request log entries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestResource A resource that is created or operated on by an asynchronous operation that is tracked by a work request.
type WorkRequestResource struct { // The resource type affected by the work request. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource was affected by the operation that spawned the work request. // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until // work is complete for that resource at which point it will transition to CREATED, UPDATED, // or DELETED, respectively. ActionType ActionTypeEnum `mandatory:"true" json:"actionType"` // An OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) or other unique identifier of the resource affected by the work request. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can perform a GET operation to access the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` }
func (m WorkRequestResource) String() string
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly