ActionTypesEnum Enum with underlying type: string
type ActionTypesEnum string
Set of constants representing the allowable values for ActionTypesEnum
const ( ActionTypesCreated ActionTypesEnum = "CREATED" ActionTypesUpdated ActionTypesEnum = "UPDATED" ActionTypesDeleted ActionTypesEnum = "DELETED" ActionTypesInProgress ActionTypesEnum = "IN_PROGRESS" ActionTypesRelated ActionTypesEnum = "RELATED" )
func GetActionTypesEnumValues() []ActionTypesEnum
GetActionTypesEnumValues Enumerates the set of values for ActionTypesEnum
AvailabilityHistorySummary Availability history of Management Agent.
type AvailabilityHistorySummary struct { // agent identifier ManagementAgentId *string `mandatory:"true" json:"managementAgentId"` // The availability status of managementAgent AvailabilityStatus AvailabilityStatusEnum `mandatory:"true" json:"availabilityStatus"` // The time at which the Management Agent moved to the availability status. An RFC3339 formatted datetime string TimeAvailabilityStatusStarted *common.SDKTime `mandatory:"false" json:"timeAvailabilityStatusStarted"` // The time till which the Management Agent was known to be in the availability status. An RFC3339 formatted datetime string TimeAvailabilityStatusEnded *common.SDKTime `mandatory:"false" json:"timeAvailabilityStatusEnded"` }
func (m AvailabilityHistorySummary) String() string
AvailabilityStatusEnum Enum with underlying type: string
type AvailabilityStatusEnum string
Set of constants representing the allowable values for AvailabilityStatusEnum
const ( AvailabilityStatusActive AvailabilityStatusEnum = "ACTIVE" AvailabilityStatusSilent AvailabilityStatusEnum = "SILENT" AvailabilityStatusNotAvailable AvailabilityStatusEnum = "NOT_AVAILABLE" )
func GetAvailabilityStatusEnumValues() []AvailabilityStatusEnum
GetAvailabilityStatusEnumValues Enumerates the set of values for AvailabilityStatusEnum
CreateManagementAgentInstallKeyDetails The information about new Management Agent install Key.
type CreateManagementAgentInstallKeyDetails struct { // Management Agent install Key Name DisplayName *string `mandatory:"true" json:"displayName"` // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // Total number of install for this keys AllowedKeyInstallCount *int `mandatory:"false" json:"allowedKeyInstallCount"` // date after which key would expire after creation TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"` }
func (m CreateManagementAgentInstallKeyDetails) String() string
CreateManagementAgentInstallKeyRequest wrapper for the CreateManagementAgentInstallKey operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/CreateManagementAgentInstallKey.go.html to see an example of how to use CreateManagementAgentInstallKeyRequest.
type CreateManagementAgentInstallKeyRequest struct { // Details of the Agent install Key CreateManagementAgentInstallKeyDetails `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 CreateManagementAgentInstallKeyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateManagementAgentInstallKeyRequest) String() string
CreateManagementAgentInstallKeyResponse wrapper for the CreateManagementAgentInstallKey operation
type CreateManagementAgentInstallKeyResponse struct { // The underlying http response RawResponse *http.Response // The ManagementAgentInstallKey instance ManagementAgentInstallKey `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 CreateManagementAgentInstallKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateManagementAgentInstallKeyResponse) String() string
DatatypesEnum Enum with underlying type: string
type DatatypesEnum string
Set of constants representing the allowable values for DatatypesEnum
const ( DatatypesLong DatatypesEnum = "LONG" DatatypesDouble DatatypesEnum = "DOUBLE" DatatypesInteger DatatypesEnum = "INTEGER" DatatypesString DatatypesEnum = "STRING" DatatypesBoolean DatatypesEnum = "BOOLEAN" )
func GetDatatypesEnumValues() []DatatypesEnum
GetDatatypesEnumValues Enumerates the set of values for DatatypesEnum
DeleteManagementAgentInstallKeyRequest wrapper for the DeleteManagementAgentInstallKey operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/DeleteManagementAgentInstallKey.go.html to see an example of how to use DeleteManagementAgentInstallKeyRequest.
type DeleteManagementAgentInstallKeyRequest struct { // Unique Management Agent Install Key identifier ManagementAgentInstallKeyId *string `mandatory:"true" contributesTo:"path" name:"managementAgentInstallKeyId"` // 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 DeleteManagementAgentInstallKeyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteManagementAgentInstallKeyRequest) String() string
DeleteManagementAgentInstallKeyResponse wrapper for the DeleteManagementAgentInstallKey operation
type DeleteManagementAgentInstallKeyResponse 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 DeleteManagementAgentInstallKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteManagementAgentInstallKeyResponse) String() string
DeleteManagementAgentRequest wrapper for the DeleteManagementAgent operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/DeleteManagementAgent.go.html to see an example of how to use DeleteManagementAgentRequest.
type DeleteManagementAgentRequest struct { // Unique Management Agent identifier ManagementAgentId *string `mandatory:"true" contributesTo:"path" name:"managementAgentId"` // 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 DeleteManagementAgentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteManagementAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteManagementAgentRequest) String() string
DeleteManagementAgentResponse wrapper for the DeleteManagementAgent operation
type DeleteManagementAgentResponse 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 DeleteManagementAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteManagementAgentResponse) String() string
DeleteWorkRequestRequest wrapper for the DeleteWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequestRequest.
type DeleteWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 DeleteWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteWorkRequestRequest) String() string
DeleteWorkRequestResponse wrapper for the DeleteWorkRequest operation
type DeleteWorkRequestResponse 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 DeleteWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteWorkRequestResponse) String() string
DeployPluginsDetails The information required to deploy new Management Agent Plugins.
type DeployPluginsDetails struct { // Plugin Id PluginIds []string `mandatory:"true" json:"pluginIds"` // Management Agent Compartment Identifier AgentCompartmentId *string `mandatory:"true" json:"agentCompartmentId"` // List of Agent identifiers AgentIds []string `mandatory:"true" json:"agentIds"` }
func (m DeployPluginsDetails) String() string
DeployPluginsRequest wrapper for the DeployPlugins operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/DeployPlugins.go.html to see an example of how to use DeployPluginsRequest.
type DeployPluginsRequest struct { // Details of Plugins to be deployed for a given list of Management Agents. DeployPluginsDetails `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 DeployPluginsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeployPluginsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeployPluginsRequest) String() string
DeployPluginsResponse wrapper for the DeployPlugins operation
type DeployPluginsResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query 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 DeployPluginsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeployPluginsResponse) String() string
EditModesEnum Enum with underlying type: string
type EditModesEnum string
Set of constants representing the allowable values for EditModesEnum
const ( EditModesReadOnly EditModesEnum = "READ_ONLY" EditModesWritable EditModesEnum = "WRITABLE" EditModesExtensible EditModesEnum = "EXTENSIBLE" )
func GetEditModesEnumValues() []EditModesEnum
GetEditModesEnumValues Enumerates the set of values for EditModesEnum
GetManagementAgentInstallKeyContentRequest wrapper for the GetManagementAgentInstallKeyContent operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/GetManagementAgentInstallKeyContent.go.html to see an example of how to use GetManagementAgentInstallKeyContentRequest.
type GetManagementAgentInstallKeyContentRequest struct { // Unique Management Agent Install Key identifier ManagementAgentInstallKeyId *string `mandatory:"true" contributesTo:"path" name:"managementAgentInstallKeyId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Filter to return input plugin names uncommented in the output. PluginName []string `contributesTo:"query" name:"pluginName" 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 GetManagementAgentInstallKeyContentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagementAgentInstallKeyContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagementAgentInstallKeyContentRequest) String() string
GetManagementAgentInstallKeyContentResponse wrapper for the GetManagementAgentInstallKeyContent operation
type GetManagementAgentInstallKeyContentResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The content size of the body in bytes. ContentLength *int64 `presentIn:"header" name:"content-length"` // The content type of the body. ContentType *string `presentIn:"header" name:"content-type"` }
func (response GetManagementAgentInstallKeyContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagementAgentInstallKeyContentResponse) String() string
GetManagementAgentInstallKeyRequest wrapper for the GetManagementAgentInstallKey operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/GetManagementAgentInstallKey.go.html to see an example of how to use GetManagementAgentInstallKeyRequest.
type GetManagementAgentInstallKeyRequest struct { // Unique Management Agent Install Key identifier ManagementAgentInstallKeyId *string `mandatory:"true" contributesTo:"path" name:"managementAgentInstallKeyId"` // 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 GetManagementAgentInstallKeyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagementAgentInstallKeyRequest) String() string
GetManagementAgentInstallKeyResponse wrapper for the GetManagementAgentInstallKey operation
type GetManagementAgentInstallKeyResponse struct { // The underlying http response RawResponse *http.Response // The ManagementAgentInstallKey instance ManagementAgentInstallKey `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 GetManagementAgentInstallKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagementAgentInstallKeyResponse) String() string
GetManagementAgentRequest wrapper for the GetManagementAgent operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/GetManagementAgent.go.html to see an example of how to use GetManagementAgentRequest.
type GetManagementAgentRequest struct { // Unique Management Agent identifier ManagementAgentId *string `mandatory:"true" contributesTo:"path" name:"managementAgentId"` // 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 GetManagementAgentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagementAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagementAgentRequest) String() string
GetManagementAgentResponse wrapper for the GetManagementAgent operation
type GetManagementAgentResponse struct { // The underlying http response RawResponse *http.Response // The ManagementAgent instance ManagementAgent `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 GetManagementAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagementAgentResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // Unique Oracle-assigned identifier for the 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
LifecycleStatesEnum Enum with underlying type: string
type LifecycleStatesEnum string
Set of constants representing the allowable values for LifecycleStatesEnum
const ( LifecycleStatesCreating LifecycleStatesEnum = "CREATING" LifecycleStatesUpdating LifecycleStatesEnum = "UPDATING" LifecycleStatesActive LifecycleStatesEnum = "ACTIVE" LifecycleStatesInactive LifecycleStatesEnum = "INACTIVE" LifecycleStatesTerminated LifecycleStatesEnum = "TERMINATED" LifecycleStatesDeleting LifecycleStatesEnum = "DELETING" LifecycleStatesDeleted LifecycleStatesEnum = "DELETED" LifecycleStatesFailed LifecycleStatesEnum = "FAILED" )
func GetLifecycleStatesEnumValues() []LifecycleStatesEnum
GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum
ListAvailabilityHistoriesRequest wrapper for the ListAvailabilityHistories operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListAvailabilityHistories.go.html to see an example of how to use ListAvailabilityHistoriesRequest.
type ListAvailabilityHistoriesRequest struct { // Unique Management Agent identifier ManagementAgentId *string `mandatory:"true" contributesTo:"path" name:"managementAgentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Filter to limit the availability history results to that of time after the input time including the boundary record. // Defaulted to current date minus one year. // The date and time to be given as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAvailabilityStatusEndedGreaterThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeAvailabilityStatusEndedGreaterThan"` // Filter to limit the availability history results to that of time before the input time including the boundary record // Defaulted to current date. // The date and time to be given as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAvailabilityStatusStartedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeAvailabilityStatusStartedLessThan"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListAvailabilityHistoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Default order for timeAvailabilityStatusStarted is descending. SortBy ListAvailabilityHistoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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 ListAvailabilityHistoriesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAvailabilityHistoriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAvailabilityHistoriesRequest) String() string
ListAvailabilityHistoriesResponse wrapper for the ListAvailabilityHistories operation
type ListAvailabilityHistoriesResponse struct { // The underlying http response RawResponse *http.Response // A list of []AvailabilityHistorySummary instances Items []AvailabilityHistorySummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAvailabilityHistoriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAvailabilityHistoriesResponse) String() string
ListAvailabilityHistoriesSortByEnum Enum with underlying type: string
type ListAvailabilityHistoriesSortByEnum string
Set of constants representing the allowable values for ListAvailabilityHistoriesSortByEnum
const ( ListAvailabilityHistoriesSortByTimeavailabilitystatusstarted ListAvailabilityHistoriesSortByEnum = "timeAvailabilityStatusStarted" )
func GetListAvailabilityHistoriesSortByEnumValues() []ListAvailabilityHistoriesSortByEnum
GetListAvailabilityHistoriesSortByEnumValues Enumerates the set of values for ListAvailabilityHistoriesSortByEnum
ListAvailabilityHistoriesSortOrderEnum Enum with underlying type: string
type ListAvailabilityHistoriesSortOrderEnum string
Set of constants representing the allowable values for ListAvailabilityHistoriesSortOrderEnum
const ( ListAvailabilityHistoriesSortOrderAsc ListAvailabilityHistoriesSortOrderEnum = "ASC" ListAvailabilityHistoriesSortOrderDesc ListAvailabilityHistoriesSortOrderEnum = "DESC" )
func GetListAvailabilityHistoriesSortOrderEnumValues() []ListAvailabilityHistoriesSortOrderEnum
GetListAvailabilityHistoriesSortOrderEnumValues Enumerates the set of values for ListAvailabilityHistoriesSortOrderEnum
ListManagementAgentImagesLifecycleStateEnum Enum with underlying type: string
type ListManagementAgentImagesLifecycleStateEnum string
Set of constants representing the allowable values for ListManagementAgentImagesLifecycleStateEnum
const ( ListManagementAgentImagesLifecycleStateCreating ListManagementAgentImagesLifecycleStateEnum = "CREATING" ListManagementAgentImagesLifecycleStateUpdating ListManagementAgentImagesLifecycleStateEnum = "UPDATING" ListManagementAgentImagesLifecycleStateActive ListManagementAgentImagesLifecycleStateEnum = "ACTIVE" ListManagementAgentImagesLifecycleStateInactive ListManagementAgentImagesLifecycleStateEnum = "INACTIVE" ListManagementAgentImagesLifecycleStateTerminated ListManagementAgentImagesLifecycleStateEnum = "TERMINATED" ListManagementAgentImagesLifecycleStateDeleting ListManagementAgentImagesLifecycleStateEnum = "DELETING" ListManagementAgentImagesLifecycleStateDeleted ListManagementAgentImagesLifecycleStateEnum = "DELETED" ListManagementAgentImagesLifecycleStateFailed ListManagementAgentImagesLifecycleStateEnum = "FAILED" )
func GetListManagementAgentImagesLifecycleStateEnumValues() []ListManagementAgentImagesLifecycleStateEnum
GetListManagementAgentImagesLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentImagesLifecycleStateEnum
ListManagementAgentImagesRequest wrapper for the ListManagementAgentImages operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListManagementAgentImages.go.html to see an example of how to use ListManagementAgentImagesRequest.
type ListManagementAgentImagesRequest struct { // The ID of the compartment from which the Management Agents to be listed. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // 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"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListManagementAgentImagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for platformType is descending. Default order for version is descending. If no value is specified platformType is default. SortBy ListManagementAgentImagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // A filter to return only resources that match the entire platform name given. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // Filter to return only Management Agents in the particular lifecycle state. LifecycleState ListManagementAgentImagesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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 ListManagementAgentImagesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagementAgentImagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagementAgentImagesRequest) String() string
ListManagementAgentImagesResponse wrapper for the ListManagementAgentImages operation
type ListManagementAgentImagesResponse struct { // The underlying http response RawResponse *http.Response // A list of []ManagementAgentImageSummary instances Items []ManagementAgentImageSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagementAgentImagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagementAgentImagesResponse) String() string
ListManagementAgentImagesSortByEnum Enum with underlying type: string
type ListManagementAgentImagesSortByEnum string
Set of constants representing the allowable values for ListManagementAgentImagesSortByEnum
const ( ListManagementAgentImagesSortByPlatformtype ListManagementAgentImagesSortByEnum = "platformType" ListManagementAgentImagesSortByVersion ListManagementAgentImagesSortByEnum = "version" )
func GetListManagementAgentImagesSortByEnumValues() []ListManagementAgentImagesSortByEnum
GetListManagementAgentImagesSortByEnumValues Enumerates the set of values for ListManagementAgentImagesSortByEnum
ListManagementAgentImagesSortOrderEnum Enum with underlying type: string
type ListManagementAgentImagesSortOrderEnum string
Set of constants representing the allowable values for ListManagementAgentImagesSortOrderEnum
const ( ListManagementAgentImagesSortOrderAsc ListManagementAgentImagesSortOrderEnum = "ASC" ListManagementAgentImagesSortOrderDesc ListManagementAgentImagesSortOrderEnum = "DESC" )
func GetListManagementAgentImagesSortOrderEnumValues() []ListManagementAgentImagesSortOrderEnum
GetListManagementAgentImagesSortOrderEnumValues Enumerates the set of values for ListManagementAgentImagesSortOrderEnum
ListManagementAgentInstallKeysLifecycleStateEnum Enum with underlying type: string
type ListManagementAgentInstallKeysLifecycleStateEnum string
Set of constants representing the allowable values for ListManagementAgentInstallKeysLifecycleStateEnum
const ( ListManagementAgentInstallKeysLifecycleStateCreating ListManagementAgentInstallKeysLifecycleStateEnum = "CREATING" ListManagementAgentInstallKeysLifecycleStateUpdating ListManagementAgentInstallKeysLifecycleStateEnum = "UPDATING" ListManagementAgentInstallKeysLifecycleStateActive ListManagementAgentInstallKeysLifecycleStateEnum = "ACTIVE" ListManagementAgentInstallKeysLifecycleStateInactive ListManagementAgentInstallKeysLifecycleStateEnum = "INACTIVE" ListManagementAgentInstallKeysLifecycleStateTerminated ListManagementAgentInstallKeysLifecycleStateEnum = "TERMINATED" ListManagementAgentInstallKeysLifecycleStateDeleting ListManagementAgentInstallKeysLifecycleStateEnum = "DELETING" ListManagementAgentInstallKeysLifecycleStateDeleted ListManagementAgentInstallKeysLifecycleStateEnum = "DELETED" ListManagementAgentInstallKeysLifecycleStateFailed ListManagementAgentInstallKeysLifecycleStateEnum = "FAILED" )
func GetListManagementAgentInstallKeysLifecycleStateEnumValues() []ListManagementAgentInstallKeysLifecycleStateEnum
GetListManagementAgentInstallKeysLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentInstallKeysLifecycleStateEnum
ListManagementAgentInstallKeysRequest wrapper for the ListManagementAgentInstallKeys operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListManagementAgentInstallKeys.go.html to see an example of how to use ListManagementAgentInstallKeysRequest.
type ListManagementAgentInstallKeysRequest struct { // The ID of the compartment from which the Management Agents to be listed. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // if set to true then it fetches install key for all compartments where user has access to else only on the compartment specified. CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"` // Value of this is always "ACCESSIBLE" and any other value is not supported. AccessLevel *string `mandatory:"false" contributesTo:"query" name:"accessLevel"` // Filter to return only Management Agents in the particular lifecycle state. LifecycleState ListManagementAgentInstallKeysLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The display name for which the Key needs to be listed. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListManagementAgentInstallKeysSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListManagementAgentInstallKeysSortByEnum `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 ListManagementAgentInstallKeysRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagementAgentInstallKeysRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagementAgentInstallKeysRequest) String() string
ListManagementAgentInstallKeysResponse wrapper for the ListManagementAgentInstallKeys operation
type ListManagementAgentInstallKeysResponse struct { // The underlying http response RawResponse *http.Response // A list of []ManagementAgentInstallKeySummary instances Items []ManagementAgentInstallKeySummary `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the 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 ListManagementAgentInstallKeysResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagementAgentInstallKeysResponse) String() string
ListManagementAgentInstallKeysSortByEnum Enum with underlying type: string
type ListManagementAgentInstallKeysSortByEnum string
Set of constants representing the allowable values for ListManagementAgentInstallKeysSortByEnum
const ( ListManagementAgentInstallKeysSortByTimecreated ListManagementAgentInstallKeysSortByEnum = "timeCreated" ListManagementAgentInstallKeysSortByDisplayname ListManagementAgentInstallKeysSortByEnum = "displayName" )
func GetListManagementAgentInstallKeysSortByEnumValues() []ListManagementAgentInstallKeysSortByEnum
GetListManagementAgentInstallKeysSortByEnumValues Enumerates the set of values for ListManagementAgentInstallKeysSortByEnum
ListManagementAgentInstallKeysSortOrderEnum Enum with underlying type: string
type ListManagementAgentInstallKeysSortOrderEnum string
Set of constants representing the allowable values for ListManagementAgentInstallKeysSortOrderEnum
const ( ListManagementAgentInstallKeysSortOrderAsc ListManagementAgentInstallKeysSortOrderEnum = "ASC" ListManagementAgentInstallKeysSortOrderDesc ListManagementAgentInstallKeysSortOrderEnum = "DESC" )
func GetListManagementAgentInstallKeysSortOrderEnumValues() []ListManagementAgentInstallKeysSortOrderEnum
GetListManagementAgentInstallKeysSortOrderEnumValues Enumerates the set of values for ListManagementAgentInstallKeysSortOrderEnum
ListManagementAgentPluginsLifecycleStateEnum Enum with underlying type: string
type ListManagementAgentPluginsLifecycleStateEnum string
Set of constants representing the allowable values for ListManagementAgentPluginsLifecycleStateEnum
const ( ListManagementAgentPluginsLifecycleStateCreating ListManagementAgentPluginsLifecycleStateEnum = "CREATING" ListManagementAgentPluginsLifecycleStateUpdating ListManagementAgentPluginsLifecycleStateEnum = "UPDATING" ListManagementAgentPluginsLifecycleStateActive ListManagementAgentPluginsLifecycleStateEnum = "ACTIVE" ListManagementAgentPluginsLifecycleStateInactive ListManagementAgentPluginsLifecycleStateEnum = "INACTIVE" ListManagementAgentPluginsLifecycleStateTerminated ListManagementAgentPluginsLifecycleStateEnum = "TERMINATED" ListManagementAgentPluginsLifecycleStateDeleting ListManagementAgentPluginsLifecycleStateEnum = "DELETING" ListManagementAgentPluginsLifecycleStateDeleted ListManagementAgentPluginsLifecycleStateEnum = "DELETED" ListManagementAgentPluginsLifecycleStateFailed ListManagementAgentPluginsLifecycleStateEnum = "FAILED" )
func GetListManagementAgentPluginsLifecycleStateEnumValues() []ListManagementAgentPluginsLifecycleStateEnum
GetListManagementAgentPluginsLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentPluginsLifecycleStateEnum
ListManagementAgentPluginsRequest wrapper for the ListManagementAgentPlugins operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListManagementAgentPlugins.go.html to see an example of how to use ListManagementAgentPluginsRequest.
type ListManagementAgentPluginsRequest struct { // The ID of the compartment from which the Management Agents to be listed. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter to return only Management Agent Plugins having the particular 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. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListManagementAgentPluginsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Default order for displayName is ascending. If no value is specified displayName is default. SortBy ListManagementAgentPluginsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Filter to return only Management Agents in the particular lifecycle state. LifecycleState ListManagementAgentPluginsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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 ListManagementAgentPluginsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagementAgentPluginsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagementAgentPluginsRequest) String() string
ListManagementAgentPluginsResponse wrapper for the ListManagementAgentPlugins operation
type ListManagementAgentPluginsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ManagementAgentPluginSummary instances Items []ManagementAgentPluginSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagementAgentPluginsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagementAgentPluginsResponse) String() string
ListManagementAgentPluginsSortByEnum Enum with underlying type: string
type ListManagementAgentPluginsSortByEnum string
Set of constants representing the allowable values for ListManagementAgentPluginsSortByEnum
const ( ListManagementAgentPluginsSortByDisplayname ListManagementAgentPluginsSortByEnum = "displayName" )
func GetListManagementAgentPluginsSortByEnumValues() []ListManagementAgentPluginsSortByEnum
GetListManagementAgentPluginsSortByEnumValues Enumerates the set of values for ListManagementAgentPluginsSortByEnum
ListManagementAgentPluginsSortOrderEnum Enum with underlying type: string
type ListManagementAgentPluginsSortOrderEnum string
Set of constants representing the allowable values for ListManagementAgentPluginsSortOrderEnum
const ( ListManagementAgentPluginsSortOrderAsc ListManagementAgentPluginsSortOrderEnum = "ASC" ListManagementAgentPluginsSortOrderDesc ListManagementAgentPluginsSortOrderEnum = "DESC" )
func GetListManagementAgentPluginsSortOrderEnumValues() []ListManagementAgentPluginsSortOrderEnum
GetListManagementAgentPluginsSortOrderEnumValues Enumerates the set of values for ListManagementAgentPluginsSortOrderEnum
ListManagementAgentsLifecycleStateEnum Enum with underlying type: string
type ListManagementAgentsLifecycleStateEnum string
Set of constants representing the allowable values for ListManagementAgentsLifecycleStateEnum
const ( ListManagementAgentsLifecycleStateCreating ListManagementAgentsLifecycleStateEnum = "CREATING" ListManagementAgentsLifecycleStateUpdating ListManagementAgentsLifecycleStateEnum = "UPDATING" ListManagementAgentsLifecycleStateActive ListManagementAgentsLifecycleStateEnum = "ACTIVE" ListManagementAgentsLifecycleStateInactive ListManagementAgentsLifecycleStateEnum = "INACTIVE" ListManagementAgentsLifecycleStateTerminated ListManagementAgentsLifecycleStateEnum = "TERMINATED" ListManagementAgentsLifecycleStateDeleting ListManagementAgentsLifecycleStateEnum = "DELETING" ListManagementAgentsLifecycleStateDeleted ListManagementAgentsLifecycleStateEnum = "DELETED" ListManagementAgentsLifecycleStateFailed ListManagementAgentsLifecycleStateEnum = "FAILED" )
func GetListManagementAgentsLifecycleStateEnumValues() []ListManagementAgentsLifecycleStateEnum
GetListManagementAgentsLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentsLifecycleStateEnum
ListManagementAgentsPlatformTypeEnum Enum with underlying type: string
type ListManagementAgentsPlatformTypeEnum string
Set of constants representing the allowable values for ListManagementAgentsPlatformTypeEnum
const ( ListManagementAgentsPlatformTypeLinux ListManagementAgentsPlatformTypeEnum = "LINUX" ListManagementAgentsPlatformTypeWindows ListManagementAgentsPlatformTypeEnum = "WINDOWS" )
func GetListManagementAgentsPlatformTypeEnumValues() []ListManagementAgentsPlatformTypeEnum
GetListManagementAgentsPlatformTypeEnumValues Enumerates the set of values for ListManagementAgentsPlatformTypeEnum
ListManagementAgentsRequest wrapper for the ListManagementAgents operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListManagementAgents.go.html to see an example of how to use ListManagementAgentsRequest.
type ListManagementAgentsRequest struct { // The ID of the compartment from which the Management Agents to be listed. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter to return only Management Agents having the particular Plugin installed. PluginName *string `mandatory:"false" contributesTo:"query" name:"pluginName"` // Filter to return only Management Agents having the particular agent version. Version *string `mandatory:"false" contributesTo:"query" name:"version"` // Filter to return only Management Agents having the particular display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // Filter to return only Management Agents in the particular lifecycle state. LifecycleState ListManagementAgentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Filter to return only Management Agents having the particular platform type. PlatformType ListManagementAgentsPlatformTypeEnum `mandatory:"false" contributesTo:"query" name:"platformType" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListManagementAgentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListManagementAgentsSortByEnum `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 ListManagementAgentsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagementAgentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagementAgentsRequest) String() string
ListManagementAgentsResponse wrapper for the ListManagementAgents operation
type ListManagementAgentsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ManagementAgentSummary instances Items []ManagementAgentSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagementAgentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagementAgentsResponse) String() string
ListManagementAgentsSortByEnum Enum with underlying type: string
type ListManagementAgentsSortByEnum string
Set of constants representing the allowable values for ListManagementAgentsSortByEnum
const ( ListManagementAgentsSortByTimecreated ListManagementAgentsSortByEnum = "timeCreated" ListManagementAgentsSortByDisplayname ListManagementAgentsSortByEnum = "displayName" )
func GetListManagementAgentsSortByEnumValues() []ListManagementAgentsSortByEnum
GetListManagementAgentsSortByEnumValues Enumerates the set of values for ListManagementAgentsSortByEnum
ListManagementAgentsSortOrderEnum Enum with underlying type: string
type ListManagementAgentsSortOrderEnum string
Set of constants representing the allowable values for ListManagementAgentsSortOrderEnum
const ( ListManagementAgentsSortOrderAsc ListManagementAgentsSortOrderEnum = "ASC" ListManagementAgentsSortOrderDesc ListManagementAgentsSortOrderEnum = "DESC" )
func GetListManagementAgentsSortOrderEnumValues() []ListManagementAgentsSortOrderEnum
GetListManagementAgentsSortOrderEnumValues Enumerates the set of values for ListManagementAgentsSortOrderEnum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The 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. This 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"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestError instances Items []WorkRequestError `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const ( ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp" )
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The 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. This 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"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestLogEntry instances Items []WorkRequestLogEntry `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const ( ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp" )
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // The ID of the compartment from which the Management Agents to be listed. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The ManagementAgentID of the agent from which the Management Agents to be filtered. AgentId *string `mandatory:"false" contributesTo:"query" name:"agentId"` // 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. This 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"` // The OperationStatus of the workRequest Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // Filter for items with timeCreated greater or equal to provided value. // given `timeCreatedGreaterThanOrEqualTo` to the current time, in "YYYY-MM-ddThh:mmZ" format with a // Z offset, as defined by RFC 3339. TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending. If no value is specified timeAccepted is default. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestSummary instances Items []WorkRequestSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
ListWorkRequestsStatusEnum Enum with underlying type: string
type ListWorkRequestsStatusEnum string
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
const ( ListWorkRequestsStatusCreated ListWorkRequestsStatusEnum = "CREATED" ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
ManagementAgent The details of the Management Agent inventory including the associated plugins.
type ManagementAgent struct { // agent identifier Id *string `mandatory:"true" json:"id"` // Management Agent Version Version *string `mandatory:"true" json:"version"` // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // agent install key identifier InstallKeyId *string `mandatory:"false" json:"installKeyId"` // Management Agent Name DisplayName *string `mandatory:"false" json:"displayName"` // Platform Type PlatformType PlatformTypesEnum `mandatory:"false" json:"platformType,omitempty"` // Platform Name PlatformName *string `mandatory:"false" json:"platformName"` // Platform Version PlatformVersion *string `mandatory:"false" json:"platformVersion"` // Management Agent host machine name Host *string `mandatory:"false" json:"host"` // Path where Management Agent is installed InstallPath *string `mandatory:"false" json:"installPath"` // list of managementAgentPlugins associated with the agent PluginList []ManagementAgentPluginDetails `mandatory:"false" json:"pluginList"` // true if the agent can be upgraded automatically; false if it must be upgraded manually. true is currently unsupported. IsAgentAutoUpgradable *bool `mandatory:"false" json:"isAgentAutoUpgradable"` // The time the Management Agent was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the Management Agent was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The time the Management Agent has last recorded its health status in telemetry. This value will be null if the agent has not recorded its health status in last 7 days. An RFC3339 formatted datetime string TimeLastHeartbeat *common.SDKTime `mandatory:"false" json:"timeLastHeartbeat"` // The current availability status of managementAgent AvailabilityStatus AvailabilityStatusEnum `mandatory:"false" json:"availabilityStatus,omitempty"` // The current state of managementAgent LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m ManagementAgent) String() string
ManagementAgentClient a client for ManagementAgent
type ManagementAgentClient struct { common.BaseClient // contains filtered or unexported fields }
func NewManagementAgentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ManagementAgentClient, err error)
NewManagementAgentClientWithConfigurationProvider Creates a new default ManagementAgent client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewManagementAgentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ManagementAgentClient, err error)
NewManagementAgentClientWithOboToken Creates a new default ManagementAgent 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 *ManagementAgentClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client ManagementAgentClient) CreateManagementAgentInstallKey(ctx context.Context, request CreateManagementAgentInstallKeyRequest) (response CreateManagementAgentInstallKeyResponse, err error)
CreateManagementAgentInstallKey User creates a new install key as part of this API.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/CreateManagementAgentInstallKey.go.html to see an example of how to use CreateManagementAgentInstallKey API.
func (client ManagementAgentClient) DeleteManagementAgent(ctx context.Context, request DeleteManagementAgentRequest) (response DeleteManagementAgentResponse, err error)
DeleteManagementAgent Deletes a Management Agent resource by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/DeleteManagementAgent.go.html to see an example of how to use DeleteManagementAgent API.
func (client ManagementAgentClient) DeleteManagementAgentInstallKey(ctx context.Context, request DeleteManagementAgentInstallKeyRequest) (response DeleteManagementAgentInstallKeyResponse, err error)
DeleteManagementAgentInstallKey Deletes a Management Agent install Key resource by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/DeleteManagementAgentInstallKey.go.html to see an example of how to use DeleteManagementAgentInstallKey API.
func (client ManagementAgentClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error)
DeleteWorkRequest Cancel the work request with the given ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequest API.
func (client ManagementAgentClient) DeployPlugins(ctx context.Context, request DeployPluginsRequest) (response DeployPluginsResponse, err error)
DeployPlugins Deploys Plugins to a given list of agentIds.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/DeployPlugins.go.html to see an example of how to use DeployPlugins API.
func (client ManagementAgentClient) GetManagementAgent(ctx context.Context, request GetManagementAgentRequest) (response GetManagementAgentResponse, err error)
GetManagementAgent Gets complete details of the inventory of a given agent id
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/GetManagementAgent.go.html to see an example of how to use GetManagementAgent API.
func (client ManagementAgentClient) GetManagementAgentInstallKey(ctx context.Context, request GetManagementAgentInstallKeyRequest) (response GetManagementAgentInstallKeyResponse, err error)
GetManagementAgentInstallKey Gets complete details of the Agent install Key for a given key id
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/GetManagementAgentInstallKey.go.html to see an example of how to use GetManagementAgentInstallKey API.
func (client ManagementAgentClient) GetManagementAgentInstallKeyContent(ctx context.Context, request GetManagementAgentInstallKeyContentRequest) (response GetManagementAgentInstallKeyContentResponse, err error)
GetManagementAgentInstallKeyContent Returns a file with Management Agent install Key in it
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/GetManagementAgentInstallKeyContent.go.html to see an example of how to use GetManagementAgentInstallKeyContent API.
func (client ManagementAgentClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the status of the work request with the given ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client ManagementAgentClient) ListAvailabilityHistories(ctx context.Context, request ListAvailabilityHistoriesRequest) (response ListAvailabilityHistoriesResponse, err error)
ListAvailabilityHistories Lists the availability history records of Management Agent
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListAvailabilityHistories.go.html to see an example of how to use ListAvailabilityHistories API.
func (client ManagementAgentClient) ListManagementAgentImages(ctx context.Context, request ListManagementAgentImagesRequest) (response ListManagementAgentImagesResponse, err error)
ListManagementAgentImages Get supported agent image information
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListManagementAgentImages.go.html to see an example of how to use ListManagementAgentImages API.
func (client ManagementAgentClient) ListManagementAgentInstallKeys(ctx context.Context, request ListManagementAgentInstallKeysRequest) (response ListManagementAgentInstallKeysResponse, err error)
ListManagementAgentInstallKeys Returns a list of Management Agent installed Keys.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListManagementAgentInstallKeys.go.html to see an example of how to use ListManagementAgentInstallKeys API.
func (client ManagementAgentClient) ListManagementAgentPlugins(ctx context.Context, request ListManagementAgentPluginsRequest) (response ListManagementAgentPluginsResponse, err error)
ListManagementAgentPlugins Returns a list of managementAgentPlugins.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListManagementAgentPlugins.go.html to see an example of how to use ListManagementAgentPlugins API.
func (client ManagementAgentClient) ListManagementAgents(ctx context.Context, request ListManagementAgentsRequest) (response ListManagementAgentsResponse, err error)
ListManagementAgents Returns a list of Management Agent.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListManagementAgents.go.html to see an example of how to use ListManagementAgents API.
func (client ManagementAgentClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Return a (paginated) list of errors for a given work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client ManagementAgentClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Return a (paginated) list of logs for a given work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (client ManagementAgentClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client *ManagementAgentClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client ManagementAgentClient) UpdateManagementAgent(ctx context.Context, request UpdateManagementAgentRequest) (response UpdateManagementAgentResponse, err error)
UpdateManagementAgent API to update the console managed properties of the Management Agent.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/UpdateManagementAgent.go.html to see an example of how to use UpdateManagementAgent API.
func (client ManagementAgentClient) UpdateManagementAgentInstallKey(ctx context.Context, request UpdateManagementAgentInstallKeyRequest) (response UpdateManagementAgentInstallKeyResponse, err error)
UpdateManagementAgentInstallKey API to update the modifiable properties of the Management Agent install key.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/UpdateManagementAgentInstallKey.go.html to see an example of how to use UpdateManagementAgentInstallKey API.
ManagementAgentError Error Information.
type ManagementAgentError struct { // A short error code that defines the error, meant for programmatic parsing. Code *string `mandatory:"true" json:"code"` // A human-readable error string. Message *string `mandatory:"true" json:"message"` }
func (m ManagementAgentError) String() string
ManagementAgentImage Supported Agent downloads
type ManagementAgentImage struct { // Agent image resource id Id *string `mandatory:"true" json:"id"` // Agent image platform type PlatformType PlatformTypesEnum `mandatory:"true" json:"platformType"` // Agent image version Version *string `mandatory:"true" json:"version"` // Agent image platform display name PlatformName *string `mandatory:"false" json:"platformName"` // Agent image size in bytes Size *float32 `mandatory:"false" json:"size"` // Agent image content SHA256 Hash Checksum *string `mandatory:"false" json:"checksum"` // Object storage URL for download ObjectUrl *string `mandatory:"false" json:"objectUrl"` // The current state of Management Agent Image LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ManagementAgentImage) String() string
ManagementAgentImageSummary Supported Agent downloads
type ManagementAgentImageSummary struct { // Agent image resource id Id *string `mandatory:"true" json:"id"` // Agent image platform type PlatformType PlatformTypesEnum `mandatory:"true" json:"platformType"` // Agent image version Version *string `mandatory:"true" json:"version"` // Agent image platform display name PlatformName *string `mandatory:"false" json:"platformName"` // Agent image size in bytes Size *float32 `mandatory:"false" json:"size"` // Agent image content SHA256 Hash Checksum *string `mandatory:"false" json:"checksum"` // Object storage URL for download ObjectUrl *string `mandatory:"false" json:"objectUrl"` // The current state of Management Agent Image LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ManagementAgentImageSummary) String() string
ManagementAgentInstallKey The details of the Agent install Key
type ManagementAgentInstallKey struct { // Agent install Key identifier Id *string `mandatory:"true" json:"id"` // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // Management Agent Install Key Name DisplayName *string `mandatory:"false" json:"displayName"` // Management Agent Install Key Key *string `mandatory:"false" json:"key"` // Principal id of user who created the Agent Install key CreatedByPrincipalId *string `mandatory:"false" json:"createdByPrincipalId"` // Total number of install for this keys AllowedKeyInstallCount *int `mandatory:"false" json:"allowedKeyInstallCount"` // Total number of install for this keys CurrentKeyInstallCount *int `mandatory:"false" json:"currentKeyInstallCount"` // Status of Key LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // date after which key would expire after creation TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"` // The time when Management Agent install Key was created. An RFC3339 formatted date time string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time when Management Agent install Key was updated. An RFC3339 formatted date time string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` }
func (m ManagementAgentInstallKey) String() string
ManagementAgentInstallKeySummary The summary of the Agent Install Key details.
type ManagementAgentInstallKeySummary struct { // Agent Install Key identifier Id *string `mandatory:"true" json:"id"` // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // Management Agent Install Key Name DisplayName *string `mandatory:"false" json:"displayName"` // Principal id of user who created the Agent Install key CreatedByPrincipalId *string `mandatory:"false" json:"createdByPrincipalId"` // Total number of install for this keys AllowedKeyInstallCount *int `mandatory:"false" json:"allowedKeyInstallCount"` // Total number of install for this keys CurrentKeyInstallCount *int `mandatory:"false" json:"currentKeyInstallCount"` // Status of Key LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The time when Management Agent install Key was created. An RFC3339 formatted date time string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // date after which key would expire after creation TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"` }
func (m ManagementAgentInstallKeySummary) String() string
ManagementAgentPlugin Summary of the ManagementAgentPlugin.
type ManagementAgentPlugin struct { // Management Agent Plugin Id Id *string `mandatory:"true" json:"id"` // Management Agent Plugin Name Name *string `mandatory:"true" json:"name"` // The current state of Management Agent Plugin LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // Management Agent Plugin Version Version *int `mandatory:"false" json:"version"` // Supported Platform Types SupportedPlatformTypes []PlatformTypesEnum `mandatory:"false" json:"supportedPlatformTypes,omitempty"` // Management Agent Plugin Display Name DisplayName *string `mandatory:"false" json:"displayName"` // Management Agent Plugin description Description *string `mandatory:"false" json:"description"` // A flag to indicate whether a given plugin can be deployed from Agent Console UI or not. IsConsoleDeployable *bool `mandatory:"false" json:"isConsoleDeployable"` }
func (m ManagementAgentPlugin) String() string
ManagementAgentPluginDetails The information about the current management agent plugins that agent is having.
type ManagementAgentPluginDetails struct { // Management Agent Plugin Name PluginName *string `mandatory:"true" json:"pluginName"` // Plugin Id PluginId *string `mandatory:"false" json:"pluginId"` // Management Agent Plugin Identifier, can be renamed PluginDisplayName *string `mandatory:"false" json:"pluginDisplayName"` // Plugin Version PluginVersion *string `mandatory:"false" json:"pluginVersion"` }
func (m ManagementAgentPluginDetails) String() string
ManagementAgentPluginSummary Summary of the ManagementAgentPlugin.
type ManagementAgentPluginSummary struct { // Management Agent Plugin Id Id *string `mandatory:"true" json:"id"` // Management Agent Plugin Name Name *string `mandatory:"true" json:"name"` // The current state of Management Agent Plugin LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // Management Agent Plugin Version Version *int `mandatory:"false" json:"version"` // Supported Platform Types SupportedPlatformTypes []PlatformTypesEnum `mandatory:"false" json:"supportedPlatformTypes,omitempty"` // Management Agent Plugin Display Name DisplayName *string `mandatory:"false" json:"displayName"` // Management Agent Plugin description Description *string `mandatory:"false" json:"description"` // A flag to indicate whether a given plugin can be deployed from Agent Console UI or not. IsConsoleDeployable *bool `mandatory:"false" json:"isConsoleDeployable"` }
func (m ManagementAgentPluginSummary) String() string
ManagementAgentSummary The summary of the Management Agent inventory including the associated plugins.
type ManagementAgentSummary struct { // agent identifier Id *string `mandatory:"true" json:"id"` // Management Agent Version Version *string `mandatory:"true" json:"version"` // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // agent install key identifier InstallKeyId *string `mandatory:"false" json:"installKeyId"` // Management Agent Name DisplayName *string `mandatory:"false" json:"displayName"` // Platform Type PlatformType PlatformTypesEnum `mandatory:"false" json:"platformType,omitempty"` // Platform Name PlatformName *string `mandatory:"false" json:"platformName"` // Platform Version PlatformVersion *string `mandatory:"false" json:"platformVersion"` // true if the agent can be upgraded automatically; false if it must be upgraded manually. true is currently unsupported. IsAgentAutoUpgradable *bool `mandatory:"false" json:"isAgentAutoUpgradable"` // The time the Management Agent was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Management Agent host machine name Host *string `mandatory:"false" json:"host"` // list of managementAgentPlugins associated with the agent PluginList []ManagementAgentPluginDetails `mandatory:"false" json:"pluginList"` // The time the Management Agent has last recorded its heartbeat. An RFC3339 formatted datetime string TimeLastHeartbeat *common.SDKTime `mandatory:"false" json:"timeLastHeartbeat"` // The current availability status of managementAgent AvailabilityStatus AvailabilityStatusEnum `mandatory:"false" json:"availabilityStatus,omitempty"` // The current state of managementAgent LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m ManagementAgentSummary) String() string
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusCreated OperationStatusEnum = "CREATED" OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypesEnum Enum with underlying type: string
type OperationTypesEnum string
Set of constants representing the allowable values for OperationTypesEnum
const ( OperationTypesUpgradePlugin OperationTypesEnum = "UPGRADE_PLUGIN" OperationTypesCreateUpgradePlugins OperationTypesEnum = "CREATE_UPGRADE_PLUGINS" OperationTypesAgentimageUpgrade OperationTypesEnum = "AGENTIMAGE_UPGRADE" )
func GetOperationTypesEnumValues() []OperationTypesEnum
GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum
PlatformTypesEnum Enum with underlying type: string
type PlatformTypesEnum string
Set of constants representing the allowable values for PlatformTypesEnum
const ( PlatformTypesLinux PlatformTypesEnum = "LINUX" PlatformTypesWindows PlatformTypesEnum = "WINDOWS" )
func GetPlatformTypesEnumValues() []PlatformTypesEnum
GetPlatformTypesEnumValues Enumerates the set of values for PlatformTypesEnum
UpdateManagementAgentDetails Details required to update console-managed properties of the Management Agent.
type UpdateManagementAgentDetails struct { // true if the agent can be upgraded automatically; false if it must be upgraded manually. true is currently unsupported. IsAgentAutoUpgradable *bool `mandatory:"false" json:"isAgentAutoUpgradable"` // New displayName of Agent. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateManagementAgentDetails) String() string
UpdateManagementAgentInstallKeyDetails Details required to change Management Agent install key.
type UpdateManagementAgentInstallKeyDetails struct { // if set to true the install key state would be set to Active and if false to Inactive IsKeyActive *bool `mandatory:"false" json:"isKeyActive"` // New displayName of Agent install key. DisplayName *string `mandatory:"false" json:"displayName"` }
func (m UpdateManagementAgentInstallKeyDetails) String() string
UpdateManagementAgentInstallKeyRequest wrapper for the UpdateManagementAgentInstallKey operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/UpdateManagementAgentInstallKey.go.html to see an example of how to use UpdateManagementAgentInstallKeyRequest.
type UpdateManagementAgentInstallKeyRequest struct { // Unique Management Agent Install Key identifier ManagementAgentInstallKeyId *string `mandatory:"true" contributesTo:"path" name:"managementAgentInstallKeyId"` // Details required for changing the modifiable properties of the Management Agent install key. UpdateManagementAgentInstallKeyDetails `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"` // 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 UpdateManagementAgentInstallKeyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateManagementAgentInstallKeyRequest) String() string
UpdateManagementAgentInstallKeyResponse wrapper for the UpdateManagementAgentInstallKey operation
type UpdateManagementAgentInstallKeyResponse struct { // The underlying http response RawResponse *http.Response // The ManagementAgentInstallKey instance ManagementAgentInstallKey `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 UpdateManagementAgentInstallKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateManagementAgentInstallKeyResponse) String() string
UpdateManagementAgentRequest wrapper for the UpdateManagementAgent operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/managementagent/UpdateManagementAgent.go.html to see an example of how to use UpdateManagementAgentRequest.
type UpdateManagementAgentRequest struct { // Unique Management Agent identifier ManagementAgentId *string `mandatory:"true" contributesTo:"path" name:"managementAgentId"` // Details required for changing the console managed properties of the Management Agent. UpdateManagementAgentDetails `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"` // 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 UpdateManagementAgentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateManagementAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateManagementAgentRequest) String() string
UpdateManagementAgentResponse wrapper for the UpdateManagementAgent operation
type UpdateManagementAgentResponse struct { // The underlying http response RawResponse *http.Response // The ManagementAgent instance ManagementAgent `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 UpdateManagementAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateManagementAgentResponse) String() string
WorkDeliveryStatusEnum Enum with underlying type: string
type WorkDeliveryStatusEnum string
Set of constants representing the allowable values for WorkDeliveryStatusEnum
const ( WorkDeliveryStatusAccepted WorkDeliveryStatusEnum = "ACCEPTED" WorkDeliveryStatusInProgress WorkDeliveryStatusEnum = "IN_PROGRESS" WorkDeliveryStatusFailed WorkDeliveryStatusEnum = "FAILED" WorkDeliveryStatusSucceeded WorkDeliveryStatusEnum = "SUCCEEDED" WorkDeliveryStatusCanceling WorkDeliveryStatusEnum = "CANCELING" WorkDeliveryStatusCanceled WorkDeliveryStatusEnum = "CANCELED" )
func GetWorkDeliveryStatusEnumValues() []WorkDeliveryStatusEnum
GetWorkDeliveryStatusEnumValues Enumerates the set of values for WorkDeliveryStatusEnum
WorkRequest A description of workrequest status
type WorkRequest struct { // Type of the work request OperationType OperationTypesEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequest) String() string
WorkRequestError An error encountered while executing a work request.
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed on // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm) Code *string `mandatory:"true" json:"code"` // A human readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // The time the error occured. An RFC3339 formatted datetime string. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestError) String() string
WorkRequestLogEntry A log message from the execution of a work request.
type WorkRequestLogEntry struct { // Human-readable log message. Message *string `mandatory:"true" json:"message"` // The time the log message was written. An RFC3339 formatted datetime string Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct { // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the work tracked in the work request. // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until // work is complete for that resource at which point it will transition to CREATED, UPDATED, // or DELETED, respectively. ActionType ActionTypesEnum `mandatory:"true" json:"actionType"` // The identifier of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can do a GET on to access the resource metadata EntityUri *string `mandatory:"false" json:"entityUri"` // The date and time the request was created, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the request was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Additional metadata about the resource that has been operated upon by // this work request. For WorkRequests operationType WORK_DELIVERY the metadata will contain: workDeliveryStatus // indicating the status of the work delivery item &WORKDELIVERYSTATUS, workSubmissionKey the WorkSubmission request id, // and workSubmissionDetails containing any details of result Metadata *interface{} `mandatory:"false" json:"metadata"` }
func (m WorkRequestResource) String() string
WorkRequestSummary A description of workrequest status
type WorkRequestSummary struct { // Type of the work request OperationType OperationTypesEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"false" json:"resources"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequestSummary) String() string
WorkSubmissionKey Work Submission Identifier
type WorkSubmissionKey struct { // Work Submission Identifier WorkSubmissionKey *string `mandatory:"true" json:"workSubmissionKey"` }
func (m WorkSubmissionKey) String() string