ChangeRoverClusterCompartmentDetails Object for moving a cluster to a different compartment.
type ChangeRoverClusterCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resources should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeRoverClusterCompartmentDetails) String() string
ChangeRoverClusterCompartmentRequest wrapper for the ChangeRoverClusterCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/ChangeRoverClusterCompartment.go.html to see an example of how to use ChangeRoverClusterCompartmentRequest.
type ChangeRoverClusterCompartmentRequest struct { // Unique RoverCluster identifier RoverClusterId *string `mandatory:"true" contributesTo:"path" name:"roverClusterId"` // CompartmentId of the destination compartment ChangeRoverClusterCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeRoverClusterCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeRoverClusterCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeRoverClusterCompartmentRequest) String() string
ChangeRoverClusterCompartmentResponse wrapper for the ChangeRoverClusterCompartment operation
type ChangeRoverClusterCompartmentResponse struct { // The underlying http response RawResponse *http.Response OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeRoverClusterCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeRoverClusterCompartmentResponse) String() string
ChangeRoverEntitlementCompartmentDetails Object for moving an entitlement to a different compartment.
type ChangeRoverEntitlementCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resources should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeRoverEntitlementCompartmentDetails) String() string
ChangeRoverEntitlementCompartmentRequest wrapper for the ChangeRoverEntitlementCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/ChangeRoverEntitlementCompartment.go.html to see an example of how to use ChangeRoverEntitlementCompartmentRequest.
type ChangeRoverEntitlementCompartmentRequest struct { // ID of the rover node or cluster entitlement RoverEntitlementId *string `mandatory:"true" contributesTo:"path" name:"roverEntitlementId"` // CompartmentId of the destination compartment ChangeRoverEntitlementCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeRoverEntitlementCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeRoverEntitlementCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeRoverEntitlementCompartmentRequest) String() string
ChangeRoverEntitlementCompartmentResponse wrapper for the ChangeRoverEntitlementCompartment operation
type ChangeRoverEntitlementCompartmentResponse struct { // The underlying http response RawResponse *http.Response OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeRoverEntitlementCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeRoverEntitlementCompartmentResponse) String() string
ChangeRoverNodeCompartmentDetails Object for moving a node to a different compartment.
type ChangeRoverNodeCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resources should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeRoverNodeCompartmentDetails) String() string
ChangeRoverNodeCompartmentRequest wrapper for the ChangeRoverNodeCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/ChangeRoverNodeCompartment.go.html to see an example of how to use ChangeRoverNodeCompartmentRequest.
type ChangeRoverNodeCompartmentRequest struct { // Unique RoverNode identifier RoverNodeId *string `mandatory:"true" contributesTo:"path" name:"roverNodeId"` // CompartmentId of the destination compartment ChangeRoverNodeCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeRoverNodeCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeRoverNodeCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeRoverNodeCompartmentRequest) String() string
ChangeRoverNodeCompartmentResponse wrapper for the ChangeRoverNodeCompartment operation
type ChangeRoverNodeCompartmentResponse struct { // The underlying http response RawResponse *http.Response OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeRoverNodeCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeRoverNodeCompartmentResponse) String() string
CreateRoverClusterDetails The information required to create a RoverCluster.
type CreateRoverClusterDetails struct { // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the compartment containing the RoverCluster. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Number of nodes desired in the cluster, between 5 and 15. ClusterSize *int `mandatory:"true" json:"clusterSize"` CustomerShippingAddress *ShippingAddress `mandatory:"false" json:"customerShippingAddress"` // List of existing workloads that should be provisioned on the nodes. ClusterWorkloads []RoverWorkload `mandatory:"false" json:"clusterWorkloads"` // Root password for the rover cluster. SuperUserPassword *string `mandatory:"false" json:"superUserPassword"` // The type of enclosure rover nodes in this cluster are shipped in. EnclosureType EnclosureTypeEnum `mandatory:"false" json:"enclosureType,omitempty"` // Password to unlock the rover cluster. UnlockPassphrase *string `mandatory:"false" json:"unlockPassphrase"` // Name of point of contact for this order if customer is picking up. PointOfContact *string `mandatory:"false" json:"pointOfContact"` // Phone number of point of contact for this order if customer is picking up. PointOfContactPhoneNumber *string `mandatory:"false" json:"pointOfContactPhoneNumber"` // Preference for device delivery. ShippingPreference CreateRoverClusterDetailsShippingPreferenceEnum `mandatory:"false" json:"shippingPreference,omitempty"` // Shipping vendor of choice for orace to customer shipping. ShippingVendor *string `mandatory:"false" json:"shippingVendor"` // Expected date when customer wants to pickup the cluster if they chose customer pickup. TimePickupExpected *common.SDKTime `mandatory:"false" json:"timePickupExpected"` // Tracking Url for the shipped Rover Cluster. OracleShippingTrackingUrl *string `mandatory:"false" json:"oracleShippingTrackingUrl"` // The current state of the RoverCluster. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A property that can contain details on the lifecycle. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m CreateRoverClusterDetails) String() string
CreateRoverClusterDetailsShippingPreferenceEnum Enum with underlying type: string
type CreateRoverClusterDetailsShippingPreferenceEnum string
Set of constants representing the allowable values for CreateRoverClusterDetailsShippingPreferenceEnum
const ( CreateRoverClusterDetailsShippingPreferenceOracleShipped CreateRoverClusterDetailsShippingPreferenceEnum = "ORACLE_SHIPPED" CreateRoverClusterDetailsShippingPreferenceCustomerPickup CreateRoverClusterDetailsShippingPreferenceEnum = "CUSTOMER_PICKUP" )
func GetCreateRoverClusterDetailsShippingPreferenceEnumValues() []CreateRoverClusterDetailsShippingPreferenceEnum
GetCreateRoverClusterDetailsShippingPreferenceEnumValues Enumerates the set of values for CreateRoverClusterDetailsShippingPreferenceEnum
CreateRoverClusterRequest wrapper for the CreateRoverCluster operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/CreateRoverCluster.go.html to see an example of how to use CreateRoverClusterRequest.
type CreateRoverClusterRequest struct { // Details for the new RoverCluster. CreateRoverClusterDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateRoverClusterRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateRoverClusterRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateRoverClusterRequest) String() string
CreateRoverClusterResponse wrapper for the CreateRoverCluster operation
type CreateRoverClusterResponse struct { // The underlying http response RawResponse *http.Response // The RoverCluster instance RoverCluster `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateRoverClusterResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateRoverClusterResponse) String() string
CreateRoverEntitlementDetails Information required to create a RoverEntitlement.
type CreateRoverEntitlementDetails struct { // The OCID of the compartment containing the RoverEntitlement. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Requestor name for the entitlement. RequestorName *string `mandatory:"true" json:"requestorName"` // Requestor email for the entitlement. RequestorEmail *string `mandatory:"true" json:"requestorEmail"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Details about the entitlement. EntitlementDetails *string `mandatory:"false" json:"entitlementDetails"` // The current state of the RoverNode. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A property that can contain details on the lifecycle. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // tenant Id. TenantId *string `mandatory:"false" json:"tenantId"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m CreateRoverEntitlementDetails) String() string
CreateRoverEntitlementRequest wrapper for the CreateRoverEntitlement operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/CreateRoverEntitlement.go.html to see an example of how to use CreateRoverEntitlementRequest.
type CreateRoverEntitlementRequest struct { // Creates a Rover Device Entitlement CreateRoverEntitlementDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateRoverEntitlementRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateRoverEntitlementRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateRoverEntitlementRequest) String() string
CreateRoverEntitlementResponse wrapper for the CreateRoverEntitlement operation
type CreateRoverEntitlementResponse struct { // The underlying http response RawResponse *http.Response // The RoverEntitlement instance RoverEntitlement `presentIn:"body"` OpcRequestId *string `presentIn:"header" name:"opc-request-id"` Etag *string `presentIn:"header" name:"etag"` }
func (response CreateRoverEntitlementResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateRoverEntitlementResponse) String() string
CreateRoverNodeDetails The information requied to create a RoverNode.
type CreateRoverNodeDetails struct { // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the compartment containing the RoverNode. CompartmentId *string `mandatory:"true" json:"compartmentId"` CustomerShippingAddress *ShippingAddress `mandatory:"false" json:"customerShippingAddress"` // List of existing workloads that should be provisioned on the node. NodeWorkloads []RoverWorkload `mandatory:"false" json:"nodeWorkloads"` // Root password for the rover node. SuperUserPassword *string `mandatory:"false" json:"superUserPassword"` // Passphrase to unlock the rover node. UnlockPassphrase *string `mandatory:"false" json:"unlockPassphrase"` // Name of point of contact for this order if customer is picking up. PointOfContact *string `mandatory:"false" json:"pointOfContact"` // Phone number of point of contact for this order if customer is picking up. PointOfContactPhoneNumber *string `mandatory:"false" json:"pointOfContactPhoneNumber"` // Preference for device delivery. ShippingPreference CreateRoverNodeDetailsShippingPreferenceEnum `mandatory:"false" json:"shippingPreference,omitempty"` // Shipping vendor of choice for orace to customer shipping. ShippingVendor *string `mandatory:"false" json:"shippingVendor"` // Expected date when customer wants to pickup the device if they chose customer pickup. TimePickupExpected *common.SDKTime `mandatory:"false" json:"timePickupExpected"` // The public key of the resource principal PublicKey *string `mandatory:"false" json:"publicKey"` // Start time for the window to pickup the device from customer. TimeReturnWindowStarts *common.SDKTime `mandatory:"false" json:"timeReturnWindowStarts"` // End time for the window to pickup the device from customer. TimeReturnWindowEnds *common.SDKTime `mandatory:"false" json:"timeReturnWindowEnds"` // The current state of the RoverNode. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The type of enclosure rover nodes in this cluster are shipped in. EnclosureType EnclosureTypeEnum `mandatory:"false" json:"enclosureType,omitempty"` // A property that can contain details on the lifecycle. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // Serial number of the node. SerialNumber *string `mandatory:"false" json:"serialNumber"` // Tracking Url for the shipped FmsRoverNode. OracleShippingTrackingUrl *string `mandatory:"false" json:"oracleShippingTrackingUrl"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m CreateRoverNodeDetails) String() string
CreateRoverNodeDetailsShippingPreferenceEnum Enum with underlying type: string
type CreateRoverNodeDetailsShippingPreferenceEnum string
Set of constants representing the allowable values for CreateRoverNodeDetailsShippingPreferenceEnum
const ( CreateRoverNodeDetailsShippingPreferenceOracleShipped CreateRoverNodeDetailsShippingPreferenceEnum = "ORACLE_SHIPPED" CreateRoverNodeDetailsShippingPreferenceCustomerPickup CreateRoverNodeDetailsShippingPreferenceEnum = "CUSTOMER_PICKUP" )
func GetCreateRoverNodeDetailsShippingPreferenceEnumValues() []CreateRoverNodeDetailsShippingPreferenceEnum
GetCreateRoverNodeDetailsShippingPreferenceEnumValues Enumerates the set of values for CreateRoverNodeDetailsShippingPreferenceEnum
CreateRoverNodeRequest wrapper for the CreateRoverNode operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/CreateRoverNode.go.html to see an example of how to use CreateRoverNodeRequest.
type CreateRoverNodeRequest struct { // Details for the new RoverNode. CreateRoverNodeDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateRoverNodeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateRoverNodeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateRoverNodeRequest) String() string
CreateRoverNodeResponse wrapper for the CreateRoverNode operation
type CreateRoverNodeResponse struct { // The underlying http response RawResponse *http.Response // The RoverNode instance RoverNode `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateRoverNodeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateRoverNodeResponse) String() string
DeleteRoverClusterRequest wrapper for the DeleteRoverCluster operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/DeleteRoverCluster.go.html to see an example of how to use DeleteRoverClusterRequest.
type DeleteRoverClusterRequest struct { // Unique RoverCluster identifier RoverClusterId *string `mandatory:"true" contributesTo:"path" name:"roverClusterId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteRoverClusterRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteRoverClusterRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteRoverClusterRequest) String() string
DeleteRoverClusterResponse wrapper for the DeleteRoverCluster operation
type DeleteRoverClusterResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteRoverClusterResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteRoverClusterResponse) String() string
DeleteRoverEntitlementRequest wrapper for the DeleteRoverEntitlement operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/DeleteRoverEntitlement.go.html to see an example of how to use DeleteRoverEntitlementRequest.
type DeleteRoverEntitlementRequest struct { // ID of the rover node or cluster entitlement RoverEntitlementId *string `mandatory:"true" contributesTo:"path" name:"roverEntitlementId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteRoverEntitlementRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteRoverEntitlementRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteRoverEntitlementRequest) String() string
DeleteRoverEntitlementResponse wrapper for the DeleteRoverEntitlement operation
type DeleteRoverEntitlementResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteRoverEntitlementResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteRoverEntitlementResponse) String() string
DeleteRoverNodeRequest wrapper for the DeleteRoverNode operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/DeleteRoverNode.go.html to see an example of how to use DeleteRoverNodeRequest.
type DeleteRoverNodeRequest struct { // Unique RoverNode identifier RoverNodeId *string `mandatory:"true" contributesTo:"path" name:"roverNodeId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteRoverNodeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteRoverNodeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteRoverNodeRequest) String() string
DeleteRoverNodeResponse wrapper for the DeleteRoverNode operation
type DeleteRoverNodeResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteRoverNodeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteRoverNodeResponse) String() string
EnclosureTypeEnum Enum with underlying type: string
type EnclosureTypeEnum string
Set of constants representing the allowable values for EnclosureTypeEnum
const ( EnclosureTypeRuggadized EnclosureTypeEnum = "RUGGADIZED" EnclosureTypeNonRuggadized EnclosureTypeEnum = "NON_RUGGADIZED" )
func GetEnclosureTypeEnumValues() []EnclosureTypeEnum
GetEnclosureTypeEnumValues Enumerates the set of values for EnclosureTypeEnum
GetRoverClusterCertificateRequest wrapper for the GetRoverClusterCertificate operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/GetRoverClusterCertificate.go.html to see an example of how to use GetRoverClusterCertificateRequest.
type GetRoverClusterCertificateRequest struct { // Unique RoverCluster identifier RoverClusterId *string `mandatory:"true" contributesTo:"path" name:"roverClusterId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetRoverClusterCertificateRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetRoverClusterCertificateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetRoverClusterCertificateRequest) String() string
GetRoverClusterCertificateResponse wrapper for the GetRoverClusterCertificate operation
type GetRoverClusterCertificateResponse struct { // The underlying http response RawResponse *http.Response // The RoverClusterCertificate instance RoverClusterCertificate `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetRoverClusterCertificateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetRoverClusterCertificateResponse) String() string
GetRoverClusterRequest wrapper for the GetRoverCluster operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/GetRoverCluster.go.html to see an example of how to use GetRoverClusterRequest.
type GetRoverClusterRequest struct { // Unique RoverCluster identifier RoverClusterId *string `mandatory:"true" contributesTo:"path" name:"roverClusterId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetRoverClusterRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetRoverClusterRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetRoverClusterRequest) String() string
GetRoverClusterResponse wrapper for the GetRoverCluster operation
type GetRoverClusterResponse struct { // The underlying http response RawResponse *http.Response // The RoverCluster instance RoverCluster `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetRoverClusterResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetRoverClusterResponse) String() string
GetRoverEntitlementRequest wrapper for the GetRoverEntitlement operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/GetRoverEntitlement.go.html to see an example of how to use GetRoverEntitlementRequest.
type GetRoverEntitlementRequest struct { // ID of the rover node or cluster entitlement RoverEntitlementId *string `mandatory:"true" contributesTo:"path" name:"roverEntitlementId"` // The OCID of the compartment in which to list resources. 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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetRoverEntitlementRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetRoverEntitlementRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetRoverEntitlementRequest) String() string
GetRoverEntitlementResponse wrapper for the GetRoverEntitlement operation
type GetRoverEntitlementResponse struct { // The underlying http response RawResponse *http.Response // The RoverEntitlement instance RoverEntitlement `presentIn:"body"` OpcRequestId *string `presentIn:"header" name:"opc-request-id"` Etag *string `presentIn:"header" name:"etag"` }
func (response GetRoverEntitlementResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetRoverEntitlementResponse) String() string
GetRoverNodeCertificateRequest wrapper for the GetRoverNodeCertificate operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/GetRoverNodeCertificate.go.html to see an example of how to use GetRoverNodeCertificateRequest.
type GetRoverNodeCertificateRequest struct { // Unique RoverNode identifier RoverNodeId *string `mandatory:"true" contributesTo:"path" name:"roverNodeId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetRoverNodeCertificateRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetRoverNodeCertificateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetRoverNodeCertificateRequest) String() string
GetRoverNodeCertificateResponse wrapper for the GetRoverNodeCertificate operation
type GetRoverNodeCertificateResponse struct { // The underlying http response RawResponse *http.Response // The RoverNodeCertificate instance RoverNodeCertificate `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetRoverNodeCertificateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetRoverNodeCertificateResponse) String() string
GetRoverNodeEncryptionKeyRequest wrapper for the GetRoverNodeEncryptionKey operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/GetRoverNodeEncryptionKey.go.html to see an example of how to use GetRoverNodeEncryptionKeyRequest.
type GetRoverNodeEncryptionKeyRequest struct { // Serial number of the rover node. RoverNodeId *string `mandatory:"true" contributesTo:"path" name:"roverNodeId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetRoverNodeEncryptionKeyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetRoverNodeEncryptionKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetRoverNodeEncryptionKeyRequest) String() string
GetRoverNodeEncryptionKeyResponse wrapper for the GetRoverNodeEncryptionKey operation
type GetRoverNodeEncryptionKeyResponse struct { // The underlying http response RawResponse *http.Response // The RoverNodeEncryptionKey instance RoverNodeEncryptionKey `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetRoverNodeEncryptionKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetRoverNodeEncryptionKeyResponse) String() string
GetRoverNodeGetRptRequest wrapper for the GetRoverNodeGetRpt operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/GetRoverNodeGetRpt.go.html to see an example of how to use GetRoverNodeGetRptRequest.
type GetRoverNodeGetRptRequest struct { // Unique RoverNode identifier RoverNodeId *string `mandatory:"true" contributesTo:"path" name:"roverNodeId"` // The Java Web Token which is a signature of the request that is signed with the resource's private key // This is meant solely in the context of getRpt Jwt *string `mandatory:"true" contributesTo:"header" name:"jwt"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetRoverNodeGetRptRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetRoverNodeGetRptRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetRoverNodeGetRptRequest) String() string
GetRoverNodeGetRptResponse wrapper for the GetRoverNodeGetRpt operation
type GetRoverNodeGetRptResponse struct { // The underlying http response RawResponse *http.Response // The RoverNodeGetRpt instance RoverNodeGetRpt `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetRoverNodeGetRptResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetRoverNodeGetRptResponse) String() string
GetRoverNodeRequest wrapper for the GetRoverNode operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/GetRoverNode.go.html to see an example of how to use GetRoverNodeRequest.
type GetRoverNodeRequest struct { // Unique RoverNode identifier RoverNodeId *string `mandatory:"true" contributesTo:"path" name:"roverNodeId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetRoverNodeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetRoverNodeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetRoverNodeRequest) String() string
GetRoverNodeResponse wrapper for the GetRoverNode operation
type GetRoverNodeResponse struct { // The underlying http response RawResponse *http.Response // The RoverNode instance RoverNode `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetRoverNodeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetRoverNodeResponse) String() string
LifecycleStateEnum Enum with underlying type: string
type LifecycleStateEnum string
Set of constants representing the allowable values for LifecycleStateEnum
const ( LifecycleStateCreating LifecycleStateEnum = "CREATING" LifecycleStateUpdating LifecycleStateEnum = "UPDATING" LifecycleStateActive LifecycleStateEnum = "ACTIVE" LifecycleStateDeleting LifecycleStateEnum = "DELETING" LifecycleStateDeleted LifecycleStateEnum = "DELETED" LifecycleStateFailed LifecycleStateEnum = "FAILED" )
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
ListRoverClustersLifecycleStateEnum Enum with underlying type: string
type ListRoverClustersLifecycleStateEnum string
Set of constants representing the allowable values for ListRoverClustersLifecycleStateEnum
const ( ListRoverClustersLifecycleStateCreating ListRoverClustersLifecycleStateEnum = "CREATING" ListRoverClustersLifecycleStateUpdating ListRoverClustersLifecycleStateEnum = "UPDATING" ListRoverClustersLifecycleStateActive ListRoverClustersLifecycleStateEnum = "ACTIVE" ListRoverClustersLifecycleStateDeleting ListRoverClustersLifecycleStateEnum = "DELETING" ListRoverClustersLifecycleStateDeleted ListRoverClustersLifecycleStateEnum = "DELETED" ListRoverClustersLifecycleStateFailed ListRoverClustersLifecycleStateEnum = "FAILED" )
func GetListRoverClustersLifecycleStateEnumValues() []ListRoverClustersLifecycleStateEnum
GetListRoverClustersLifecycleStateEnumValues Enumerates the set of values for ListRoverClustersLifecycleStateEnum
ListRoverClustersRequest wrapper for the ListRoverClusters operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/ListRoverClusters.go.html to see an example of how to use ListRoverClustersRequest.
type ListRoverClustersRequest struct { // The OCID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. 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"` // A filter to return only resources their lifecycleState matches the given lifecycleState. LifecycleState ListRoverClustersLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListRoverClustersSortOrderEnum `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 ListRoverClustersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListRoverClustersRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListRoverClustersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListRoverClustersRequest) String() string
ListRoverClustersResponse wrapper for the ListRoverClusters operation
type ListRoverClustersResponse struct { // The underlying http response RawResponse *http.Response // A list of RoverClusterCollection instances RoverClusterCollection `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"` // 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 previous batch of items. OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` }
func (response ListRoverClustersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListRoverClustersResponse) String() string
ListRoverClustersSortByEnum Enum with underlying type: string
type ListRoverClustersSortByEnum string
Set of constants representing the allowable values for ListRoverClustersSortByEnum
const ( ListRoverClustersSortByTimecreated ListRoverClustersSortByEnum = "timeCreated" ListRoverClustersSortByDisplayname ListRoverClustersSortByEnum = "displayName" )
func GetListRoverClustersSortByEnumValues() []ListRoverClustersSortByEnum
GetListRoverClustersSortByEnumValues Enumerates the set of values for ListRoverClustersSortByEnum
ListRoverClustersSortOrderEnum Enum with underlying type: string
type ListRoverClustersSortOrderEnum string
Set of constants representing the allowable values for ListRoverClustersSortOrderEnum
const ( ListRoverClustersSortOrderAsc ListRoverClustersSortOrderEnum = "ASC" ListRoverClustersSortOrderDesc ListRoverClustersSortOrderEnum = "DESC" )
func GetListRoverClustersSortOrderEnumValues() []ListRoverClustersSortOrderEnum
GetListRoverClustersSortOrderEnumValues Enumerates the set of values for ListRoverClustersSortOrderEnum
ListRoverEntitlementsLifecycleStateEnum Enum with underlying type: string
type ListRoverEntitlementsLifecycleStateEnum string
Set of constants representing the allowable values for ListRoverEntitlementsLifecycleStateEnum
const ( ListRoverEntitlementsLifecycleStateCreating ListRoverEntitlementsLifecycleStateEnum = "CREATING" ListRoverEntitlementsLifecycleStateUpdating ListRoverEntitlementsLifecycleStateEnum = "UPDATING" ListRoverEntitlementsLifecycleStateActive ListRoverEntitlementsLifecycleStateEnum = "ACTIVE" ListRoverEntitlementsLifecycleStateDeleting ListRoverEntitlementsLifecycleStateEnum = "DELETING" ListRoverEntitlementsLifecycleStateDeleted ListRoverEntitlementsLifecycleStateEnum = "DELETED" ListRoverEntitlementsLifecycleStateFailed ListRoverEntitlementsLifecycleStateEnum = "FAILED" )
func GetListRoverEntitlementsLifecycleStateEnumValues() []ListRoverEntitlementsLifecycleStateEnum
GetListRoverEntitlementsLifecycleStateEnumValues Enumerates the set of values for ListRoverEntitlementsLifecycleStateEnum
ListRoverEntitlementsRequest wrapper for the ListRoverEntitlements operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/ListRoverEntitlements.go.html to see an example of how to use ListRoverEntitlementsRequest.
type ListRoverEntitlementsRequest struct { // The OCID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // filtering by Rover Device Entitlement id Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return only resources their lifecycleState matches the given lifecycleState. LifecycleState ListRoverEntitlementsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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 ListRoverEntitlementsSortOrderEnum `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 ListRoverEntitlementsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListRoverEntitlementsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListRoverEntitlementsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListRoverEntitlementsRequest) String() string
ListRoverEntitlementsResponse wrapper for the ListRoverEntitlements operation
type ListRoverEntitlementsResponse struct { // The underlying http response RawResponse *http.Response // A list of RoverEntitlementCollection instances RoverEntitlementCollection `presentIn:"body"` 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"` // 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 previous batch of items. OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` }
func (response ListRoverEntitlementsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListRoverEntitlementsResponse) String() string
ListRoverEntitlementsSortByEnum Enum with underlying type: string
type ListRoverEntitlementsSortByEnum string
Set of constants representing the allowable values for ListRoverEntitlementsSortByEnum
const ( ListRoverEntitlementsSortByTimecreated ListRoverEntitlementsSortByEnum = "timeCreated" ListRoverEntitlementsSortByDisplayname ListRoverEntitlementsSortByEnum = "displayName" )
func GetListRoverEntitlementsSortByEnumValues() []ListRoverEntitlementsSortByEnum
GetListRoverEntitlementsSortByEnumValues Enumerates the set of values for ListRoverEntitlementsSortByEnum
ListRoverEntitlementsSortOrderEnum Enum with underlying type: string
type ListRoverEntitlementsSortOrderEnum string
Set of constants representing the allowable values for ListRoverEntitlementsSortOrderEnum
const ( ListRoverEntitlementsSortOrderAsc ListRoverEntitlementsSortOrderEnum = "ASC" ListRoverEntitlementsSortOrderDesc ListRoverEntitlementsSortOrderEnum = "DESC" )
func GetListRoverEntitlementsSortOrderEnumValues() []ListRoverEntitlementsSortOrderEnum
GetListRoverEntitlementsSortOrderEnumValues Enumerates the set of values for ListRoverEntitlementsSortOrderEnum
ListRoverNodesLifecycleStateEnum Enum with underlying type: string
type ListRoverNodesLifecycleStateEnum string
Set of constants representing the allowable values for ListRoverNodesLifecycleStateEnum
const ( ListRoverNodesLifecycleStateCreating ListRoverNodesLifecycleStateEnum = "CREATING" ListRoverNodesLifecycleStateUpdating ListRoverNodesLifecycleStateEnum = "UPDATING" ListRoverNodesLifecycleStateActive ListRoverNodesLifecycleStateEnum = "ACTIVE" ListRoverNodesLifecycleStateDeleting ListRoverNodesLifecycleStateEnum = "DELETING" ListRoverNodesLifecycleStateDeleted ListRoverNodesLifecycleStateEnum = "DELETED" ListRoverNodesLifecycleStateFailed ListRoverNodesLifecycleStateEnum = "FAILED" )
func GetListRoverNodesLifecycleStateEnumValues() []ListRoverNodesLifecycleStateEnum
GetListRoverNodesLifecycleStateEnumValues Enumerates the set of values for ListRoverNodesLifecycleStateEnum
ListRoverNodesRequest wrapper for the ListRoverNodes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/ListRoverNodes.go.html to see an example of how to use ListRoverNodesRequest.
type ListRoverNodesRequest struct { // The OCID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. 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"` // A filter to return only resources their lifecycleState matches the given lifecycleState. LifecycleState ListRoverNodesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListRoverNodesSortOrderEnum `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 ListRoverNodesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListRoverNodesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListRoverNodesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListRoverNodesRequest) String() string
ListRoverNodesResponse wrapper for the ListRoverNodes operation
type ListRoverNodesResponse struct { // The underlying http response RawResponse *http.Response // A list of RoverNodeCollection instances RoverNodeCollection `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"` // 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 previous batch of items. OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` }
func (response ListRoverNodesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListRoverNodesResponse) String() string
ListRoverNodesSortByEnum Enum with underlying type: string
type ListRoverNodesSortByEnum string
Set of constants representing the allowable values for ListRoverNodesSortByEnum
const ( ListRoverNodesSortByTimecreated ListRoverNodesSortByEnum = "timeCreated" ListRoverNodesSortByDisplayname ListRoverNodesSortByEnum = "displayName" )
func GetListRoverNodesSortByEnumValues() []ListRoverNodesSortByEnum
GetListRoverNodesSortByEnumValues Enumerates the set of values for ListRoverNodesSortByEnum
ListRoverNodesSortOrderEnum Enum with underlying type: string
type ListRoverNodesSortOrderEnum string
Set of constants representing the allowable values for ListRoverNodesSortOrderEnum
const ( ListRoverNodesSortOrderAsc ListRoverNodesSortOrderEnum = "ASC" ListRoverNodesSortOrderDesc ListRoverNodesSortOrderEnum = "DESC" )
func GetListRoverNodesSortOrderEnumValues() []ListRoverNodesSortOrderEnum
GetListRoverNodesSortOrderEnumValues Enumerates the set of values for ListRoverNodesSortOrderEnum
NodeTypeEnum Enum with underlying type: string
type NodeTypeEnum string
Set of constants representing the allowable values for NodeTypeEnum
const ( NodeTypeStandalone NodeTypeEnum = "STANDALONE" NodeTypeClustered NodeTypeEnum = "CLUSTERED" )
func GetNodeTypeEnumValues() []NodeTypeEnum
GetNodeTypeEnumValues Enumerates the set of values for NodeTypeEnum
RoverCluster Description of RoverCluster.
type RoverCluster struct { // The OCID of RoverCluster. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the RoverCluster. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // Size of the cluster. ClusterSize *int `mandatory:"true" json:"clusterSize"` // The current state of the RoverCluster. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The time the the RoverCluster was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // A property that can contain details on the lifecycle. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` CustomerShippingAddress *ShippingAddress `mandatory:"false" json:"customerShippingAddress"` // The summary of nodes that are part of this cluster. Nodes []RoverNodeSummary `mandatory:"false" json:"nodes"` // The type of enclosure rover nodes in this cluster are shipped in. EnclosureType EnclosureTypeEnum `mandatory:"false" json:"enclosureType,omitempty"` // Time when customer received the cluster. TimeCustomerReceived *common.SDKTime `mandatory:"false" json:"timeCustomerReceived"` // Time when customer returned the cluster. TimeCustomerReturned *common.SDKTime `mandatory:"false" json:"timeCustomerReturned"` // Tracking information for device shipping. DeliveryTrackingInfo *string `mandatory:"false" json:"deliveryTrackingInfo"` // List of existing workloads that should be provisioned on the nodes. ClusterWorkloads []RoverWorkload `mandatory:"false" json:"clusterWorkloads"` // Root password for the rover cluster. SuperUserPassword *string `mandatory:"false" json:"superUserPassword"` // Password to unlock the rover cluster. UnlockPassphrase *string `mandatory:"false" json:"unlockPassphrase"` // Name of point of contact for this order if customer is picking up. PointOfContact *string `mandatory:"false" json:"pointOfContact"` // Phone number of point of contact for this order if customer is picking up. PointOfContactPhoneNumber *string `mandatory:"false" json:"pointOfContactPhoneNumber"` // Preference for device delivery. ShippingPreference RoverClusterShippingPreferenceEnum `mandatory:"false" json:"shippingPreference,omitempty"` // Tracking Url for the shipped Rover Cluster. OracleShippingTrackingUrl *string `mandatory:"false" json:"oracleShippingTrackingUrl"` // Shipping vendor of choice for orace to customer shipping. ShippingVendor *string `mandatory:"false" json:"shippingVendor"` // Expected date when customer wants to pickup the device if they chose customer pickup. TimePickupExpected *common.SDKTime `mandatory:"false" json:"timePickupExpected"` // Start time for the window to pickup the device from customer. TimeReturnWindowStarts *common.SDKTime `mandatory:"false" json:"timeReturnWindowStarts"` // End time for the window to pickup the device from customer. TimeReturnWindowEnds *common.SDKTime `mandatory:"false" json:"timeReturnWindowEnds"` // Uri to download return shipping label. ReturnShippingLabelUri *string `mandatory:"false" json:"returnShippingLabelUri"` // The link to pre-authenticated request for a bucket where image workloads are moved. ImageExportPar *string `mandatory:"false" json:"imageExportPar"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m RoverCluster) String() string
RoverClusterCertificate The certificate response
type RoverClusterCertificate struct { // The certificate that can be installed on a client to do TLS communication to the cluster Certificate *string `mandatory:"true" json:"certificate"` }
func (m RoverClusterCertificate) String() string
RoverClusterClient a client for RoverCluster
type RoverClusterClient struct { common.BaseClient // contains filtered or unexported fields }
func NewRoverClusterClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client RoverClusterClient, err error)
NewRoverClusterClientWithConfigurationProvider Creates a new default RoverCluster client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewRoverClusterClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client RoverClusterClient, err error)
NewRoverClusterClientWithOboToken Creates a new default RoverCluster client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client RoverClusterClient) ChangeRoverClusterCompartment(ctx context.Context, request ChangeRoverClusterCompartmentRequest) (response ChangeRoverClusterCompartmentResponse, err error)
ChangeRoverClusterCompartment Moves a cluster into a different compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/ChangeRoverClusterCompartment.go.html to see an example of how to use ChangeRoverClusterCompartment API.
func (client *RoverClusterClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client RoverClusterClient) CreateRoverCluster(ctx context.Context, request CreateRoverClusterRequest) (response CreateRoverClusterResponse, err error)
CreateRoverCluster Creates a new RoverCluster.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/CreateRoverCluster.go.html to see an example of how to use CreateRoverCluster API.
func (client RoverClusterClient) DeleteRoverCluster(ctx context.Context, request DeleteRoverClusterRequest) (response DeleteRoverClusterResponse, err error)
DeleteRoverCluster Deletes a RoverCluster resource by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/DeleteRoverCluster.go.html to see an example of how to use DeleteRoverCluster API.
func (client RoverClusterClient) GetRoverCluster(ctx context.Context, request GetRoverClusterRequest) (response GetRoverClusterResponse, err error)
GetRoverCluster Gets a RoverCluster by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/GetRoverCluster.go.html to see an example of how to use GetRoverCluster API.
func (client RoverClusterClient) GetRoverClusterCertificate(ctx context.Context, request GetRoverClusterCertificateRequest) (response GetRoverClusterCertificateResponse, err error)
GetRoverClusterCertificate Get the certificate for a rover cluster
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/GetRoverClusterCertificate.go.html to see an example of how to use GetRoverClusterCertificate API.
func (client RoverClusterClient) ListRoverClusters(ctx context.Context, request ListRoverClustersRequest) (response ListRoverClustersResponse, err error)
ListRoverClusters Returns a list of RoverClusters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/ListRoverClusters.go.html to see an example of how to use ListRoverClusters API.
func (client *RoverClusterClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client RoverClusterClient) UpdateRoverCluster(ctx context.Context, request UpdateRoverClusterRequest) (response UpdateRoverClusterResponse, err error)
UpdateRoverCluster Updates the RoverCluster
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/UpdateRoverCluster.go.html to see an example of how to use UpdateRoverCluster API.
RoverClusterCollection Results of a roverCluster search. Contains both RoverClusterSummary items and other data.
type RoverClusterCollection struct { // List of roverClusterSummary. Items []RoverClusterSummary `mandatory:"true" json:"items"` }
func (m RoverClusterCollection) String() string
RoverClusterShippingPreferenceEnum Enum with underlying type: string
type RoverClusterShippingPreferenceEnum string
Set of constants representing the allowable values for RoverClusterShippingPreferenceEnum
const ( RoverClusterShippingPreferenceOracleShipped RoverClusterShippingPreferenceEnum = "ORACLE_SHIPPED" RoverClusterShippingPreferenceCustomerPickup RoverClusterShippingPreferenceEnum = "CUSTOMER_PICKUP" )
func GetRoverClusterShippingPreferenceEnumValues() []RoverClusterShippingPreferenceEnum
GetRoverClusterShippingPreferenceEnumValues Enumerates the set of values for RoverClusterShippingPreferenceEnum
RoverClusterSummary Summary of the RoverCluster.
type RoverClusterSummary struct { // The OCID of RoverCluster. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the RoverCluster. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of the RoverCluster. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the the RoverCluster was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The nodes that are part of this cluster. Nodes []string `mandatory:"false" json:"nodes"` // A property that can contain details on the lifecycle. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m RoverClusterSummary) String() string
RoverEntitlement Information about a RoverEntitlement.
type RoverEntitlement struct { // A property that can uniquely identify the rover entitlement. Id *string `mandatory:"true" json:"id"` // The compartment Id for the entitlement. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Requestor name for the entitlement. RequestorName *string `mandatory:"true" json:"requestorName"` // Requestor email for the entitlement. RequestorEmail *string `mandatory:"true" json:"requestorEmail"` // Lifecyclestate for the entitlement. LifecycleState RoverEntitlementLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // tenant Id. TenantId *string `mandatory:"false" json:"tenantId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Details about the entitlement. EntitlementDetails *string `mandatory:"false" json:"entitlementDetails"` // A property that can contain details on the lifecycle. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // Time of creation for the entitlement. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time when the entitlement was last updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m RoverEntitlement) String() string
RoverEntitlementClient a client for RoverEntitlement
type RoverEntitlementClient struct { common.BaseClient // contains filtered or unexported fields }
func NewRoverEntitlementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client RoverEntitlementClient, err error)
NewRoverEntitlementClientWithConfigurationProvider Creates a new default RoverEntitlement client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewRoverEntitlementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client RoverEntitlementClient, err error)
NewRoverEntitlementClientWithOboToken Creates a new default RoverEntitlement client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client RoverEntitlementClient) ChangeRoverEntitlementCompartment(ctx context.Context, request ChangeRoverEntitlementCompartmentRequest) (response ChangeRoverEntitlementCompartmentResponse, err error)
ChangeRoverEntitlementCompartment Moves an entitlement into a different compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/ChangeRoverEntitlementCompartment.go.html to see an example of how to use ChangeRoverEntitlementCompartment API.
func (client *RoverEntitlementClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client RoverEntitlementClient) CreateRoverEntitlement(ctx context.Context, request CreateRoverEntitlementRequest) (response CreateRoverEntitlementResponse, err error)
CreateRoverEntitlement Create the Entitlement to use a Rover Device. It requires some offline process of review and signatures before request is granted.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/CreateRoverEntitlement.go.html to see an example of how to use CreateRoverEntitlement API.
func (client RoverEntitlementClient) DeleteRoverEntitlement(ctx context.Context, request DeleteRoverEntitlementRequest) (response DeleteRoverEntitlementResponse, err error)
DeleteRoverEntitlement Deletes a rover entitlement
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/DeleteRoverEntitlement.go.html to see an example of how to use DeleteRoverEntitlement API.
func (client RoverEntitlementClient) GetRoverEntitlement(ctx context.Context, request GetRoverEntitlementRequest) (response GetRoverEntitlementResponse, err error)
GetRoverEntitlement Describes the Rover Device Entitlement in detail
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/GetRoverEntitlement.go.html to see an example of how to use GetRoverEntitlement API.
func (client RoverEntitlementClient) ListRoverEntitlements(ctx context.Context, request ListRoverEntitlementsRequest) (response ListRoverEntitlementsResponse, err error)
ListRoverEntitlements Returns a list of RoverEntitlements.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/ListRoverEntitlements.go.html to see an example of how to use ListRoverEntitlements API.
func (client *RoverEntitlementClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client RoverEntitlementClient) UpdateRoverEntitlement(ctx context.Context, request UpdateRoverEntitlementRequest) (response UpdateRoverEntitlementResponse, err error)
UpdateRoverEntitlement Updates the RoverEntitlement
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/UpdateRoverEntitlement.go.html to see an example of how to use UpdateRoverEntitlement API.
RoverEntitlementCollection Results of a roverEntitlement search. Contains RoverEntitlementSummary.
type RoverEntitlementCollection struct { // List of RoverEntitlementSummary. Items []RoverEntitlementSummary `mandatory:"true" json:"items"` }
func (m RoverEntitlementCollection) String() string
RoverEntitlementLifecycleStateEnum Enum with underlying type: string
type RoverEntitlementLifecycleStateEnum string
Set of constants representing the allowable values for RoverEntitlementLifecycleStateEnum
const ( RoverEntitlementLifecycleStateCreating RoverEntitlementLifecycleStateEnum = "CREATING" RoverEntitlementLifecycleStateActive RoverEntitlementLifecycleStateEnum = "ACTIVE" RoverEntitlementLifecycleStateInactive RoverEntitlementLifecycleStateEnum = "INACTIVE" RoverEntitlementLifecycleStateDeleted RoverEntitlementLifecycleStateEnum = "DELETED" )
func GetRoverEntitlementLifecycleStateEnumValues() []RoverEntitlementLifecycleStateEnum
GetRoverEntitlementLifecycleStateEnumValues Enumerates the set of values for RoverEntitlementLifecycleStateEnum
RoverEntitlementSummary Rover entitlement summary.
type RoverEntitlementSummary struct { // The compartment Id. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Lifecyclestate for the entitlement. LifecycleState RoverEntitlementLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Id of the entitlement. Id *string `mandatory:"false" json:"id"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Requestor name for the entitlement. RequestorName *string `mandatory:"false" json:"requestorName"` // Email id of the requestor for entitlement. RequestorEmail *string `mandatory:"false" json:"requestorEmail"` // A property that can contain details on the lifecycle. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m RoverEntitlementSummary) String() string
RoverNode Information about a RoverNode.
type RoverNode struct { // The OCID of RoverNode. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the RoverNode. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The current state of the RoverNode. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The cluster ID if the node is part of a cluster. ClusterId *string `mandatory:"false" json:"clusterId"` // The type of node indicating if it belongs to a cluster NodeType NodeTypeEnum `mandatory:"false" json:"nodeType,omitempty"` // The type of enclosure rover node is shipped in. EnclosureType EnclosureTypeEnum `mandatory:"false" json:"enclosureType,omitempty"` // Serial number of the node. SerialNumber *string `mandatory:"false" json:"serialNumber"` // The time the the RoverNode was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // A property that can contain details on the lifecycle. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` CustomerShippingAddress *ShippingAddress `mandatory:"false" json:"customerShippingAddress"` // List of existing workloads that should be provisioned on the node. NodeWorkloads []RoverWorkload `mandatory:"false" json:"nodeWorkloads"` // Date and time when customer received tne node. TimeCustomerReceieved *common.SDKTime `mandatory:"false" json:"timeCustomerReceieved"` // Date and time when customer returned the node. TimeCustomerReturned *common.SDKTime `mandatory:"false" json:"timeCustomerReturned"` // Tracking information for device shipping. DeliveryTrackingInfo *string `mandatory:"false" json:"deliveryTrackingInfo"` // Root password for the rover node. SuperUserPassword *string `mandatory:"false" json:"superUserPassword"` // Password to unlock the rover node. UnlockPassphrase *string `mandatory:"false" json:"unlockPassphrase"` // Name of point of contact for this order if customer is picking up. PointOfContact *string `mandatory:"false" json:"pointOfContact"` // Phone number of point of contact for this order if customer is picking up. PointOfContactPhoneNumber *string `mandatory:"false" json:"pointOfContactPhoneNumber"` // Preference for device delivery. ShippingPreference RoverNodeShippingPreferenceEnum `mandatory:"false" json:"shippingPreference,omitempty"` // Shipping vendor of choice for orace to customer shipping. ShippingVendor *string `mandatory:"false" json:"shippingVendor"` // Expected date when customer wants to pickup the device if they chose customer pickup. TimePickupExpected *common.SDKTime `mandatory:"false" json:"timePickupExpected"` // Start time for the window to pickup the device from customer. TimeReturnWindowStarts *common.SDKTime `mandatory:"false" json:"timeReturnWindowStarts"` // Tracking Url for the shipped RoverNode. OracleShippingTrackingUrl *string `mandatory:"false" json:"oracleShippingTrackingUrl"` // End time for the window to pickup the device from customer. TimeReturnWindowEnds *common.SDKTime `mandatory:"false" json:"timeReturnWindowEnds"` // Uri to download return shipping label. ReturnShippingLabelUri *string `mandatory:"false" json:"returnShippingLabelUri"` // The public key of the resource principal PublicKey *string `mandatory:"false" json:"publicKey"` // The link to pre-authenticated request for a bucket where image workloads are moved. ImageExportPar *string `mandatory:"false" json:"imageExportPar"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m RoverNode) String() string
RoverNodeActionSetKeyDetails The information required to update a rover node's set key details.
type RoverNodeActionSetKeyDetails struct { // The public key of the resource principal PublicKey *string `mandatory:"false" json:"publicKey"` }
func (m RoverNodeActionSetKeyDetails) String() string
RoverNodeActionSetKeyRequest wrapper for the RoverNodeActionSetKey operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/RoverNodeActionSetKey.go.html to see an example of how to use RoverNodeActionSetKeyRequest.
type RoverNodeActionSetKeyRequest struct { // Unique RoverNode identifier RoverNodeId *string `mandatory:"true" contributesTo:"path" name:"roverNodeId"` // The Java Web Token which is a signature of the request that is signed with the resource's private key // This is meant solely in the context of getRpt Jwt *string `mandatory:"true" contributesTo:"header" name:"jwt"` // The information to be updated. RoverNodeActionSetKeyDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RoverNodeActionSetKeyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RoverNodeActionSetKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RoverNodeActionSetKeyRequest) String() string
RoverNodeActionSetKeyResponse wrapper for the RoverNodeActionSetKey operation
type RoverNodeActionSetKeyResponse struct { // The underlying http response RawResponse *http.Response // The RoverNodeSetKey instance RoverNodeSetKey `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response RoverNodeActionSetKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RoverNodeActionSetKeyResponse) String() string
RoverNodeCertificate The certificate response
type RoverNodeCertificate struct { // The certificate that can be installed on a client to do TLS communication to the node Certificate *string `mandatory:"true" json:"certificate"` }
func (m RoverNodeCertificate) String() string
RoverNodeClient a client for RoverNode
type RoverNodeClient struct { common.BaseClient // contains filtered or unexported fields }
func NewRoverNodeClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client RoverNodeClient, err error)
NewRoverNodeClientWithConfigurationProvider Creates a new default RoverNode client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewRoverNodeClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client RoverNodeClient, err error)
NewRoverNodeClientWithOboToken Creates a new default RoverNode client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client RoverNodeClient) ChangeRoverNodeCompartment(ctx context.Context, request ChangeRoverNodeCompartmentRequest) (response ChangeRoverNodeCompartmentResponse, err error)
ChangeRoverNodeCompartment Moves a rover node into a different compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/ChangeRoverNodeCompartment.go.html to see an example of how to use ChangeRoverNodeCompartment API.
func (client *RoverNodeClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client RoverNodeClient) CreateRoverNode(ctx context.Context, request CreateRoverNodeRequest) (response CreateRoverNodeResponse, err error)
CreateRoverNode Creates a new RoverNode.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/CreateRoverNode.go.html to see an example of how to use CreateRoverNode API.
func (client RoverNodeClient) DeleteRoverNode(ctx context.Context, request DeleteRoverNodeRequest) (response DeleteRoverNodeResponse, err error)
DeleteRoverNode Deletes a RoverNode resource by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/DeleteRoverNode.go.html to see an example of how to use DeleteRoverNode API.
func (client RoverNodeClient) GetRoverNode(ctx context.Context, request GetRoverNodeRequest) (response GetRoverNodeResponse, err error)
GetRoverNode Gets a RoverNode by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/GetRoverNode.go.html to see an example of how to use GetRoverNode API.
func (client RoverNodeClient) GetRoverNodeCertificate(ctx context.Context, request GetRoverNodeCertificateRequest) (response GetRoverNodeCertificateResponse, err error)
GetRoverNodeCertificate Get the certificate for a rover node
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/GetRoverNodeCertificate.go.html to see an example of how to use GetRoverNodeCertificate API.
func (client RoverNodeClient) GetRoverNodeEncryptionKey(ctx context.Context, request GetRoverNodeEncryptionKeyRequest) (response GetRoverNodeEncryptionKeyResponse, err error)
GetRoverNodeEncryptionKey Get the data encryption key for a rover node.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/GetRoverNodeEncryptionKey.go.html to see an example of how to use GetRoverNodeEncryptionKey API.
func (client RoverNodeClient) GetRoverNodeGetRpt(ctx context.Context, request GetRoverNodeGetRptRequest) (response GetRoverNodeGetRptResponse, err error)
GetRoverNodeGetRpt Get the resource principal token for a rover node
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/GetRoverNodeGetRpt.go.html to see an example of how to use GetRoverNodeGetRpt API.
func (client RoverNodeClient) ListRoverNodes(ctx context.Context, request ListRoverNodesRequest) (response ListRoverNodesResponse, err error)
ListRoverNodes Returns a list of RoverNodes.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/ListRoverNodes.go.html to see an example of how to use ListRoverNodes API.
func (client RoverNodeClient) RoverNodeActionSetKey(ctx context.Context, request RoverNodeActionSetKeyRequest) (response RoverNodeActionSetKeyResponse, err error)
RoverNodeActionSetKey Get the resource principal public key for a rover node
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/RoverNodeActionSetKey.go.html to see an example of how to use RoverNodeActionSetKey API.
func (client *RoverNodeClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client RoverNodeClient) UpdateRoverNode(ctx context.Context, request UpdateRoverNodeRequest) (response UpdateRoverNodeResponse, err error)
UpdateRoverNode Updates the RoverNode
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/UpdateRoverNode.go.html to see an example of how to use UpdateRoverNode API.
RoverNodeCollection Results of a roverNode search. Contains both RoverNodeSummary items and other data.
type RoverNodeCollection struct { // List of roverNodes. Items []RoverNodeSummary `mandatory:"true" json:"items"` }
func (m RoverNodeCollection) String() string
RoverNodeEncryptionKey The response containing encryption key for a rover node.
type RoverNodeEncryptionKey struct { // The encryption key key for a rover node. EncryptionKey *string `mandatory:"true" json:"encryptionKey"` }
func (m RoverNodeEncryptionKey) String() string
RoverNodeGetRpt The resource principal token response.
type RoverNodeGetRpt struct { // The resource principal token blob that contains claims about the resource. ResourcePrincipalToken *string `mandatory:"true" json:"resourcePrincipalToken"` // The service principal session token ServicePrincipalSessionToken *string `mandatory:"false" json:"servicePrincipalSessionToken"` }
func (m RoverNodeGetRpt) String() string
RoverNodeSetKey Information about the success of setting a rover node's resource principal public key.
type RoverNodeSetKey struct { // Whether the node's resource principal public key was set correctly IsSuccessful *bool `mandatory:"true" json:"isSuccessful"` }
func (m RoverNodeSetKey) String() string
RoverNodeShippingPreferenceEnum Enum with underlying type: string
type RoverNodeShippingPreferenceEnum string
Set of constants representing the allowable values for RoverNodeShippingPreferenceEnum
const ( RoverNodeShippingPreferenceOracleShipped RoverNodeShippingPreferenceEnum = "ORACLE_SHIPPED" RoverNodeShippingPreferenceCustomerPickup RoverNodeShippingPreferenceEnum = "CUSTOMER_PICKUP" )
func GetRoverNodeShippingPreferenceEnumValues() []RoverNodeShippingPreferenceEnum
GetRoverNodeShippingPreferenceEnumValues Enumerates the set of values for RoverNodeShippingPreferenceEnum
RoverNodeSummary Summary of the RoverNode.
type RoverNodeSummary struct { // The OCID of the RoverNode. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the RoverNode. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of the RoverNode. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The cluster ID if the node is part of a cluster. ClusterId *string `mandatory:"false" json:"clusterId"` // Serial number of the node. SerialNumber *string `mandatory:"false" json:"serialNumber"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the the RoverNode was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // A property that can contain details on the lifecycle. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m RoverNodeSummary) String() string
RoverWorkload Information about a RoverWorkload.
type RoverWorkload struct { // The OCID of the compartment containing the workload. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The Unique Oracle ID (OCID) that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The type of workload WorkloadType *string `mandatory:"true" json:"workloadType"` // Name of the Rover Workload Name *string `mandatory:"false" json:"name"` // Size of the workload. Size *string `mandatory:"false" json:"size"` // Number of objects in a workload. ObjectCount *string `mandatory:"false" json:"objectCount"` // Prefix to filter objects in case it is a bucket. Prefix *string `mandatory:"false" json:"prefix"` // Start of the range in a bucket. RangeStart *string `mandatory:"false" json:"rangeStart"` // End of the range in a bucket. RangeEnd *string `mandatory:"false" json:"rangeEnd"` // The compute work request id to track progress of custom image exports. WorkRequestId *string `mandatory:"false" json:"workRequestId"` }
func (m RoverWorkload) String() string
ShippingAddress Shipping address for rover devices.
type ShippingAddress struct { // Addressee in shipping address. Addressee *string `mandatory:"true" json:"addressee"` // Address line 1. Address1 *string `mandatory:"true" json:"address1"` // city or locality for shipping address. CityOrLocality *string `mandatory:"true" json:"cityOrLocality"` // state or region for shipping address. StateOrRegion *string `mandatory:"true" json:"stateOrRegion"` // zipcode for shipping address. Zipcode *string `mandatory:"true" json:"zipcode"` // country for shipping address. Country *string `mandatory:"true" json:"country"` // recepient phone number. PhoneNumber *string `mandatory:"true" json:"phoneNumber"` // CareOf for shipping address. CareOf *string `mandatory:"false" json:"careOf"` // Address line 2. Address2 *string `mandatory:"false" json:"address2"` // Address line 3. Address3 *string `mandatory:"false" json:"address3"` // Address line 4. Address4 *string `mandatory:"false" json:"address4"` // recepient email address. Email *string `mandatory:"false" json:"email"` }
func (m ShippingAddress) String() string
SortOrdersEnum Enum with underlying type: string
type SortOrdersEnum string
Set of constants representing the allowable values for SortOrdersEnum
const ( SortOrdersAsc SortOrdersEnum = "ASC" SortOrdersDesc SortOrdersEnum = "DESC" )
func GetSortOrdersEnumValues() []SortOrdersEnum
GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum
UpdateRoverClusterDetails The information required to update a RoverCluster.
type UpdateRoverClusterDetails struct { // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Number of nodes desired in the cluster, between 5 and 15. ClusterSize *int `mandatory:"false" json:"clusterSize"` CustomerShippingAddress *ShippingAddress `mandatory:"false" json:"customerShippingAddress"` // List of existing workloads that should be provisioned on the nodes. ClusterWorkloads []RoverWorkload `mandatory:"false" json:"clusterWorkloads"` // Root password for the rover cluster. SuperUserPassword *string `mandatory:"false" json:"superUserPassword"` // The current state of the RoverCluster. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A property that can contain details on the lifecycle. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // Password to unlock the rover cluster. UnlockPassphrase *string `mandatory:"false" json:"unlockPassphrase"` // The type of enclosure rover nodes in this cluster are shipped in. EnclosureType EnclosureTypeEnum `mandatory:"false" json:"enclosureType,omitempty"` // Name of point of contact for this order if customer is picking up. PointOfContact *string `mandatory:"false" json:"pointOfContact"` // Phone number of point of contact for this order if customer is picking up. PointOfContactPhoneNumber *string `mandatory:"false" json:"pointOfContactPhoneNumber"` // Preference for device delivery. ShippingPreference UpdateRoverClusterDetailsShippingPreferenceEnum `mandatory:"false" json:"shippingPreference,omitempty"` // Tracking Url for the shipped Rover Cluster. OracleShippingTrackingUrl *string `mandatory:"false" json:"oracleShippingTrackingUrl"` // Shipping vendor of choice for orace to customer shipping. ShippingVendor *string `mandatory:"false" json:"shippingVendor"` // Expected date when customer wants to pickup the device if they chose customer pickup. TimePickupExpected *common.SDKTime `mandatory:"false" json:"timePickupExpected"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m UpdateRoverClusterDetails) String() string
UpdateRoverClusterDetailsShippingPreferenceEnum Enum with underlying type: string
type UpdateRoverClusterDetailsShippingPreferenceEnum string
Set of constants representing the allowable values for UpdateRoverClusterDetailsShippingPreferenceEnum
const ( UpdateRoverClusterDetailsShippingPreferenceOracleShipped UpdateRoverClusterDetailsShippingPreferenceEnum = "ORACLE_SHIPPED" UpdateRoverClusterDetailsShippingPreferenceCustomerPickup UpdateRoverClusterDetailsShippingPreferenceEnum = "CUSTOMER_PICKUP" )
func GetUpdateRoverClusterDetailsShippingPreferenceEnumValues() []UpdateRoverClusterDetailsShippingPreferenceEnum
GetUpdateRoverClusterDetailsShippingPreferenceEnumValues Enumerates the set of values for UpdateRoverClusterDetailsShippingPreferenceEnum
UpdateRoverClusterRequest wrapper for the UpdateRoverCluster operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/UpdateRoverCluster.go.html to see an example of how to use UpdateRoverClusterRequest.
type UpdateRoverClusterRequest struct { // Unique RoverCluster identifier RoverClusterId *string `mandatory:"true" contributesTo:"path" name:"roverClusterId"` // The information to be updated. UpdateRoverClusterDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateRoverClusterRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateRoverClusterRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateRoverClusterRequest) String() string
UpdateRoverClusterResponse wrapper for the UpdateRoverCluster operation
type UpdateRoverClusterResponse struct { // The underlying http response RawResponse *http.Response // The RoverCluster instance RoverCluster `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateRoverClusterResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateRoverClusterResponse) String() string
UpdateRoverEntitlementDetails Information required to update a RoverEntitlement.
type UpdateRoverEntitlementDetails struct { // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // tenant Id. TenantId *string `mandatory:"false" json:"tenantId"` // Requestor name for the entitlement. RequestorName *string `mandatory:"false" json:"requestorName"` // Requestor email for the entitlement. RequestorEmail *string `mandatory:"false" json:"requestorEmail"` // Details about the entitlement. EntitlementDetails *string `mandatory:"false" json:"entitlementDetails"` // The current state of the RoverNode. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A property that can contain details on the lifecycle. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m UpdateRoverEntitlementDetails) String() string
UpdateRoverEntitlementRequest wrapper for the UpdateRoverEntitlement operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/UpdateRoverEntitlement.go.html to see an example of how to use UpdateRoverEntitlementRequest.
type UpdateRoverEntitlementRequest struct { // ID of the rover node or cluster entitlement RoverEntitlementId *string `mandatory:"true" contributesTo:"path" name:"roverEntitlementId"` // The information to be updated. UpdateRoverEntitlementDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateRoverEntitlementRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateRoverEntitlementRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateRoverEntitlementRequest) String() string
UpdateRoverEntitlementResponse wrapper for the UpdateRoverEntitlement operation
type UpdateRoverEntitlementResponse struct { // The underlying http response RawResponse *http.Response // The RoverEntitlement instance RoverEntitlement `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateRoverEntitlementResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateRoverEntitlementResponse) String() string
UpdateRoverNodeDetails The information required to update a RoverNode.
type UpdateRoverNodeDetails struct { // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Serial number of the node. SerialNumber *string `mandatory:"false" json:"serialNumber"` CustomerShippingAddress *ShippingAddress `mandatory:"false" json:"customerShippingAddress"` // List of existing workloads that should be provisioned on the node. NodeWorkloads []RoverWorkload `mandatory:"false" json:"nodeWorkloads"` // Root password for the rover node. SuperUserPassword *string `mandatory:"false" json:"superUserPassword"` // Password to unlock the rover node. UnlockPassphrase *string `mandatory:"false" json:"unlockPassphrase"` // Name of point of contact for this order if customer is picking up. PointOfContact *string `mandatory:"false" json:"pointOfContact"` // Phone number of point of contact for this order if customer is picking up. PointOfContactPhoneNumber *string `mandatory:"false" json:"pointOfContactPhoneNumber"` // Tracking Url for the shipped FmsRoverNode. OracleShippingTrackingUrl *string `mandatory:"false" json:"oracleShippingTrackingUrl"` // Preference for device delivery. ShippingPreference UpdateRoverNodeDetailsShippingPreferenceEnum `mandatory:"false" json:"shippingPreference,omitempty"` // Shipping vendor of choice for orace to customer shipping. ShippingVendor *string `mandatory:"false" json:"shippingVendor"` // Expected date when customer wants to pickup the device if they chose customer pickup. TimePickupExpected *common.SDKTime `mandatory:"false" json:"timePickupExpected"` // The current state of the RoverNode. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The type of enclosure rover nodes in this cluster are shipped in. EnclosureType EnclosureTypeEnum `mandatory:"false" json:"enclosureType,omitempty"` // A property that can contain details on the lifecycle. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // Start time for the window to pickup the device from customer. TimeReturnWindowStarts *common.SDKTime `mandatory:"false" json:"timeReturnWindowStarts"` // End time for the window to pickup the device from customer. TimeReturnWindowEnds *common.SDKTime `mandatory:"false" json:"timeReturnWindowEnds"` // The public key of the resource principal PublicKey *string `mandatory:"false" json:"publicKey"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m UpdateRoverNodeDetails) String() string
UpdateRoverNodeDetailsShippingPreferenceEnum Enum with underlying type: string
type UpdateRoverNodeDetailsShippingPreferenceEnum string
Set of constants representing the allowable values for UpdateRoverNodeDetailsShippingPreferenceEnum
const ( UpdateRoverNodeDetailsShippingPreferenceOracleShipped UpdateRoverNodeDetailsShippingPreferenceEnum = "ORACLE_SHIPPED" UpdateRoverNodeDetailsShippingPreferenceCustomerPickup UpdateRoverNodeDetailsShippingPreferenceEnum = "CUSTOMER_PICKUP" )
func GetUpdateRoverNodeDetailsShippingPreferenceEnumValues() []UpdateRoverNodeDetailsShippingPreferenceEnum
GetUpdateRoverNodeDetailsShippingPreferenceEnumValues Enumerates the set of values for UpdateRoverNodeDetailsShippingPreferenceEnum
UpdateRoverNodeRequest wrapper for the UpdateRoverNode operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/rover/UpdateRoverNode.go.html to see an example of how to use UpdateRoverNodeRequest.
type UpdateRoverNodeRequest struct { // Unique RoverNode identifier RoverNodeId *string `mandatory:"true" contributesTo:"path" name:"roverNodeId"` // The information to be updated. UpdateRoverNodeDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateRoverNodeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateRoverNodeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateRoverNodeRequest) String() string
UpdateRoverNodeResponse wrapper for the UpdateRoverNode operation
type UpdateRoverNodeResponse struct { // The underlying http response RawResponse *http.Response // The RoverNode instance RoverNode `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateRoverNodeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateRoverNodeResponse) String() string