Documentation ¶
Index ¶
- type ActionTypesEnum
- type AvailabilityHistorySummary
- type AvailabilityStatusEnum
- type CreateManagementAgentInstallKeyDetails
- type CreateManagementAgentInstallKeyRequest
- func (request CreateManagementAgentInstallKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateManagementAgentInstallKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request CreateManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateManagementAgentInstallKeyRequest) String() string
- type CreateManagementAgentInstallKeyResponse
- type DatatypesEnum
- type DeleteManagementAgentInstallKeyRequest
- func (request DeleteManagementAgentInstallKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteManagementAgentInstallKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request DeleteManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteManagementAgentInstallKeyRequest) String() string
- type DeleteManagementAgentInstallKeyResponse
- type DeleteManagementAgentRequest
- func (request DeleteManagementAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteManagementAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request DeleteManagementAgentRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteManagementAgentRequest) String() string
- type DeleteManagementAgentResponse
- type DeleteWorkRequestRequest
- func (request DeleteWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request DeleteWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteWorkRequestRequest) String() string
- type DeleteWorkRequestResponse
- type DeployPluginsDetails
- type DeployPluginsRequest
- func (request DeployPluginsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeployPluginsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request DeployPluginsRequest) RetryPolicy() *common.RetryPolicy
- func (request DeployPluginsRequest) String() string
- type DeployPluginsResponse
- type EditModesEnum
- type GetManagementAgentInstallKeyContentRequest
- func (request GetManagementAgentInstallKeyContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetManagementAgentInstallKeyContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request GetManagementAgentInstallKeyContentRequest) RetryPolicy() *common.RetryPolicy
- func (request GetManagementAgentInstallKeyContentRequest) String() string
- type GetManagementAgentInstallKeyContentResponse
- type GetManagementAgentInstallKeyRequest
- func (request GetManagementAgentInstallKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetManagementAgentInstallKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request GetManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
- func (request GetManagementAgentInstallKeyRequest) String() string
- type GetManagementAgentInstallKeyResponse
- type GetManagementAgentRequest
- func (request GetManagementAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetManagementAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request GetManagementAgentRequest) RetryPolicy() *common.RetryPolicy
- func (request GetManagementAgentRequest) String() string
- type GetManagementAgentResponse
- type GetWorkRequestRequest
- func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetWorkRequestRequest) String() string
- type GetWorkRequestResponse
- type LifecycleStatesEnum
- type ListAvailabilityHistoriesRequest
- func (request ListAvailabilityHistoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListAvailabilityHistoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListAvailabilityHistoriesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListAvailabilityHistoriesRequest) String() string
- type ListAvailabilityHistoriesResponse
- type ListAvailabilityHistoriesSortByEnum
- type ListAvailabilityHistoriesSortOrderEnum
- type ListManagementAgentImagesLifecycleStateEnum
- type ListManagementAgentImagesRequest
- func (request ListManagementAgentImagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListManagementAgentImagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListManagementAgentImagesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListManagementAgentImagesRequest) String() string
- type ListManagementAgentImagesResponse
- type ListManagementAgentImagesSortByEnum
- type ListManagementAgentImagesSortOrderEnum
- type ListManagementAgentInstallKeysLifecycleStateEnum
- type ListManagementAgentInstallKeysRequest
- func (request ListManagementAgentInstallKeysRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListManagementAgentInstallKeysRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListManagementAgentInstallKeysRequest) RetryPolicy() *common.RetryPolicy
- func (request ListManagementAgentInstallKeysRequest) String() string
- type ListManagementAgentInstallKeysResponse
- type ListManagementAgentInstallKeysSortByEnum
- type ListManagementAgentInstallKeysSortOrderEnum
- type ListManagementAgentPluginsLifecycleStateEnum
- type ListManagementAgentPluginsRequest
- func (request ListManagementAgentPluginsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListManagementAgentPluginsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListManagementAgentPluginsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListManagementAgentPluginsRequest) String() string
- type ListManagementAgentPluginsResponse
- type ListManagementAgentPluginsSortByEnum
- type ListManagementAgentPluginsSortOrderEnum
- type ListManagementAgentsLifecycleStateEnum
- type ListManagementAgentsPlatformTypeEnum
- type ListManagementAgentsRequest
- func (request ListManagementAgentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListManagementAgentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListManagementAgentsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListManagementAgentsRequest) String() string
- type ListManagementAgentsResponse
- type ListManagementAgentsSortByEnum
- type ListManagementAgentsSortOrderEnum
- type ListWorkRequestErrorsRequest
- func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestErrorsRequest) String() string
- type ListWorkRequestErrorsResponse
- type ListWorkRequestErrorsSortByEnum
- type ListWorkRequestErrorsSortOrderEnum
- type ListWorkRequestLogsRequest
- func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestLogsRequest) String() string
- type ListWorkRequestLogsResponse
- type ListWorkRequestLogsSortByEnum
- type ListWorkRequestLogsSortOrderEnum
- type ListWorkRequestsRequest
- func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestsRequest) String() string
- type ListWorkRequestsResponse
- type ListWorkRequestsSortByEnum
- type ListWorkRequestsSortOrderEnum
- type ListWorkRequestsStatusEnum
- type ManagementAgent
- type ManagementAgentClient
- func (client *ManagementAgentClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client ManagementAgentClient) CreateManagementAgentInstallKey(ctx context.Context, request CreateManagementAgentInstallKeyRequest) (response CreateManagementAgentInstallKeyResponse, err error)
- func (client ManagementAgentClient) DeleteManagementAgent(ctx context.Context, request DeleteManagementAgentRequest) (response DeleteManagementAgentResponse, err error)
- func (client ManagementAgentClient) DeleteManagementAgentInstallKey(ctx context.Context, request DeleteManagementAgentInstallKeyRequest) (response DeleteManagementAgentInstallKeyResponse, err error)
- func (client ManagementAgentClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error)
- func (client ManagementAgentClient) DeployPlugins(ctx context.Context, request DeployPluginsRequest) (response DeployPluginsResponse, err error)
- func (client ManagementAgentClient) GetManagementAgent(ctx context.Context, request GetManagementAgentRequest) (response GetManagementAgentResponse, err error)
- func (client ManagementAgentClient) GetManagementAgentInstallKey(ctx context.Context, request GetManagementAgentInstallKeyRequest) (response GetManagementAgentInstallKeyResponse, err error)
- func (client ManagementAgentClient) GetManagementAgentInstallKeyContent(ctx context.Context, request GetManagementAgentInstallKeyContentRequest) (response GetManagementAgentInstallKeyContentResponse, err error)
- func (client ManagementAgentClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client ManagementAgentClient) ListAvailabilityHistories(ctx context.Context, request ListAvailabilityHistoriesRequest) (response ListAvailabilityHistoriesResponse, err error)
- func (client ManagementAgentClient) ListManagementAgentImages(ctx context.Context, request ListManagementAgentImagesRequest) (response ListManagementAgentImagesResponse, err error)
- func (client ManagementAgentClient) ListManagementAgentInstallKeys(ctx context.Context, request ListManagementAgentInstallKeysRequest) (response ListManagementAgentInstallKeysResponse, err error)
- func (client ManagementAgentClient) ListManagementAgentPlugins(ctx context.Context, request ListManagementAgentPluginsRequest) (response ListManagementAgentPluginsResponse, err error)
- func (client ManagementAgentClient) ListManagementAgents(ctx context.Context, request ListManagementAgentsRequest) (response ListManagementAgentsResponse, err error)
- func (client ManagementAgentClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
- func (client ManagementAgentClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
- func (client ManagementAgentClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client *ManagementAgentClient) SetRegion(region string)
- func (client ManagementAgentClient) UpdateManagementAgent(ctx context.Context, request UpdateManagementAgentRequest) (response UpdateManagementAgentResponse, err error)
- func (client ManagementAgentClient) UpdateManagementAgentInstallKey(ctx context.Context, request UpdateManagementAgentInstallKeyRequest) (response UpdateManagementAgentInstallKeyResponse, err error)
- type ManagementAgentError
- type ManagementAgentImage
- type ManagementAgentImageSummary
- type ManagementAgentInstallKey
- type ManagementAgentInstallKeySummary
- type ManagementAgentPlugin
- type ManagementAgentPluginDetails
- type ManagementAgentPluginSummary
- type ManagementAgentSummary
- type OperationStatusEnum
- type OperationTypesEnum
- type PlatformTypesEnum
- type UpdateManagementAgentDetails
- type UpdateManagementAgentInstallKeyDetails
- type UpdateManagementAgentInstallKeyRequest
- func (request UpdateManagementAgentInstallKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateManagementAgentInstallKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request UpdateManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateManagementAgentInstallKeyRequest) String() string
- type UpdateManagementAgentInstallKeyResponse
- type UpdateManagementAgentRequest
- func (request UpdateManagementAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateManagementAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request UpdateManagementAgentRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateManagementAgentRequest) String() string
- type UpdateManagementAgentResponse
- type WorkDeliveryStatusEnum
- type WorkRequest
- type WorkRequestError
- type WorkRequestLogEntry
- type WorkRequestResource
- type WorkRequestSummary
- type WorkSubmissionKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionTypesEnum ¶
type ActionTypesEnum string
ActionTypesEnum Enum with underlying type: string
const ( ActionTypesCreated ActionTypesEnum = "CREATED" ActionTypesUpdated ActionTypesEnum = "UPDATED" ActionTypesDeleted ActionTypesEnum = "DELETED" ActionTypesInProgress ActionTypesEnum = "IN_PROGRESS" ActionTypesRelated ActionTypesEnum = "RELATED" )
Set of constants representing the allowable values for ActionTypesEnum
func GetActionTypesEnumValues ¶
func GetActionTypesEnumValues() []ActionTypesEnum
GetActionTypesEnumValues Enumerates the set of values for ActionTypesEnum
type AvailabilityHistorySummary ¶
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"` }
AvailabilityHistorySummary Availability history of Management Agent.
func (AvailabilityHistorySummary) String ¶
func (m AvailabilityHistorySummary) String() string
type AvailabilityStatusEnum ¶
type AvailabilityStatusEnum string
AvailabilityStatusEnum Enum with underlying type: string
const ( AvailabilityStatusActive AvailabilityStatusEnum = "ACTIVE" AvailabilityStatusSilent AvailabilityStatusEnum = "SILENT" AvailabilityStatusNotAvailable AvailabilityStatusEnum = "NOT_AVAILABLE" )
Set of constants representing the allowable values for AvailabilityStatusEnum
func GetAvailabilityStatusEnumValues ¶
func GetAvailabilityStatusEnumValues() []AvailabilityStatusEnum
GetAvailabilityStatusEnumValues Enumerates the set of values for AvailabilityStatusEnum
type CreateManagementAgentInstallKeyDetails ¶
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"` }
CreateManagementAgentInstallKeyDetails The information about new Management Agent install Key.
func (CreateManagementAgentInstallKeyDetails) String ¶
func (m CreateManagementAgentInstallKeyDetails) String() string
type 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 }
CreateManagementAgentInstallKeyRequest wrapper for the CreateManagementAgentInstallKey operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/CreateManagementAgentInstallKey.go.html to see an example of how to use CreateManagementAgentInstallKeyRequest.
func (CreateManagementAgentInstallKeyRequest) BinaryRequestBody ¶
func (request CreateManagementAgentInstallKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateManagementAgentInstallKeyRequest) HTTPRequest ¶
func (request CreateManagementAgentInstallKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateManagementAgentInstallKeyRequest) RetryPolicy ¶
func (request CreateManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateManagementAgentInstallKeyRequest) String ¶
func (request CreateManagementAgentInstallKeyRequest) String() string
type CreateManagementAgentInstallKeyResponse ¶
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"` }
CreateManagementAgentInstallKeyResponse wrapper for the CreateManagementAgentInstallKey operation
func (CreateManagementAgentInstallKeyResponse) HTTPResponse ¶
func (response CreateManagementAgentInstallKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateManagementAgentInstallKeyResponse) String ¶
func (response CreateManagementAgentInstallKeyResponse) String() string
type DatatypesEnum ¶
type DatatypesEnum string
DatatypesEnum Enum with underlying type: string
const ( DatatypesLong DatatypesEnum = "LONG" DatatypesDouble DatatypesEnum = "DOUBLE" DatatypesInteger DatatypesEnum = "INTEGER" DatatypesString DatatypesEnum = "STRING" DatatypesBoolean DatatypesEnum = "BOOLEAN" )
Set of constants representing the allowable values for DatatypesEnum
func GetDatatypesEnumValues ¶
func GetDatatypesEnumValues() []DatatypesEnum
GetDatatypesEnumValues Enumerates the set of values for DatatypesEnum
type 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 }
DeleteManagementAgentInstallKeyRequest wrapper for the DeleteManagementAgentInstallKey operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/DeleteManagementAgentInstallKey.go.html to see an example of how to use DeleteManagementAgentInstallKeyRequest.
func (DeleteManagementAgentInstallKeyRequest) BinaryRequestBody ¶
func (request DeleteManagementAgentInstallKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteManagementAgentInstallKeyRequest) HTTPRequest ¶
func (request DeleteManagementAgentInstallKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteManagementAgentInstallKeyRequest) RetryPolicy ¶
func (request DeleteManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteManagementAgentInstallKeyRequest) String ¶
func (request DeleteManagementAgentInstallKeyRequest) String() string
type DeleteManagementAgentInstallKeyResponse ¶
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"` }
DeleteManagementAgentInstallKeyResponse wrapper for the DeleteManagementAgentInstallKey operation
func (DeleteManagementAgentInstallKeyResponse) HTTPResponse ¶
func (response DeleteManagementAgentInstallKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteManagementAgentInstallKeyResponse) String ¶
func (response DeleteManagementAgentInstallKeyResponse) String() string
type 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 }
DeleteManagementAgentRequest wrapper for the DeleteManagementAgent operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/DeleteManagementAgent.go.html to see an example of how to use DeleteManagementAgentRequest.
func (DeleteManagementAgentRequest) BinaryRequestBody ¶
func (request DeleteManagementAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteManagementAgentRequest) HTTPRequest ¶
func (request DeleteManagementAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteManagementAgentRequest) RetryPolicy ¶
func (request DeleteManagementAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteManagementAgentRequest) String ¶
func (request DeleteManagementAgentRequest) String() string
type DeleteManagementAgentResponse ¶
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"` }
DeleteManagementAgentResponse wrapper for the DeleteManagementAgent operation
func (DeleteManagementAgentResponse) HTTPResponse ¶
func (response DeleteManagementAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteManagementAgentResponse) String ¶
func (response DeleteManagementAgentResponse) String() string
type 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 }
DeleteWorkRequestRequest wrapper for the DeleteWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequestRequest.
func (DeleteWorkRequestRequest) BinaryRequestBody ¶
func (request DeleteWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteWorkRequestRequest) HTTPRequest ¶
func (request DeleteWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteWorkRequestRequest) RetryPolicy ¶
func (request DeleteWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteWorkRequestRequest) String ¶
func (request DeleteWorkRequestRequest) String() string
type DeleteWorkRequestResponse ¶
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"` }
DeleteWorkRequestResponse wrapper for the DeleteWorkRequest operation
func (DeleteWorkRequestResponse) HTTPResponse ¶
func (response DeleteWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteWorkRequestResponse) String ¶
func (response DeleteWorkRequestResponse) String() string
type DeployPluginsDetails ¶
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"` }
DeployPluginsDetails The information required to deploy new Management Agent Plugins.
func (DeployPluginsDetails) String ¶
func (m DeployPluginsDetails) String() string
type 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 }
DeployPluginsRequest wrapper for the DeployPlugins operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/DeployPlugins.go.html to see an example of how to use DeployPluginsRequest.
func (DeployPluginsRequest) BinaryRequestBody ¶
func (request DeployPluginsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeployPluginsRequest) HTTPRequest ¶
func (request DeployPluginsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeployPluginsRequest) RetryPolicy ¶
func (request DeployPluginsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeployPluginsRequest) String ¶
func (request DeployPluginsRequest) String() string
type DeployPluginsResponse ¶
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"` }
DeployPluginsResponse wrapper for the DeployPlugins operation
func (DeployPluginsResponse) HTTPResponse ¶
func (response DeployPluginsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeployPluginsResponse) String ¶
func (response DeployPluginsResponse) String() string
type EditModesEnum ¶
type EditModesEnum string
EditModesEnum Enum with underlying type: string
const ( EditModesReadOnly EditModesEnum = "READ_ONLY" EditModesWritable EditModesEnum = "WRITABLE" EditModesExtensible EditModesEnum = "EXTENSIBLE" )
Set of constants representing the allowable values for EditModesEnum
func GetEditModesEnumValues ¶
func GetEditModesEnumValues() []EditModesEnum
GetEditModesEnumValues Enumerates the set of values for EditModesEnum
type 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 }
GetManagementAgentInstallKeyContentRequest wrapper for the GetManagementAgentInstallKeyContent operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/GetManagementAgentInstallKeyContent.go.html to see an example of how to use GetManagementAgentInstallKeyContentRequest.
func (GetManagementAgentInstallKeyContentRequest) BinaryRequestBody ¶
func (request GetManagementAgentInstallKeyContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetManagementAgentInstallKeyContentRequest) HTTPRequest ¶
func (request GetManagementAgentInstallKeyContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetManagementAgentInstallKeyContentRequest) RetryPolicy ¶
func (request GetManagementAgentInstallKeyContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetManagementAgentInstallKeyContentRequest) String ¶
func (request GetManagementAgentInstallKeyContentRequest) String() string
type GetManagementAgentInstallKeyContentResponse ¶
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"` }
GetManagementAgentInstallKeyContentResponse wrapper for the GetManagementAgentInstallKeyContent operation
func (GetManagementAgentInstallKeyContentResponse) HTTPResponse ¶
func (response GetManagementAgentInstallKeyContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetManagementAgentInstallKeyContentResponse) String ¶
func (response GetManagementAgentInstallKeyContentResponse) String() string
type 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 }
GetManagementAgentInstallKeyRequest wrapper for the GetManagementAgentInstallKey operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/GetManagementAgentInstallKey.go.html to see an example of how to use GetManagementAgentInstallKeyRequest.
func (GetManagementAgentInstallKeyRequest) BinaryRequestBody ¶
func (request GetManagementAgentInstallKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetManagementAgentInstallKeyRequest) HTTPRequest ¶
func (request GetManagementAgentInstallKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetManagementAgentInstallKeyRequest) RetryPolicy ¶
func (request GetManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetManagementAgentInstallKeyRequest) String ¶
func (request GetManagementAgentInstallKeyRequest) String() string
type GetManagementAgentInstallKeyResponse ¶
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"` }
GetManagementAgentInstallKeyResponse wrapper for the GetManagementAgentInstallKey operation
func (GetManagementAgentInstallKeyResponse) HTTPResponse ¶
func (response GetManagementAgentInstallKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetManagementAgentInstallKeyResponse) String ¶
func (response GetManagementAgentInstallKeyResponse) String() string
type 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 }
GetManagementAgentRequest wrapper for the GetManagementAgent operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/GetManagementAgent.go.html to see an example of how to use GetManagementAgentRequest.
func (GetManagementAgentRequest) BinaryRequestBody ¶
func (request GetManagementAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetManagementAgentRequest) HTTPRequest ¶
func (request GetManagementAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetManagementAgentRequest) RetryPolicy ¶
func (request GetManagementAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetManagementAgentRequest) String ¶
func (request GetManagementAgentRequest) String() string
type GetManagementAgentResponse ¶
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"` }
GetManagementAgentResponse wrapper for the GetManagementAgent operation
func (GetManagementAgentResponse) HTTPResponse ¶
func (response GetManagementAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetManagementAgentResponse) String ¶
func (response GetManagementAgentResponse) String() string
type 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 }
GetWorkRequestRequest wrapper for the GetWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
func (GetWorkRequestRequest) BinaryRequestBody ¶
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetWorkRequestRequest) HTTPRequest ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
type GetWorkRequestResponse ¶
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"` }
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type LifecycleStatesEnum ¶
type LifecycleStatesEnum string
LifecycleStatesEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for LifecycleStatesEnum
func GetLifecycleStatesEnumValues ¶
func GetLifecycleStatesEnumValues() []LifecycleStatesEnum
GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum
type 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 }
ListAvailabilityHistoriesRequest wrapper for the ListAvailabilityHistories operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListAvailabilityHistories.go.html to see an example of how to use ListAvailabilityHistoriesRequest.
func (ListAvailabilityHistoriesRequest) BinaryRequestBody ¶
func (request ListAvailabilityHistoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListAvailabilityHistoriesRequest) HTTPRequest ¶
func (request ListAvailabilityHistoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListAvailabilityHistoriesRequest) RetryPolicy ¶
func (request ListAvailabilityHistoriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListAvailabilityHistoriesRequest) String ¶
func (request ListAvailabilityHistoriesRequest) String() string
type ListAvailabilityHistoriesResponse ¶
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"` }
ListAvailabilityHistoriesResponse wrapper for the ListAvailabilityHistories operation
func (ListAvailabilityHistoriesResponse) HTTPResponse ¶
func (response ListAvailabilityHistoriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListAvailabilityHistoriesResponse) String ¶
func (response ListAvailabilityHistoriesResponse) String() string
type ListAvailabilityHistoriesSortByEnum ¶
type ListAvailabilityHistoriesSortByEnum string
ListAvailabilityHistoriesSortByEnum Enum with underlying type: string
const (
ListAvailabilityHistoriesSortByTimeavailabilitystatusstarted ListAvailabilityHistoriesSortByEnum = "timeAvailabilityStatusStarted"
)
Set of constants representing the allowable values for ListAvailabilityHistoriesSortByEnum
func GetListAvailabilityHistoriesSortByEnumValues ¶
func GetListAvailabilityHistoriesSortByEnumValues() []ListAvailabilityHistoriesSortByEnum
GetListAvailabilityHistoriesSortByEnumValues Enumerates the set of values for ListAvailabilityHistoriesSortByEnum
type ListAvailabilityHistoriesSortOrderEnum ¶
type ListAvailabilityHistoriesSortOrderEnum string
ListAvailabilityHistoriesSortOrderEnum Enum with underlying type: string
const ( ListAvailabilityHistoriesSortOrderAsc ListAvailabilityHistoriesSortOrderEnum = "ASC" ListAvailabilityHistoriesSortOrderDesc ListAvailabilityHistoriesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListAvailabilityHistoriesSortOrderEnum
func GetListAvailabilityHistoriesSortOrderEnumValues ¶
func GetListAvailabilityHistoriesSortOrderEnumValues() []ListAvailabilityHistoriesSortOrderEnum
GetListAvailabilityHistoriesSortOrderEnumValues Enumerates the set of values for ListAvailabilityHistoriesSortOrderEnum
type ListManagementAgentImagesLifecycleStateEnum ¶
type ListManagementAgentImagesLifecycleStateEnum string
ListManagementAgentImagesLifecycleStateEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for ListManagementAgentImagesLifecycleStateEnum
func GetListManagementAgentImagesLifecycleStateEnumValues ¶
func GetListManagementAgentImagesLifecycleStateEnumValues() []ListManagementAgentImagesLifecycleStateEnum
GetListManagementAgentImagesLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentImagesLifecycleStateEnum
type 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 }
ListManagementAgentImagesRequest wrapper for the ListManagementAgentImages operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListManagementAgentImages.go.html to see an example of how to use ListManagementAgentImagesRequest.
func (ListManagementAgentImagesRequest) BinaryRequestBody ¶
func (request ListManagementAgentImagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListManagementAgentImagesRequest) HTTPRequest ¶
func (request ListManagementAgentImagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListManagementAgentImagesRequest) RetryPolicy ¶
func (request ListManagementAgentImagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListManagementAgentImagesRequest) String ¶
func (request ListManagementAgentImagesRequest) String() string
type ListManagementAgentImagesResponse ¶
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"` }
ListManagementAgentImagesResponse wrapper for the ListManagementAgentImages operation
func (ListManagementAgentImagesResponse) HTTPResponse ¶
func (response ListManagementAgentImagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListManagementAgentImagesResponse) String ¶
func (response ListManagementAgentImagesResponse) String() string
type ListManagementAgentImagesSortByEnum ¶
type ListManagementAgentImagesSortByEnum string
ListManagementAgentImagesSortByEnum Enum with underlying type: string
const ( ListManagementAgentImagesSortByPlatformtype ListManagementAgentImagesSortByEnum = "platformType" ListManagementAgentImagesSortByVersion ListManagementAgentImagesSortByEnum = "version" )
Set of constants representing the allowable values for ListManagementAgentImagesSortByEnum
func GetListManagementAgentImagesSortByEnumValues ¶
func GetListManagementAgentImagesSortByEnumValues() []ListManagementAgentImagesSortByEnum
GetListManagementAgentImagesSortByEnumValues Enumerates the set of values for ListManagementAgentImagesSortByEnum
type ListManagementAgentImagesSortOrderEnum ¶
type ListManagementAgentImagesSortOrderEnum string
ListManagementAgentImagesSortOrderEnum Enum with underlying type: string
const ( ListManagementAgentImagesSortOrderAsc ListManagementAgentImagesSortOrderEnum = "ASC" ListManagementAgentImagesSortOrderDesc ListManagementAgentImagesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListManagementAgentImagesSortOrderEnum
func GetListManagementAgentImagesSortOrderEnumValues ¶
func GetListManagementAgentImagesSortOrderEnumValues() []ListManagementAgentImagesSortOrderEnum
GetListManagementAgentImagesSortOrderEnumValues Enumerates the set of values for ListManagementAgentImagesSortOrderEnum
type ListManagementAgentInstallKeysLifecycleStateEnum ¶
type ListManagementAgentInstallKeysLifecycleStateEnum string
ListManagementAgentInstallKeysLifecycleStateEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for ListManagementAgentInstallKeysLifecycleStateEnum
func GetListManagementAgentInstallKeysLifecycleStateEnumValues ¶
func GetListManagementAgentInstallKeysLifecycleStateEnumValues() []ListManagementAgentInstallKeysLifecycleStateEnum
GetListManagementAgentInstallKeysLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentInstallKeysLifecycleStateEnum
type 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 }
ListManagementAgentInstallKeysRequest wrapper for the ListManagementAgentInstallKeys operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListManagementAgentInstallKeys.go.html to see an example of how to use ListManagementAgentInstallKeysRequest.
func (ListManagementAgentInstallKeysRequest) BinaryRequestBody ¶
func (request ListManagementAgentInstallKeysRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListManagementAgentInstallKeysRequest) HTTPRequest ¶
func (request ListManagementAgentInstallKeysRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListManagementAgentInstallKeysRequest) RetryPolicy ¶
func (request ListManagementAgentInstallKeysRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListManagementAgentInstallKeysRequest) String ¶
func (request ListManagementAgentInstallKeysRequest) String() string
type ListManagementAgentInstallKeysResponse ¶
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"` }
ListManagementAgentInstallKeysResponse wrapper for the ListManagementAgentInstallKeys operation
func (ListManagementAgentInstallKeysResponse) HTTPResponse ¶
func (response ListManagementAgentInstallKeysResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListManagementAgentInstallKeysResponse) String ¶
func (response ListManagementAgentInstallKeysResponse) String() string
type ListManagementAgentInstallKeysSortByEnum ¶
type ListManagementAgentInstallKeysSortByEnum string
ListManagementAgentInstallKeysSortByEnum Enum with underlying type: string
const ( ListManagementAgentInstallKeysSortByTimecreated ListManagementAgentInstallKeysSortByEnum = "timeCreated" ListManagementAgentInstallKeysSortByDisplayname ListManagementAgentInstallKeysSortByEnum = "displayName" )
Set of constants representing the allowable values for ListManagementAgentInstallKeysSortByEnum
func GetListManagementAgentInstallKeysSortByEnumValues ¶
func GetListManagementAgentInstallKeysSortByEnumValues() []ListManagementAgentInstallKeysSortByEnum
GetListManagementAgentInstallKeysSortByEnumValues Enumerates the set of values for ListManagementAgentInstallKeysSortByEnum
type ListManagementAgentInstallKeysSortOrderEnum ¶
type ListManagementAgentInstallKeysSortOrderEnum string
ListManagementAgentInstallKeysSortOrderEnum Enum with underlying type: string
const ( ListManagementAgentInstallKeysSortOrderAsc ListManagementAgentInstallKeysSortOrderEnum = "ASC" ListManagementAgentInstallKeysSortOrderDesc ListManagementAgentInstallKeysSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListManagementAgentInstallKeysSortOrderEnum
func GetListManagementAgentInstallKeysSortOrderEnumValues ¶
func GetListManagementAgentInstallKeysSortOrderEnumValues() []ListManagementAgentInstallKeysSortOrderEnum
GetListManagementAgentInstallKeysSortOrderEnumValues Enumerates the set of values for ListManagementAgentInstallKeysSortOrderEnum
type ListManagementAgentPluginsLifecycleStateEnum ¶
type ListManagementAgentPluginsLifecycleStateEnum string
ListManagementAgentPluginsLifecycleStateEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for ListManagementAgentPluginsLifecycleStateEnum
func GetListManagementAgentPluginsLifecycleStateEnumValues ¶
func GetListManagementAgentPluginsLifecycleStateEnumValues() []ListManagementAgentPluginsLifecycleStateEnum
GetListManagementAgentPluginsLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentPluginsLifecycleStateEnum
type 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 }
ListManagementAgentPluginsRequest wrapper for the ListManagementAgentPlugins operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListManagementAgentPlugins.go.html to see an example of how to use ListManagementAgentPluginsRequest.
func (ListManagementAgentPluginsRequest) BinaryRequestBody ¶
func (request ListManagementAgentPluginsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListManagementAgentPluginsRequest) HTTPRequest ¶
func (request ListManagementAgentPluginsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListManagementAgentPluginsRequest) RetryPolicy ¶
func (request ListManagementAgentPluginsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListManagementAgentPluginsRequest) String ¶
func (request ListManagementAgentPluginsRequest) String() string
type ListManagementAgentPluginsResponse ¶
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"` }
ListManagementAgentPluginsResponse wrapper for the ListManagementAgentPlugins operation
func (ListManagementAgentPluginsResponse) HTTPResponse ¶
func (response ListManagementAgentPluginsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListManagementAgentPluginsResponse) String ¶
func (response ListManagementAgentPluginsResponse) String() string
type ListManagementAgentPluginsSortByEnum ¶
type ListManagementAgentPluginsSortByEnum string
ListManagementAgentPluginsSortByEnum Enum with underlying type: string
const (
ListManagementAgentPluginsSortByDisplayname ListManagementAgentPluginsSortByEnum = "displayName"
)
Set of constants representing the allowable values for ListManagementAgentPluginsSortByEnum
func GetListManagementAgentPluginsSortByEnumValues ¶
func GetListManagementAgentPluginsSortByEnumValues() []ListManagementAgentPluginsSortByEnum
GetListManagementAgentPluginsSortByEnumValues Enumerates the set of values for ListManagementAgentPluginsSortByEnum
type ListManagementAgentPluginsSortOrderEnum ¶
type ListManagementAgentPluginsSortOrderEnum string
ListManagementAgentPluginsSortOrderEnum Enum with underlying type: string
const ( ListManagementAgentPluginsSortOrderAsc ListManagementAgentPluginsSortOrderEnum = "ASC" ListManagementAgentPluginsSortOrderDesc ListManagementAgentPluginsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListManagementAgentPluginsSortOrderEnum
func GetListManagementAgentPluginsSortOrderEnumValues ¶
func GetListManagementAgentPluginsSortOrderEnumValues() []ListManagementAgentPluginsSortOrderEnum
GetListManagementAgentPluginsSortOrderEnumValues Enumerates the set of values for ListManagementAgentPluginsSortOrderEnum
type ListManagementAgentsLifecycleStateEnum ¶
type ListManagementAgentsLifecycleStateEnum string
ListManagementAgentsLifecycleStateEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for ListManagementAgentsLifecycleStateEnum
func GetListManagementAgentsLifecycleStateEnumValues ¶
func GetListManagementAgentsLifecycleStateEnumValues() []ListManagementAgentsLifecycleStateEnum
GetListManagementAgentsLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentsLifecycleStateEnum
type ListManagementAgentsPlatformTypeEnum ¶
type ListManagementAgentsPlatformTypeEnum string
ListManagementAgentsPlatformTypeEnum Enum with underlying type: string
const ( ListManagementAgentsPlatformTypeLinux ListManagementAgentsPlatformTypeEnum = "LINUX" ListManagementAgentsPlatformTypeWindows ListManagementAgentsPlatformTypeEnum = "WINDOWS" )
Set of constants representing the allowable values for ListManagementAgentsPlatformTypeEnum
func GetListManagementAgentsPlatformTypeEnumValues ¶
func GetListManagementAgentsPlatformTypeEnumValues() []ListManagementAgentsPlatformTypeEnum
GetListManagementAgentsPlatformTypeEnumValues Enumerates the set of values for ListManagementAgentsPlatformTypeEnum
type 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 }
ListManagementAgentsRequest wrapper for the ListManagementAgents operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListManagementAgents.go.html to see an example of how to use ListManagementAgentsRequest.
func (ListManagementAgentsRequest) BinaryRequestBody ¶
func (request ListManagementAgentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListManagementAgentsRequest) HTTPRequest ¶
func (request ListManagementAgentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListManagementAgentsRequest) RetryPolicy ¶
func (request ListManagementAgentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListManagementAgentsRequest) String ¶
func (request ListManagementAgentsRequest) String() string
type ListManagementAgentsResponse ¶
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"` }
ListManagementAgentsResponse wrapper for the ListManagementAgents operation
func (ListManagementAgentsResponse) HTTPResponse ¶
func (response ListManagementAgentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListManagementAgentsResponse) String ¶
func (response ListManagementAgentsResponse) String() string
type ListManagementAgentsSortByEnum ¶
type ListManagementAgentsSortByEnum string
ListManagementAgentsSortByEnum Enum with underlying type: string
const ( ListManagementAgentsSortByTimecreated ListManagementAgentsSortByEnum = "timeCreated" ListManagementAgentsSortByDisplayname ListManagementAgentsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListManagementAgentsSortByEnum
func GetListManagementAgentsSortByEnumValues ¶
func GetListManagementAgentsSortByEnumValues() []ListManagementAgentsSortByEnum
GetListManagementAgentsSortByEnumValues Enumerates the set of values for ListManagementAgentsSortByEnum
type ListManagementAgentsSortOrderEnum ¶
type ListManagementAgentsSortOrderEnum string
ListManagementAgentsSortOrderEnum Enum with underlying type: string
const ( ListManagementAgentsSortOrderAsc ListManagementAgentsSortOrderEnum = "ASC" ListManagementAgentsSortOrderDesc ListManagementAgentsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListManagementAgentsSortOrderEnum
func GetListManagementAgentsSortOrderEnumValues ¶
func GetListManagementAgentsSortOrderEnumValues() []ListManagementAgentsSortOrderEnum
GetListManagementAgentsSortOrderEnumValues Enumerates the set of values for ListManagementAgentsSortOrderEnum
type 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 }
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
type ListWorkRequestErrorsResponse ¶
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"` }
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
func (ListWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestErrorsResponse) String ¶
func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum ¶
type ListWorkRequestErrorsSortByEnum string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
const (
ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortByEnumValues ¶
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
type ListWorkRequestErrorsSortOrderEnum ¶
type ListWorkRequestErrorsSortOrderEnum string
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestErrorsSortOrderEnumValues ¶
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
type 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 }
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
func (ListWorkRequestLogsRequest) BinaryRequestBody ¶
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestLogsRequest) HTTPRequest ¶
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
type ListWorkRequestLogsResponse ¶
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"` }
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
func (ListWorkRequestLogsResponse) HTTPResponse ¶
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestLogsResponse) String ¶
func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum ¶
type ListWorkRequestLogsSortByEnum string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
const (
ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortByEnumValues ¶
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
type ListWorkRequestLogsSortOrderEnum ¶
type ListWorkRequestLogsSortOrderEnum string
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestLogsSortOrderEnumValues ¶
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
type 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 }
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
func (ListWorkRequestsRequest) BinaryRequestBody ¶
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestsRequest) HTTPRequest ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
type ListWorkRequestsResponse ¶
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"` }
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum ¶
type ListWorkRequestsSortByEnum string
ListWorkRequestsSortByEnum Enum with underlying type: string
const (
ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortByEnumValues ¶
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
type ListWorkRequestsSortOrderEnum ¶
type ListWorkRequestsSortOrderEnum string
ListWorkRequestsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsSortOrderEnumValues ¶
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
type ListWorkRequestsStatusEnum ¶
type ListWorkRequestsStatusEnum string
ListWorkRequestsStatusEnum Enum with underlying type: string
const ( ListWorkRequestsStatusCreated ListWorkRequestsStatusEnum = "CREATED" ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
func GetListWorkRequestsStatusEnumValues ¶
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
type ManagementAgent ¶
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"` }
ManagementAgent The details of the Management Agent inventory including the associated plugins.
func (ManagementAgent) String ¶
func (m ManagementAgent) String() string
type ManagementAgentClient ¶
type ManagementAgentClient struct { common.BaseClient // contains filtered or unexported fields }
ManagementAgentClient a client for ManagementAgent
func NewManagementAgentClientWithConfigurationProvider ¶
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 ¶
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 (*ManagementAgentClient) ConfigurationProvider ¶
func (client *ManagementAgentClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (ManagementAgentClient) CreateManagementAgentInstallKey ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/CreateManagementAgentInstallKey.go.html to see an example of how to use CreateManagementAgentInstallKey API.
func (ManagementAgentClient) DeleteManagementAgent ¶
func (client ManagementAgentClient) DeleteManagementAgent(ctx context.Context, request DeleteManagementAgentRequest) (response DeleteManagementAgentResponse, err error)
DeleteManagementAgent Deletes a Management Agent resource by identifier
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/DeleteManagementAgent.go.html to see an example of how to use DeleteManagementAgent API.
func (ManagementAgentClient) DeleteManagementAgentInstallKey ¶
func (client ManagementAgentClient) DeleteManagementAgentInstallKey(ctx context.Context, request DeleteManagementAgentInstallKeyRequest) (response DeleteManagementAgentInstallKeyResponse, err error)
DeleteManagementAgentInstallKey Deletes a Management Agent install Key resource by identifier
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/DeleteManagementAgentInstallKey.go.html to see an example of how to use DeleteManagementAgentInstallKey API.
func (ManagementAgentClient) DeleteWorkRequest ¶
func (client ManagementAgentClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error)
DeleteWorkRequest Cancel the work request with the given ID.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequest API.
func (ManagementAgentClient) DeployPlugins ¶
func (client ManagementAgentClient) DeployPlugins(ctx context.Context, request DeployPluginsRequest) (response DeployPluginsResponse, err error)
DeployPlugins Deploys Plugins to a given list of agentIds.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/DeployPlugins.go.html to see an example of how to use DeployPlugins API.
func (ManagementAgentClient) GetManagementAgent ¶
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
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/GetManagementAgent.go.html to see an example of how to use GetManagementAgent API.
func (ManagementAgentClient) GetManagementAgentInstallKey ¶
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
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/GetManagementAgentInstallKey.go.html to see an example of how to use GetManagementAgentInstallKey API.
func (ManagementAgentClient) GetManagementAgentInstallKeyContent ¶
func (client ManagementAgentClient) GetManagementAgentInstallKeyContent(ctx context.Context, request GetManagementAgentInstallKeyContentRequest) (response GetManagementAgentInstallKeyContentResponse, err error)
GetManagementAgentInstallKeyContent Returns a file with Management Agent install Key in it
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/GetManagementAgentInstallKeyContent.go.html to see an example of how to use GetManagementAgentInstallKeyContent API.
func (ManagementAgentClient) GetWorkRequest ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (ManagementAgentClient) ListAvailabilityHistories ¶
func (client ManagementAgentClient) ListAvailabilityHistories(ctx context.Context, request ListAvailabilityHistoriesRequest) (response ListAvailabilityHistoriesResponse, err error)
ListAvailabilityHistories Lists the availability history records of Management Agent
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListAvailabilityHistories.go.html to see an example of how to use ListAvailabilityHistories API.
func (ManagementAgentClient) ListManagementAgentImages ¶
func (client ManagementAgentClient) ListManagementAgentImages(ctx context.Context, request ListManagementAgentImagesRequest) (response ListManagementAgentImagesResponse, err error)
ListManagementAgentImages Get supported agent image information
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListManagementAgentImages.go.html to see an example of how to use ListManagementAgentImages API.
func (ManagementAgentClient) ListManagementAgentInstallKeys ¶
func (client ManagementAgentClient) ListManagementAgentInstallKeys(ctx context.Context, request ListManagementAgentInstallKeysRequest) (response ListManagementAgentInstallKeysResponse, err error)
ListManagementAgentInstallKeys Returns a list of Management Agent installed Keys.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListManagementAgentInstallKeys.go.html to see an example of how to use ListManagementAgentInstallKeys API.
func (ManagementAgentClient) ListManagementAgentPlugins ¶
func (client ManagementAgentClient) ListManagementAgentPlugins(ctx context.Context, request ListManagementAgentPluginsRequest) (response ListManagementAgentPluginsResponse, err error)
ListManagementAgentPlugins Returns a list of managementAgentPlugins.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListManagementAgentPlugins.go.html to see an example of how to use ListManagementAgentPlugins API.
func (ManagementAgentClient) ListManagementAgents ¶
func (client ManagementAgentClient) ListManagementAgents(ctx context.Context, request ListManagementAgentsRequest) (response ListManagementAgentsResponse, err error)
ListManagementAgents Returns a list of Management Agent.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListManagementAgents.go.html to see an example of how to use ListManagementAgents API.
func (ManagementAgentClient) ListWorkRequestErrors ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (ManagementAgentClient) ListWorkRequestLogs ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (ManagementAgentClient) ListWorkRequests ¶
func (client ManagementAgentClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (*ManagementAgentClient) SetRegion ¶
func (client *ManagementAgentClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (ManagementAgentClient) UpdateManagementAgent ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/UpdateManagementAgent.go.html to see an example of how to use UpdateManagementAgent API.
func (ManagementAgentClient) UpdateManagementAgentInstallKey ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/UpdateManagementAgentInstallKey.go.html to see an example of how to use UpdateManagementAgentInstallKey API.
type ManagementAgentError ¶
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"` }
ManagementAgentError Error Information.
func (ManagementAgentError) String ¶
func (m ManagementAgentError) String() string
type ManagementAgentImage ¶
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"` }
ManagementAgentImage Supported Agent downloads
func (ManagementAgentImage) String ¶
func (m ManagementAgentImage) String() string
type ManagementAgentImageSummary ¶
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"` }
ManagementAgentImageSummary Supported Agent downloads
func (ManagementAgentImageSummary) String ¶
func (m ManagementAgentImageSummary) String() string
type ManagementAgentInstallKey ¶
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"` }
ManagementAgentInstallKey The details of the Agent install Key
func (ManagementAgentInstallKey) String ¶
func (m ManagementAgentInstallKey) String() string
type ManagementAgentInstallKeySummary ¶
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"` }
ManagementAgentInstallKeySummary The summary of the Agent Install Key details.
func (ManagementAgentInstallKeySummary) String ¶
func (m ManagementAgentInstallKeySummary) String() string
type 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"` }
ManagementAgentPlugin Summary of the ManagementAgentPlugin.
func (ManagementAgentPlugin) String ¶
func (m ManagementAgentPlugin) String() string
type ManagementAgentPluginDetails ¶
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"` }
ManagementAgentPluginDetails The information about the current management agent plugins that agent is having.
func (ManagementAgentPluginDetails) String ¶
func (m ManagementAgentPluginDetails) String() string
type ManagementAgentPluginSummary ¶
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"` }
ManagementAgentPluginSummary Summary of the ManagementAgentPlugin.
func (ManagementAgentPluginSummary) String ¶
func (m ManagementAgentPluginSummary) String() string
type ManagementAgentSummary ¶
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"` }
ManagementAgentSummary The summary of the Management Agent inventory including the associated plugins.
func (ManagementAgentSummary) String ¶
func (m ManagementAgentSummary) String() string
type OperationStatusEnum ¶
type OperationStatusEnum string
OperationStatusEnum Enum with underlying type: string
const ( OperationStatusCreated OperationStatusEnum = "CREATED" OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
Set of constants representing the allowable values for OperationStatusEnum
func GetOperationStatusEnumValues ¶
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
type OperationTypesEnum ¶
type OperationTypesEnum string
OperationTypesEnum Enum with underlying type: string
const ( OperationTypesUpgradePlugin OperationTypesEnum = "UPGRADE_PLUGIN" OperationTypesCreateUpgradePlugins OperationTypesEnum = "CREATE_UPGRADE_PLUGINS" OperationTypesAgentimageUpgrade OperationTypesEnum = "AGENTIMAGE_UPGRADE" )
Set of constants representing the allowable values for OperationTypesEnum
func GetOperationTypesEnumValues ¶
func GetOperationTypesEnumValues() []OperationTypesEnum
GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum
type PlatformTypesEnum ¶
type PlatformTypesEnum string
PlatformTypesEnum Enum with underlying type: string
const ( PlatformTypesLinux PlatformTypesEnum = "LINUX" PlatformTypesWindows PlatformTypesEnum = "WINDOWS" )
Set of constants representing the allowable values for PlatformTypesEnum
func GetPlatformTypesEnumValues ¶
func GetPlatformTypesEnumValues() []PlatformTypesEnum
GetPlatformTypesEnumValues Enumerates the set of values for PlatformTypesEnum
type UpdateManagementAgentDetails ¶
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"` }
UpdateManagementAgentDetails Details required to update console-managed properties of the Management Agent.
func (UpdateManagementAgentDetails) String ¶
func (m UpdateManagementAgentDetails) String() string
type UpdateManagementAgentInstallKeyDetails ¶
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"` }
UpdateManagementAgentInstallKeyDetails Details required to change Management Agent install key.
func (UpdateManagementAgentInstallKeyDetails) String ¶
func (m UpdateManagementAgentInstallKeyDetails) String() string
type 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 }
UpdateManagementAgentInstallKeyRequest wrapper for the UpdateManagementAgentInstallKey operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/UpdateManagementAgentInstallKey.go.html to see an example of how to use UpdateManagementAgentInstallKeyRequest.
func (UpdateManagementAgentInstallKeyRequest) BinaryRequestBody ¶
func (request UpdateManagementAgentInstallKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateManagementAgentInstallKeyRequest) HTTPRequest ¶
func (request UpdateManagementAgentInstallKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateManagementAgentInstallKeyRequest) RetryPolicy ¶
func (request UpdateManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateManagementAgentInstallKeyRequest) String ¶
func (request UpdateManagementAgentInstallKeyRequest) String() string
type UpdateManagementAgentInstallKeyResponse ¶
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"` }
UpdateManagementAgentInstallKeyResponse wrapper for the UpdateManagementAgentInstallKey operation
func (UpdateManagementAgentInstallKeyResponse) HTTPResponse ¶
func (response UpdateManagementAgentInstallKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateManagementAgentInstallKeyResponse) String ¶
func (response UpdateManagementAgentInstallKeyResponse) String() string
type 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 }
UpdateManagementAgentRequest wrapper for the UpdateManagementAgent operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementagent/UpdateManagementAgent.go.html to see an example of how to use UpdateManagementAgentRequest.
func (UpdateManagementAgentRequest) BinaryRequestBody ¶
func (request UpdateManagementAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateManagementAgentRequest) HTTPRequest ¶
func (request UpdateManagementAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateManagementAgentRequest) RetryPolicy ¶
func (request UpdateManagementAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateManagementAgentRequest) String ¶
func (request UpdateManagementAgentRequest) String() string
type UpdateManagementAgentResponse ¶
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"` }
UpdateManagementAgentResponse wrapper for the UpdateManagementAgent operation
func (UpdateManagementAgentResponse) HTTPResponse ¶
func (response UpdateManagementAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateManagementAgentResponse) String ¶
func (response UpdateManagementAgentResponse) String() string
type WorkDeliveryStatusEnum ¶
type WorkDeliveryStatusEnum string
WorkDeliveryStatusEnum Enum with underlying type: string
const ( WorkDeliveryStatusAccepted WorkDeliveryStatusEnum = "ACCEPTED" WorkDeliveryStatusInProgress WorkDeliveryStatusEnum = "IN_PROGRESS" WorkDeliveryStatusFailed WorkDeliveryStatusEnum = "FAILED" WorkDeliveryStatusSucceeded WorkDeliveryStatusEnum = "SUCCEEDED" WorkDeliveryStatusCanceling WorkDeliveryStatusEnum = "CANCELING" WorkDeliveryStatusCanceled WorkDeliveryStatusEnum = "CANCELED" )
Set of constants representing the allowable values for WorkDeliveryStatusEnum
func GetWorkDeliveryStatusEnumValues ¶
func GetWorkDeliveryStatusEnumValues() []WorkDeliveryStatusEnum
GetWorkDeliveryStatusEnumValues Enumerates the set of values for WorkDeliveryStatusEnum
type WorkRequest ¶
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"` }
WorkRequest A description of workrequest status
func (WorkRequest) String ¶
func (m WorkRequest) String() string
type WorkRequestError ¶
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed on // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm) Code *string `mandatory:"true" json:"code"` // A human readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // The time the error occured. An RFC3339 formatted datetime string. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestError An error encountered while executing a work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
type WorkRequestLogEntry ¶
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"` }
WorkRequestLogEntry A log message from the execution of a work request.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
type WorkRequestResource ¶
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"` }
WorkRequestResource A resource created or operated on by a work request.
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
type WorkRequestSummary ¶
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"` }
WorkRequestSummary A description of workrequest status
func (WorkRequestSummary) String ¶
func (m WorkRequestSummary) String() string
type WorkSubmissionKey ¶
type WorkSubmissionKey struct { // Work Submission Identifier WorkSubmissionKey *string `mandatory:"true" json:"workSubmissionKey"` }
WorkSubmissionKey Work Submission Identifier
func (WorkSubmissionKey) String ¶
func (m WorkSubmissionKey) String() string
Source Files ¶
- action_types.go
- availability_history_summary.go
- availability_status.go
- create_management_agent_install_key_details.go
- create_management_agent_install_key_request_response.go
- datatypes.go
- delete_management_agent_install_key_request_response.go
- delete_management_agent_request_response.go
- delete_work_request_request_response.go
- deploy_plugins_details.go
- deploy_plugins_request_response.go
- edit_modes.go
- get_management_agent_install_key_content_request_response.go
- get_management_agent_install_key_request_response.go
- get_management_agent_request_response.go
- get_work_request_request_response.go
- lifecycle_states.go
- list_availability_histories_request_response.go
- list_management_agent_images_request_response.go
- list_management_agent_install_keys_request_response.go
- list_management_agent_plugins_request_response.go
- list_management_agents_request_response.go
- list_work_request_errors_request_response.go
- list_work_request_logs_request_response.go
- list_work_requests_request_response.go
- management_agent.go
- management_agent_error.go
- management_agent_image.go
- management_agent_image_summary.go
- management_agent_install_key.go
- management_agent_install_key_summary.go
- management_agent_plugin.go
- management_agent_plugin_details.go
- management_agent_plugin_summary.go
- management_agent_summary.go
- managementagent_client.go
- operation_status.go
- operation_types.go
- platform_types.go
- update_management_agent_details.go
- update_management_agent_install_key_details.go
- update_management_agent_install_key_request_response.go
- update_management_agent_request_response.go
- work_delivery_status.go
- work_request.go
- work_request_error.go
- work_request_log_entry.go
- work_request_resource.go
- work_request_summary.go
- work_submission_key.go