func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetCreateLustreFileSystemDetailsPerformanceTierEnumStringValues() []string
GetCreateLustreFileSystemDetailsPerformanceTierEnumStringValues Enumerates the set of values in String for CreateLustreFileSystemDetailsPerformanceTierEnum
func GetListLustreFileSystemsSortByEnumStringValues() []string
GetListLustreFileSystemsSortByEnumStringValues Enumerates the set of values in String for ListLustreFileSystemsSortByEnum
func GetListLustreFileSystemsSortOrderEnumStringValues() []string
GetListLustreFileSystemsSortOrderEnumStringValues Enumerates the set of values in String for ListLustreFileSystemsSortOrderEnum
func GetListObjectStorageLinksSortByEnumStringValues() []string
GetListObjectStorageLinksSortByEnumStringValues Enumerates the set of values in String for ListObjectStorageLinksSortByEnum
func GetListObjectStorageLinksSortOrderEnumStringValues() []string
GetListObjectStorageLinksSortOrderEnumStringValues Enumerates the set of values in String for ListObjectStorageLinksSortOrderEnum
func GetListSyncJobsSortByEnumStringValues() []string
GetListSyncJobsSortByEnumStringValues Enumerates the set of values in String for ListSyncJobsSortByEnum
func GetListSyncJobsSortOrderEnumStringValues() []string
GetListSyncJobsSortOrderEnumStringValues Enumerates the set of values in String for ListSyncJobsSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetLustreFileSystemLifecycleStateEnumStringValues() []string
GetLustreFileSystemLifecycleStateEnumStringValues Enumerates the set of values in String for LustreFileSystemLifecycleStateEnum
func GetLustreFileSystemPerformanceTierEnumStringValues() []string
GetLustreFileSystemPerformanceTierEnumStringValues Enumerates the set of values in String for LustreFileSystemPerformanceTierEnum
func GetLustreFileSystemSummaryPerformanceTierEnumStringValues() []string
GetLustreFileSystemSummaryPerformanceTierEnumStringValues Enumerates the set of values in String for LustreFileSystemSummaryPerformanceTierEnum
func GetMaintenanceWindowDayOfWeekEnumStringValues() []string
GetMaintenanceWindowDayOfWeekEnumStringValues Enumerates the set of values in String for MaintenanceWindowDayOfWeekEnum
func GetObjectStorageLinkLifecycleStateEnumStringValues() []string
GetObjectStorageLinkLifecycleStateEnumStringValues Enumerates the set of values in String for ObjectStorageLinkLifecycleStateEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetRootSquashConfigurationIdentitySquashEnumStringValues() []string
GetRootSquashConfigurationIdentitySquashEnumStringValues Enumerates the set of values in String for RootSquashConfigurationIdentitySquashEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetSyncJobJobTypeEnumStringValues() []string
GetSyncJobJobTypeEnumStringValues Enumerates the set of values in String for SyncJobJobTypeEnum
func GetSyncJobLifecycleStateEnumStringValues() []string
GetSyncJobLifecycleStateEnumStringValues Enumerates the set of values in String for SyncJobLifecycleStateEnum
func GetSyncJobSummaryJobTypeEnumStringValues() []string
GetSyncJobSummaryJobTypeEnumStringValues Enumerates the set of values in String for SyncJobSummaryJobTypeEnum
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const (
ActionTypeCreated ActionTypeEnum = "CREATED"
ActionTypeUpdated ActionTypeEnum = "UPDATED"
ActionTypeDeleted ActionTypeEnum = "DELETED"
ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
ActionTypeRelated ActionTypeEnum = "RELATED"
ActionTypeFailed ActionTypeEnum = "FAILED"
)
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
type CancelWorkRequestRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// 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"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelWorkRequestRequest) String() string
func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
type CancelWorkRequestResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelWorkRequestResponse) String() string
ChangeLustreFileSystemCompartmentDetails The configuration details for the move operation.
type ChangeLustreFileSystemCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Lustre file system to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeLustreFileSystemCompartmentDetails) String() string
func (m ChangeLustreFileSystemCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeLustreFileSystemCompartmentRequest wrapper for the ChangeLustreFileSystemCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeLustreFileSystemCompartment.go.html to see an example of how to use ChangeLustreFileSystemCompartmentRequest.
type ChangeLustreFileSystemCompartmentRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system.
LustreFileSystemId *string `mandatory:"true" contributesTo:"path" name:"lustreFileSystemId"`
// The information to be updated.
ChangeLustreFileSystemCompartmentDetails `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"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 ChangeLustreFileSystemCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeLustreFileSystemCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeLustreFileSystemCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeLustreFileSystemCompartmentRequest) String() string
func (request ChangeLustreFileSystemCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeLustreFileSystemCompartmentResponse wrapper for the ChangeLustreFileSystemCompartment operation
type ChangeLustreFileSystemCompartmentResponse struct {
// The underlying http response
RawResponse *http.Response
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
// Use GetWorkRequest with this ID to track the status of the request.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response ChangeLustreFileSystemCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeLustreFileSystemCompartmentResponse) String() string
ChangeObjectStorageLinkCompartmentDetails The configuration details for the move operation.
type ChangeObjectStorageLinkCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Object Storage link to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeObjectStorageLinkCompartmentDetails) String() string
func (m ChangeObjectStorageLinkCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeObjectStorageLinkCompartmentRequest wrapper for the ChangeObjectStorageLinkCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeObjectStorageLinkCompartment.go.html to see an example of how to use ChangeObjectStorageLinkCompartmentRequest.
type ChangeObjectStorageLinkCompartmentRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link.
ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"`
// The information to be updated.
ChangeObjectStorageLinkCompartmentDetails `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"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 running 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 removed 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 ChangeObjectStorageLinkCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeObjectStorageLinkCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeObjectStorageLinkCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeObjectStorageLinkCompartmentRequest) String() string
func (request ChangeObjectStorageLinkCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeObjectStorageLinkCompartmentResponse wrapper for the ChangeObjectStorageLinkCompartment operation
type ChangeObjectStorageLinkCompartmentResponse struct {
// The underlying http response
RawResponse *http.Response
// The ObjectStorageLink instance
ObjectStorageLink `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 ChangeObjectStorageLinkCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeObjectStorageLinkCompartmentResponse) String() string
ClusterPlacementGroup Cluster Placement Groups lets you create resources in close proximity to one another to support low-latency networking use cases.
type ClusterPlacementGroup struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system.
Id *string `mandatory:"false" json:"id"`
}
func (m ClusterPlacementGroup) String() string
func (m ClusterPlacementGroup) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateLustreFileSystemDetails The details to create a Lustre file system.
type CreateLustreFileSystemDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Lustre file system.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The availability domain the file system is in. May be unset
// as a blank or NULL value.
// Example: `Uocm:PHX-AD-1`
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
// The Lustre file system name. This is used in mount commands and other aspects of the client command line interface.
// The file system name is limited to 8 characters. Allowed characters are lower and upper case English letters, numbers, and '_'.
// If you have multiple Lustre file systems mounted on the same clients, this name can help distinguish them.
FileSystemName *string `mandatory:"true" json:"fileSystemName"`
// Capacity of the Lustre file system in GB. You can increase capacity only in multiples of 5 TB.
CapacityInGBs *int `mandatory:"true" json:"capacityInGBs"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the Lustre file system is in.
SubnetId *string `mandatory:"true" json:"subnetId"`
// The Lustre file system performance tier. A value of `MBPS_PER_TB_125` represents 125 megabytes per second per terabyte.
PerformanceTier CreateLustreFileSystemDetailsPerformanceTierEnum `mandatory:"true" json:"performanceTier"`
RootSquashConfiguration *RootSquashConfiguration `mandatory:"true" json:"rootSquashConfiguration"`
// A user-friendly name. It does not have to be unique, and it is changeable.
// Avoid entering confidential information.
// Example: `My Lustre file system`
DisplayName *string `mandatory:"false" json:"displayName"`
// Short description of the Lustre file system.
// Avoid entering confidential information.
FileSystemDescription *string `mandatory:"false" json:"fileSystemDescription"`
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Department": "Finance"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this lustre file system.
// A maximum of 5 is allowed.
// Setting this to an empty array after the list is created removes the lustre file system from all NSGs.
// For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm).
NsgIds []string `mandatory:"false" json:"nsgIds"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key used to encrypt the encryption keys associated with this file system.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group in which the Lustre file system exists.
ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`
}
func (m CreateLustreFileSystemDetails) String() string
func (m CreateLustreFileSystemDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateLustreFileSystemDetailsPerformanceTierEnum Enum with underlying type: string
type CreateLustreFileSystemDetailsPerformanceTierEnum string
Set of constants representing the allowable values for CreateLustreFileSystemDetailsPerformanceTierEnum
const (
CreateLustreFileSystemDetailsPerformanceTier125 CreateLustreFileSystemDetailsPerformanceTierEnum = "MBPS_PER_TB_125"
CreateLustreFileSystemDetailsPerformanceTier250 CreateLustreFileSystemDetailsPerformanceTierEnum = "MBPS_PER_TB_250"
CreateLustreFileSystemDetailsPerformanceTier500 CreateLustreFileSystemDetailsPerformanceTierEnum = "MBPS_PER_TB_500"
CreateLustreFileSystemDetailsPerformanceTier1000 CreateLustreFileSystemDetailsPerformanceTierEnum = "MBPS_PER_TB_1000"
)
func GetCreateLustreFileSystemDetailsPerformanceTierEnumValues() []CreateLustreFileSystemDetailsPerformanceTierEnum
GetCreateLustreFileSystemDetailsPerformanceTierEnumValues Enumerates the set of values for CreateLustreFileSystemDetailsPerformanceTierEnum
func GetMappingCreateLustreFileSystemDetailsPerformanceTierEnum(val string) (CreateLustreFileSystemDetailsPerformanceTierEnum, bool)
GetMappingCreateLustreFileSystemDetailsPerformanceTierEnum performs case Insensitive comparison on enum value and return the desired enum
CreateLustreFileSystemRequest wrapper for the CreateLustreFileSystem operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateLustreFileSystem.go.html to see an example of how to use CreateLustreFileSystemRequest.
type CreateLustreFileSystemRequest struct {
// Details for the new Lustre file system.
CreateLustreFileSystemDetails `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 running 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 removed from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 CreateLustreFileSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateLustreFileSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateLustreFileSystemRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateLustreFileSystemRequest) String() string
func (request CreateLustreFileSystemRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateLustreFileSystemResponse wrapper for the CreateLustreFileSystem operation
type CreateLustreFileSystemResponse struct {
// The underlying http response
RawResponse *http.Response
// The LustreFileSystem instance
LustreFileSystem `presentIn:"body"`
// URL for the created Lustre file system. The lustreFileSystem OCID is generated after this request is sent.
Location *string `presentIn:"header" name:"location"`
// Same as location.
ContentLocation *string `presentIn:"header" name:"content-location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
// Use GetWorkRequest with this ID to track the status of the request.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response CreateLustreFileSystemResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateLustreFileSystemResponse) String() string
CreateObjectStorageLinkDetails The details to create a Object Storage link.
type CreateObjectStorageLinkDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Object Storage link.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The availability domain that the Lustre file system is in. May be unset
// as a blank or NULL value.
// Example: `Uocm:PHX-AD-1`
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated Lustre file system.
LustreFileSystemId *string `mandatory:"true" json:"lustreFileSystemId"`
// The path in the Lustre file system used for this Object Storage link.
// Example: `myFileSystem/mount/myDirectory`
FileSystemPath *string `mandatory:"true" json:"fileSystemPath"`
// The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports.
// Example: `objectStorageNamespace:/bucketName/optionalFolder/optionalPrefix`
ObjectStoragePrefix *string `mandatory:"true" json:"objectStoragePrefix"`
// The flag is an identifier to tell whether the job run has overwrite enabled.
// If `isOverwrite` is false, the file to be imported or exported will be skipped if it already exists.
// If `isOverwrite` is true, the file to be imported or exported will be overwritten if it already exists.
IsOverwrite *bool `mandatory:"true" json:"isOverwrite"`
// A user-friendly name. It does not have to be unique, and it is changeable.
// Avoid entering confidential information.
// Example: `My Object Storage Link`
DisplayName *string `mandatory:"false" json:"displayName"`
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Department": "Finance"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateObjectStorageLinkDetails) String() string
func (m CreateObjectStorageLinkDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateObjectStorageLinkRequest wrapper for the CreateObjectStorageLink operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateObjectStorageLink.go.html to see an example of how to use CreateObjectStorageLinkRequest.
type CreateObjectStorageLinkRequest struct {
// Details for the new Object Storage link.
CreateObjectStorageLinkDetails `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 running 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 removed from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 CreateObjectStorageLinkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateObjectStorageLinkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateObjectStorageLinkRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateObjectStorageLinkRequest) String() string
func (request CreateObjectStorageLinkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateObjectStorageLinkResponse wrapper for the CreateObjectStorageLink operation
type CreateObjectStorageLinkResponse struct {
// The underlying http response
RawResponse *http.Response
// The ObjectStorageLink instance
ObjectStorageLink `presentIn:"body"`
// URL for the created Object Storage link. The Object Storage link OCID is generated after this request is sent.
Location *string `presentIn:"header" name:"location"`
// Same as location.
ContentLocation *string `presentIn:"header" name:"content-location"`
// 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 CreateObjectStorageLinkResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateObjectStorageLinkResponse) String() string
DeleteLustreFileSystemRequest wrapper for the DeleteLustreFileSystem operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteLustreFileSystem.go.html to see an example of how to use DeleteLustreFileSystemRequest.
type DeleteLustreFileSystemRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system.
LustreFileSystemId *string `mandatory:"true" contributesTo:"path" name:"lustreFileSystemId"`
// 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"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 DeleteLustreFileSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteLustreFileSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteLustreFileSystemRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteLustreFileSystemRequest) String() string
func (request DeleteLustreFileSystemRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteLustreFileSystemResponse wrapper for the DeleteLustreFileSystem operation
type DeleteLustreFileSystemResponse struct {
// The underlying http response
RawResponse *http.Response
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
// Use GetWorkRequest with this ID to track the status of the request.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response DeleteLustreFileSystemResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteLustreFileSystemResponse) String() string
DeleteObjectStorageLinkRequest wrapper for the DeleteObjectStorageLink operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteObjectStorageLink.go.html to see an example of how to use DeleteObjectStorageLinkRequest.
type DeleteObjectStorageLinkRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link.
ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"`
// 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"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 DeleteObjectStorageLinkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteObjectStorageLinkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteObjectStorageLinkRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteObjectStorageLinkRequest) String() string
func (request DeleteObjectStorageLinkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteObjectStorageLinkResponse wrapper for the DeleteObjectStorageLink operation
type DeleteObjectStorageLinkResponse 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"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
// Use GetWorkRequest with this ID to track the status of the request.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}
func (response DeleteObjectStorageLinkResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteObjectStorageLinkResponse) String() string
GetLustreFileSystemRequest wrapper for the GetLustreFileSystem operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetLustreFileSystem.go.html to see an example of how to use GetLustreFileSystemRequest.
type GetLustreFileSystemRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system.
LustreFileSystemId *string `mandatory:"true" contributesTo:"path" name:"lustreFileSystemId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 GetLustreFileSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetLustreFileSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetLustreFileSystemRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetLustreFileSystemRequest) String() string
func (request GetLustreFileSystemRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetLustreFileSystemResponse wrapper for the GetLustreFileSystem operation
type GetLustreFileSystemResponse struct {
// The underlying http response
RawResponse *http.Response
// The LustreFileSystem instance
LustreFileSystem `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 GetLustreFileSystemResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetLustreFileSystemResponse) String() string
GetObjectStorageLinkRequest wrapper for the GetObjectStorageLink operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetObjectStorageLink.go.html to see an example of how to use GetObjectStorageLinkRequest.
type GetObjectStorageLinkRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link.
ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 GetObjectStorageLinkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetObjectStorageLinkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetObjectStorageLinkRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetObjectStorageLinkRequest) String() string
func (request GetObjectStorageLinkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetObjectStorageLinkResponse wrapper for the GetObjectStorageLink operation
type GetObjectStorageLinkResponse struct {
// The underlying http response
RawResponse *http.Response
// The ObjectStorageLink instance
ObjectStorageLink `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 GetObjectStorageLinkResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetObjectStorageLinkResponse) String() string
GetSyncJobRequest wrapper for the GetSyncJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetSyncJob.go.html to see an example of how to use GetSyncJobRequest.
type GetSyncJobRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link.
ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the sync job.
SyncJobId *string `mandatory:"true" contributesTo:"path" name:"syncJobId"`
// 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"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 GetSyncJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSyncJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSyncJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSyncJobRequest) String() string
func (request GetSyncJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetSyncJobResponse wrapper for the GetSyncJob operation
type GetSyncJobResponse struct {
// The underlying http response
RawResponse *http.Response
// The SyncJob instance
SyncJob `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 GetSyncJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSyncJobResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct {
// The underlying http response
RawResponse *http.Response
// The WorkRequest instance
WorkRequest `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// A decimal number representing the number of seconds the client should wait before polling this endpoint again.
RetryAfter *int `presentIn:"header" name:"retry-after"`
}
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
ListLustreFileSystemsRequest wrapper for the ListLustreFileSystems operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListLustreFileSystems.go.html to see an example of how to use ListLustreFileSystemsRequest.
type ListLustreFileSystemsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// The name of the availability domain.
// Example: `Uocm:PHX-AD-1`
AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`
// A filter to return only resources that match the given lifecycle state. The
// state value is case-insensitive.
LifecycleState LustreFileSystemLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// A filter to return only resources that match the given display name exactly.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system.
Id *string `mandatory:"false" contributesTo:"query" name:"id"`
// For list pagination. The maximum number of results per page, or items to return in a
// paginated "List" call. For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the opc-next-page response header from the previous
// "List" call. For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListLustreFileSystemsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. You can provide only one sort order. Default order for `timeCreated`
// is descending. Default order for `displayName` is ascending.
SortBy ListLustreFileSystemsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 ListLustreFileSystemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListLustreFileSystemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListLustreFileSystemsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListLustreFileSystemsRequest) String() string
func (request ListLustreFileSystemsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListLustreFileSystemsResponse wrapper for the ListLustreFileSystems operation
type ListLustreFileSystemsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of LustreFileSystemCollection instances
LustreFileSystemCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For list pagination. When this header appears in the response, additional pages of results remain. For
// important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListLustreFileSystemsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListLustreFileSystemsResponse) String() string
ListLustreFileSystemsSortByEnum Enum with underlying type: string
type ListLustreFileSystemsSortByEnum string
Set of constants representing the allowable values for ListLustreFileSystemsSortByEnum
const (
ListLustreFileSystemsSortByTimecreated ListLustreFileSystemsSortByEnum = "timeCreated"
ListLustreFileSystemsSortByDisplayname ListLustreFileSystemsSortByEnum = "displayName"
)
func GetListLustreFileSystemsSortByEnumValues() []ListLustreFileSystemsSortByEnum
GetListLustreFileSystemsSortByEnumValues Enumerates the set of values for ListLustreFileSystemsSortByEnum
func GetMappingListLustreFileSystemsSortByEnum(val string) (ListLustreFileSystemsSortByEnum, bool)
GetMappingListLustreFileSystemsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListLustreFileSystemsSortOrderEnum Enum with underlying type: string
type ListLustreFileSystemsSortOrderEnum string
Set of constants representing the allowable values for ListLustreFileSystemsSortOrderEnum
const (
ListLustreFileSystemsSortOrderAsc ListLustreFileSystemsSortOrderEnum = "ASC"
ListLustreFileSystemsSortOrderDesc ListLustreFileSystemsSortOrderEnum = "DESC"
)
func GetListLustreFileSystemsSortOrderEnumValues() []ListLustreFileSystemsSortOrderEnum
GetListLustreFileSystemsSortOrderEnumValues Enumerates the set of values for ListLustreFileSystemsSortOrderEnum
func GetMappingListLustreFileSystemsSortOrderEnum(val string) (ListLustreFileSystemsSortOrderEnum, bool)
GetMappingListLustreFileSystemsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListObjectStorageLinksRequest wrapper for the ListObjectStorageLinks operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListObjectStorageLinks.go.html to see an example of how to use ListObjectStorageLinksRequest.
type ListObjectStorageLinksRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// The name of the availability domain.
// Example: `Uocm:PHX-AD-1`
AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`
// A filter to return only resources that match the given lifecycle state. The
// state value is case-insensitive.
LifecycleState ObjectStorageLinkLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// A filter to return only resources that match the given display name exactly.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link.
Id *string `mandatory:"false" contributesTo:"query" name:"id"`
// For list pagination. The maximum number of results per page, or items to return in a
// paginated "List" call. For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the opc-next-page response header from the previous
// "List" call. For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListObjectStorageLinksSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. You can provide only one sort order. Default order for `timeCreated`
// is descending. Default order for `displayName` is ascending.
SortBy ListObjectStorageLinksSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system.
LustreFileSystemId *string `mandatory:"false" contributesTo:"query" name:"lustreFileSystemId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 ListObjectStorageLinksRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListObjectStorageLinksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListObjectStorageLinksRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListObjectStorageLinksRequest) String() string
func (request ListObjectStorageLinksRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListObjectStorageLinksResponse wrapper for the ListObjectStorageLinks operation
type ListObjectStorageLinksResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ObjectStorageLinkCollection instances
ObjectStorageLinkCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For list pagination. When this header appears in the response, additional pages of results remain. For
// important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListObjectStorageLinksResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListObjectStorageLinksResponse) String() string
ListObjectStorageLinksSortByEnum Enum with underlying type: string
type ListObjectStorageLinksSortByEnum string
Set of constants representing the allowable values for ListObjectStorageLinksSortByEnum
const (
ListObjectStorageLinksSortByTimecreated ListObjectStorageLinksSortByEnum = "timeCreated"
ListObjectStorageLinksSortByDisplayname ListObjectStorageLinksSortByEnum = "displayName"
)
func GetListObjectStorageLinksSortByEnumValues() []ListObjectStorageLinksSortByEnum
GetListObjectStorageLinksSortByEnumValues Enumerates the set of values for ListObjectStorageLinksSortByEnum
func GetMappingListObjectStorageLinksSortByEnum(val string) (ListObjectStorageLinksSortByEnum, bool)
GetMappingListObjectStorageLinksSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListObjectStorageLinksSortOrderEnum Enum with underlying type: string
type ListObjectStorageLinksSortOrderEnum string
Set of constants representing the allowable values for ListObjectStorageLinksSortOrderEnum
const (
ListObjectStorageLinksSortOrderAsc ListObjectStorageLinksSortOrderEnum = "ASC"
ListObjectStorageLinksSortOrderDesc ListObjectStorageLinksSortOrderEnum = "DESC"
)
func GetListObjectStorageLinksSortOrderEnumValues() []ListObjectStorageLinksSortOrderEnum
GetListObjectStorageLinksSortOrderEnumValues Enumerates the set of values for ListObjectStorageLinksSortOrderEnum
func GetMappingListObjectStorageLinksSortOrderEnum(val string) (ListObjectStorageLinksSortOrderEnum, bool)
GetMappingListObjectStorageLinksSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSyncJobsRequest wrapper for the ListSyncJobs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListSyncJobs.go.html to see an example of how to use ListSyncJobsRequest.
type ListSyncJobsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link.
ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"`
// For list pagination. The maximum number of results per page, or items to return in a
// paginated "List" call. For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the opc-next-page response header from the previous
// "List" call. For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListSyncJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// 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"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources that match the given lifecycle state. The
// state value is case-insensitive.
LifecycleState SyncJobLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// The field to sort by. You can provide only one sort order. Default order for `timeCreated`
// is descending. Default order for `displayName` is ascending.
SortBy ListSyncJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListSyncJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSyncJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSyncJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSyncJobsRequest) String() string
func (request ListSyncJobsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListSyncJobsResponse wrapper for the ListSyncJobs operation
type ListSyncJobsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SyncJobCollection instances
SyncJobCollection `presentIn:"body"`
// For list pagination. When this header appears in the response, additional pages of results remain. For
// important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response ListSyncJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSyncJobsResponse) String() string
ListSyncJobsSortByEnum Enum with underlying type: string
type ListSyncJobsSortByEnum string
Set of constants representing the allowable values for ListSyncJobsSortByEnum
const (
ListSyncJobsSortByTimecreated ListSyncJobsSortByEnum = "timeCreated"
)
func GetListSyncJobsSortByEnumValues() []ListSyncJobsSortByEnum
GetListSyncJobsSortByEnumValues Enumerates the set of values for ListSyncJobsSortByEnum
func GetMappingListSyncJobsSortByEnum(val string) (ListSyncJobsSortByEnum, bool)
GetMappingListSyncJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSyncJobsSortOrderEnum Enum with underlying type: string
type ListSyncJobsSortOrderEnum string
Set of constants representing the allowable values for ListSyncJobsSortOrderEnum
const (
ListSyncJobsSortOrderAsc ListSyncJobsSortOrderEnum = "ASC"
ListSyncJobsSortOrderDesc ListSyncJobsSortOrderEnum = "DESC"
)
func GetListSyncJobsSortOrderEnumValues() []ListSyncJobsSortOrderEnum
GetListSyncJobsSortOrderEnumValues Enumerates the set of values for ListSyncJobsSortOrderEnum
func GetMappingListSyncJobsSortOrderEnum(val string) (ListSyncJobsSortOrderEnum, bool)
GetMappingListSyncJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For list pagination. The value of the opc-next-page response header from the previous
// "List" call. For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// For list pagination. The maximum number of results per page, or items to return in a
// paginated "List" call. For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The field to sort by. Only one sort order may be provided. Default order for `timestamp` is descending.
SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WorkRequestErrorCollection instances
WorkRequestErrorCollection `presentIn:"body"`
// For list pagination. When this header appears in the response, additional pages of results remain. For
// important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const (
ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const (
ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC"
ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For list pagination. The value of the opc-next-page response header from the previous
// "List" call. For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// For list pagination. The maximum number of results per page, or items to return in a
// paginated "List" call. For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The field to sort by. Only one sort order may be provided. Default order for `timestamp` is descending.
SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WorkRequestLogEntryCollection instances
WorkRequestLogEntryCollection `presentIn:"body"`
// For list pagination. When this header appears in the response, additional pages of results remain. For
// important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const (
ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const (
ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC"
ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`
// A filter to return only the resources that match the given lifecycle state.
Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request.
ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For list pagination. The value of the opc-next-page response header from the previous
// "List" call. For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// For list pagination. The maximum number of results per page, or items to return in a
// paginated "List" call. For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for `timeAccepted` is descending.
SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WorkRequestSummaryCollection instances
WorkRequestSummaryCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For list pagination. When this header appears in the response, additional pages of results remain. For
// important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const (
ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const (
ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC"
ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsStatusEnum Enum with underlying type: string
type ListWorkRequestsStatusEnum string
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
const (
ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED"
ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS"
ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING"
ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION"
ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED"
ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED"
ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING"
ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED"
)
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
LustreFileStorageClient a client for LustreFileStorage
type LustreFileStorageClient struct {
common.BaseClient
// contains filtered or unexported fields
}
func NewLustreFileStorageClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LustreFileStorageClient, err error)
NewLustreFileStorageClientWithConfigurationProvider Creates a new default LustreFileStorage client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewLustreFileStorageClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client LustreFileStorageClient, err error)
NewLustreFileStorageClientWithOboToken Creates a new default LustreFileStorage 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 LustreFileStorageClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancels a work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()
func (client LustreFileStorageClient) ChangeLustreFileSystemCompartment(ctx context.Context, request ChangeLustreFileSystemCompartmentRequest) (response ChangeLustreFileSystemCompartmentResponse, err error)
ChangeLustreFileSystemCompartment Moves a Lustre file system into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeLustreFileSystemCompartment.go.html to see an example of how to use ChangeLustreFileSystemCompartment API. A default retry strategy applies to this operation ChangeLustreFileSystemCompartment()
func (client LustreFileStorageClient) ChangeObjectStorageLinkCompartment(ctx context.Context, request ChangeObjectStorageLinkCompartmentRequest) (response ChangeObjectStorageLinkCompartmentResponse, err error)
ChangeObjectStorageLinkCompartment Moves an Object Storage link into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeObjectStorageLinkCompartment.go.html to see an example of how to use ChangeObjectStorageLinkCompartment API. A default retry strategy applies to this operation ChangeObjectStorageLinkCompartment()
func (client *LustreFileStorageClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client LustreFileStorageClient) CreateLustreFileSystem(ctx context.Context, request CreateLustreFileSystemRequest) (response CreateLustreFileSystemResponse, err error)
CreateLustreFileSystem Creates a Lustre file system.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateLustreFileSystem.go.html to see an example of how to use CreateLustreFileSystem API. A default retry strategy applies to this operation CreateLustreFileSystem()
func (client LustreFileStorageClient) CreateObjectStorageLink(ctx context.Context, request CreateObjectStorageLinkRequest) (response CreateObjectStorageLinkResponse, err error)
CreateObjectStorageLink Creates an Object Storage link.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateObjectStorageLink.go.html to see an example of how to use CreateObjectStorageLink API. A default retry strategy applies to this operation CreateObjectStorageLink()
func (client LustreFileStorageClient) DeleteLustreFileSystem(ctx context.Context, request DeleteLustreFileSystemRequest) (response DeleteLustreFileSystemResponse, err error)
DeleteLustreFileSystem Deletes a Lustre file system.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteLustreFileSystem.go.html to see an example of how to use DeleteLustreFileSystem API. A default retry strategy applies to this operation DeleteLustreFileSystem()
func (client LustreFileStorageClient) DeleteObjectStorageLink(ctx context.Context, request DeleteObjectStorageLinkRequest) (response DeleteObjectStorageLinkResponse, err error)
DeleteObjectStorageLink Deletes an Object Storage link.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteObjectStorageLink.go.html to see an example of how to use DeleteObjectStorageLink API. A default retry strategy applies to this operation DeleteObjectStorageLink()
func (client LustreFileStorageClient) GetLustreFileSystem(ctx context.Context, request GetLustreFileSystemRequest) (response GetLustreFileSystemResponse, err error)
GetLustreFileSystem Gets information about a Lustre file system.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetLustreFileSystem.go.html to see an example of how to use GetLustreFileSystem API. A default retry strategy applies to this operation GetLustreFileSystem()
func (client LustreFileStorageClient) GetObjectStorageLink(ctx context.Context, request GetObjectStorageLinkRequest) (response GetObjectStorageLinkResponse, err error)
GetObjectStorageLink Gets information about an Object Storage link.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetObjectStorageLink.go.html to see an example of how to use GetObjectStorageLink API. A default retry strategy applies to this operation GetObjectStorageLink()
func (client LustreFileStorageClient) GetSyncJob(ctx context.Context, request GetSyncJobRequest) (response GetSyncJobResponse, err error)
GetSyncJob Gets details of a sync job associated with an Object Storage link when `objectStorageLink` and a unique ID are provided.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetSyncJob.go.html to see an example of how to use GetSyncJob API. A default retry strategy applies to this operation GetSyncJob()
func (client LustreFileStorageClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the details of a work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (client LustreFileStorageClient) ListLustreFileSystems(ctx context.Context, request ListLustreFileSystemsRequest) (response ListLustreFileSystemsResponse, err error)
ListLustreFileSystems Gets a list of Lustre file systems.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListLustreFileSystems.go.html to see an example of how to use ListLustreFileSystems API. A default retry strategy applies to this operation ListLustreFileSystems()
func (client LustreFileStorageClient) ListObjectStorageLinks(ctx context.Context, request ListObjectStorageLinksRequest) (response ListObjectStorageLinksResponse, err error)
ListObjectStorageLinks Gets a list of Object Storage links.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListObjectStorageLinks.go.html to see an example of how to use ListObjectStorageLinks API. A default retry strategy applies to this operation ListObjectStorageLinks()
func (client LustreFileStorageClient) ListSyncJobs(ctx context.Context, request ListSyncJobsRequest) (response ListSyncJobsResponse, err error)
ListSyncJobs Lists all sync jobs associated with the Object Storage link. Contains a unique ID for each sync job.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListSyncJobs.go.html to see an example of how to use ListSyncJobs API. A default retry strategy applies to this operation ListSyncJobs()
func (client LustreFileStorageClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Lists the errors for a work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (client LustreFileStorageClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Lists the logs for a work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (client LustreFileStorageClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (client *LustreFileStorageClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client LustreFileStorageClient) StartExportToObject(ctx context.Context, request StartExportToObjectRequest) (response StartExportToObjectResponse, err error)
StartExportToObject Starts the export of data from the Lustre file system to Object Storage. The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartExportToObject.go.html to see an example of how to use StartExportToObject API. A default retry strategy applies to this operation StartExportToObject()
func (client LustreFileStorageClient) StartImportFromObject(ctx context.Context, request StartImportFromObjectRequest) (response StartImportFromObjectResponse, err error)
StartImportFromObject Starts the import of data from Object Storage to the Lustre file system. The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartImportFromObject.go.html to see an example of how to use StartImportFromObject API. A default retry strategy applies to this operation StartImportFromObject()
func (client LustreFileStorageClient) StopExportToObject(ctx context.Context, request StopExportToObjectRequest) (response StopExportToObjectResponse, err error)
StopExportToObject Stops the export of data from the Lustre file system to Object Storage. The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopExportToObject.go.html to see an example of how to use StopExportToObject API. A default retry strategy applies to this operation StopExportToObject()
func (client LustreFileStorageClient) StopImportFromObject(ctx context.Context, request StopImportFromObjectRequest) (response StopImportFromObjectResponse, err error)
StopImportFromObject Stops the import of data from Object Storage to the Lustre file system. The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopImportFromObject.go.html to see an example of how to use StopImportFromObject API. A default retry strategy applies to this operation StopImportFromObject()
func (client LustreFileStorageClient) UpdateLustreFileSystem(ctx context.Context, request UpdateLustreFileSystemRequest) (response UpdateLustreFileSystemResponse, err error)
UpdateLustreFileSystem Updates a Lustre file system.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateLustreFileSystem.go.html to see an example of how to use UpdateLustreFileSystem API. A default retry strategy applies to this operation UpdateLustreFileSystem()
func (client LustreFileStorageClient) UpdateObjectStorageLink(ctx context.Context, request UpdateObjectStorageLinkRequest) (response UpdateObjectStorageLinkResponse, err error)
UpdateObjectStorageLink Updates an Object Storage link.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateObjectStorageLink.go.html to see an example of how to use UpdateObjectStorageLink API. A default retry strategy applies to this operation UpdateObjectStorageLink()
LustreFileSystem A Lustre file system is a parallel file system that is used as a storage solution for HPC/AI/ML workloads. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).
type LustreFileSystem struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Lustre file system.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The availability domain the file system is in. May be unset
// as a blank or NULL value.
// Example: `Uocm:PHX-AD-1`
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
// A user-friendly name. It does not have to be unique, and it is changeable.
// Avoid entering confidential information.
// Example: `My Lustre file system`
//
DisplayName *string `mandatory:"true" json:"displayName"`
// Short description of the Lustre file system.
// Avoid entering confidential information.
FileSystemDescription *string `mandatory:"true" json:"fileSystemDescription"`
// The date and time the Lustre file system was created, expressed
// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
// Example: `2024-04-25T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the Lustre file system was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2024-04-25T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The current state of the Lustre file system.
LifecycleState LustreFileSystemLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Department": "Finance"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
// Capacity of the Lustre file system in GB.
CapacityInGBs *int `mandatory:"true" json:"capacityInGBs"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the Lustre file system is in.
SubnetId *string `mandatory:"true" json:"subnetId"`
// The Lustre file system performance tier. A value of `MBPS_PER_TB_125` represents 125 megabytes per second per terabyte.
PerformanceTier LustreFileSystemPerformanceTierEnum `mandatory:"true" json:"performanceTier"`
// The IPv4 address of MGS (Lustre Management Service) used by clients to mount the file system. For example '10.0.0.4'.
ManagementServiceAddress *string `mandatory:"true" json:"managementServiceAddress"`
// The Lustre file system name. This is used in mount commands and other aspects of the client command line interface.
// The default file system name is 'lustre'. The file system name is limited to 8 characters. Allowed characters are lower and upper case English letters, numbers, and '_'.
FileSystemName *string `mandatory:"true" json:"fileSystemName"`
// Type of network used by clients to mount the file system.
// Example: `tcp`
Lnet *string `mandatory:"true" json:"lnet"`
// Major version of Lustre running in the Lustre file system.
// Example: `2.15`
MajorVersion *string `mandatory:"true" json:"majorVersion"`
MaintenanceWindow *MaintenanceWindow `mandatory:"true" json:"maintenanceWindow"`
RootSquashConfiguration *RootSquashConfiguration `mandatory:"true" json:"rootSquashConfiguration"`
// A message that describes the current state of the Lustre file system in more detail. For example,
// can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this lustre file system.
// A maximum of 5 is allowed.
// Setting this to an empty array after the list is created removes the lustre file system from all NSGs.
// For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm).
NsgIds []string `mandatory:"false" json:"nsgIds"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key used to encrypt the encryption keys associated with this file system.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group in which the Lustre file system exists.
ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`
// The date and time that the current billing cycle for the file system will end, expressed in
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. After the current cycle ends,
// this date is updated automatically to the next timestamp, which is 30 days later.
// File systems deleted earlier than this time will still incur charges until the billing cycle ends.
// Example: `2016-08-25T21:10:29.600Z`
TimeBillingCycleEnd *common.SDKTime `mandatory:"false" json:"timeBillingCycleEnd"`
}
func (m LustreFileSystem) String() string
func (m LustreFileSystem) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
LustreFileSystemCollection Results of a Lustre file system search. Contains both LustreFileSystemSummary items and other information, such as metadata.
type LustreFileSystemCollection struct {
// List of Lustre file systems.
Items []LustreFileSystemSummary `mandatory:"true" json:"items"`
}
func (m LustreFileSystemCollection) String() string
func (m LustreFileSystemCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
LustreFileSystemLifecycleStateEnum Enum with underlying type: string
type LustreFileSystemLifecycleStateEnum string
Set of constants representing the allowable values for LustreFileSystemLifecycleStateEnum
const (
LustreFileSystemLifecycleStateCreating LustreFileSystemLifecycleStateEnum = "CREATING"
LustreFileSystemLifecycleStateUpdating LustreFileSystemLifecycleStateEnum = "UPDATING"
LustreFileSystemLifecycleStateActive LustreFileSystemLifecycleStateEnum = "ACTIVE"
LustreFileSystemLifecycleStateInactive LustreFileSystemLifecycleStateEnum = "INACTIVE"
LustreFileSystemLifecycleStateDeleting LustreFileSystemLifecycleStateEnum = "DELETING"
LustreFileSystemLifecycleStateDeleted LustreFileSystemLifecycleStateEnum = "DELETED"
LustreFileSystemLifecycleStateFailed LustreFileSystemLifecycleStateEnum = "FAILED"
)
func GetLustreFileSystemLifecycleStateEnumValues() []LustreFileSystemLifecycleStateEnum
GetLustreFileSystemLifecycleStateEnumValues Enumerates the set of values for LustreFileSystemLifecycleStateEnum
func GetMappingLustreFileSystemLifecycleStateEnum(val string) (LustreFileSystemLifecycleStateEnum, bool)
GetMappingLustreFileSystemLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
LustreFileSystemPerformanceTierEnum Enum with underlying type: string
type LustreFileSystemPerformanceTierEnum string
Set of constants representing the allowable values for LustreFileSystemPerformanceTierEnum
const (
LustreFileSystemPerformanceTier125 LustreFileSystemPerformanceTierEnum = "MBPS_PER_TB_125"
LustreFileSystemPerformanceTier250 LustreFileSystemPerformanceTierEnum = "MBPS_PER_TB_250"
LustreFileSystemPerformanceTier500 LustreFileSystemPerformanceTierEnum = "MBPS_PER_TB_500"
LustreFileSystemPerformanceTier1000 LustreFileSystemPerformanceTierEnum = "MBPS_PER_TB_1000"
)
func GetLustreFileSystemPerformanceTierEnumValues() []LustreFileSystemPerformanceTierEnum
GetLustreFileSystemPerformanceTierEnumValues Enumerates the set of values for LustreFileSystemPerformanceTierEnum
func GetMappingLustreFileSystemPerformanceTierEnum(val string) (LustreFileSystemPerformanceTierEnum, bool)
GetMappingLustreFileSystemPerformanceTierEnum performs case Insensitive comparison on enum value and return the desired enum
LustreFileSystemSummary Summary information about a Lustre file system.
type LustreFileSystemSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Lustre file system.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The availability domain the file system is in. May be unset
// as a blank or NULL value.
// Example: `Uocm:PHX-AD-1`
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
// A user-friendly name. It does not have to be unique, and it is changeable.
// Avoid entering confidential information.
// Example: `My Lustre file system`
DisplayName *string `mandatory:"true" json:"displayName"`
// Short description of the Lustre file system.
// Avoid entering confidential information.
FileSystemDescription *string `mandatory:"true" json:"fileSystemDescription"`
// The date and time the Lustre file system was created, expressed
// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
// Example: `2024-04-25T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the Lustre file system was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2024-04-25T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The current state of the Lustre file system.
LifecycleState LustreFileSystemLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Department": "Finance"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
// The Lustre file system name. This is used in mount commands and other aspects of the client command line interface.
// The default file system name is 'lustre'. The file system name is limited to 8 characters. Allowed characters are lower and upper case English letters, numbers, and '_'.
FileSystemName *string `mandatory:"true" json:"fileSystemName"`
// Capacity of the Lustre file system in GB.
CapacityInGBs *int `mandatory:"true" json:"capacityInGBs"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the Lustre file system is in.
SubnetId *string `mandatory:"true" json:"subnetId"`
// The Lustre file system performance tier. A value of `MBPS_PER_TB_125` represents 125 megabytes per second per terabyte.
PerformanceTier LustreFileSystemSummaryPerformanceTierEnum `mandatory:"true" json:"performanceTier"`
// The date and time the LustreFileSystem current billing cycle will end, expressed in
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends,
// it is updated automatically to next timestamp which is after 30 days.
// File systems deleted earlier will still incur charges till this date.
// Example: `2016-08-25T21:10:29.600Z`
TimeBillingCycleEnd *common.SDKTime `mandatory:"true" json:"timeBillingCycleEnd"`
// The IPv4 address of MGS (Lustre Management Service) used by clients to mount the file system.
// Example: `10.0.0.4`
ManagementServiceAddress *string `mandatory:"true" json:"managementServiceAddress"`
// Type of network used by clients to mount the file system.
// Example: `tcp`
Lnet *string `mandatory:"true" json:"lnet"`
// Major version of Lustre running in the Lustre file system.
// Example: `2.15`
MajorVersion *string `mandatory:"true" json:"majorVersion"`
RootSquashConfiguration *RootSquashConfiguration `mandatory:"true" json:"rootSquashConfiguration"`
// A message that describes the current state of the Lustre file system in more detail. For example,
// can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this lustre file system.
// A maximum of 5 is allowed.
// Setting this to an empty array after the list is created removes the lustre file system from all NSGs.
// For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm).
NsgIds []string `mandatory:"false" json:"nsgIds"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key used to encrypt the encryption keys associated with this file system.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group in which the Lustre file system exists.
ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`
}
func (m LustreFileSystemSummary) String() string
func (m LustreFileSystemSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
LustreFileSystemSummaryPerformanceTierEnum Enum with underlying type: string
type LustreFileSystemSummaryPerformanceTierEnum string
Set of constants representing the allowable values for LustreFileSystemSummaryPerformanceTierEnum
const (
LustreFileSystemSummaryPerformanceTier125 LustreFileSystemSummaryPerformanceTierEnum = "MBPS_PER_TB_125"
LustreFileSystemSummaryPerformanceTier250 LustreFileSystemSummaryPerformanceTierEnum = "MBPS_PER_TB_250"
LustreFileSystemSummaryPerformanceTier500 LustreFileSystemSummaryPerformanceTierEnum = "MBPS_PER_TB_500"
LustreFileSystemSummaryPerformanceTier1000 LustreFileSystemSummaryPerformanceTierEnum = "MBPS_PER_TB_1000"
)
func GetLustreFileSystemSummaryPerformanceTierEnumValues() []LustreFileSystemSummaryPerformanceTierEnum
GetLustreFileSystemSummaryPerformanceTierEnumValues Enumerates the set of values for LustreFileSystemSummaryPerformanceTierEnum
func GetMappingLustreFileSystemSummaryPerformanceTierEnum(val string) (LustreFileSystemSummaryPerformanceTierEnum, bool)
GetMappingLustreFileSystemSummaryPerformanceTierEnum performs case Insensitive comparison on enum value and return the desired enum
MaintenanceWindow The preferred day and time to perform maintenance.
type MaintenanceWindow struct {
// Day of the week when the maintainence window starts.
DayOfWeek MaintenanceWindowDayOfWeekEnum `mandatory:"false" json:"dayOfWeek,omitempty"`
// The time to start the maintenance window. The format is 'HH:MM', 'HH:MM' represents the time in UTC.
// Example: `22:00`
TimeStart *string `mandatory:"false" json:"timeStart"`
}
func (m MaintenanceWindow) String() string
func (m MaintenanceWindow) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MaintenanceWindowDayOfWeekEnum Enum with underlying type: string
type MaintenanceWindowDayOfWeekEnum string
Set of constants representing the allowable values for MaintenanceWindowDayOfWeekEnum
const (
MaintenanceWindowDayOfWeekMonday MaintenanceWindowDayOfWeekEnum = "MONDAY"
MaintenanceWindowDayOfWeekTuesday MaintenanceWindowDayOfWeekEnum = "TUESDAY"
MaintenanceWindowDayOfWeekWednesday MaintenanceWindowDayOfWeekEnum = "WEDNESDAY"
MaintenanceWindowDayOfWeekThursday MaintenanceWindowDayOfWeekEnum = "THURSDAY"
MaintenanceWindowDayOfWeekFriday MaintenanceWindowDayOfWeekEnum = "FRIDAY"
MaintenanceWindowDayOfWeekSaturday MaintenanceWindowDayOfWeekEnum = "SATURDAY"
MaintenanceWindowDayOfWeekSunday MaintenanceWindowDayOfWeekEnum = "SUNDAY"
)
func GetMaintenanceWindowDayOfWeekEnumValues() []MaintenanceWindowDayOfWeekEnum
GetMaintenanceWindowDayOfWeekEnumValues Enumerates the set of values for MaintenanceWindowDayOfWeekEnum
func GetMappingMaintenanceWindowDayOfWeekEnum(val string) (MaintenanceWindowDayOfWeekEnum, bool)
GetMappingMaintenanceWindowDayOfWeekEnum performs case Insensitive comparison on enum value and return the desired enum
NetworkSecurityGroup A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this Lustre file system. For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm).
type NetworkSecurityGroup struct {
// A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this lustre file system.
// A maximum of 5 is allowed.
// Setting this to an empty array after the list is created removes the lustre file system from all NSGs.
// For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm).
NsgIds []string `mandatory:"false" json:"nsgIds"`
}
func (m NetworkSecurityGroup) String() string
func (m NetworkSecurityGroup) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectStorageLink Object Storage links create the relationship between a directory in an File Storage with Lustre file system and a path within an Object Storage bucket. For more information, see Syncing Lustre file systems with Object Storage (https://docs.oracle.com/iaas/Content/lustre/object-storage-sync.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).
type ObjectStorageLink struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ObjectStorageLink.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Lustre file system.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The availability domain the file system is in. May be unset
// as a blank or NULL value.
// Example: `Uocm:PHX-AD-1`
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
// A user-friendly name. It does not have to be unique, and it is changeable.
// Avoid entering confidential information.
// Example: `My Object Storage Link`
//
DisplayName *string `mandatory:"true" json:"displayName"`
// The date and time the Lustre file system was created, expressed
// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
// Example: `2024-04-25T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the Object Storage link was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2024-04-25T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The current state of the Object Storage link.
LifecycleState ObjectStorageLinkLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Department": "Finance"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated Lustre file system.
LustreFileSystemId *string `mandatory:"true" json:"lustreFileSystemId"`
// The path in the Lustre file system used for this Object Storage link.
// Example: `myFileSystem/mount/myDirectory`
FileSystemPath *string `mandatory:"true" json:"fileSystemPath"`
// The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports.
// Example: `objectStorageNamespace:/bucketName/optionalFolder/optionalPrefix`
ObjectStoragePrefix *string `mandatory:"true" json:"objectStoragePrefix"`
// The flag is an identifier to tell whether the job run has overwrite enabled.
// If `isOverwrite` is false, the file to be imported or exported will be skipped if it already exists.
// If `isOverwrite` is true, the file to be imported or exported will be overwritten if it already exists.
IsOverwrite *bool `mandatory:"true" json:"isOverwrite"`
// A message that describes the current state of the Object Storage link in more detail. For example,
// can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of currently running sync job. If no sync job is running, then this will be empty.
CurrentJobId *string `mandatory:"false" json:"currentJobId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of last succeeded sync job. If no sync job has previously run, then this will be empty.
LastJobId *string `mandatory:"false" json:"lastJobId"`
}
func (m ObjectStorageLink) String() string
func (m ObjectStorageLink) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectStorageLinkCollection Results of a Object Storage link search. Contains both ObjectStorageLinkSummary items and other information, such as metadata.
type ObjectStorageLinkCollection struct {
// List of Object Storage links.
Items []ObjectStorageLinkSummary `mandatory:"true" json:"items"`
}
func (m ObjectStorageLinkCollection) String() string
func (m ObjectStorageLinkCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectStorageLinkLifecycleStateEnum Enum with underlying type: string
type ObjectStorageLinkLifecycleStateEnum string
Set of constants representing the allowable values for ObjectStorageLinkLifecycleStateEnum
const (
ObjectStorageLinkLifecycleStateCreating ObjectStorageLinkLifecycleStateEnum = "CREATING"
ObjectStorageLinkLifecycleStateActive ObjectStorageLinkLifecycleStateEnum = "ACTIVE"
ObjectStorageLinkLifecycleStateDeleting ObjectStorageLinkLifecycleStateEnum = "DELETING"
ObjectStorageLinkLifecycleStateDeleted ObjectStorageLinkLifecycleStateEnum = "DELETED"
ObjectStorageLinkLifecycleStateFailed ObjectStorageLinkLifecycleStateEnum = "FAILED"
)
func GetMappingObjectStorageLinkLifecycleStateEnum(val string) (ObjectStorageLinkLifecycleStateEnum, bool)
GetMappingObjectStorageLinkLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetObjectStorageLinkLifecycleStateEnumValues() []ObjectStorageLinkLifecycleStateEnum
GetObjectStorageLinkLifecycleStateEnumValues Enumerates the set of values for ObjectStorageLinkLifecycleStateEnum
ObjectStorageLinkSummary Summary information about a Object Storage link.
type ObjectStorageLinkSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Lustre file system.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The availability domain the file system is in. May be unset
// as a blank or NULL value.
// Example: `Uocm:PHX-AD-1`
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
// A user-friendly name. It does not have to be unique, and it is changeable.
// Avoid entering confidential information.
// Example: `My Object Storage Link`
DisplayName *string `mandatory:"true" json:"displayName"`
// The date and time the Lustre file system was created, expressed
// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
// Example: `2024-04-25T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The date and time the ObjectStorageLink was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2024-04-25T21:10:29.600Z`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The current state of the ObjectStorageLink.
LifecycleState ObjectStorageLinkLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Department": "Finance"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated lustre file system.
LustreFileSystemId *string `mandatory:"true" json:"lustreFileSystemId"`
// The path in the Lustre file system used for this Object Storage link.
// Example: `myFileSystem/mount/myDirectory`
FileSystemPath *string `mandatory:"true" json:"fileSystemPath"`
// The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports.
// Example: `objectStorageNamespace:/bucketName/optionalFolder/optionalPrefix`
ObjectStoragePrefix *string `mandatory:"true" json:"objectStoragePrefix"`
// The flag is an identifier to tell whether the job run has overwrite enabled.
// If `isOverwrite` is false, the file to be imported or exported will be skipped if it already exists.
// If `isOverwrite` is true, the file to be imported or exported will be overwritten if it already exists.
IsOverwrite *bool `mandatory:"true" json:"isOverwrite"`
// A message that describes the current state of the Object Storage link in more detail. For example,
// can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of currently running sync job. If no sync job is running then this will be empty.
CurrentJobId *string `mandatory:"false" json:"currentJobId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of last succeeded sync job. If no sync job has previously run then this will be empty.
LastJobId *string `mandatory:"false" json:"lastJobId"`
}
func (m ObjectStorageLinkSummary) String() string
func (m ObjectStorageLinkSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const (
OperationStatusAccepted OperationStatusEnum = "ACCEPTED"
OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
OperationStatusWaiting OperationStatusEnum = "WAITING"
OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION"
OperationStatusFailed OperationStatusEnum = "FAILED"
OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED"
OperationStatusCanceling OperationStatusEnum = "CANCELING"
OperationStatusCanceled OperationStatusEnum = "CANCELED"
)
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
const (
OperationTypeCreateLustreFileSystem OperationTypeEnum = "CREATE_LUSTRE_FILE_SYSTEM"
OperationTypeUpdateLustreFileSystem OperationTypeEnum = "UPDATE_LUSTRE_FILE_SYSTEM"
OperationTypeDeleteLustreFileSystem OperationTypeEnum = "DELETE_LUSTRE_FILE_SYSTEM"
OperationTypeMoveLustreFileSystem OperationTypeEnum = "MOVE_LUSTRE_FILE_SYSTEM"
OperationTypeDeleteObjectStorageLink OperationTypeEnum = "DELETE_OBJECT_STORAGE_LINK"
)
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
RootSquashConfiguration An administrative feature that allows you to restrict root level access from clients that try to access your Lustre file system as root.
type RootSquashConfiguration struct {
// Used when clients accessing the Lustre file system have their UID and GID remapped to
// `squashUid` and `squashGid`. If `ROOT`, only the root user and group (UID/GID 0) are remapped;
// if `NONE`, no remapping is done. If unspecified, defaults to `NONE`.
IdentitySquash RootSquashConfigurationIdentitySquashEnum `mandatory:"false" json:"identitySquash,omitempty"`
// The UID value to remap to when squashing a client UID. See
// `identitySquash` for more details. If unspecified, defaults
// to `65534`.
SquashUid *int64 `mandatory:"false" json:"squashUid"`
// The GID value to remap to when squashing a client GID. See
// `identitySquash` for more details. If unspecified, defaults
// to `65534`.
SquashGid *int64 `mandatory:"false" json:"squashGid"`
// A list of NIDs allowed with this lustre file system not to be squashed.
// A maximum of 10 is allowed.
ClientExceptions []string `mandatory:"false" json:"clientExceptions"`
}
func (m RootSquashConfiguration) String() string
func (m RootSquashConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RootSquashConfigurationIdentitySquashEnum Enum with underlying type: string
type RootSquashConfigurationIdentitySquashEnum string
Set of constants representing the allowable values for RootSquashConfigurationIdentitySquashEnum
const (
RootSquashConfigurationIdentitySquashNone RootSquashConfigurationIdentitySquashEnum = "NONE"
RootSquashConfigurationIdentitySquashRoot RootSquashConfigurationIdentitySquashEnum = "ROOT"
)
func GetMappingRootSquashConfigurationIdentitySquashEnum(val string) (RootSquashConfigurationIdentitySquashEnum, bool)
GetMappingRootSquashConfigurationIdentitySquashEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRootSquashConfigurationIdentitySquashEnumValues() []RootSquashConfigurationIdentitySquashEnum
GetRootSquashConfigurationIdentitySquashEnumValues Enumerates the set of values for RootSquashConfigurationIdentitySquashEnum
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const (
SortOrderAsc SortOrderEnum = "ASC"
SortOrderDesc SortOrderEnum = "DESC"
)
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
StartExportToObjectRequest wrapper for the StartExportToObject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartExportToObject.go.html to see an example of how to use StartExportToObjectRequest.
type StartExportToObjectRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link.
ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"`
// 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"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 running 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 removed 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 StartExportToObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StartExportToObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StartExportToObjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StartExportToObjectRequest) String() string
func (request StartExportToObjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StartExportToObjectResponse wrapper for the StartExportToObject operation
type StartExportToObjectResponse struct {
// The underlying http response
RawResponse *http.Response
// The SyncJob instance
SyncJob `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 StartExportToObjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StartExportToObjectResponse) String() string
StartImportFromObjectRequest wrapper for the StartImportFromObject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartImportFromObject.go.html to see an example of how to use StartImportFromObjectRequest.
type StartImportFromObjectRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link.
ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"`
// 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"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 running 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 removed 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 StartImportFromObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StartImportFromObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StartImportFromObjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StartImportFromObjectRequest) String() string
func (request StartImportFromObjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StartImportFromObjectResponse wrapper for the StartImportFromObject operation
type StartImportFromObjectResponse struct {
// The underlying http response
RawResponse *http.Response
// The SyncJob instance
SyncJob `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 StartImportFromObjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StartImportFromObjectResponse) String() string
StopExportToObjectRequest wrapper for the StopExportToObject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopExportToObject.go.html to see an example of how to use StopExportToObjectRequest.
type StopExportToObjectRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link.
ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"`
// 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"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 running 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 removed 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 StopExportToObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StopExportToObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StopExportToObjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StopExportToObjectRequest) String() string
func (request StopExportToObjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StopExportToObjectResponse wrapper for the StopExportToObject operation
type StopExportToObjectResponse 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 StopExportToObjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StopExportToObjectResponse) String() string
StopImportFromObjectRequest wrapper for the StopImportFromObject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopImportFromObject.go.html to see an example of how to use StopImportFromObjectRequest.
type StopImportFromObjectRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link.
ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"`
// 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"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 running 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 removed 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 StopImportFromObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StopImportFromObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StopImportFromObjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StopImportFromObjectRequest) String() string
func (request StopImportFromObjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StopImportFromObjectResponse wrapper for the StopImportFromObject operation
type StopImportFromObjectResponse 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 StopImportFromObjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StopImportFromObjectResponse) String() string
Subnet The Subnet is subdivision within a Virtual Cloud Network, consisting of a contiguous range of IP addresses and a VNIC.
type Subnet struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Subnet.
Id *string `mandatory:"false" json:"id"`
}
func (m Subnet) String() string
func (m Subnet) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SyncJob Details associated with sync job runs.
type SyncJob struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the sync job.
Id *string `mandatory:"true" json:"id"`
// The type of the sync job.
JobType SyncJobJobTypeEnum `mandatory:"true" json:"jobType"`
// The current state of the sync job.
LifecycleState SyncJobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Department": "Finance"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
// The flag is an identifier to tell whether this specific job run has overwrite enabled.
// If `isOverwrite` is false, the file to be imported or exported will be skipped if it already exists.
// If `isOverwrite` is true, the file to be imported or exported will be overwritten if it already exists.
IsOverwrite *bool `mandatory:"true" json:"isOverwrite"`
// Total object count for scanned files for import or export as part of this sync job.
TotalObjectsScanned *int64 `mandatory:"true" json:"totalObjectsScanned"`
// Count of total files that transferred successfully.
ObjectsTransferred *int64 `mandatory:"true" json:"objectsTransferred"`
// Bytes transferred during the sync. This value changes while the sync is still in progress.
BytesTransferred *int64 `mandatory:"true" json:"bytesTransferred"`
// Count of files or objects that failed to export or import due to errors.
SkippedErrorCount *int64 `mandatory:"true" json:"skippedErrorCount"`
// The date and time the job was started, expressed in
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
// Example: `2020-07-25T21:10:29.600Z`
TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"`
// The path in the Lustre file system used for this Object Storage link.
// Example: `myFileSystem/mount/myDirectory`
LustreFileSystemPath *string `mandatory:"true" json:"lustreFileSystemPath"`
// The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports.
// Example: `objectStorageNamespace:/bucketName/optionalFolder/optionalPrefix`
ObjectStoragePath *string `mandatory:"true" json:"objectStoragePath"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link.
ParentId *string `mandatory:"false" json:"parentId"`
// A message that describes the current state of the sync job in more detail. For example,
// can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// The date and time the job finished, expressed in
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
// Example: `2020-07-25T21:10:29.600Z`
TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}
func (m SyncJob) String() string
func (m SyncJob) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SyncJobCollection Results of a sync job search. Contains both sync job summary items and other information, such as metadata.
type SyncJobCollection struct {
// List of sync jobs.
Items []SyncJobSummary `mandatory:"true" json:"items"`
}
func (m SyncJobCollection) String() string
func (m SyncJobCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SyncJobJobTypeEnum Enum with underlying type: string
type SyncJobJobTypeEnum string
Set of constants representing the allowable values for SyncJobJobTypeEnum
const (
SyncJobJobTypeImport SyncJobJobTypeEnum = "IMPORT"
SyncJobJobTypeExport SyncJobJobTypeEnum = "EXPORT"
)
func GetMappingSyncJobJobTypeEnum(val string) (SyncJobJobTypeEnum, bool)
GetMappingSyncJobJobTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSyncJobJobTypeEnumValues() []SyncJobJobTypeEnum
GetSyncJobJobTypeEnumValues Enumerates the set of values for SyncJobJobTypeEnum
SyncJobLifecycleStateEnum Enum with underlying type: string
type SyncJobLifecycleStateEnum string
Set of constants representing the allowable values for SyncJobLifecycleStateEnum
const (
SyncJobLifecycleStateInProgress SyncJobLifecycleStateEnum = "IN_PROGRESS"
SyncJobLifecycleStateSucceeded SyncJobLifecycleStateEnum = "SUCCEEDED"
SyncJobLifecycleStateCanceling SyncJobLifecycleStateEnum = "CANCELING"
SyncJobLifecycleStateCanceled SyncJobLifecycleStateEnum = "CANCELED"
SyncJobLifecycleStateFailed SyncJobLifecycleStateEnum = "FAILED"
SyncJobLifecycleStateFailing SyncJobLifecycleStateEnum = "FAILING"
)
func GetMappingSyncJobLifecycleStateEnum(val string) (SyncJobLifecycleStateEnum, bool)
GetMappingSyncJobLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSyncJobLifecycleStateEnumValues() []SyncJobLifecycleStateEnum
GetSyncJobLifecycleStateEnumValues Enumerates the set of values for SyncJobLifecycleStateEnum
SyncJobSummary Summary information associated with sync jobs.
type SyncJobSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the sync job.
Id *string `mandatory:"true" json:"id"`
// The type of the sync job.
JobType SyncJobSummaryJobTypeEnum `mandatory:"true" json:"jobType"`
// The current state of the sync job.
LifecycleState SyncJobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Department": "Finance"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
// The flag is an identifier to tell whether this specific job run has overwrite enabled.
// If `isOverwrite` is false, the file to be imported or exported will be skipped if it already exists.
// If `isOverwrite` is true, the file to be imported or exported will be overwritten if it already exists.
IsOverwrite *bool `mandatory:"true" json:"isOverwrite"`
// Total object count for scanned files for import or export as part of this sync job.
TotalObjectsScanned *int64 `mandatory:"true" json:"totalObjectsScanned"`
// Count of total files transferred successfully.
ObjectsTransferred *int64 `mandatory:"true" json:"objectsTransferred"`
// Bytes transferred during the sync. This value changes while sync is still in progress.
BytesTransferred *int64 `mandatory:"true" json:"bytesTransferred"`
// Count of files or objects that failed to export or import due to errors.
SkippedErrorCount *int64 `mandatory:"true" json:"skippedErrorCount"`
// The date and time the job was started, expressed in
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
// Example: `2020-07-25T21:10:29.600Z`
TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"`
// The path in the Lustre file system used for this Object Storage link.
// Example: `myFileSystem/mount/myDirectory`
LustreFileSystemPath *string `mandatory:"true" json:"lustreFileSystemPath"`
// The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports.
// Example: `objectStorageNamespace:/bucketName/optionalFolder/optionalPrefix`
ObjectStoragePath *string `mandatory:"true" json:"objectStoragePath"`
// A message that describes the current state of the sync job in more detail. For example,
// can be used to provide actionable information for a resource in the Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// The date and time the job finished, expressed in
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
// Example: `2024-07-21T20:10:29.600Z`
TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}
func (m SyncJobSummary) String() string
func (m SyncJobSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SyncJobSummaryJobTypeEnum Enum with underlying type: string
type SyncJobSummaryJobTypeEnum string
Set of constants representing the allowable values for SyncJobSummaryJobTypeEnum
const (
SyncJobSummaryJobTypeImport SyncJobSummaryJobTypeEnum = "IMPORT"
SyncJobSummaryJobTypeExport SyncJobSummaryJobTypeEnum = "EXPORT"
)
func GetMappingSyncJobSummaryJobTypeEnum(val string) (SyncJobSummaryJobTypeEnum, bool)
GetMappingSyncJobSummaryJobTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSyncJobSummaryJobTypeEnumValues() []SyncJobSummaryJobTypeEnum
GetSyncJobSummaryJobTypeEnumValues Enumerates the set of values for SyncJobSummaryJobTypeEnum
UpdateLustreFileSystemDetails The data to update a Lustre file system.
type UpdateLustreFileSystemDetails struct {
// A user-friendly name. It does not have to be unique, and it is changeable.
// Avoid entering confidential information.
// Example: `My Lustre file system`
DisplayName *string `mandatory:"false" json:"displayName"`
// Short description of the Lustre file system.
// Avoid entering confidential information.
FileSystemDescription *string `mandatory:"false" json:"fileSystemDescription"`
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Department": "Finance"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this lustre file system.
// A maximum of 5 is allowed.
// Setting this to an empty array after the list is created removes the lustre file system from all NSGs.
// For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm).
NsgIds []string `mandatory:"false" json:"nsgIds"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key used to encrypt the encryption keys associated with this file system.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// Capacity of the Lustre file system in GB. You can increase capacity only in multiples of 5 TB.
CapacityInGBs *int `mandatory:"false" json:"capacityInGBs"`
RootSquashConfiguration *RootSquashConfiguration `mandatory:"false" json:"rootSquashConfiguration"`
}
func (m UpdateLustreFileSystemDetails) String() string
func (m UpdateLustreFileSystemDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateLustreFileSystemRequest wrapper for the UpdateLustreFileSystem operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateLustreFileSystem.go.html to see an example of how to use UpdateLustreFileSystemRequest.
type UpdateLustreFileSystemRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system.
LustreFileSystemId *string `mandatory:"true" contributesTo:"path" name:"lustreFileSystemId"`
// The information to be updated.
UpdateLustreFileSystemDetails `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"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 UpdateLustreFileSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateLustreFileSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateLustreFileSystemRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateLustreFileSystemRequest) String() string
func (request UpdateLustreFileSystemRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateLustreFileSystemResponse wrapper for the UpdateLustreFileSystem operation
type UpdateLustreFileSystemResponse struct {
// The underlying http response
RawResponse *http.Response
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
// Use GetWorkRequest with this ID to track the status of the request.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response UpdateLustreFileSystemResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateLustreFileSystemResponse) String() string
UpdateObjectStorageLinkDetails The data to update an Object Storage link.
type UpdateObjectStorageLinkDetails struct {
// A user-friendly name. It does not have to be unique, and it is changeable.
// Avoid entering confidential information.
// Example: `My Object Storage Link`
DisplayName *string `mandatory:"false" json:"displayName"`
// The flag is an identifier to tell whether the job run has overwrite enabled.
// If `isOverwrite` is false, the file to be imported or exported will be skipped if it already exists.
// If `isOverwrite` is true, the file to be imported or exported will be overwritten if it already exists.
IsOverwrite *bool `mandatory:"false" json:"isOverwrite"`
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Department": "Finance"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m UpdateObjectStorageLinkDetails) String() string
func (m UpdateObjectStorageLinkDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateObjectStorageLinkRequest wrapper for the UpdateObjectStorageLink operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateObjectStorageLink.go.html to see an example of how to use UpdateObjectStorageLinkRequest.
type UpdateObjectStorageLinkRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link.
ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"`
// The information to be updated.
UpdateObjectStorageLinkDetails `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"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
// The only valid characters for request IDs are letters, numbers,
// underscore, and dash.
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 UpdateObjectStorageLinkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateObjectStorageLinkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateObjectStorageLinkRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateObjectStorageLinkRequest) String() string
func (request UpdateObjectStorageLinkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateObjectStorageLinkResponse wrapper for the UpdateObjectStorageLink operation
type UpdateObjectStorageLinkResponse struct {
// The underlying http response
RawResponse *http.Response
// The ObjectStorageLink instance
ObjectStorageLink `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 UpdateObjectStorageLinkResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateObjectStorageLinkResponse) String() string
WorkRequest An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation, the service creates a work request. A work request is an activity log that lets you track each step in the operation's progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation.
type WorkRequest struct {
// The asynchronous operation tracked by this work request.
OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`
// The status of the work request.
Status OperationStatusEnum `mandatory:"true" json:"status"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The resources that are affected by the work request.
Resources []WorkRequestResource `mandatory:"true" json:"resources"`
// Shows the progress of the operation tracked by the work request, as a percentage of the total work
// that must be performed.
PercentComplete *float32 `mandatory:"true" json:"percentComplete"`
// The date and time the work request was created, in the format defined by
// RFC 3339 (https://tools.ietf.org/html/rfc3339).
TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`
// The date and time the work request was started, in the format defined by
// RFC 3339 (https://tools.ietf.org/html/rfc3339).
TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`
// The date and time the work request was finished, in the format defined by
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
// The date and time the work request was updated, in the format defined by
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}
func (m WorkRequest) String() string
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestError An error encountered while performing an operation that is tracked by a work request.
type WorkRequestError struct {
// A machine-usable code for the error that occurred. For a list of error codes, see
// API Errors (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm).
Code *string `mandatory:"true" json:"code"`
// A human-readable error message.
Message *string `mandatory:"true" json:"message"`
// The date and time the error occurred, in the format defined by
// RFC 3339 (https://tools.ietf.org/html/rfc3339).
Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}
func (m WorkRequestError) String() string
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestErrorCollection A list of work request errors. Can contain both errors and other information, such as metadata.
type WorkRequestErrorCollection struct {
// A list of work request errors.
Items []WorkRequestError `mandatory:"true" json:"items"`
}
func (m WorkRequestErrorCollection) String() string
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntry A log message from performing an operation that is tracked by a work request.
type WorkRequestLogEntry struct {
// A human-readable log message.
Message *string `mandatory:"true" json:"message"`
// The date and time the log message was written, in the format defined by
// RFC 3339 (https://tools.ietf.org/html/rfc3339).
Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}
func (m WorkRequestLogEntry) String() string
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntryCollection A list of work request logs. Can contain both logs and other information, such as metadata.
type WorkRequestLogEntryCollection struct {
// A list of work request log entries.
Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}
func (m WorkRequestLogEntryCollection) String() string
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct {
// The resource type that the work request affects.
EntityType *string `mandatory:"true" json:"entityType"`
// The way in which this resource is affected by the operation tracked in the work request.
// A resource being created, updated, or deleted remains in the IN_PROGRESS state until
// work is complete for that resource, at which point it transitions to CREATED, UPDATED,
// or DELETED, respectively.
ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`
// An OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource.
Identifier *string `mandatory:"true" json:"identifier"`
// The URI path that you can use for a GET request to access the resource metadata.
EntityUri *string `mandatory:"false" json:"entityUri"`
}
func (m WorkRequestResource) String() string
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestSummary Summary information about an asynchronous work request.
type WorkRequestSummary struct {
// The asynchronous operation tracked by this work request.
OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`
// The status of the work request.
Status OperationStatusEnum `mandatory:"true" json:"status"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The resources that are affected by this work request.
Resources []WorkRequestResource `mandatory:"true" json:"resources"`
// Shows the progress of the operation tracked by the work request, as a percentage of the total work
// that must be performed.
PercentComplete *float32 `mandatory:"true" json:"percentComplete"`
// The date and time the work request was created, in the format defined by
// RFC 3339 (https://tools.ietf.org/html/rfc3339).
TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`
// The date and time the work request was started, in the format defined by
// RFC 3339 (https://tools.ietf.org/html/rfc3339).
TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`
// The date and time the work request was finished, in the format defined by
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
// The date and time the work request was updated, in the format defined by
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}
func (m WorkRequestSummary) String() string
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestSummaryCollection A list of work requests. Can contain both work requests and other information, such as metadata.
type WorkRequestSummaryCollection struct {
// A list of work requests.
Items []WorkRequestSummary `mandatory:"true" json:"items"`
}
func (m WorkRequestSummaryCollection) String() string
func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly