filestorage

package
v65.65.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientOptionsAccessEnumStringValues

func GetClientOptionsAccessEnumStringValues() []string

GetClientOptionsAccessEnumStringValues Enumerates the set of values in String for ClientOptionsAccessEnum

func GetClientOptionsAllowedAuthEnumStringValues added in v65.44.0

func GetClientOptionsAllowedAuthEnumStringValues() []string

GetClientOptionsAllowedAuthEnumStringValues Enumerates the set of values in String for ClientOptionsAllowedAuthEnum

func GetClientOptionsIdentitySquashEnumStringValues

func GetClientOptionsIdentitySquashEnumStringValues() []string

GetClientOptionsIdentitySquashEnumStringValues Enumerates the set of values in String for ClientOptionsIdentitySquashEnum

func GetCreateLdapIdmapDetailsSchemaTypeEnumStringValues added in v65.44.0

func GetCreateLdapIdmapDetailsSchemaTypeEnumStringValues() []string

GetCreateLdapIdmapDetailsSchemaTypeEnumStringValues Enumerates the set of values in String for CreateLdapIdmapDetailsSchemaTypeEnum

func GetDeleteReplicationDeleteModeEnumStringValues added in v65.22.0

func GetDeleteReplicationDeleteModeEnumStringValues() []string

GetDeleteReplicationDeleteModeEnumStringValues Enumerates the set of values in String for DeleteReplicationDeleteModeEnum

func GetExportLifecycleStateEnumStringValues

func GetExportLifecycleStateEnumStringValues() []string

GetExportLifecycleStateEnumStringValues Enumerates the set of values in String for ExportLifecycleStateEnum

func GetExportSetLifecycleStateEnumStringValues

func GetExportSetLifecycleStateEnumStringValues() []string

GetExportSetLifecycleStateEnumStringValues Enumerates the set of values in String for ExportSetLifecycleStateEnum

func GetExportSetSummaryLifecycleStateEnumStringValues

func GetExportSetSummaryLifecycleStateEnumStringValues() []string

GetExportSetSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ExportSetSummaryLifecycleStateEnum

func GetExportSummaryLifecycleStateEnumStringValues

func GetExportSummaryLifecycleStateEnumStringValues() []string

GetExportSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ExportSummaryLifecycleStateEnum

func GetFileSystemLifecycleStateEnumStringValues

func GetFileSystemLifecycleStateEnumStringValues() []string

GetFileSystemLifecycleStateEnumStringValues Enumerates the set of values in String for FileSystemLifecycleStateEnum

func GetFileSystemSummaryLifecycleStateEnumStringValues

func GetFileSystemSummaryLifecycleStateEnumStringValues() []string

GetFileSystemSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for FileSystemSummaryLifecycleStateEnum

func GetFilesystemSnapshotPolicyLifecycleStateEnumStringValues added in v65.40.0

func GetFilesystemSnapshotPolicyLifecycleStateEnumStringValues() []string

GetFilesystemSnapshotPolicyLifecycleStateEnumStringValues Enumerates the set of values in String for FilesystemSnapshotPolicyLifecycleStateEnum

func GetFilesystemSnapshotPolicySummaryLifecycleStateEnumStringValues added in v65.40.0

func GetFilesystemSnapshotPolicySummaryLifecycleStateEnumStringValues() []string

GetFilesystemSnapshotPolicySummaryLifecycleStateEnumStringValues Enumerates the set of values in String for FilesystemSnapshotPolicySummaryLifecycleStateEnum

func GetKerberosKeytabEntryEncryptionTypeEnumStringValues added in v65.44.0

func GetKerberosKeytabEntryEncryptionTypeEnumStringValues() []string

GetKerberosKeytabEntryEncryptionTypeEnumStringValues Enumerates the set of values in String for KerberosKeytabEntryEncryptionTypeEnum

func GetLdapIdmapSchemaTypeEnumStringValues added in v65.44.0

func GetLdapIdmapSchemaTypeEnumStringValues() []string

GetLdapIdmapSchemaTypeEnumStringValues Enumerates the set of values in String for LdapIdmapSchemaTypeEnum

func GetListExportSetsLifecycleStateEnumStringValues

func GetListExportSetsLifecycleStateEnumStringValues() []string

GetListExportSetsLifecycleStateEnumStringValues Enumerates the set of values in String for ListExportSetsLifecycleStateEnum

func GetListExportSetsSortByEnumStringValues

func GetListExportSetsSortByEnumStringValues() []string

GetListExportSetsSortByEnumStringValues Enumerates the set of values in String for ListExportSetsSortByEnum

func GetListExportSetsSortOrderEnumStringValues

func GetListExportSetsSortOrderEnumStringValues() []string

GetListExportSetsSortOrderEnumStringValues Enumerates the set of values in String for ListExportSetsSortOrderEnum

func GetListExportsLifecycleStateEnumStringValues

func GetListExportsLifecycleStateEnumStringValues() []string

GetListExportsLifecycleStateEnumStringValues Enumerates the set of values in String for ListExportsLifecycleStateEnum

func GetListExportsSortByEnumStringValues

func GetListExportsSortByEnumStringValues() []string

GetListExportsSortByEnumStringValues Enumerates the set of values in String for ListExportsSortByEnum

func GetListExportsSortOrderEnumStringValues

func GetListExportsSortOrderEnumStringValues() []string

GetListExportsSortOrderEnumStringValues Enumerates the set of values in String for ListExportsSortOrderEnum

func GetListFileSystemsLifecycleStateEnumStringValues

func GetListFileSystemsLifecycleStateEnumStringValues() []string

GetListFileSystemsLifecycleStateEnumStringValues Enumerates the set of values in String for ListFileSystemsLifecycleStateEnum

func GetListFileSystemsSortByEnumStringValues

func GetListFileSystemsSortByEnumStringValues() []string

GetListFileSystemsSortByEnumStringValues Enumerates the set of values in String for ListFileSystemsSortByEnum

func GetListFileSystemsSortOrderEnumStringValues

func GetListFileSystemsSortOrderEnumStringValues() []string

GetListFileSystemsSortOrderEnumStringValues Enumerates the set of values in String for ListFileSystemsSortOrderEnum

func GetListFilesystemSnapshotPoliciesLifecycleStateEnumStringValues added in v65.40.0

func GetListFilesystemSnapshotPoliciesLifecycleStateEnumStringValues() []string

GetListFilesystemSnapshotPoliciesLifecycleStateEnumStringValues Enumerates the set of values in String for ListFilesystemSnapshotPoliciesLifecycleStateEnum

func GetListFilesystemSnapshotPoliciesSortByEnumStringValues added in v65.40.0

func GetListFilesystemSnapshotPoliciesSortByEnumStringValues() []string

GetListFilesystemSnapshotPoliciesSortByEnumStringValues Enumerates the set of values in String for ListFilesystemSnapshotPoliciesSortByEnum

func GetListFilesystemSnapshotPoliciesSortOrderEnumStringValues added in v65.40.0

func GetListFilesystemSnapshotPoliciesSortOrderEnumStringValues() []string

GetListFilesystemSnapshotPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListFilesystemSnapshotPoliciesSortOrderEnum

func GetListMountTargetsLifecycleStateEnumStringValues

func GetListMountTargetsLifecycleStateEnumStringValues() []string

GetListMountTargetsLifecycleStateEnumStringValues Enumerates the set of values in String for ListMountTargetsLifecycleStateEnum

func GetListMountTargetsSortByEnumStringValues

func GetListMountTargetsSortByEnumStringValues() []string

GetListMountTargetsSortByEnumStringValues Enumerates the set of values in String for ListMountTargetsSortByEnum

func GetListMountTargetsSortOrderEnumStringValues

func GetListMountTargetsSortOrderEnumStringValues() []string

GetListMountTargetsSortOrderEnumStringValues Enumerates the set of values in String for ListMountTargetsSortOrderEnum

func GetListOutboundConnectorsLifecycleStateEnumStringValues added in v65.44.0

func GetListOutboundConnectorsLifecycleStateEnumStringValues() []string

GetListOutboundConnectorsLifecycleStateEnumStringValues Enumerates the set of values in String for ListOutboundConnectorsLifecycleStateEnum

func GetListOutboundConnectorsSortByEnumStringValues added in v65.44.0

func GetListOutboundConnectorsSortByEnumStringValues() []string

GetListOutboundConnectorsSortByEnumStringValues Enumerates the set of values in String for ListOutboundConnectorsSortByEnum

func GetListOutboundConnectorsSortOrderEnumStringValues added in v65.44.0

func GetListOutboundConnectorsSortOrderEnumStringValues() []string

GetListOutboundConnectorsSortOrderEnumStringValues Enumerates the set of values in String for ListOutboundConnectorsSortOrderEnum

func GetListReplicationTargetsLifecycleStateEnumStringValues added in v65.22.0

func GetListReplicationTargetsLifecycleStateEnumStringValues() []string

GetListReplicationTargetsLifecycleStateEnumStringValues Enumerates the set of values in String for ListReplicationTargetsLifecycleStateEnum

func GetListReplicationTargetsSortByEnumStringValues added in v65.22.0

func GetListReplicationTargetsSortByEnumStringValues() []string

GetListReplicationTargetsSortByEnumStringValues Enumerates the set of values in String for ListReplicationTargetsSortByEnum

func GetListReplicationTargetsSortOrderEnumStringValues added in v65.22.0

func GetListReplicationTargetsSortOrderEnumStringValues() []string

GetListReplicationTargetsSortOrderEnumStringValues Enumerates the set of values in String for ListReplicationTargetsSortOrderEnum

func GetListReplicationsLifecycleStateEnumStringValues added in v65.22.0

func GetListReplicationsLifecycleStateEnumStringValues() []string

GetListReplicationsLifecycleStateEnumStringValues Enumerates the set of values in String for ListReplicationsLifecycleStateEnum

func GetListReplicationsSortByEnumStringValues added in v65.22.0

func GetListReplicationsSortByEnumStringValues() []string

GetListReplicationsSortByEnumStringValues Enumerates the set of values in String for ListReplicationsSortByEnum

func GetListReplicationsSortOrderEnumStringValues added in v65.22.0

func GetListReplicationsSortOrderEnumStringValues() []string

GetListReplicationsSortOrderEnumStringValues Enumerates the set of values in String for ListReplicationsSortOrderEnum

func GetListSnapshotsLifecycleStateEnumStringValues

func GetListSnapshotsLifecycleStateEnumStringValues() []string

GetListSnapshotsLifecycleStateEnumStringValues Enumerates the set of values in String for ListSnapshotsLifecycleStateEnum

func GetListSnapshotsSortOrderEnumStringValues

func GetListSnapshotsSortOrderEnumStringValues() []string

GetListSnapshotsSortOrderEnumStringValues Enumerates the set of values in String for ListSnapshotsSortOrderEnum

func GetMountTargetIdmapTypeEnumStringValues added in v65.44.0

func GetMountTargetIdmapTypeEnumStringValues() []string

GetMountTargetIdmapTypeEnumStringValues Enumerates the set of values in String for MountTargetIdmapTypeEnum

func GetMountTargetLifecycleStateEnumStringValues

func GetMountTargetLifecycleStateEnumStringValues() []string

GetMountTargetLifecycleStateEnumStringValues Enumerates the set of values in String for MountTargetLifecycleStateEnum

func GetMountTargetSummaryLifecycleStateEnumStringValues

func GetMountTargetSummaryLifecycleStateEnumStringValues() []string

GetMountTargetSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for MountTargetSummaryLifecycleStateEnum

func GetOutboundConnectorConnectorTypeEnumStringValues added in v65.44.0

func GetOutboundConnectorConnectorTypeEnumStringValues() []string

GetOutboundConnectorConnectorTypeEnumStringValues Enumerates the set of values in String for OutboundConnectorConnectorTypeEnum

func GetOutboundConnectorLifecycleStateEnumStringValues added in v65.44.0

func GetOutboundConnectorLifecycleStateEnumStringValues() []string

GetOutboundConnectorLifecycleStateEnumStringValues Enumerates the set of values in String for OutboundConnectorLifecycleStateEnum

func GetOutboundConnectorSummaryLifecycleStateEnumStringValues added in v65.44.0

func GetOutboundConnectorSummaryLifecycleStateEnumStringValues() []string

GetOutboundConnectorSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for OutboundConnectorSummaryLifecycleStateEnum

func GetReplicationDeltaStatusEnumStringValues added in v65.22.0

func GetReplicationDeltaStatusEnumStringValues() []string

GetReplicationDeltaStatusEnumStringValues Enumerates the set of values in String for ReplicationDeltaStatusEnum

func GetReplicationLifecycleStateEnumStringValues added in v65.22.0

func GetReplicationLifecycleStateEnumStringValues() []string

GetReplicationLifecycleStateEnumStringValues Enumerates the set of values in String for ReplicationLifecycleStateEnum

func GetReplicationSummaryLifecycleStateEnumStringValues added in v65.22.0

func GetReplicationSummaryLifecycleStateEnumStringValues() []string

GetReplicationSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ReplicationSummaryLifecycleStateEnum

func GetReplicationTargetDeltaStatusEnumStringValues added in v65.22.0

func GetReplicationTargetDeltaStatusEnumStringValues() []string

GetReplicationTargetDeltaStatusEnumStringValues Enumerates the set of values in String for ReplicationTargetDeltaStatusEnum

func GetReplicationTargetLifecycleStateEnumStringValues added in v65.22.0

func GetReplicationTargetLifecycleStateEnumStringValues() []string

GetReplicationTargetLifecycleStateEnumStringValues Enumerates the set of values in String for ReplicationTargetLifecycleStateEnum

func GetReplicationTargetSummaryLifecycleStateEnumStringValues added in v65.22.0

func GetReplicationTargetSummaryLifecycleStateEnumStringValues() []string

GetReplicationTargetSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ReplicationTargetSummaryLifecycleStateEnum

func GetSnapshotLifecycleStateEnumStringValues

func GetSnapshotLifecycleStateEnumStringValues() []string

GetSnapshotLifecycleStateEnumStringValues Enumerates the set of values in String for SnapshotLifecycleStateEnum

func GetSnapshotScheduleDayOfWeekEnumStringValues added in v65.40.0

func GetSnapshotScheduleDayOfWeekEnumStringValues() []string

GetSnapshotScheduleDayOfWeekEnumStringValues Enumerates the set of values in String for SnapshotScheduleDayOfWeekEnum

func GetSnapshotScheduleMonthEnumStringValues added in v65.40.0

func GetSnapshotScheduleMonthEnumStringValues() []string

GetSnapshotScheduleMonthEnumStringValues Enumerates the set of values in String for SnapshotScheduleMonthEnum

func GetSnapshotSchedulePeriodEnumStringValues added in v65.40.0

func GetSnapshotSchedulePeriodEnumStringValues() []string

GetSnapshotSchedulePeriodEnumStringValues Enumerates the set of values in String for SnapshotSchedulePeriodEnum

func GetSnapshotScheduleTimeZoneEnumStringValues added in v65.40.0

func GetSnapshotScheduleTimeZoneEnumStringValues() []string

GetSnapshotScheduleTimeZoneEnumStringValues Enumerates the set of values in String for SnapshotScheduleTimeZoneEnum

func GetSnapshotSnapshotTypeEnumStringValues added in v65.22.0

func GetSnapshotSnapshotTypeEnumStringValues() []string

GetSnapshotSnapshotTypeEnumStringValues Enumerates the set of values in String for SnapshotSnapshotTypeEnum

func GetSnapshotSummaryLifecycleStateEnumStringValues

func GetSnapshotSummaryLifecycleStateEnumStringValues() []string

GetSnapshotSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for SnapshotSummaryLifecycleStateEnum

func GetSnapshotSummarySnapshotTypeEnumStringValues added in v65.22.0

func GetSnapshotSummarySnapshotTypeEnumStringValues() []string

GetSnapshotSummarySnapshotTypeEnumStringValues Enumerates the set of values in String for SnapshotSummarySnapshotTypeEnum

func GetUpdateLdapIdmapDetailsSchemaTypeEnumStringValues added in v65.44.0

func GetUpdateLdapIdmapDetailsSchemaTypeEnumStringValues() []string

GetUpdateLdapIdmapDetailsSchemaTypeEnumStringValues Enumerates the set of values in String for UpdateLdapIdmapDetailsSchemaTypeEnum

Types

type ChangeFileSystemCompartmentDetails

type ChangeFileSystemCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the file system to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeFileSystemCompartmentDetails Details for changing the compartment.

func (ChangeFileSystemCompartmentDetails) String

func (ChangeFileSystemCompartmentDetails) ValidateEnumValue

func (m ChangeFileSystemCompartmentDetails) 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

type ChangeFileSystemCompartmentRequest

type ChangeFileSystemCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system.
	FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"`

	// Details for changing the compartment.
	ChangeFileSystemCompartmentDetails `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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ChangeFileSystemCompartmentRequest wrapper for the ChangeFileSystemCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeFileSystemCompartment.go.html to see an example of how to use ChangeFileSystemCompartmentRequest.

func (ChangeFileSystemCompartmentRequest) BinaryRequestBody

func (request ChangeFileSystemCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeFileSystemCompartmentRequest) HTTPRequest

func (request ChangeFileSystemCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeFileSystemCompartmentRequest) RetryPolicy

func (request ChangeFileSystemCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeFileSystemCompartmentRequest) String

func (request ChangeFileSystemCompartmentRequest) String() string

func (ChangeFileSystemCompartmentRequest) ValidateEnumValue

func (request ChangeFileSystemCompartmentRequest) 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

type ChangeFileSystemCompartmentResponse

type ChangeFileSystemCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeFileSystemCompartmentResponse wrapper for the ChangeFileSystemCompartment operation

func (ChangeFileSystemCompartmentResponse) HTTPResponse

func (response ChangeFileSystemCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeFileSystemCompartmentResponse) String

func (response ChangeFileSystemCompartmentResponse) String() string

type ChangeFilesystemSnapshotPolicyCompartmentDetails added in v65.40.0

type ChangeFilesystemSnapshotPolicyCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the file system snapshot policy to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeFilesystemSnapshotPolicyCompartmentDetails Details for changing the compartment of a file system snapshot policy.

func (ChangeFilesystemSnapshotPolicyCompartmentDetails) String added in v65.40.0

func (ChangeFilesystemSnapshotPolicyCompartmentDetails) ValidateEnumValue added in v65.40.0

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

type ChangeFilesystemSnapshotPolicyCompartmentRequest added in v65.40.0

type ChangeFilesystemSnapshotPolicyCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy.
	FilesystemSnapshotPolicyId *string `mandatory:"true" contributesTo:"path" name:"filesystemSnapshotPolicyId"`

	// Details for changing the compartment of a file system snapshot policy.
	ChangeFilesystemSnapshotPolicyCompartmentDetails `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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ChangeFilesystemSnapshotPolicyCompartmentRequest wrapper for the ChangeFilesystemSnapshotPolicyCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeFilesystemSnapshotPolicyCompartment.go.html to see an example of how to use ChangeFilesystemSnapshotPolicyCompartmentRequest.

func (ChangeFilesystemSnapshotPolicyCompartmentRequest) BinaryRequestBody added in v65.40.0

BinaryRequestBody implements the OCIRequest interface

func (ChangeFilesystemSnapshotPolicyCompartmentRequest) HTTPRequest added in v65.40.0

func (request ChangeFilesystemSnapshotPolicyCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeFilesystemSnapshotPolicyCompartmentRequest) RetryPolicy added in v65.40.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeFilesystemSnapshotPolicyCompartmentRequest) String added in v65.40.0

func (ChangeFilesystemSnapshotPolicyCompartmentRequest) ValidateEnumValue added in v65.40.0

func (request ChangeFilesystemSnapshotPolicyCompartmentRequest) 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

type ChangeFilesystemSnapshotPolicyCompartmentResponse added in v65.40.0

type ChangeFilesystemSnapshotPolicyCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeFilesystemSnapshotPolicyCompartmentResponse wrapper for the ChangeFilesystemSnapshotPolicyCompartment operation

func (ChangeFilesystemSnapshotPolicyCompartmentResponse) HTTPResponse added in v65.40.0

HTTPResponse implements the OCIResponse interface

func (ChangeFilesystemSnapshotPolicyCompartmentResponse) String added in v65.40.0

type ChangeMountTargetCompartmentDetails

type ChangeMountTargetCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the mount target to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeMountTargetCompartmentDetails Details for changing the compartment.

func (ChangeMountTargetCompartmentDetails) String

func (ChangeMountTargetCompartmentDetails) ValidateEnumValue

func (m ChangeMountTargetCompartmentDetails) 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

type ChangeMountTargetCompartmentRequest

type ChangeMountTargetCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target.
	MountTargetId *string `mandatory:"true" contributesTo:"path" name:"mountTargetId"`

	// Details for changing the compartment.
	ChangeMountTargetCompartmentDetails `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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ChangeMountTargetCompartmentRequest wrapper for the ChangeMountTargetCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeMountTargetCompartment.go.html to see an example of how to use ChangeMountTargetCompartmentRequest.

func (ChangeMountTargetCompartmentRequest) BinaryRequestBody

func (request ChangeMountTargetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeMountTargetCompartmentRequest) HTTPRequest

func (request ChangeMountTargetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeMountTargetCompartmentRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeMountTargetCompartmentRequest) String

func (ChangeMountTargetCompartmentRequest) ValidateEnumValue

func (request ChangeMountTargetCompartmentRequest) 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

type ChangeMountTargetCompartmentResponse

type ChangeMountTargetCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeMountTargetCompartmentResponse wrapper for the ChangeMountTargetCompartment operation

func (ChangeMountTargetCompartmentResponse) HTTPResponse

func (response ChangeMountTargetCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeMountTargetCompartmentResponse) String

func (response ChangeMountTargetCompartmentResponse) String() string

type ChangeOutboundConnectorCompartmentDetails added in v65.44.0

type ChangeOutboundConnectorCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
	// to move the outbound connector to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeOutboundConnectorCompartmentDetails Details for changing the compartment of the outbound connector.

func (ChangeOutboundConnectorCompartmentDetails) String added in v65.44.0

func (ChangeOutboundConnectorCompartmentDetails) ValidateEnumValue added in v65.44.0

func (m ChangeOutboundConnectorCompartmentDetails) 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

type ChangeOutboundConnectorCompartmentRequest added in v65.44.0

type ChangeOutboundConnectorCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector.
	OutboundConnectorId *string `mandatory:"true" contributesTo:"path" name:"outboundConnectorId"`

	// Details for changing the compartment.
	ChangeOutboundConnectorCompartmentDetails `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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ChangeOutboundConnectorCompartmentRequest wrapper for the ChangeOutboundConnectorCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeOutboundConnectorCompartment.go.html to see an example of how to use ChangeOutboundConnectorCompartmentRequest.

func (ChangeOutboundConnectorCompartmentRequest) BinaryRequestBody added in v65.44.0

BinaryRequestBody implements the OCIRequest interface

func (ChangeOutboundConnectorCompartmentRequest) HTTPRequest added in v65.44.0

func (request ChangeOutboundConnectorCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeOutboundConnectorCompartmentRequest) RetryPolicy added in v65.44.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeOutboundConnectorCompartmentRequest) String added in v65.44.0

func (ChangeOutboundConnectorCompartmentRequest) ValidateEnumValue added in v65.44.0

func (request ChangeOutboundConnectorCompartmentRequest) 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

type ChangeOutboundConnectorCompartmentResponse added in v65.44.0

type ChangeOutboundConnectorCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeOutboundConnectorCompartmentResponse wrapper for the ChangeOutboundConnectorCompartment operation

func (ChangeOutboundConnectorCompartmentResponse) HTTPResponse added in v65.44.0

func (response ChangeOutboundConnectorCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeOutboundConnectorCompartmentResponse) String added in v65.44.0

type ChangeReplicationCompartmentDetails added in v65.22.0

type ChangeReplicationCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the replication to. Also changes the replication target's compartment in the target region.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeReplicationCompartmentDetails Details for changing the compartment of both replication and replication target.

func (ChangeReplicationCompartmentDetails) String added in v65.22.0

func (ChangeReplicationCompartmentDetails) ValidateEnumValue added in v65.22.0

func (m ChangeReplicationCompartmentDetails) 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

type ChangeReplicationCompartmentRequest added in v65.22.0

type ChangeReplicationCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication.
	ReplicationId *string `mandatory:"true" contributesTo:"path" name:"replicationId"`

	// Details for changing the compartment.
	ChangeReplicationCompartmentDetails `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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ChangeReplicationCompartmentRequest wrapper for the ChangeReplicationCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeReplicationCompartment.go.html to see an example of how to use ChangeReplicationCompartmentRequest.

func (ChangeReplicationCompartmentRequest) BinaryRequestBody added in v65.22.0

func (request ChangeReplicationCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeReplicationCompartmentRequest) HTTPRequest added in v65.22.0

func (request ChangeReplicationCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeReplicationCompartmentRequest) RetryPolicy added in v65.22.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeReplicationCompartmentRequest) String added in v65.22.0

func (ChangeReplicationCompartmentRequest) ValidateEnumValue added in v65.22.0

func (request ChangeReplicationCompartmentRequest) 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

type ChangeReplicationCompartmentResponse added in v65.22.0

type ChangeReplicationCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeReplicationCompartmentResponse wrapper for the ChangeReplicationCompartment operation

func (ChangeReplicationCompartmentResponse) HTTPResponse added in v65.22.0

func (response ChangeReplicationCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeReplicationCompartmentResponse) String added in v65.22.0

func (response ChangeReplicationCompartmentResponse) String() string

type ClientOptions

type ClientOptions struct {

	// Clients these options should apply to. Must be a either
	// single IPv4 address or single IPv4 CIDR block.
	// **Note:** Access will also be limited by any applicable VCN
	// security rules and the ability to route IP packets to the
	// mount target. Mount targets do not have Internet-routable IP addresses.
	Source *string `mandatory:"true" json:"source"`

	// If `true`, clients accessing the file system through this
	// export must connect from a privileged source port. If
	// unspecified, defaults to `true`.
	RequirePrivilegedSourcePort *bool `mandatory:"false" json:"requirePrivilegedSourcePort"`

	// Type of access to grant clients using the file system
	// through this export. If unspecified defaults to `READ_WRITE`.
	Access ClientOptionsAccessEnum `mandatory:"false" json:"access,omitempty"`

	// Used when clients accessing the file system through this export
	// have their UID and GID remapped to 'anonymousUid' and
	// 'anonymousGid'. If `ALL`, all users and groups are remapped;
	// if `ROOT`, only the root user and group (UID/GID 0) are
	// remapped; if `NONE`, no remapping is done. If unspecified,
	// defaults to `ROOT`.
	IdentitySquash ClientOptionsIdentitySquashEnum `mandatory:"false" json:"identitySquash,omitempty"`

	// UID value to remap to when squashing a client UID (see
	// identitySquash for more details.) If unspecified, defaults
	// to `65534`.
	AnonymousUid *int64 `mandatory:"false" json:"anonymousUid"`

	// GID value to remap to when squashing a client GID (see
	// identitySquash for more details.) If unspecified defaults
	// to `65534`.
	AnonymousGid *int64 `mandatory:"false" json:"anonymousGid"`

	// Whether or not to enable anonymous access to the file system through this export in cases where a user isn't found in the LDAP server used for ID mapping.
	// If true, and the user is not found in the LDAP directory, the operation uses the Squash UID and Squash GID.
	IsAnonymousAccessAllowed *bool `mandatory:"false" json:"isAnonymousAccessAllowed"`

	// Array of allowed NFS authentication types.
	AllowedAuth []ClientOptionsAllowedAuthEnum `mandatory:"false" json:"allowedAuth,omitempty"`
}

ClientOptions NFS export options applied to a specified set of clients. Only governs access through the associated export. Access to the same file system through a different export (on the same or different mount target) will be governed by that export's export options.

func (ClientOptions) String

func (m ClientOptions) String() string

func (ClientOptions) ValidateEnumValue

func (m ClientOptions) 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

type ClientOptionsAccessEnum

type ClientOptionsAccessEnum string

ClientOptionsAccessEnum Enum with underlying type: string

const (
	ClientOptionsAccessWrite ClientOptionsAccessEnum = "READ_WRITE"
	ClientOptionsAccessOnly  ClientOptionsAccessEnum = "READ_ONLY"
)

Set of constants representing the allowable values for ClientOptionsAccessEnum

func GetClientOptionsAccessEnumValues

func GetClientOptionsAccessEnumValues() []ClientOptionsAccessEnum

GetClientOptionsAccessEnumValues Enumerates the set of values for ClientOptionsAccessEnum

func GetMappingClientOptionsAccessEnum

func GetMappingClientOptionsAccessEnum(val string) (ClientOptionsAccessEnum, bool)

GetMappingClientOptionsAccessEnum performs case Insensitive comparison on enum value and return the desired enum

type ClientOptionsAllowedAuthEnum added in v65.44.0

type ClientOptionsAllowedAuthEnum string

ClientOptionsAllowedAuthEnum Enum with underlying type: string

const (
	ClientOptionsAllowedAuthSys   ClientOptionsAllowedAuthEnum = "SYS"
	ClientOptionsAllowedAuthKrb5  ClientOptionsAllowedAuthEnum = "KRB5"
	ClientOptionsAllowedAuthKrb5i ClientOptionsAllowedAuthEnum = "KRB5I"
	ClientOptionsAllowedAuthKrb5p ClientOptionsAllowedAuthEnum = "KRB5P"
)

Set of constants representing the allowable values for ClientOptionsAllowedAuthEnum

func GetClientOptionsAllowedAuthEnumValues added in v65.44.0

func GetClientOptionsAllowedAuthEnumValues() []ClientOptionsAllowedAuthEnum

GetClientOptionsAllowedAuthEnumValues Enumerates the set of values for ClientOptionsAllowedAuthEnum

func GetMappingClientOptionsAllowedAuthEnum added in v65.44.0

func GetMappingClientOptionsAllowedAuthEnum(val string) (ClientOptionsAllowedAuthEnum, bool)

GetMappingClientOptionsAllowedAuthEnum performs case Insensitive comparison on enum value and return the desired enum

type ClientOptionsIdentitySquashEnum

type ClientOptionsIdentitySquashEnum string

ClientOptionsIdentitySquashEnum Enum with underlying type: string

const (
	ClientOptionsIdentitySquashNone ClientOptionsIdentitySquashEnum = "NONE"
	ClientOptionsIdentitySquashRoot ClientOptionsIdentitySquashEnum = "ROOT"
	ClientOptionsIdentitySquashAll  ClientOptionsIdentitySquashEnum = "ALL"
)

Set of constants representing the allowable values for ClientOptionsIdentitySquashEnum

func GetClientOptionsIdentitySquashEnumValues

func GetClientOptionsIdentitySquashEnumValues() []ClientOptionsIdentitySquashEnum

GetClientOptionsIdentitySquashEnumValues Enumerates the set of values for ClientOptionsIdentitySquashEnum

func GetMappingClientOptionsIdentitySquashEnum

func GetMappingClientOptionsIdentitySquashEnum(val string) (ClientOptionsIdentitySquashEnum, bool)

GetMappingClientOptionsIdentitySquashEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateExportDetails

type CreateExportDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export's export set.
	ExportSetId *string `mandatory:"true" json:"exportSetId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export's file system.
	FileSystemId *string `mandatory:"true" json:"fileSystemId"`

	// Path used to access the associated file system.
	// Avoid entering confidential information.
	// Example: `/mediafiles`
	Path *string `mandatory:"true" json:"path"`

	// Export options for the new export. If left unspecified,
	// defaults to:
	//        [
	//          {
	//             "source" : "0.0.0.0/0",
	//             "requirePrivilegedSourcePort" : false,
	//             "access": "READ_WRITE",
	//             "identitySquash": "NONE",
	//             "anonymousUid": 65534,
	//             "anonymousGid": 65534,
	//             "isAnonymousAccessAllowed": false,
	//             "allowedAuth": ["SYS"]
	//           }
	//        ]
	//   **Note:** Mount targets do not have Internet-routable IP
	//   addresses.  Therefore they will not be reachable from the
	//   Internet, even if an associated `ClientOptions` item has
	//   a source of `0.0.0.0/0`.
	//   **If set to the empty array then the export will not be
	//   visible to any clients.**
	//   The export's `exportOptions` can be changed after creation
	//   using the `UpdateExport` operation.
	ExportOptions []ClientOptions `mandatory:"false" json:"exportOptions"`

	// Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
	IsIdmapGroupsForSysAuth *bool `mandatory:"false" json:"isIdmapGroupsForSysAuth"`
}

CreateExportDetails Details for creating the export.

func (CreateExportDetails) String

func (m CreateExportDetails) String() string

func (CreateExportDetails) ValidateEnumValue

func (m CreateExportDetails) 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

type CreateExportRequest

type CreateExportRequest struct {

	// Details for creating a new export.
	CreateExportDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateExportRequest wrapper for the CreateExport operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateExport.go.html to see an example of how to use CreateExportRequest.

func (CreateExportRequest) BinaryRequestBody

func (request CreateExportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateExportRequest) HTTPRequest

func (request CreateExportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateExportRequest) RetryPolicy

func (request CreateExportRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateExportRequest) String

func (request CreateExportRequest) String() string

func (CreateExportRequest) ValidateEnumValue

func (request CreateExportRequest) 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

type CreateExportResponse

type CreateExportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Export instance
	Export `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"`
}

CreateExportResponse wrapper for the CreateExport operation

func (CreateExportResponse) HTTPResponse

func (response CreateExportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateExportResponse) String

func (response CreateExportResponse) String() string

type CreateFileSystemDetails

type CreateFileSystemDetails struct {

	// The availability domain to create the file system in.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to create the file system in.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My file system`
	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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The OCID (https://docs.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot used to create a cloned file system.
	// See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm).
	SourceSnapshotId *string `mandatory:"false" json:"sourceSnapshotId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated file system snapshot policy, which
	// controls the frequency of snapshot creation and retention period of the taken snapshots.
	// May be unset as a blank value.
	FilesystemSnapshotPolicyId *string `mandatory:"false" json:"filesystemSnapshotPolicyId"`
}

CreateFileSystemDetails Details for creating the file system.

func (CreateFileSystemDetails) String

func (m CreateFileSystemDetails) String() string

func (CreateFileSystemDetails) ValidateEnumValue

func (m CreateFileSystemDetails) 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

type CreateFileSystemRequest

type CreateFileSystemRequest struct {

	// Details for creating a new file system.
	CreateFileSystemDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateFileSystemRequest wrapper for the CreateFileSystem operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateFileSystem.go.html to see an example of how to use CreateFileSystemRequest.

func (CreateFileSystemRequest) BinaryRequestBody

func (request CreateFileSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateFileSystemRequest) HTTPRequest

func (request CreateFileSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateFileSystemRequest) RetryPolicy

func (request CreateFileSystemRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateFileSystemRequest) String

func (request CreateFileSystemRequest) String() string

func (CreateFileSystemRequest) ValidateEnumValue

func (request CreateFileSystemRequest) 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

type CreateFileSystemResponse

type CreateFileSystemResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The FileSystem instance
	FileSystem `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"`
}

CreateFileSystemResponse wrapper for the CreateFileSystem operation

func (CreateFileSystemResponse) HTTPResponse

func (response CreateFileSystemResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateFileSystemResponse) String

func (response CreateFileSystemResponse) String() string

type CreateFilesystemSnapshotPolicyDetails added in v65.40.0

type CreateFilesystemSnapshotPolicyDetails struct {

	// The availability domain that the file system snapshot policy is in.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system snapshot policy.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `policy1`
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The prefix to apply to all snapshots created by this policy.
	// Example: `acme`
	PolicyPrefix *string `mandatory:"false" json:"policyPrefix"`

	// The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy.
	// If using the CLI, provide the schedule as a list of JSON strings, with the list wrapped in
	// quotation marks, i.e.
	// “`
	//   --schedules '[{"timeZone":"UTC","period":"DAILY","hourOfDay":18},{"timeZone":"UTC","period":"HOURLY"}]'
	// “`
	Schedules []SnapshotSchedule `mandatory:"false" json:"schedules"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateFilesystemSnapshotPolicyDetails Details for creating the file system snapshot policy.

func (CreateFilesystemSnapshotPolicyDetails) String added in v65.40.0

func (CreateFilesystemSnapshotPolicyDetails) ValidateEnumValue added in v65.40.0

func (m CreateFilesystemSnapshotPolicyDetails) 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

type CreateFilesystemSnapshotPolicyRequest added in v65.40.0

type CreateFilesystemSnapshotPolicyRequest struct {

	// Details for creating a new file system snapshot policy.
	CreateFilesystemSnapshotPolicyDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateFilesystemSnapshotPolicyRequest wrapper for the CreateFilesystemSnapshotPolicy operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateFilesystemSnapshotPolicy.go.html to see an example of how to use CreateFilesystemSnapshotPolicyRequest.

func (CreateFilesystemSnapshotPolicyRequest) BinaryRequestBody added in v65.40.0

func (request CreateFilesystemSnapshotPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateFilesystemSnapshotPolicyRequest) HTTPRequest added in v65.40.0

func (request CreateFilesystemSnapshotPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateFilesystemSnapshotPolicyRequest) RetryPolicy added in v65.40.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateFilesystemSnapshotPolicyRequest) String added in v65.40.0

func (CreateFilesystemSnapshotPolicyRequest) ValidateEnumValue added in v65.40.0

func (request CreateFilesystemSnapshotPolicyRequest) 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

type CreateFilesystemSnapshotPolicyResponse added in v65.40.0

type CreateFilesystemSnapshotPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The FilesystemSnapshotPolicy instance
	FilesystemSnapshotPolicy `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"`
}

CreateFilesystemSnapshotPolicyResponse wrapper for the CreateFilesystemSnapshotPolicy operation

func (CreateFilesystemSnapshotPolicyResponse) HTTPResponse added in v65.40.0

func (response CreateFilesystemSnapshotPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateFilesystemSnapshotPolicyResponse) String added in v65.40.0

type CreateKerberosDetails added in v65.44.0

type CreateKerberosDetails struct {

	// The Kerberos realm that the mount target will join.
	KerberosRealm *string `mandatory:"true" json:"kerberosRealm"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the keytab Secret in the Vault.
	KeyTabSecretId *string `mandatory:"false" json:"keyTabSecretId"`

	// Version of the keytab Secret in the Vault to use.
	CurrentKeyTabSecretVersion *int `mandatory:"false" json:"currentKeyTabSecretVersion"`

	// Version of the keytab Secret in the Vault to use as a backup.
	BackupKeyTabSecretVersion *int `mandatory:"false" json:"backupKeyTabSecretVersion"`

	// Specifies whether to enable or disable Kerberos.
	IsKerberosEnabled *bool `mandatory:"false" json:"isKerberosEnabled"`
}

CreateKerberosDetails Kerberos details needed to create configuration.

func (CreateKerberosDetails) String added in v65.44.0

func (m CreateKerberosDetails) String() string

func (CreateKerberosDetails) ValidateEnumValue added in v65.44.0

func (m CreateKerberosDetails) 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

type CreateLdapBindAccountDetails added in v65.44.0

type CreateLdapBindAccountDetails struct {

	// The availability domain the outbound connector 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.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Array of server endpoints to use when connecting with the LDAP bind account.
	Endpoints []Endpoint `mandatory:"true" json:"endpoints"`

	// The LDAP Distinguished Name of the bind account.
	BindDistinguishedName *string `mandatory:"true" json:"bindDistinguishedName"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My outbound connector`
	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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the password for the LDAP bind account in the Vault.
	PasswordSecretId *string `mandatory:"false" json:"passwordSecretId"`

	// Version of the password secret in the Vault to use.
	PasswordSecretVersion *int `mandatory:"false" json:"passwordSecretVersion"`
}

CreateLdapBindAccountDetails Account details for the LDAP bind account to be used by mount targets that use this outbound connector.

func (CreateLdapBindAccountDetails) GetAvailabilityDomain added in v65.44.0

func (m CreateLdapBindAccountDetails) GetAvailabilityDomain() *string

GetAvailabilityDomain returns AvailabilityDomain

func (CreateLdapBindAccountDetails) GetCompartmentId added in v65.44.0

func (m CreateLdapBindAccountDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateLdapBindAccountDetails) GetDefinedTags added in v65.44.0

func (m CreateLdapBindAccountDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateLdapBindAccountDetails) GetDisplayName added in v65.44.0

func (m CreateLdapBindAccountDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateLdapBindAccountDetails) GetFreeformTags added in v65.44.0

func (m CreateLdapBindAccountDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateLdapBindAccountDetails) MarshalJSON added in v65.44.0

func (m CreateLdapBindAccountDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateLdapBindAccountDetails) String added in v65.44.0

func (CreateLdapBindAccountDetails) ValidateEnumValue added in v65.44.0

func (m CreateLdapBindAccountDetails) 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

type CreateLdapIdmapDetails added in v65.44.0

type CreateLdapIdmapDetails struct {

	// Schema type of the LDAP account.
	SchemaType CreateLdapIdmapDetailsSchemaTypeEnum `mandatory:"false" json:"schemaType,omitempty"`

	// The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
	CacheRefreshIntervalSeconds *int `mandatory:"false" json:"cacheRefreshIntervalSeconds"`

	// The maximum amount of time the mount target is allowed to use a cached entry.
	CacheLifetimeSeconds *int `mandatory:"false" json:"cacheLifetimeSeconds"`

	// The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
	NegativeCacheLifetimeSeconds *int `mandatory:"false" json:"negativeCacheLifetimeSeconds"`

	// All LDAP searches are recursive starting at this user.
	// Example: `CN=User,DC=domain,DC=com`
	UserSearchBase *string `mandatory:"false" json:"userSearchBase"`

	// All LDAP searches are recursive starting at this group.
	// Example: `CN=Group,DC=domain,DC=com`
	GroupSearchBase *string `mandatory:"false" json:"groupSearchBase"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the first connector to use to communicate with the LDAP server.
	OutboundConnector1Id *string `mandatory:"false" json:"outboundConnector1Id"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the second connector to use to communicate with the LDAP server.
	OutboundConnector2Id *string `mandatory:"false" json:"outboundConnector2Id"`
}

CreateLdapIdmapDetails Mount target details about the LDAP ID mapping configuration.

func (CreateLdapIdmapDetails) String added in v65.44.0

func (m CreateLdapIdmapDetails) String() string

func (CreateLdapIdmapDetails) ValidateEnumValue added in v65.44.0

func (m CreateLdapIdmapDetails) 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

type CreateLdapIdmapDetailsSchemaTypeEnum added in v65.44.0

type CreateLdapIdmapDetailsSchemaTypeEnum string

CreateLdapIdmapDetailsSchemaTypeEnum Enum with underlying type: string

const (
	CreateLdapIdmapDetailsSchemaTypeRfc2307 CreateLdapIdmapDetailsSchemaTypeEnum = "RFC2307"
)

Set of constants representing the allowable values for CreateLdapIdmapDetailsSchemaTypeEnum

func GetCreateLdapIdmapDetailsSchemaTypeEnumValues added in v65.44.0

func GetCreateLdapIdmapDetailsSchemaTypeEnumValues() []CreateLdapIdmapDetailsSchemaTypeEnum

GetCreateLdapIdmapDetailsSchemaTypeEnumValues Enumerates the set of values for CreateLdapIdmapDetailsSchemaTypeEnum

func GetMappingCreateLdapIdmapDetailsSchemaTypeEnum added in v65.44.0

func GetMappingCreateLdapIdmapDetailsSchemaTypeEnum(val string) (CreateLdapIdmapDetailsSchemaTypeEnum, bool)

GetMappingCreateLdapIdmapDetailsSchemaTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateMountTargetDetails

type CreateMountTargetDetails struct {

	// The availability domain in which to create the mount target.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to create the mount target.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My mount target`
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The hostname for the mount target's IP address, used for
	// DNS resolution. The value is the hostname portion of the private IP
	// address's fully qualified domain name (FQDN). For example,
	// `files-1` in the FQDN `files-1.subnet123.vcn1.oraclevcn.com`.
	// Must be unique across all VNICs in the subnet and comply
	// with RFC 952 (https://tools.ietf.org/html/rfc952)
	// and RFC 1123 (https://tools.ietf.org/html/rfc1123).
	// Note: This attribute value is stored in the PrivateIp (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource,
	// not in the `mountTarget` resource.
	// To update the `hostnameLabel`, use `GetMountTarget` to obtain the
	// OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target's
	// private IPs (`privateIpIds`). Then, you can use
	// UpdatePrivateIp (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp)
	// to update the `hostnameLabel` value.
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/Content/Network/Concepts/dns.htm).
	// Example: `files-1`
	HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

	// A private IP address of your choice. Must be an available IP address within
	// the subnet's CIDR. If you don't specify a value, Oracle automatically
	// assigns a private IP address from the subnet.
	// Note: This attribute value is stored in the PrivateIp (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource,
	// not in the `mountTarget` resource.
	// To update the `ipAddress`, use `GetMountTarget` to obtain the
	// OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target's
	// private IPs (`privateIpIds`). Then, you can use
	// UpdatePrivateIp (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp)
	// to update the `ipAddress` value.
	// Example: `10.0.3.3`
	IpAddress *string `mandatory:"false" json:"ipAddress"`

	// The method used to map a Unix UID to secondary groups, if any.
	IdmapType MountTargetIdmapTypeEnum `mandatory:"false" json:"idmapType,omitempty"`

	LdapIdmap *CreateLdapIdmapDetails `mandatory:"false" json:"ldapIdmap"`

	// A list of Network Security Group OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with this mount target.
	// A maximum of 5 is allowed.
	// Setting this to an empty array after the list is created removes the mount target from all NSGs.
	// For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm).
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	Kerberos *CreateKerberosDetails `mandatory:"false" json:"kerberos"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateMountTargetDetails Details for creating the mount target.

func (CreateMountTargetDetails) String

func (m CreateMountTargetDetails) String() string

func (CreateMountTargetDetails) ValidateEnumValue

func (m CreateMountTargetDetails) 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

type CreateMountTargetRequest

type CreateMountTargetRequest struct {

	// Details for creating a new mount target.
	CreateMountTargetDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateMountTargetRequest wrapper for the CreateMountTarget operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateMountTarget.go.html to see an example of how to use CreateMountTargetRequest.

func (CreateMountTargetRequest) BinaryRequestBody

func (request CreateMountTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateMountTargetRequest) HTTPRequest

func (request CreateMountTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateMountTargetRequest) RetryPolicy

func (request CreateMountTargetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateMountTargetRequest) String

func (request CreateMountTargetRequest) String() string

func (CreateMountTargetRequest) ValidateEnumValue

func (request CreateMountTargetRequest) 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

type CreateMountTargetResponse

type CreateMountTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The MountTarget instance
	MountTarget `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"`
}

CreateMountTargetResponse wrapper for the CreateMountTarget operation

func (CreateMountTargetResponse) HTTPResponse

func (response CreateMountTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateMountTargetResponse) String

func (response CreateMountTargetResponse) String() string

type CreateOutboundConnectorDetails added in v65.44.0

type CreateOutboundConnectorDetails interface {

	// The availability domain the outbound connector is in. May be unset
	// as a blank or NULL value.
	// Example: `Uocm:PHX-AD-1`
	GetAvailabilityDomain() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector.
	GetCompartmentId() *string

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My outbound connector`
	GetDisplayName() *string

	// 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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	GetDefinedTags() map[string]map[string]interface{}
}

CreateOutboundConnectorDetails Details for creating the outbound connector.

type CreateOutboundConnectorRequest added in v65.44.0

type CreateOutboundConnectorRequest struct {

	// Details for creating a new outbound connector.
	CreateOutboundConnectorDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateOutboundConnectorRequest wrapper for the CreateOutboundConnector operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateOutboundConnector.go.html to see an example of how to use CreateOutboundConnectorRequest.

func (CreateOutboundConnectorRequest) BinaryRequestBody added in v65.44.0

func (request CreateOutboundConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateOutboundConnectorRequest) HTTPRequest added in v65.44.0

func (request CreateOutboundConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateOutboundConnectorRequest) RetryPolicy added in v65.44.0

func (request CreateOutboundConnectorRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateOutboundConnectorRequest) String added in v65.44.0

func (request CreateOutboundConnectorRequest) String() string

func (CreateOutboundConnectorRequest) ValidateEnumValue added in v65.44.0

func (request CreateOutboundConnectorRequest) 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

type CreateOutboundConnectorResponse added in v65.44.0

type CreateOutboundConnectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OutboundConnector instance
	OutboundConnector `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"`
}

CreateOutboundConnectorResponse wrapper for the CreateOutboundConnector operation

func (CreateOutboundConnectorResponse) HTTPResponse added in v65.44.0

func (response CreateOutboundConnectorResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateOutboundConnectorResponse) String added in v65.44.0

func (response CreateOutboundConnectorResponse) String() string

type CreateReplicationDetails added in v65.22.0

type CreateReplicationDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the source file system.
	SourceId *string `mandatory:"true" json:"sourceId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the target file system.
	TargetId *string `mandatory:"true" json:"targetId"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// An associated replication target will also created with the same `displayName`.
	// Example: `My replication`
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Duration in minutes between replication snapshots.
	ReplicationInterval *int64 `mandatory:"false" json:"replicationInterval"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateReplicationDetails Details for creating the replication and replication target.

func (CreateReplicationDetails) String added in v65.22.0

func (m CreateReplicationDetails) String() string

func (CreateReplicationDetails) ValidateEnumValue added in v65.22.0

func (m CreateReplicationDetails) 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

type CreateReplicationRequest added in v65.22.0

type CreateReplicationRequest struct {

	// Details for creating a new replication.
	CreateReplicationDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateReplicationRequest wrapper for the CreateReplication operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateReplication.go.html to see an example of how to use CreateReplicationRequest.

func (CreateReplicationRequest) BinaryRequestBody added in v65.22.0

func (request CreateReplicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateReplicationRequest) HTTPRequest added in v65.22.0

func (request CreateReplicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateReplicationRequest) RetryPolicy added in v65.22.0

func (request CreateReplicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateReplicationRequest) String added in v65.22.0

func (request CreateReplicationRequest) String() string

func (CreateReplicationRequest) ValidateEnumValue added in v65.22.0

func (request CreateReplicationRequest) 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

type CreateReplicationResponse added in v65.22.0

type CreateReplicationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Replication instance
	Replication `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"`
}

CreateReplicationResponse wrapper for the CreateReplication operation

func (CreateReplicationResponse) HTTPResponse added in v65.22.0

func (response CreateReplicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateReplicationResponse) String added in v65.22.0

func (response CreateReplicationResponse) String() string

type CreateSnapshotDetails

type CreateSnapshotDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system to take a snapshot of.
	FileSystemId *string `mandatory:"true" json:"fileSystemId"`

	// Name of the snapshot. This value is immutable. It must also be unique with respect
	// to all other non-DELETED snapshots on the associated file
	// system.
	// Avoid entering confidential information.
	// Example: `Sunday`
	Name *string `mandatory:"true" json:"name"`

	// The time when this snapshot will be deleted.
	ExpirationTime *common.SDKTime `mandatory:"false" json:"expirationTime"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateSnapshotDetails Details for creating the snapshot.

func (CreateSnapshotDetails) String

func (m CreateSnapshotDetails) String() string

func (CreateSnapshotDetails) ValidateEnumValue

func (m CreateSnapshotDetails) 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

type CreateSnapshotRequest

type CreateSnapshotRequest struct {

	// Details for creating a new snapshot.
	CreateSnapshotDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateSnapshotRequest wrapper for the CreateSnapshot operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateSnapshot.go.html to see an example of how to use CreateSnapshotRequest.

func (CreateSnapshotRequest) BinaryRequestBody

func (request CreateSnapshotRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateSnapshotRequest) HTTPRequest

func (request CreateSnapshotRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateSnapshotRequest) RetryPolicy

func (request CreateSnapshotRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateSnapshotRequest) String

func (request CreateSnapshotRequest) String() string

func (CreateSnapshotRequest) ValidateEnumValue

func (request CreateSnapshotRequest) 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

type CreateSnapshotResponse

type CreateSnapshotResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Snapshot instance
	Snapshot `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"`
}

CreateSnapshotResponse wrapper for the CreateSnapshot operation

func (CreateSnapshotResponse) HTTPResponse

func (response CreateSnapshotResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateSnapshotResponse) String

func (response CreateSnapshotResponse) String() string

type DeleteExportRequest

type DeleteExportRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export.
	ExportId *string `mandatory:"true" contributesTo:"path" name:"exportId"`

	// 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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteExportRequest wrapper for the DeleteExport operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteExport.go.html to see an example of how to use DeleteExportRequest.

func (DeleteExportRequest) BinaryRequestBody

func (request DeleteExportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteExportRequest) HTTPRequest

func (request DeleteExportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteExportRequest) RetryPolicy

func (request DeleteExportRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteExportRequest) String

func (request DeleteExportRequest) String() string

func (DeleteExportRequest) ValidateEnumValue

func (request DeleteExportRequest) 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

type DeleteExportResponse

type DeleteExportResponse 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"`
}

DeleteExportResponse wrapper for the DeleteExport operation

func (DeleteExportResponse) HTTPResponse

func (response DeleteExportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteExportResponse) String

func (response DeleteExportResponse) String() string

type DeleteFileSystemRequest

type DeleteFileSystemRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system.
	FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"`

	// 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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteFileSystemRequest wrapper for the DeleteFileSystem operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteFileSystem.go.html to see an example of how to use DeleteFileSystemRequest.

func (DeleteFileSystemRequest) BinaryRequestBody

func (request DeleteFileSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteFileSystemRequest) HTTPRequest

func (request DeleteFileSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteFileSystemRequest) RetryPolicy

func (request DeleteFileSystemRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteFileSystemRequest) String

func (request DeleteFileSystemRequest) String() string

func (DeleteFileSystemRequest) ValidateEnumValue

func (request DeleteFileSystemRequest) 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

type DeleteFileSystemResponse

type DeleteFileSystemResponse 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"`
}

DeleteFileSystemResponse wrapper for the DeleteFileSystem operation

func (DeleteFileSystemResponse) HTTPResponse

func (response DeleteFileSystemResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteFileSystemResponse) String

func (response DeleteFileSystemResponse) String() string

type DeleteFilesystemSnapshotPolicyRequest added in v65.40.0

type DeleteFilesystemSnapshotPolicyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy.
	FilesystemSnapshotPolicyId *string `mandatory:"true" contributesTo:"path" name:"filesystemSnapshotPolicyId"`

	// 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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteFilesystemSnapshotPolicyRequest wrapper for the DeleteFilesystemSnapshotPolicy operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteFilesystemSnapshotPolicy.go.html to see an example of how to use DeleteFilesystemSnapshotPolicyRequest.

func (DeleteFilesystemSnapshotPolicyRequest) BinaryRequestBody added in v65.40.0

func (request DeleteFilesystemSnapshotPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteFilesystemSnapshotPolicyRequest) HTTPRequest added in v65.40.0

func (request DeleteFilesystemSnapshotPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteFilesystemSnapshotPolicyRequest) RetryPolicy added in v65.40.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteFilesystemSnapshotPolicyRequest) String added in v65.40.0

func (DeleteFilesystemSnapshotPolicyRequest) ValidateEnumValue added in v65.40.0

func (request DeleteFilesystemSnapshotPolicyRequest) 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

type DeleteFilesystemSnapshotPolicyResponse added in v65.40.0

type DeleteFilesystemSnapshotPolicyResponse 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"`
}

DeleteFilesystemSnapshotPolicyResponse wrapper for the DeleteFilesystemSnapshotPolicy operation

func (DeleteFilesystemSnapshotPolicyResponse) HTTPResponse added in v65.40.0

func (response DeleteFilesystemSnapshotPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteFilesystemSnapshotPolicyResponse) String added in v65.40.0

type DeleteMountTargetRequest

type DeleteMountTargetRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target.
	MountTargetId *string `mandatory:"true" contributesTo:"path" name:"mountTargetId"`

	// 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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteMountTargetRequest wrapper for the DeleteMountTarget operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteMountTarget.go.html to see an example of how to use DeleteMountTargetRequest.

func (DeleteMountTargetRequest) BinaryRequestBody

func (request DeleteMountTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteMountTargetRequest) HTTPRequest

func (request DeleteMountTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteMountTargetRequest) RetryPolicy

func (request DeleteMountTargetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteMountTargetRequest) String

func (request DeleteMountTargetRequest) String() string

func (DeleteMountTargetRequest) ValidateEnumValue

func (request DeleteMountTargetRequest) 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

type DeleteMountTargetResponse

type DeleteMountTargetResponse 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"`
}

DeleteMountTargetResponse wrapper for the DeleteMountTarget operation

func (DeleteMountTargetResponse) HTTPResponse

func (response DeleteMountTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteMountTargetResponse) String

func (response DeleteMountTargetResponse) String() string

type DeleteOutboundConnectorRequest added in v65.44.0

type DeleteOutboundConnectorRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector.
	OutboundConnectorId *string `mandatory:"true" contributesTo:"path" name:"outboundConnectorId"`

	// 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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteOutboundConnectorRequest wrapper for the DeleteOutboundConnector operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteOutboundConnector.go.html to see an example of how to use DeleteOutboundConnectorRequest.

func (DeleteOutboundConnectorRequest) BinaryRequestBody added in v65.44.0

func (request DeleteOutboundConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteOutboundConnectorRequest) HTTPRequest added in v65.44.0

func (request DeleteOutboundConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteOutboundConnectorRequest) RetryPolicy added in v65.44.0

func (request DeleteOutboundConnectorRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteOutboundConnectorRequest) String added in v65.44.0

func (request DeleteOutboundConnectorRequest) String() string

func (DeleteOutboundConnectorRequest) ValidateEnumValue added in v65.44.0

func (request DeleteOutboundConnectorRequest) 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

type DeleteOutboundConnectorResponse added in v65.44.0

type DeleteOutboundConnectorResponse 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"`
}

DeleteOutboundConnectorResponse wrapper for the DeleteOutboundConnector operation

func (DeleteOutboundConnectorResponse) HTTPResponse added in v65.44.0

func (response DeleteOutboundConnectorResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteOutboundConnectorResponse) String added in v65.44.0

func (response DeleteOutboundConnectorResponse) String() string

type DeleteReplicationDeleteModeEnum added in v65.22.0

type DeleteReplicationDeleteModeEnum string

DeleteReplicationDeleteModeEnum Enum with underlying type: string

const (
	DeleteReplicationDeleteModeFinishCycleIfCapturingOrApplying DeleteReplicationDeleteModeEnum = "FINISH_CYCLE_IF_CAPTURING_OR_APPLYING"
	DeleteReplicationDeleteModeOneMoreCycle                     DeleteReplicationDeleteModeEnum = "ONE_MORE_CYCLE"
	DeleteReplicationDeleteModeFinishCycleIfApplying            DeleteReplicationDeleteModeEnum = "FINISH_CYCLE_IF_APPLYING"
)

Set of constants representing the allowable values for DeleteReplicationDeleteModeEnum

func GetDeleteReplicationDeleteModeEnumValues added in v65.22.0

func GetDeleteReplicationDeleteModeEnumValues() []DeleteReplicationDeleteModeEnum

GetDeleteReplicationDeleteModeEnumValues Enumerates the set of values for DeleteReplicationDeleteModeEnum

func GetMappingDeleteReplicationDeleteModeEnum added in v65.22.0

func GetMappingDeleteReplicationDeleteModeEnum(val string) (DeleteReplicationDeleteModeEnum, bool)

GetMappingDeleteReplicationDeleteModeEnum performs case Insensitive comparison on enum value and return the desired enum

type DeleteReplicationRequest added in v65.22.0

type DeleteReplicationRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication.
	ReplicationId *string `mandatory:"true" contributesTo:"path" name:"replicationId"`

	// 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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// You can choose a mode for deleting the replication resource.
	// - `FINISH_CYCLE_IF_CAPTURING_OR_APPLYING` Before deleting, complete the current delta cycle. If cycle is idle, delete immediately. Safest option.
	// - `ONE_MORE_CYCLE` Before deleting, complete the current delta cycle, and initiate one more cycle. If cycle is idle, initiate one more cycle. Use for lossless failover.
	// - `FINISH_CYCLE_IF_APPLYING` Before deleting, finish applying. If cycle is idle or capturing, delete immediately. Fastest option.
	DeleteMode DeleteReplicationDeleteModeEnum `mandatory:"false" contributesTo:"query" name:"deleteMode" 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
}

DeleteReplicationRequest wrapper for the DeleteReplication operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteReplication.go.html to see an example of how to use DeleteReplicationRequest.

func (DeleteReplicationRequest) BinaryRequestBody added in v65.22.0

func (request DeleteReplicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteReplicationRequest) HTTPRequest added in v65.22.0

func (request DeleteReplicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteReplicationRequest) RetryPolicy added in v65.22.0

func (request DeleteReplicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteReplicationRequest) String added in v65.22.0

func (request DeleteReplicationRequest) String() string

func (DeleteReplicationRequest) ValidateEnumValue added in v65.22.0

func (request DeleteReplicationRequest) 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

type DeleteReplicationResponse added in v65.22.0

type DeleteReplicationResponse 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"`
}

DeleteReplicationResponse wrapper for the DeleteReplication operation

func (DeleteReplicationResponse) HTTPResponse added in v65.22.0

func (response DeleteReplicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteReplicationResponse) String added in v65.22.0

func (response DeleteReplicationResponse) String() string

type DeleteReplicationTargetRequest added in v65.22.0

type DeleteReplicationTargetRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication target.
	ReplicationTargetId *string `mandatory:"true" contributesTo:"path" name:"replicationTargetId"`

	// 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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteReplicationTargetRequest wrapper for the DeleteReplicationTarget operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteReplicationTarget.go.html to see an example of how to use DeleteReplicationTargetRequest.

func (DeleteReplicationTargetRequest) BinaryRequestBody added in v65.22.0

func (request DeleteReplicationTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteReplicationTargetRequest) HTTPRequest added in v65.22.0

func (request DeleteReplicationTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteReplicationTargetRequest) RetryPolicy added in v65.22.0

func (request DeleteReplicationTargetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteReplicationTargetRequest) String added in v65.22.0

func (request DeleteReplicationTargetRequest) String() string

func (DeleteReplicationTargetRequest) ValidateEnumValue added in v65.22.0

func (request DeleteReplicationTargetRequest) 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

type DeleteReplicationTargetResponse added in v65.22.0

type DeleteReplicationTargetResponse 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"`
}

DeleteReplicationTargetResponse wrapper for the DeleteReplicationTarget operation

func (DeleteReplicationTargetResponse) HTTPResponse added in v65.22.0

func (response DeleteReplicationTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteReplicationTargetResponse) String added in v65.22.0

func (response DeleteReplicationTargetResponse) String() string

type DeleteSnapshotRequest

type DeleteSnapshotRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot.
	SnapshotId *string `mandatory:"true" contributesTo:"path" name:"snapshotId"`

	// 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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteSnapshotRequest wrapper for the DeleteSnapshot operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteSnapshot.go.html to see an example of how to use DeleteSnapshotRequest.

func (DeleteSnapshotRequest) BinaryRequestBody

func (request DeleteSnapshotRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteSnapshotRequest) HTTPRequest

func (request DeleteSnapshotRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteSnapshotRequest) RetryPolicy

func (request DeleteSnapshotRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteSnapshotRequest) String

func (request DeleteSnapshotRequest) String() string

func (DeleteSnapshotRequest) ValidateEnumValue

func (request DeleteSnapshotRequest) 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

type DeleteSnapshotResponse

type DeleteSnapshotResponse 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"`
}

DeleteSnapshotResponse wrapper for the DeleteSnapshot operation

func (DeleteSnapshotResponse) HTTPResponse

func (response DeleteSnapshotResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteSnapshotResponse) String

func (response DeleteSnapshotResponse) String() string

type Endpoint added in v65.44.0

type Endpoint struct {

	// Name of the DNS server.
	Hostname *string `mandatory:"true" json:"hostname"`

	// Port of the DNS server.
	Port *int64 `mandatory:"true" json:"port"`
}

Endpoint Combination of DNS server name and port.

func (Endpoint) String added in v65.44.0

func (m Endpoint) String() string

func (Endpoint) ValidateEnumValue added in v65.44.0

func (m Endpoint) 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

type EstimateReplicationRequest added in v65.22.0

type EstimateReplicationRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system.
	FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"`

	// 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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The rate of change of data on source file system in MegaBytes per second.
	ChangeRateInMBps *int `mandatory:"false" contributesTo:"query" name:"changeRateInMBps"`

	// 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
}

EstimateReplicationRequest wrapper for the EstimateReplication operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/EstimateReplication.go.html to see an example of how to use EstimateReplicationRequest.

func (EstimateReplicationRequest) BinaryRequestBody added in v65.22.0

func (request EstimateReplicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (EstimateReplicationRequest) HTTPRequest added in v65.22.0

func (request EstimateReplicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (EstimateReplicationRequest) RetryPolicy added in v65.22.0

func (request EstimateReplicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (EstimateReplicationRequest) String added in v65.22.0

func (request EstimateReplicationRequest) String() string

func (EstimateReplicationRequest) ValidateEnumValue added in v65.22.0

func (request EstimateReplicationRequest) 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

type EstimateReplicationResponse added in v65.22.0

type EstimateReplicationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ReplicationEstimate instance
	ReplicationEstimate `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"`
}

EstimateReplicationResponse wrapper for the EstimateReplication operation

func (EstimateReplicationResponse) HTTPResponse added in v65.22.0

func (response EstimateReplicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (EstimateReplicationResponse) String added in v65.22.0

func (response EstimateReplicationResponse) String() string

type Export

type Export struct {

	// Policies that apply to NFS requests made through this
	// export. `exportOptions` contains a sequential list of
	// `ClientOptions`. Each `ClientOptions` item defines the
	// export options that are applied to a specified
	// set of clients.
	// For each NFS request, the first `ClientOptions` option
	// in the list whose `source` attribute matches the source
	// IP address of the request is applied.
	// If a client source IP address does not match the `source`
	// property of any `ClientOptions` in the list, then the
	// export will be invisible to that client. This export will
	// not be returned by `MOUNTPROC_EXPORT` calls made by the client
	// and any attempt to mount or access the file system through
	// this export will result in an error.
	// **Exports without defined `ClientOptions` are invisible to all clients.**
	// If one export is invisible to a particular client, associated file
	// systems may still be accessible through other exports on the same
	// or different mount targets.
	// To completely deny client access to a file system, be sure that the client
	// source IP address is not included in any export for any mount target
	// associated with the file system.
	ExportOptions []ClientOptions `mandatory:"true" json:"exportOptions"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export's export set.
	ExportSetId *string `mandatory:"true" json:"exportSetId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export's file system.
	FileSystemId *string `mandatory:"true" json:"fileSystemId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export.
	Id *string `mandatory:"true" json:"id"`

	// The current state of this export.
	LifecycleState ExportLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Path used to access the associated file system.
	// Avoid entering confidential information.
	// Example: `/accounting`
	Path *string `mandatory:"true" json:"path"`

	// The date and time the export was created, expressed
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
	IsIdmapGroupsForSysAuth *bool `mandatory:"false" json:"isIdmapGroupsForSysAuth"`
}

Export A file system and the path that you can use to mount it. Each export resource belongs to exactly one export set. The export's path attribute is not a path in the referenced file system, but the value used by clients for the path component of the remotetarget argument when mounting the file system. The path must start with a slash (/) followed by a sequence of zero or more slash-separated path elements. For any two export resources associated with the same export set, except those in a 'DELETED' state, the path element sequence for the first export resource can't contain the complete path element sequence of the second export resource.

For example, the following are acceptable:

  • /example and /path
  • /example1 and /example2
  • /example and /example1

The following examples are not acceptable:

  • /example and /example/path
  • / and /example

Paths may not end in a slash (/). No path element can be a period (.) or two periods in sequence (..). All path elements must be 255 bytes or less. No two non-'DELETED' export resources in the same export set can reference the same file system. Use `exportOptions` to control access to an export. For more information, see Export Options (https://docs.cloud.oracle.com/Content/File/Tasks/exportoptions.htm).

func (Export) String

func (m Export) String() string

func (Export) ValidateEnumValue

func (m Export) 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

type ExportLifecycleStateEnum

type ExportLifecycleStateEnum string

ExportLifecycleStateEnum Enum with underlying type: string

const (
	ExportLifecycleStateCreating ExportLifecycleStateEnum = "CREATING"
	ExportLifecycleStateActive   ExportLifecycleStateEnum = "ACTIVE"
	ExportLifecycleStateDeleting ExportLifecycleStateEnum = "DELETING"
	ExportLifecycleStateDeleted  ExportLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ExportLifecycleStateEnum

func GetExportLifecycleStateEnumValues

func GetExportLifecycleStateEnumValues() []ExportLifecycleStateEnum

GetExportLifecycleStateEnumValues Enumerates the set of values for ExportLifecycleStateEnum

func GetMappingExportLifecycleStateEnum

func GetMappingExportLifecycleStateEnum(val string) (ExportLifecycleStateEnum, bool)

GetMappingExportLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ExportSet

type ExportSet struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the export set.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My export set`
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export set.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the export set.
	LifecycleState ExportSetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the export set was created, expressed
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual cloud network (VCN) the export set is in.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// The availability domain the export set is in. May be unset
	// as a blank or NULL value.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// Controls the maximum `tbytes`, `fbytes`, and `abytes`,
	// values reported by `NFS FSSTAT` calls through any associated
	// mount targets. This is an advanced feature. For most
	// applications, use the default value. The
	// `tbytes` value reported by `FSSTAT` will be
	// `maxFsStatBytes`. The value of `fbytes` and `abytes` will be
	// `maxFsStatBytes` minus the metered size of the file
	// system. If the metered size is larger than `maxFsStatBytes`,
	// then `fbytes` and `abytes` will both be '0'.
	MaxFsStatBytes *int64 `mandatory:"false" json:"maxFsStatBytes"`

	// Controls the maximum `tfiles`, `ffiles`, and `afiles`
	// values reported by `NFS FSSTAT` calls through any associated
	// mount targets. This is an advanced feature. For most
	// applications, use the default value. The
	// `tfiles` value reported by `FSSTAT` will be
	// `maxFsStatFiles`. The value of `ffiles` and `afiles` will be
	// `maxFsStatFiles` minus the metered size of the file
	// system. If the metered size is larger than `maxFsStatFiles`,
	// then `ffiles` and `afiles` will both be '0'.
	MaxFsStatFiles *int64 `mandatory:"false" json:"maxFsStatFiles"`
}

ExportSet A set of file systems to export through one or more mount targets. Composed of zero or more export resources.

func (ExportSet) String

func (m ExportSet) String() string

func (ExportSet) ValidateEnumValue

func (m ExportSet) 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

type ExportSetLifecycleStateEnum

type ExportSetLifecycleStateEnum string

ExportSetLifecycleStateEnum Enum with underlying type: string

const (
	ExportSetLifecycleStateCreating ExportSetLifecycleStateEnum = "CREATING"
	ExportSetLifecycleStateActive   ExportSetLifecycleStateEnum = "ACTIVE"
	ExportSetLifecycleStateDeleting ExportSetLifecycleStateEnum = "DELETING"
	ExportSetLifecycleStateDeleted  ExportSetLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ExportSetLifecycleStateEnum

func GetExportSetLifecycleStateEnumValues

func GetExportSetLifecycleStateEnumValues() []ExportSetLifecycleStateEnum

GetExportSetLifecycleStateEnumValues Enumerates the set of values for ExportSetLifecycleStateEnum

func GetMappingExportSetLifecycleStateEnum

func GetMappingExportSetLifecycleStateEnum(val string) (ExportSetLifecycleStateEnum, bool)

GetMappingExportSetLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ExportSetSummary

type ExportSetSummary struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the export set.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My export set`
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export set.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the export set.
	LifecycleState ExportSetSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the export set was created, expressed
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual cloud network (VCN) the export set is in.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// The availability domain the export set is in. May be unset
	// as a blank or NULL value.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`
}

ExportSetSummary Summary information for an export set.

func (ExportSetSummary) String

func (m ExportSetSummary) String() string

func (ExportSetSummary) ValidateEnumValue

func (m ExportSetSummary) 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

type ExportSetSummaryLifecycleStateEnum

type ExportSetSummaryLifecycleStateEnum string

ExportSetSummaryLifecycleStateEnum Enum with underlying type: string

const (
	ExportSetSummaryLifecycleStateCreating ExportSetSummaryLifecycleStateEnum = "CREATING"
	ExportSetSummaryLifecycleStateActive   ExportSetSummaryLifecycleStateEnum = "ACTIVE"
	ExportSetSummaryLifecycleStateDeleting ExportSetSummaryLifecycleStateEnum = "DELETING"
	ExportSetSummaryLifecycleStateDeleted  ExportSetSummaryLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ExportSetSummaryLifecycleStateEnum

func GetExportSetSummaryLifecycleStateEnumValues

func GetExportSetSummaryLifecycleStateEnumValues() []ExportSetSummaryLifecycleStateEnum

GetExportSetSummaryLifecycleStateEnumValues Enumerates the set of values for ExportSetSummaryLifecycleStateEnum

func GetMappingExportSetSummaryLifecycleStateEnum

func GetMappingExportSetSummaryLifecycleStateEnum(val string) (ExportSetSummaryLifecycleStateEnum, bool)

GetMappingExportSetSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ExportSummary

type ExportSummary struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export's export set.
	ExportSetId *string `mandatory:"true" json:"exportSetId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export's file system.
	FileSystemId *string `mandatory:"true" json:"fileSystemId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export.
	Id *string `mandatory:"true" json:"id"`

	// The current state of this export.
	LifecycleState ExportSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Path used to access the associated file system.
	// Avoid entering confidential information.
	// Example: `/mediafiles`
	Path *string `mandatory:"true" json:"path"`

	// The date and time the export was created, expressed
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
	IsIdmapGroupsForSysAuth *bool `mandatory:"false" json:"isIdmapGroupsForSysAuth"`
}

ExportSummary Summary information for an export.

func (ExportSummary) String

func (m ExportSummary) String() string

func (ExportSummary) ValidateEnumValue

func (m ExportSummary) 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

type ExportSummaryLifecycleStateEnum

type ExportSummaryLifecycleStateEnum string

ExportSummaryLifecycleStateEnum Enum with underlying type: string

const (
	ExportSummaryLifecycleStateCreating ExportSummaryLifecycleStateEnum = "CREATING"
	ExportSummaryLifecycleStateActive   ExportSummaryLifecycleStateEnum = "ACTIVE"
	ExportSummaryLifecycleStateDeleting ExportSummaryLifecycleStateEnum = "DELETING"
	ExportSummaryLifecycleStateDeleted  ExportSummaryLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ExportSummaryLifecycleStateEnum

func GetExportSummaryLifecycleStateEnumValues

func GetExportSummaryLifecycleStateEnumValues() []ExportSummaryLifecycleStateEnum

GetExportSummaryLifecycleStateEnumValues Enumerates the set of values for ExportSummaryLifecycleStateEnum

func GetMappingExportSummaryLifecycleStateEnum

func GetMappingExportSummaryLifecycleStateEnum(val string) (ExportSummaryLifecycleStateEnum, bool)

GetMappingExportSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type FileStorageClient

type FileStorageClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

FileStorageClient a client for FileStorage

func NewFileStorageClientWithConfigurationProvider

func NewFileStorageClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client FileStorageClient, err error)

NewFileStorageClientWithConfigurationProvider Creates a new default FileStorage client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewFileStorageClientWithOboToken

func NewFileStorageClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client FileStorageClient, err error)

NewFileStorageClientWithOboToken Creates a new default FileStorage 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 (FileStorageClient) ChangeFileSystemCompartment

func (client FileStorageClient) ChangeFileSystemCompartment(ctx context.Context, request ChangeFileSystemCompartmentRequest) (response ChangeFileSystemCompartmentResponse, err error)

ChangeFileSystemCompartment Moves a file system and its associated snapshots into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes)

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeFileSystemCompartment.go.html to see an example of how to use ChangeFileSystemCompartment API.

func (FileStorageClient) ChangeFilesystemSnapshotPolicyCompartment added in v65.40.0

func (client FileStorageClient) ChangeFilesystemSnapshotPolicyCompartment(ctx context.Context, request ChangeFilesystemSnapshotPolicyCompartmentRequest) (response ChangeFilesystemSnapshotPolicyCompartmentResponse, err error)

ChangeFilesystemSnapshotPolicyCompartment Moves a file system snapshot policy into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeFilesystemSnapshotPolicyCompartment.go.html to see an example of how to use ChangeFilesystemSnapshotPolicyCompartment API.

func (FileStorageClient) ChangeMountTargetCompartment

func (client FileStorageClient) ChangeMountTargetCompartment(ctx context.Context, request ChangeMountTargetCompartmentRequest) (response ChangeMountTargetCompartmentResponse, err error)

ChangeMountTargetCompartment Moves a mount target and its associated export set or share set into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes)

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeMountTargetCompartment.go.html to see an example of how to use ChangeMountTargetCompartment API.

func (FileStorageClient) ChangeOutboundConnectorCompartment added in v65.44.0

func (client FileStorageClient) ChangeOutboundConnectorCompartment(ctx context.Context, request ChangeOutboundConnectorCompartmentRequest) (response ChangeOutboundConnectorCompartmentResponse, err error)

ChangeOutboundConnectorCompartment Moves an outbound connector into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes)

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeOutboundConnectorCompartment.go.html to see an example of how to use ChangeOutboundConnectorCompartment API.

func (FileStorageClient) ChangeReplicationCompartment added in v65.22.0

func (client FileStorageClient) ChangeReplicationCompartment(ctx context.Context, request ChangeReplicationCompartmentRequest) (response ChangeReplicationCompartmentResponse, err error)

ChangeReplicationCompartment Moves a replication and its replication target into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeReplicationCompartment.go.html to see an example of how to use ChangeReplicationCompartment API.

func (*FileStorageClient) ConfigurationProvider

func (client *FileStorageClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (FileStorageClient) CreateExport

func (client FileStorageClient) CreateExport(ctx context.Context, request CreateExportRequest) (response CreateExportResponse, err error)

CreateExport Creates a new export in the specified export set, path, and file system.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateExport.go.html to see an example of how to use CreateExport API.

func (FileStorageClient) CreateFileSystem

func (client FileStorageClient) CreateFileSystem(ctx context.Context, request CreateFileSystemRequest) (response CreateFileSystemResponse, err error)

CreateFileSystem Creates a new file system in the specified compartment and availability domain. Instances can mount file systems in another availability domain, but doing so might increase latency when compared to mounting instances in the same availability domain. After you create a file system, you can associate it with a mount target. Instances can then mount the file system by connecting to the mount target's IP address. You can associate a file system with more than one mount target at a time. For information about access control and compartments, see Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). For information about Network Security Groups access control, see Network Security Groups (https://docs.cloud.oracle.com/Content/Network/Concepts/networksecuritygroups.htm). For information about availability domains, see Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). To get a list of availability domains, use the `ListAvailabilityDomains` operation in the Identity and Access Management Service API. All Oracle Cloud Infrastructure resources, including file systems, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). When you create a resource, you can find its OCID in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type or by viewing the resource in the Console.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateFileSystem.go.html to see an example of how to use CreateFileSystem API.

func (FileStorageClient) CreateFilesystemSnapshotPolicy added in v65.40.0

func (client FileStorageClient) CreateFilesystemSnapshotPolicy(ctx context.Context, request CreateFilesystemSnapshotPolicyRequest) (response CreateFilesystemSnapshotPolicyResponse, err error)

CreateFilesystemSnapshotPolicy Creates a new file system snapshot policy in the specified compartment and availability domain. After you create a file system snapshot policy, you can associate it with file systems.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateFilesystemSnapshotPolicy.go.html to see an example of how to use CreateFilesystemSnapshotPolicy API.

func (FileStorageClient) CreateMountTarget

func (client FileStorageClient) CreateMountTarget(ctx context.Context, request CreateMountTargetRequest) (response CreateMountTargetResponse, err error)

CreateMountTarget Creates a new mount target in the specified compartment and subnet. You can associate a file system with a mount target only when they exist in the same availability domain. Instances can connect to mount targets in another availablity domain, but you might see higher latency than with instances in the same availability domain as the mount target. Mount targets have one or more private IP addresses that you can provide as the host portion of remote target parameters in client mount commands. These private IP addresses are listed in the privateIpIds property of the mount target and are highly available. Mount targets also consume additional IP addresses in their subnet. Do not use /30 or smaller subnets for mount target creation because they do not have sufficient available IP addresses. Allow at least three IP addresses for each mount target. For information about access control and compartments, see Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). For information about availability domains, see Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). To get a list of availability domains, use the `ListAvailabilityDomains` operation in the Identity and Access Management Service API. All Oracle Cloud Infrastructure Services resources, including mount targets, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). When you create a resource, you can find its OCID in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the resource in the Console.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateMountTarget.go.html to see an example of how to use CreateMountTarget API.

func (FileStorageClient) CreateOutboundConnector added in v65.44.0

func (client FileStorageClient) CreateOutboundConnector(ctx context.Context, request CreateOutboundConnectorRequest) (response CreateOutboundConnectorResponse, err error)

CreateOutboundConnector Creates a new outbound connector in the specified compartment. You can associate an outbound connector with a mount target only when they exist in the same availability domain. For information about access control and compartments, see Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). For information about availability domains, see Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). To get a list of availability domains, use the `ListAvailabilityDomains` operation in the Identity and Access Management Service API. All Oracle Cloud Infrastructure Services resources, including outbound connectors, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). When you create a resource, you can find its OCID in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the resource in the Console.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateOutboundConnector.go.html to see an example of how to use CreateOutboundConnector API.

func (FileStorageClient) CreateReplication added in v65.22.0

func (client FileStorageClient) CreateReplication(ctx context.Context, request CreateReplicationRequest) (response CreateReplicationResponse, err error)

CreateReplication Creates a new replication in the specified compartment. Replications are the primary resource that governs the policy of cross-region replication between source and target file systems. Replications are associated with a secondary resource called a ReplicationTarget located in another availability domain. The associated replication target resource is automatically created along with the replication resource. The replication retrieves the delta of data between two snapshots of a source file system and sends it to the associated `ReplicationTarget`, which retrieves the delta and applies it to the target file system. Only unexported file systems can be used as target file systems. For more information, see Using Replication (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/FSreplication.htm). For information about access control and compartments, see Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). For information about availability domains, see Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). To get a list of availability domains, use the `ListAvailabilityDomains` operation in the Identity and Access Management Service API. All Oracle Cloud Infrastructure Services resources, including replications, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). When you create a resource, you can find its OCID in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the resource in the Console.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateReplication.go.html to see an example of how to use CreateReplication API.

func (FileStorageClient) CreateSnapshot

func (client FileStorageClient) CreateSnapshot(ctx context.Context, request CreateSnapshotRequest) (response CreateSnapshotResponse, err error)

CreateSnapshot Creates a new snapshot of the specified file system. You can access the snapshot at `.snapshot/<name>`.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateSnapshot.go.html to see an example of how to use CreateSnapshot API.

func (FileStorageClient) DeleteExport

func (client FileStorageClient) DeleteExport(ctx context.Context, request DeleteExportRequest) (response DeleteExportResponse, err error)

DeleteExport Deletes the specified export.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteExport.go.html to see an example of how to use DeleteExport API.

func (FileStorageClient) DeleteFileSystem

func (client FileStorageClient) DeleteFileSystem(ctx context.Context, request DeleteFileSystemRequest) (response DeleteFileSystemResponse, err error)

DeleteFileSystem Deletes the specified file system. Before you delete the file system, verify that no remaining export resources still reference it. Deleting a file system also deletes all of its snapshots.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteFileSystem.go.html to see an example of how to use DeleteFileSystem API.

func (FileStorageClient) DeleteFilesystemSnapshotPolicy added in v65.40.0

func (client FileStorageClient) DeleteFilesystemSnapshotPolicy(ctx context.Context, request DeleteFilesystemSnapshotPolicyRequest) (response DeleteFilesystemSnapshotPolicyResponse, err error)

DeleteFilesystemSnapshotPolicy Deletes the specified file system snapshot policy.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteFilesystemSnapshotPolicy.go.html to see an example of how to use DeleteFilesystemSnapshotPolicy API.

func (FileStorageClient) DeleteMountTarget

func (client FileStorageClient) DeleteMountTarget(ctx context.Context, request DeleteMountTargetRequest) (response DeleteMountTargetResponse, err error)

DeleteMountTarget Deletes the specified mount target. This operation also deletes the mount target's VNICs.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteMountTarget.go.html to see an example of how to use DeleteMountTarget API.

func (FileStorageClient) DeleteOutboundConnector added in v65.44.0

func (client FileStorageClient) DeleteOutboundConnector(ctx context.Context, request DeleteOutboundConnectorRequest) (response DeleteOutboundConnectorResponse, err error)

DeleteOutboundConnector Deletes the specified outbound connector.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteOutboundConnector.go.html to see an example of how to use DeleteOutboundConnector API.

func (FileStorageClient) DeleteReplication added in v65.22.0

func (client FileStorageClient) DeleteReplication(ctx context.Context, request DeleteReplicationRequest) (response DeleteReplicationResponse, err error)

DeleteReplication Deletes the specified replication and the the associated replication target.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteReplication.go.html to see an example of how to use DeleteReplication API.

func (FileStorageClient) DeleteReplicationTarget added in v65.22.0

func (client FileStorageClient) DeleteReplicationTarget(ctx context.Context, request DeleteReplicationTargetRequest) (response DeleteReplicationTargetResponse, err error)

DeleteReplicationTarget Deletes the specified replication target. This operation causes the immediate release of the target file system if there are currently no delta application operations. If there is any current delta being applied the delete operation is blocked until the current delta has been completely applied.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteReplicationTarget.go.html to see an example of how to use DeleteReplicationTarget API.

func (FileStorageClient) DeleteSnapshot

func (client FileStorageClient) DeleteSnapshot(ctx context.Context, request DeleteSnapshotRequest) (response DeleteSnapshotResponse, err error)

DeleteSnapshot Deletes the specified snapshot.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteSnapshot.go.html to see an example of how to use DeleteSnapshot API.

func (FileStorageClient) EstimateReplication added in v65.22.0

func (client FileStorageClient) EstimateReplication(ctx context.Context, request EstimateReplicationRequest) (response EstimateReplicationResponse, err error)

EstimateReplication Provides estimates for replication created using specific file system.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/EstimateReplication.go.html to see an example of how to use EstimateReplication API.

func (FileStorageClient) GetExport

func (client FileStorageClient) GetExport(ctx context.Context, request GetExportRequest) (response GetExportResponse, err error)

GetExport Gets the specified export's information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetExport.go.html to see an example of how to use GetExport API.

func (FileStorageClient) GetExportSet

func (client FileStorageClient) GetExportSet(ctx context.Context, request GetExportSetRequest) (response GetExportSetResponse, err error)

GetExportSet Gets the specified export set's information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetExportSet.go.html to see an example of how to use GetExportSet API.

func (FileStorageClient) GetFileSystem

func (client FileStorageClient) GetFileSystem(ctx context.Context, request GetFileSystemRequest) (response GetFileSystemResponse, err error)

GetFileSystem Gets the specified file system's information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetFileSystem.go.html to see an example of how to use GetFileSystem API.

func (FileStorageClient) GetFilesystemSnapshotPolicy added in v65.40.0

func (client FileStorageClient) GetFilesystemSnapshotPolicy(ctx context.Context, request GetFilesystemSnapshotPolicyRequest) (response GetFilesystemSnapshotPolicyResponse, err error)

GetFilesystemSnapshotPolicy Gets the specified file system snapshot policy's information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetFilesystemSnapshotPolicy.go.html to see an example of how to use GetFilesystemSnapshotPolicy API.

func (FileStorageClient) GetMountTarget

func (client FileStorageClient) GetMountTarget(ctx context.Context, request GetMountTargetRequest) (response GetMountTargetResponse, err error)

GetMountTarget Gets the specified mount target's information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetMountTarget.go.html to see an example of how to use GetMountTarget API.

func (FileStorageClient) GetOutboundConnector added in v65.44.0

func (client FileStorageClient) GetOutboundConnector(ctx context.Context, request GetOutboundConnectorRequest) (response GetOutboundConnectorResponse, err error)

GetOutboundConnector Gets the specified outbound connector's information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetOutboundConnector.go.html to see an example of how to use GetOutboundConnector API.

func (FileStorageClient) GetReplication added in v65.22.0

func (client FileStorageClient) GetReplication(ctx context.Context, request GetReplicationRequest) (response GetReplicationResponse, err error)

GetReplication Gets the specified replication's information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetReplication.go.html to see an example of how to use GetReplication API.

func (FileStorageClient) GetReplicationTarget added in v65.22.0

func (client FileStorageClient) GetReplicationTarget(ctx context.Context, request GetReplicationTargetRequest) (response GetReplicationTargetResponse, err error)

GetReplicationTarget Gets the specified replication target's information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetReplicationTarget.go.html to see an example of how to use GetReplicationTarget API.

func (FileStorageClient) GetSnapshot

func (client FileStorageClient) GetSnapshot(ctx context.Context, request GetSnapshotRequest) (response GetSnapshotResponse, err error)

GetSnapshot Gets the specified snapshot's information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetSnapshot.go.html to see an example of how to use GetSnapshot API.

func (FileStorageClient) ListExportSets

func (client FileStorageClient) ListExportSets(ctx context.Context, request ListExportSetsRequest) (response ListExportSetsResponse, err error)

ListExportSets Lists the export set resources in the specified compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListExportSets.go.html to see an example of how to use ListExportSets API.

func (FileStorageClient) ListExports

func (client FileStorageClient) ListExports(ctx context.Context, request ListExportsRequest) (response ListExportsResponse, err error)

ListExports Lists export resources by compartment, file system, or export set. You must specify an export set ID, a file system ID, and / or a compartment ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListExports.go.html to see an example of how to use ListExports API.

func (FileStorageClient) ListFileSystems

func (client FileStorageClient) ListFileSystems(ctx context.Context, request ListFileSystemsRequest) (response ListFileSystemsResponse, err error)

ListFileSystems Lists the file system resources in the specified compartment, or by the specified compartment and file system snapshot policy.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListFileSystems.go.html to see an example of how to use ListFileSystems API.

func (FileStorageClient) ListFilesystemSnapshotPolicies added in v65.40.0

func (client FileStorageClient) ListFilesystemSnapshotPolicies(ctx context.Context, request ListFilesystemSnapshotPoliciesRequest) (response ListFilesystemSnapshotPoliciesResponse, err error)

ListFilesystemSnapshotPolicies Lists file system snapshot policies in the specified compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListFilesystemSnapshotPolicies.go.html to see an example of how to use ListFilesystemSnapshotPolicies API.

func (FileStorageClient) ListMountTargets

func (client FileStorageClient) ListMountTargets(ctx context.Context, request ListMountTargetsRequest) (response ListMountTargetsResponse, err error)

ListMountTargets Lists the mount target resources in the specified compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListMountTargets.go.html to see an example of how to use ListMountTargets API.

func (FileStorageClient) ListOutboundConnectors added in v65.44.0

func (client FileStorageClient) ListOutboundConnectors(ctx context.Context, request ListOutboundConnectorsRequest) (response ListOutboundConnectorsResponse, err error)

ListOutboundConnectors Lists the outbound connector resources in the specified compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListOutboundConnectors.go.html to see an example of how to use ListOutboundConnectors API.

func (FileStorageClient) ListReplicationTargets added in v65.22.0

func (client FileStorageClient) ListReplicationTargets(ctx context.Context, request ListReplicationTargetsRequest) (response ListReplicationTargetsResponse, err error)

ListReplicationTargets Lists the replication target resources in the specified compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListReplicationTargets.go.html to see an example of how to use ListReplicationTargets API.

func (FileStorageClient) ListReplications added in v65.22.0

func (client FileStorageClient) ListReplications(ctx context.Context, request ListReplicationsRequest) (response ListReplicationsResponse, err error)

ListReplications Lists the replication resources in the specified compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListReplications.go.html to see an example of how to use ListReplications API.

func (FileStorageClient) ListSnapshots

func (client FileStorageClient) ListSnapshots(ctx context.Context, request ListSnapshotsRequest) (response ListSnapshotsResponse, err error)

ListSnapshots Lists snapshots of the specified file system, or by file system snapshot policy and compartment, or by file system snapshot policy and file system. If file system ID is not specified, a file system snapshot policy ID and compartment ID must be specified. Users can only sort by time created when listing snapshots by file system snapshot policy ID and compartment ID (sort by name is NOT supported for listing snapshots by policy and compartment).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListSnapshots.go.html to see an example of how to use ListSnapshots API.

func (FileStorageClient) PauseFilesystemSnapshotPolicy added in v65.40.0

func (client FileStorageClient) PauseFilesystemSnapshotPolicy(ctx context.Context, request PauseFilesystemSnapshotPolicyRequest) (response PauseFilesystemSnapshotPolicyResponse, err error)

PauseFilesystemSnapshotPolicy This operation pauses the scheduled snapshot creation and snapshot deletion of the policy and updates the lifecycle state of the file system snapshot policy from ACTIVE to INACTIVE. When a file system snapshot policy is paused, file systems that are associated with the policy will not have scheduled snapshots created or deleted. If the policy is already paused, or in the INACTIVE state, you cannot pause it again. You can't pause a policy that is in a DELETING, DELETED, FAILED, CREATING or INACTIVE state; attempts to pause a policy in these states result in a 409 conflict error.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/PauseFilesystemSnapshotPolicy.go.html to see an example of how to use PauseFilesystemSnapshotPolicy API.

func (*FileStorageClient) SetRegion

func (client *FileStorageClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (FileStorageClient) UnpauseFilesystemSnapshotPolicy added in v65.40.0

func (client FileStorageClient) UnpauseFilesystemSnapshotPolicy(ctx context.Context, request UnpauseFilesystemSnapshotPolicyRequest) (response UnpauseFilesystemSnapshotPolicyResponse, err error)

UnpauseFilesystemSnapshotPolicy This operation unpauses a paused file system snapshot policy and updates the lifecycle state of the file system snapshot policy from INACTIVE to ACTIVE. By default, file system snapshot policies are in the ACTIVE state. When a file system snapshot policy is not paused, or in the ACTIVE state, file systems that are associated with the policy will have snapshots created and deleted according to the schedules defined in the policy. If the policy is already in the ACTIVE state, you cannot unpause it. You can't unpause a policy that is in a DELETING, DELETED, FAILED, CREATING, or ACTIVE state; attempts to unpause a policy in these states result in a 409 conflict error.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UnpauseFilesystemSnapshotPolicy.go.html to see an example of how to use UnpauseFilesystemSnapshotPolicy API.

func (FileStorageClient) UpdateExport

func (client FileStorageClient) UpdateExport(ctx context.Context, request UpdateExportRequest) (response UpdateExportResponse, err error)

UpdateExport Updates the specified export's information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateExport.go.html to see an example of how to use UpdateExport API.

func (FileStorageClient) UpdateExportSet

func (client FileStorageClient) UpdateExportSet(ctx context.Context, request UpdateExportSetRequest) (response UpdateExportSetResponse, err error)

UpdateExportSet Updates the specified export set's information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateExportSet.go.html to see an example of how to use UpdateExportSet API.

func (FileStorageClient) UpdateFileSystem

func (client FileStorageClient) UpdateFileSystem(ctx context.Context, request UpdateFileSystemRequest) (response UpdateFileSystemResponse, err error)

UpdateFileSystem Updates the specified file system's information. You can use this operation to rename a file system.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateFileSystem.go.html to see an example of how to use UpdateFileSystem API.

func (FileStorageClient) UpdateFilesystemSnapshotPolicy added in v65.40.0

func (client FileStorageClient) UpdateFilesystemSnapshotPolicy(ctx context.Context, request UpdateFilesystemSnapshotPolicyRequest) (response UpdateFilesystemSnapshotPolicyResponse, err error)

UpdateFilesystemSnapshotPolicy Updates the specified file system snapshot policy's information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateFilesystemSnapshotPolicy.go.html to see an example of how to use UpdateFilesystemSnapshotPolicy API.

func (FileStorageClient) UpdateMountTarget

func (client FileStorageClient) UpdateMountTarget(ctx context.Context, request UpdateMountTargetRequest) (response UpdateMountTargetResponse, err error)

UpdateMountTarget Updates the specified mount target's information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateMountTarget.go.html to see an example of how to use UpdateMountTarget API.

func (FileStorageClient) UpdateOutboundConnector added in v65.44.0

func (client FileStorageClient) UpdateOutboundConnector(ctx context.Context, request UpdateOutboundConnectorRequest) (response UpdateOutboundConnectorResponse, err error)

UpdateOutboundConnector Updates the specified outbound connector's information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateOutboundConnector.go.html to see an example of how to use UpdateOutboundConnector API.

func (FileStorageClient) UpdateReplication added in v65.22.0

func (client FileStorageClient) UpdateReplication(ctx context.Context, request UpdateReplicationRequest) (response UpdateReplicationResponse, err error)

UpdateReplication Updates the information for the specified replication and its associated replication target.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateReplication.go.html to see an example of how to use UpdateReplication API.

func (FileStorageClient) UpdateSnapshot

func (client FileStorageClient) UpdateSnapshot(ctx context.Context, request UpdateSnapshotRequest) (response UpdateSnapshotResponse, err error)

UpdateSnapshot Updates the specified snapshot's information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateSnapshot.go.html to see an example of how to use UpdateSnapshot API.

func (FileStorageClient) ValidateKeyTabs added in v65.44.0

func (client FileStorageClient) ValidateKeyTabs(ctx context.Context, request ValidateKeyTabsRequest) (response ValidateKeyTabsResponse, err error)

ValidateKeyTabs Validates keytab contents for the secret details passed on the request or validte keytab contents associated with the mount target passed in the request. The keytabs are deserialized, the contents are validated for compatibility and the principal, key version number and encryption type of each entry is provided as part of the response.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ValidateKeyTabs.go.html to see an example of how to use ValidateKeyTabs API.

type FileSystem

type FileSystem struct {

	// The number of bytes consumed by the file system, including
	// any snapshots. This number reflects the metered size of the file
	// system and is updated asynchronously with respect to
	// updates to the file system.
	// For more information, see File System Usage and Metering (https://docs.cloud.oracle.com/Content/File/Concepts/FSutilization.htm).
	MeteredBytes *int64 `mandatory:"true" json:"meteredBytes"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My file system`
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the file system.
	LifecycleState FileSystemLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the file system was created, expressed in
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// 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:"false" json:"availabilityDomain"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the KMS key which is the master encryption key for the file system.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	SourceDetails *SourceDetails `mandatory:"false" json:"sourceDetails"`

	// Specifies whether the file system has been cloned.
	// See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm).
	IsCloneParent *bool `mandatory:"false" json:"isCloneParent"`

	// Specifies whether the data has finished copying from the source to the clone.
	// Hydration can take up to several hours to complete depending on the size of the source.
	// The source and clone remain available during hydration, but there may be some performance impact.
	// See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm#hydration).
	IsHydrated *bool `mandatory:"false" json:"isHydrated"`

	// Additional information about the current 'lifecycleState'.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Specifies whether the file system can be used as a target file system for replication. The system sets this value to `true` if the file system is unexported, hasn't yet been specified as a target file system in any replication resource, and has no user snapshots. After the file system has been specified as a target in a replication, or if the file system contains user snapshots, the system sets this value to `false`.
	// For more information, see Using Replication (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/using-replication.htm).
	IsTargetable *bool `mandatory:"false" json:"isTargetable"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication target associated with the file system.
	// Empty if the file system is not being used as target in a replication.
	ReplicationTargetId *string `mandatory:"false" json:"replicationTargetId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated file system snapshot policy, which
	// controls the frequency of snapshot creation and retention period of the taken snapshots.
	FilesystemSnapshotPolicyId *string `mandatory:"false" json:"filesystemSnapshotPolicyId"`
}

FileSystem An NFS file system. To allow access to a file system, add it to an export set and associate the export set with a mount target. The same file system can be in multiple export sets and associated with multiple mount targets. 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.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

func (FileSystem) String

func (m FileSystem) String() string

func (FileSystem) ValidateEnumValue

func (m FileSystem) 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

type FileSystemLifecycleStateEnum

type FileSystemLifecycleStateEnum string

FileSystemLifecycleStateEnum Enum with underlying type: string

const (
	FileSystemLifecycleStateCreating FileSystemLifecycleStateEnum = "CREATING"
	FileSystemLifecycleStateActive   FileSystemLifecycleStateEnum = "ACTIVE"
	FileSystemLifecycleStateDeleting FileSystemLifecycleStateEnum = "DELETING"
	FileSystemLifecycleStateDeleted  FileSystemLifecycleStateEnum = "DELETED"
	FileSystemLifecycleStateFailed   FileSystemLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for FileSystemLifecycleStateEnum

func GetFileSystemLifecycleStateEnumValues

func GetFileSystemLifecycleStateEnumValues() []FileSystemLifecycleStateEnum

GetFileSystemLifecycleStateEnumValues Enumerates the set of values for FileSystemLifecycleStateEnum

func GetMappingFileSystemLifecycleStateEnum

func GetMappingFileSystemLifecycleStateEnum(val string) (FileSystemLifecycleStateEnum, bool)

GetMappingFileSystemLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type FileSystemSummary

type FileSystemSummary struct {

	// The number of bytes consumed by the file system, including
	// any snapshots. This number reflects the metered size of the file
	// system and is updated asynchronously with respect to
	// updates to the file system.
	MeteredBytes *int64 `mandatory:"true" json:"meteredBytes"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My file system`
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the file system.
	LifecycleState FileSystemSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the file system was created, expressed
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// 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:"false" json:"availabilityDomain"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The OCID (https://docs.cloud.oracle.com/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"`

	SourceDetails *SourceDetails `mandatory:"false" json:"sourceDetails"`

	// Specifies whether the file system has been cloned.
	// See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm).
	IsCloneParent *bool `mandatory:"false" json:"isCloneParent"`

	// Specifies whether the data has finished copying from the source to the clone.
	// Hydration can take up to several hours to complete depending on the size of the source.
	// The source and clone remain available during hydration, but there may be some performance impact.
	// See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm#hydration).
	IsHydrated *bool `mandatory:"false" json:"isHydrated"`

	// Additional information about the current 'lifecycleState'.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

FileSystemSummary Summary information for a file system.

func (FileSystemSummary) String

func (m FileSystemSummary) String() string

func (FileSystemSummary) ValidateEnumValue

func (m FileSystemSummary) 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

type FileSystemSummaryLifecycleStateEnum

type FileSystemSummaryLifecycleStateEnum string

FileSystemSummaryLifecycleStateEnum Enum with underlying type: string

const (
	FileSystemSummaryLifecycleStateCreating FileSystemSummaryLifecycleStateEnum = "CREATING"
	FileSystemSummaryLifecycleStateActive   FileSystemSummaryLifecycleStateEnum = "ACTIVE"
	FileSystemSummaryLifecycleStateDeleting FileSystemSummaryLifecycleStateEnum = "DELETING"
	FileSystemSummaryLifecycleStateDeleted  FileSystemSummaryLifecycleStateEnum = "DELETED"
	FileSystemSummaryLifecycleStateFailed   FileSystemSummaryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for FileSystemSummaryLifecycleStateEnum

func GetFileSystemSummaryLifecycleStateEnumValues

func GetFileSystemSummaryLifecycleStateEnumValues() []FileSystemSummaryLifecycleStateEnum

GetFileSystemSummaryLifecycleStateEnumValues Enumerates the set of values for FileSystemSummaryLifecycleStateEnum

func GetMappingFileSystemSummaryLifecycleStateEnum

func GetMappingFileSystemSummaryLifecycleStateEnum(val string) (FileSystemSummaryLifecycleStateEnum, bool)

GetMappingFileSystemSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type FilesystemSnapshotPolicy added in v65.40.0

type FilesystemSnapshotPolicy struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system snapshot policy.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The availability domain that the file system snapshot policy is in. May be unset using a blank or NULL value.
	// Example: `Uocm:PHX-AD-2`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the file system snapshot policy.
	LifecycleState FilesystemSnapshotPolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the file system snapshot policy was created, expressed
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `policy1`
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The prefix to apply to all snapshots created by this policy.
	// Example: `acme`
	PolicyPrefix *string `mandatory:"false" json:"policyPrefix"`

	// The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy.
	Schedules []SnapshotSchedule `mandatory:"false" json:"schedules"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

FilesystemSnapshotPolicy A file system snapshot policy is used to automate snapshot creation and deletion. It contains a list of snapshot schedules that define the frequency of snapshot creation for the associated file systems and the retention period of snapshots taken on schedule. For more information, see Snapshot Scheduling (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/snapshot-policies-and-schedules.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.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (FilesystemSnapshotPolicy) String added in v65.40.0

func (m FilesystemSnapshotPolicy) String() string

func (FilesystemSnapshotPolicy) ValidateEnumValue added in v65.40.0

func (m FilesystemSnapshotPolicy) 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

type FilesystemSnapshotPolicyLifecycleStateEnum added in v65.40.0

type FilesystemSnapshotPolicyLifecycleStateEnum string

FilesystemSnapshotPolicyLifecycleStateEnum Enum with underlying type: string

const (
	FilesystemSnapshotPolicyLifecycleStateCreating FilesystemSnapshotPolicyLifecycleStateEnum = "CREATING"
	FilesystemSnapshotPolicyLifecycleStateActive   FilesystemSnapshotPolicyLifecycleStateEnum = "ACTIVE"
	FilesystemSnapshotPolicyLifecycleStateDeleting FilesystemSnapshotPolicyLifecycleStateEnum = "DELETING"
	FilesystemSnapshotPolicyLifecycleStateDeleted  FilesystemSnapshotPolicyLifecycleStateEnum = "DELETED"
	FilesystemSnapshotPolicyLifecycleStateInactive FilesystemSnapshotPolicyLifecycleStateEnum = "INACTIVE"
	FilesystemSnapshotPolicyLifecycleStateFailed   FilesystemSnapshotPolicyLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for FilesystemSnapshotPolicyLifecycleStateEnum

func GetFilesystemSnapshotPolicyLifecycleStateEnumValues added in v65.40.0

func GetFilesystemSnapshotPolicyLifecycleStateEnumValues() []FilesystemSnapshotPolicyLifecycleStateEnum

GetFilesystemSnapshotPolicyLifecycleStateEnumValues Enumerates the set of values for FilesystemSnapshotPolicyLifecycleStateEnum

func GetMappingFilesystemSnapshotPolicyLifecycleStateEnum added in v65.40.0

func GetMappingFilesystemSnapshotPolicyLifecycleStateEnum(val string) (FilesystemSnapshotPolicyLifecycleStateEnum, bool)

GetMappingFilesystemSnapshotPolicyLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type FilesystemSnapshotPolicySummary added in v65.40.0

type FilesystemSnapshotPolicySummary struct {

	// The availability domain that the file system snapshot policy is in.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system snapshot policy.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy.
	Id *string `mandatory:"true" json:"id"`

	// The current state of this file system snapshot policy.
	LifecycleState FilesystemSnapshotPolicySummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time that the file system snapshot policy was created
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2020-02-04T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My Filesystem Snapshot Policy`
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The prefix to apply to all snapshots created by this policy.
	// Example: `acme`
	PolicyPrefix *string `mandatory:"false" json:"policyPrefix"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

FilesystemSnapshotPolicySummary Summary information for a file system snapshot policy.

func (FilesystemSnapshotPolicySummary) String added in v65.40.0

func (FilesystemSnapshotPolicySummary) ValidateEnumValue added in v65.40.0

func (m FilesystemSnapshotPolicySummary) 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

type FilesystemSnapshotPolicySummaryLifecycleStateEnum added in v65.40.0

type FilesystemSnapshotPolicySummaryLifecycleStateEnum string

FilesystemSnapshotPolicySummaryLifecycleStateEnum Enum with underlying type: string

const (
	FilesystemSnapshotPolicySummaryLifecycleStateCreating FilesystemSnapshotPolicySummaryLifecycleStateEnum = "CREATING"
	FilesystemSnapshotPolicySummaryLifecycleStateActive   FilesystemSnapshotPolicySummaryLifecycleStateEnum = "ACTIVE"
	FilesystemSnapshotPolicySummaryLifecycleStateDeleting FilesystemSnapshotPolicySummaryLifecycleStateEnum = "DELETING"
	FilesystemSnapshotPolicySummaryLifecycleStateDeleted  FilesystemSnapshotPolicySummaryLifecycleStateEnum = "DELETED"
	FilesystemSnapshotPolicySummaryLifecycleStateInactive FilesystemSnapshotPolicySummaryLifecycleStateEnum = "INACTIVE"
	FilesystemSnapshotPolicySummaryLifecycleStateFailed   FilesystemSnapshotPolicySummaryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for FilesystemSnapshotPolicySummaryLifecycleStateEnum

func GetFilesystemSnapshotPolicySummaryLifecycleStateEnumValues added in v65.40.0

func GetFilesystemSnapshotPolicySummaryLifecycleStateEnumValues() []FilesystemSnapshotPolicySummaryLifecycleStateEnum

GetFilesystemSnapshotPolicySummaryLifecycleStateEnumValues Enumerates the set of values for FilesystemSnapshotPolicySummaryLifecycleStateEnum

func GetMappingFilesystemSnapshotPolicySummaryLifecycleStateEnum added in v65.40.0

func GetMappingFilesystemSnapshotPolicySummaryLifecycleStateEnum(val string) (FilesystemSnapshotPolicySummaryLifecycleStateEnum, bool)

GetMappingFilesystemSnapshotPolicySummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type GetExportRequest

type GetExportRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export.
	ExportId *string `mandatory:"true" contributesTo:"path" name:"exportId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetExportRequest wrapper for the GetExport operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetExport.go.html to see an example of how to use GetExportRequest.

func (GetExportRequest) BinaryRequestBody

func (request GetExportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetExportRequest) HTTPRequest

func (request GetExportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetExportRequest) RetryPolicy

func (request GetExportRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetExportRequest) String

func (request GetExportRequest) String() string

func (GetExportRequest) ValidateEnumValue

func (request GetExportRequest) 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

type GetExportResponse

type GetExportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Export instance
	Export `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"`
}

GetExportResponse wrapper for the GetExport operation

func (GetExportResponse) HTTPResponse

func (response GetExportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetExportResponse) String

func (response GetExportResponse) String() string

type GetExportSetRequest

type GetExportSetRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export set.
	ExportSetId *string `mandatory:"true" contributesTo:"path" name:"exportSetId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetExportSetRequest wrapper for the GetExportSet operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetExportSet.go.html to see an example of how to use GetExportSetRequest.

func (GetExportSetRequest) BinaryRequestBody

func (request GetExportSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetExportSetRequest) HTTPRequest

func (request GetExportSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetExportSetRequest) RetryPolicy

func (request GetExportSetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetExportSetRequest) String

func (request GetExportSetRequest) String() string

func (GetExportSetRequest) ValidateEnumValue

func (request GetExportSetRequest) 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

type GetExportSetResponse

type GetExportSetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ExportSet instance
	ExportSet `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"`
}

GetExportSetResponse wrapper for the GetExportSet operation

func (GetExportSetResponse) HTTPResponse

func (response GetExportSetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetExportSetResponse) String

func (response GetExportSetResponse) String() string

type GetFileSystemRequest

type GetFileSystemRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system.
	FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetFileSystemRequest wrapper for the GetFileSystem operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetFileSystem.go.html to see an example of how to use GetFileSystemRequest.

func (GetFileSystemRequest) BinaryRequestBody

func (request GetFileSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetFileSystemRequest) HTTPRequest

func (request GetFileSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetFileSystemRequest) RetryPolicy

func (request GetFileSystemRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetFileSystemRequest) String

func (request GetFileSystemRequest) String() string

func (GetFileSystemRequest) ValidateEnumValue

func (request GetFileSystemRequest) 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

type GetFileSystemResponse

type GetFileSystemResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The FileSystem instance
	FileSystem `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"`
}

GetFileSystemResponse wrapper for the GetFileSystem operation

func (GetFileSystemResponse) HTTPResponse

func (response GetFileSystemResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetFileSystemResponse) String

func (response GetFileSystemResponse) String() string

type GetFilesystemSnapshotPolicyRequest added in v65.40.0

type GetFilesystemSnapshotPolicyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy.
	FilesystemSnapshotPolicyId *string `mandatory:"true" contributesTo:"path" name:"filesystemSnapshotPolicyId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetFilesystemSnapshotPolicyRequest wrapper for the GetFilesystemSnapshotPolicy operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetFilesystemSnapshotPolicy.go.html to see an example of how to use GetFilesystemSnapshotPolicyRequest.

func (GetFilesystemSnapshotPolicyRequest) BinaryRequestBody added in v65.40.0

func (request GetFilesystemSnapshotPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetFilesystemSnapshotPolicyRequest) HTTPRequest added in v65.40.0

func (request GetFilesystemSnapshotPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetFilesystemSnapshotPolicyRequest) RetryPolicy added in v65.40.0

func (request GetFilesystemSnapshotPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetFilesystemSnapshotPolicyRequest) String added in v65.40.0

func (request GetFilesystemSnapshotPolicyRequest) String() string

func (GetFilesystemSnapshotPolicyRequest) ValidateEnumValue added in v65.40.0

func (request GetFilesystemSnapshotPolicyRequest) 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

type GetFilesystemSnapshotPolicyResponse added in v65.40.0

type GetFilesystemSnapshotPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The FilesystemSnapshotPolicy instance
	FilesystemSnapshotPolicy `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"`
}

GetFilesystemSnapshotPolicyResponse wrapper for the GetFilesystemSnapshotPolicy operation

func (GetFilesystemSnapshotPolicyResponse) HTTPResponse added in v65.40.0

func (response GetFilesystemSnapshotPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetFilesystemSnapshotPolicyResponse) String added in v65.40.0

func (response GetFilesystemSnapshotPolicyResponse) String() string

type GetMountTargetRequest

type GetMountTargetRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target.
	MountTargetId *string `mandatory:"true" contributesTo:"path" name:"mountTargetId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetMountTargetRequest wrapper for the GetMountTarget operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetMountTarget.go.html to see an example of how to use GetMountTargetRequest.

func (GetMountTargetRequest) BinaryRequestBody

func (request GetMountTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetMountTargetRequest) HTTPRequest

func (request GetMountTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetMountTargetRequest) RetryPolicy

func (request GetMountTargetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetMountTargetRequest) String

func (request GetMountTargetRequest) String() string

func (GetMountTargetRequest) ValidateEnumValue

func (request GetMountTargetRequest) 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

type GetMountTargetResponse

type GetMountTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The MountTarget instance
	MountTarget `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"`
}

GetMountTargetResponse wrapper for the GetMountTarget operation

func (GetMountTargetResponse) HTTPResponse

func (response GetMountTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetMountTargetResponse) String

func (response GetMountTargetResponse) String() string

type GetOutboundConnectorRequest added in v65.44.0

type GetOutboundConnectorRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector.
	OutboundConnectorId *string `mandatory:"true" contributesTo:"path" name:"outboundConnectorId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetOutboundConnectorRequest wrapper for the GetOutboundConnector operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetOutboundConnector.go.html to see an example of how to use GetOutboundConnectorRequest.

func (GetOutboundConnectorRequest) BinaryRequestBody added in v65.44.0

func (request GetOutboundConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetOutboundConnectorRequest) HTTPRequest added in v65.44.0

func (request GetOutboundConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetOutboundConnectorRequest) RetryPolicy added in v65.44.0

func (request GetOutboundConnectorRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetOutboundConnectorRequest) String added in v65.44.0

func (request GetOutboundConnectorRequest) String() string

func (GetOutboundConnectorRequest) ValidateEnumValue added in v65.44.0

func (request GetOutboundConnectorRequest) 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

type GetOutboundConnectorResponse added in v65.44.0

type GetOutboundConnectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OutboundConnector instance
	OutboundConnector `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"`
}

GetOutboundConnectorResponse wrapper for the GetOutboundConnector operation

func (GetOutboundConnectorResponse) HTTPResponse added in v65.44.0

func (response GetOutboundConnectorResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetOutboundConnectorResponse) String added in v65.44.0

func (response GetOutboundConnectorResponse) String() string

type GetReplicationRequest added in v65.22.0

type GetReplicationRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication.
	ReplicationId *string `mandatory:"true" contributesTo:"path" name:"replicationId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetReplicationRequest wrapper for the GetReplication operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetReplication.go.html to see an example of how to use GetReplicationRequest.

func (GetReplicationRequest) BinaryRequestBody added in v65.22.0

func (request GetReplicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetReplicationRequest) HTTPRequest added in v65.22.0

func (request GetReplicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetReplicationRequest) RetryPolicy added in v65.22.0

func (request GetReplicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetReplicationRequest) String added in v65.22.0

func (request GetReplicationRequest) String() string

func (GetReplicationRequest) ValidateEnumValue added in v65.22.0

func (request GetReplicationRequest) 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

type GetReplicationResponse added in v65.22.0

type GetReplicationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Replication instance
	Replication `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"`
}

GetReplicationResponse wrapper for the GetReplication operation

func (GetReplicationResponse) HTTPResponse added in v65.22.0

func (response GetReplicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetReplicationResponse) String added in v65.22.0

func (response GetReplicationResponse) String() string

type GetReplicationTargetRequest added in v65.22.0

type GetReplicationTargetRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication target.
	ReplicationTargetId *string `mandatory:"true" contributesTo:"path" name:"replicationTargetId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetReplicationTargetRequest wrapper for the GetReplicationTarget operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetReplicationTarget.go.html to see an example of how to use GetReplicationTargetRequest.

func (GetReplicationTargetRequest) BinaryRequestBody added in v65.22.0

func (request GetReplicationTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetReplicationTargetRequest) HTTPRequest added in v65.22.0

func (request GetReplicationTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetReplicationTargetRequest) RetryPolicy added in v65.22.0

func (request GetReplicationTargetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetReplicationTargetRequest) String added in v65.22.0

func (request GetReplicationTargetRequest) String() string

func (GetReplicationTargetRequest) ValidateEnumValue added in v65.22.0

func (request GetReplicationTargetRequest) 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

type GetReplicationTargetResponse added in v65.22.0

type GetReplicationTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ReplicationTarget instance
	ReplicationTarget `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"`
}

GetReplicationTargetResponse wrapper for the GetReplicationTarget operation

func (GetReplicationTargetResponse) HTTPResponse added in v65.22.0

func (response GetReplicationTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetReplicationTargetResponse) String added in v65.22.0

func (response GetReplicationTargetResponse) String() string

type GetSnapshotRequest

type GetSnapshotRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot.
	SnapshotId *string `mandatory:"true" contributesTo:"path" name:"snapshotId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetSnapshotRequest wrapper for the GetSnapshot operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetSnapshot.go.html to see an example of how to use GetSnapshotRequest.

func (GetSnapshotRequest) BinaryRequestBody

func (request GetSnapshotRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSnapshotRequest) HTTPRequest

func (request GetSnapshotRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSnapshotRequest) RetryPolicy

func (request GetSnapshotRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSnapshotRequest) String

func (request GetSnapshotRequest) String() string

func (GetSnapshotRequest) ValidateEnumValue

func (request GetSnapshotRequest) 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

type GetSnapshotResponse

type GetSnapshotResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Snapshot instance
	Snapshot `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"`
}

GetSnapshotResponse wrapper for the GetSnapshot operation

func (GetSnapshotResponse) HTTPResponse

func (response GetSnapshotResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSnapshotResponse) String

func (response GetSnapshotResponse) String() string

type Kerberos added in v65.44.0

type Kerberos struct {

	// The Kerberos realm that the mount target will join.
	KerberosRealm *string `mandatory:"true" json:"kerberosRealm"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the keytab secret in the Vault.
	KeyTabSecretId *string `mandatory:"false" json:"keyTabSecretId"`

	// Version of the keytab secret in the Vault to use.
	CurrentKeyTabSecretVersion *int `mandatory:"false" json:"currentKeyTabSecretVersion"`

	// Version of the keytab secert in the Vault to use as a backup.
	BackupKeyTabSecretVersion *int `mandatory:"false" json:"backupKeyTabSecretVersion"`

	// Specifies whether to enable or disable Kerberos.
	IsKerberosEnabled *bool `mandatory:"false" json:"isKerberosEnabled"`
}

Kerberos Allows administrator to configure a mount target to interact with the administrator's Kerberos infrastructure.

func (Kerberos) String added in v65.44.0

func (m Kerberos) String() string

func (Kerberos) ValidateEnumValue added in v65.44.0

func (m Kerberos) 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

type KerberosKeytabEntry added in v65.44.0

type KerberosKeytabEntry struct {

	// Keytab principal.
	Principal *string `mandatory:"true" json:"principal"`

	// Encryption type with with keytab was generated.
	// Secure: aes128-cts-hmac-sha256-128
	// Secure: aes256-cts-hmac-sha384-192
	// Less Secure: aes128-cts-hmac-sha1-96
	// Less Secure: aes256-cts-hmac-sha1-96
	EncryptionType KerberosKeytabEntryEncryptionTypeEnum `mandatory:"true" json:"encryptionType"`

	// Kerberos KVNO (key version number) for key in keytab entry.
	KeyVersionNumber *int64 `mandatory:"true" json:"keyVersionNumber"`
}

KerberosKeytabEntry Details of each keytab entry read from the keytab file.

func (KerberosKeytabEntry) String added in v65.44.0

func (m KerberosKeytabEntry) String() string

func (KerberosKeytabEntry) ValidateEnumValue added in v65.44.0

func (m KerberosKeytabEntry) 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

type KerberosKeytabEntryEncryptionTypeEnum added in v65.44.0

type KerberosKeytabEntryEncryptionTypeEnum string

KerberosKeytabEntryEncryptionTypeEnum Enum with underlying type: string

const (
	KerberosKeytabEntryEncryptionTypeAes128CtsHmacSha256128 KerberosKeytabEntryEncryptionTypeEnum = "AES128_CTS_HMAC_SHA256_128"
	KerberosKeytabEntryEncryptionTypeAes256CtsHmacSha384192 KerberosKeytabEntryEncryptionTypeEnum = "AES256_CTS_HMAC_SHA384_192"
	KerberosKeytabEntryEncryptionTypeAes128CtsHmacSha196    KerberosKeytabEntryEncryptionTypeEnum = "AES128_CTS_HMAC_SHA1_96"
	KerberosKeytabEntryEncryptionTypeAes256CtsHmacSha196    KerberosKeytabEntryEncryptionTypeEnum = "AES256_CTS_HMAC_SHA1_96"
)

Set of constants representing the allowable values for KerberosKeytabEntryEncryptionTypeEnum

func GetKerberosKeytabEntryEncryptionTypeEnumValues added in v65.44.0

func GetKerberosKeytabEntryEncryptionTypeEnumValues() []KerberosKeytabEntryEncryptionTypeEnum

GetKerberosKeytabEntryEncryptionTypeEnumValues Enumerates the set of values for KerberosKeytabEntryEncryptionTypeEnum

func GetMappingKerberosKeytabEntryEncryptionTypeEnum added in v65.44.0

func GetMappingKerberosKeytabEntryEncryptionTypeEnum(val string) (KerberosKeytabEntryEncryptionTypeEnum, bool)

GetMappingKerberosKeytabEntryEncryptionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type KeyTabSecretDetails added in v65.44.0

type KeyTabSecretDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the keytab secret in the Vault.
	KeyTabSecretId *string `mandatory:"true" json:"keyTabSecretId"`

	// Version of the keytab secret in the Vault to use.
	CurrentKeyTabSecretVersion *int `mandatory:"true" json:"currentKeyTabSecretVersion"`

	// Version of the keytab secret in the Vault to use as a backup.
	BackupKeyTabSecretVersion *int `mandatory:"false" json:"backupKeyTabSecretVersion"`
}

KeyTabSecretDetails Secret details of keytabs in Vault.

func (KeyTabSecretDetails) String added in v65.44.0

func (m KeyTabSecretDetails) String() string

func (KeyTabSecretDetails) ValidateEnumValue added in v65.44.0

func (m KeyTabSecretDetails) 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

type LdapBindAccount added in v65.44.0

type LdapBindAccount struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My outbound connector`
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the outbound connector was created
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Array of server endpoints to use when connecting with the LDAP bind account.
	Endpoints []Endpoint `mandatory:"true" json:"endpoints"`

	// The LDAP Distinguished Name of the account.
	BindDistinguishedName *string `mandatory:"true" json:"bindDistinguishedName"`

	// The availability domain the outbound connector is in. May be unset
	// as a blank or NULL value.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the password for the LDAP bind account in the Vault.
	PasswordSecretId *string `mandatory:"false" json:"passwordSecretId"`

	// Version of the password secret in the Vault to use.
	PasswordSecretVersion *int `mandatory:"false" json:"passwordSecretVersion"`

	// The current state of this outbound connector.
	LifecycleState OutboundConnectorLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

LdapBindAccount Account details for the LDAP bind account used by the outbound connector.

func (LdapBindAccount) GetAvailabilityDomain added in v65.44.0

func (m LdapBindAccount) GetAvailabilityDomain() *string

GetAvailabilityDomain returns AvailabilityDomain

func (LdapBindAccount) GetCompartmentId added in v65.44.0

func (m LdapBindAccount) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (LdapBindAccount) GetDefinedTags added in v65.44.0

func (m LdapBindAccount) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (LdapBindAccount) GetDisplayName added in v65.44.0

func (m LdapBindAccount) GetDisplayName() *string

GetDisplayName returns DisplayName

func (LdapBindAccount) GetFreeformTags added in v65.44.0

func (m LdapBindAccount) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (LdapBindAccount) GetId added in v65.44.0

func (m LdapBindAccount) GetId() *string

GetId returns Id

func (LdapBindAccount) GetLifecycleState added in v65.44.0

GetLifecycleState returns LifecycleState

func (LdapBindAccount) GetTimeCreated added in v65.44.0

func (m LdapBindAccount) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (LdapBindAccount) MarshalJSON added in v65.44.0

func (m LdapBindAccount) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LdapBindAccount) String added in v65.44.0

func (m LdapBindAccount) String() string

func (LdapBindAccount) ValidateEnumValue added in v65.44.0

func (m LdapBindAccount) 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

type LdapBindAccountSummary added in v65.44.0

type LdapBindAccountSummary struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My outbound connector`
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the outbound connector was created
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Array of server endpoints to use when connecting with the LDAP bind account.
	Endpoints []Endpoint `mandatory:"true" json:"endpoints"`

	// The LDAP Distinguished Name of the account.
	BindDistinguishedName *string `mandatory:"true" json:"bindDistinguishedName"`

	// The availability domain the outbound connector is in. May be unset
	// as a blank or NULL value.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The current state of this outbound connector.
	LifecycleState OutboundConnectorSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

LdapBindAccountSummary Summary information for the LDAP bind account used by the outbound connector.

func (LdapBindAccountSummary) GetAvailabilityDomain added in v65.44.0

func (m LdapBindAccountSummary) GetAvailabilityDomain() *string

GetAvailabilityDomain returns AvailabilityDomain

func (LdapBindAccountSummary) GetCompartmentId added in v65.44.0

func (m LdapBindAccountSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (LdapBindAccountSummary) GetDefinedTags added in v65.44.0

func (m LdapBindAccountSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (LdapBindAccountSummary) GetDisplayName added in v65.44.0

func (m LdapBindAccountSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (LdapBindAccountSummary) GetFreeformTags added in v65.44.0

func (m LdapBindAccountSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (LdapBindAccountSummary) GetId added in v65.44.0

func (m LdapBindAccountSummary) GetId() *string

GetId returns Id

func (LdapBindAccountSummary) GetLifecycleState added in v65.44.0

GetLifecycleState returns LifecycleState

func (LdapBindAccountSummary) GetTimeCreated added in v65.44.0

func (m LdapBindAccountSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (LdapBindAccountSummary) MarshalJSON added in v65.44.0

func (m LdapBindAccountSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LdapBindAccountSummary) String added in v65.44.0

func (m LdapBindAccountSummary) String() string

func (LdapBindAccountSummary) ValidateEnumValue added in v65.44.0

func (m LdapBindAccountSummary) 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

type LdapIdmap added in v65.44.0

type LdapIdmap struct {

	// Schema type of the LDAP account.
	SchemaType LdapIdmapSchemaTypeEnum `mandatory:"false" json:"schemaType,omitempty"`

	// The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
	CacheRefreshIntervalSeconds *int `mandatory:"false" json:"cacheRefreshIntervalSeconds"`

	// The maximum amount of time the mount target is allowed to use a cached entry.
	CacheLifetimeSeconds *int `mandatory:"false" json:"cacheLifetimeSeconds"`

	// The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
	NegativeCacheLifetimeSeconds *int `mandatory:"false" json:"negativeCacheLifetimeSeconds"`

	// All LDAP searches are recursive starting at this user.
	// Example: `CN=User,DC=domain,DC=com`
	UserSearchBase *string `mandatory:"false" json:"userSearchBase"`

	// All LDAP searches are recursive starting at this group.
	// Example: `CN=Group,DC=domain,DC=com`
	GroupSearchBase *string `mandatory:"false" json:"groupSearchBase"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the first connector to use to communicate with the LDAP server.
	OutboundConnector1Id *string `mandatory:"false" json:"outboundConnector1Id"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the second connector to use to communicate with the LDAP server.
	OutboundConnector2Id *string `mandatory:"false" json:"outboundConnector2Id"`
}

LdapIdmap Mount target details about the LDAP ID mapping configuration.

func (LdapIdmap) String added in v65.44.0

func (m LdapIdmap) String() string

func (LdapIdmap) ValidateEnumValue added in v65.44.0

func (m LdapIdmap) 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

type LdapIdmapSchemaTypeEnum added in v65.44.0

type LdapIdmapSchemaTypeEnum string

LdapIdmapSchemaTypeEnum Enum with underlying type: string

const (
	LdapIdmapSchemaTypeRfc2307 LdapIdmapSchemaTypeEnum = "RFC2307"
)

Set of constants representing the allowable values for LdapIdmapSchemaTypeEnum

func GetLdapIdmapSchemaTypeEnumValues added in v65.44.0

func GetLdapIdmapSchemaTypeEnumValues() []LdapIdmapSchemaTypeEnum

GetLdapIdmapSchemaTypeEnumValues Enumerates the set of values for LdapIdmapSchemaTypeEnum

func GetMappingLdapIdmapSchemaTypeEnum added in v65.44.0

func GetMappingLdapIdmapSchemaTypeEnum(val string) (LdapIdmapSchemaTypeEnum, bool)

GetMappingLdapIdmapSchemaTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListExportSetsLifecycleStateEnum

type ListExportSetsLifecycleStateEnum string

ListExportSetsLifecycleStateEnum Enum with underlying type: string

const (
	ListExportSetsLifecycleStateCreating ListExportSetsLifecycleStateEnum = "CREATING"
	ListExportSetsLifecycleStateActive   ListExportSetsLifecycleStateEnum = "ACTIVE"
	ListExportSetsLifecycleStateDeleting ListExportSetsLifecycleStateEnum = "DELETING"
	ListExportSetsLifecycleStateDeleted  ListExportSetsLifecycleStateEnum = "DELETED"
	ListExportSetsLifecycleStateFailed   ListExportSetsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListExportSetsLifecycleStateEnum

func GetListExportSetsLifecycleStateEnumValues

func GetListExportSetsLifecycleStateEnumValues() []ListExportSetsLifecycleStateEnum

GetListExportSetsLifecycleStateEnumValues Enumerates the set of values for ListExportSetsLifecycleStateEnum

func GetMappingListExportSetsLifecycleStateEnum

func GetMappingListExportSetsLifecycleStateEnum(val string) (ListExportSetsLifecycleStateEnum, bool)

GetMappingListExportSetsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListExportSetsRequest

type ListExportSetsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"`

	// For list pagination. The maximum number of results per page,
	// or items to return in a paginated "List" call.
	// 1 is the minimum, 1000 is the maximum.
	// For important details about how pagination works,
	// see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `500`
	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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Example: `My resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Filter results by the specified lifecycle state. Must be a valid
	// state for the resource type.
	LifecycleState ListExportSetsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for
	// the resouce type.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The field to sort by. You can provide either value, but not both.
	// By default, when you sort by time created, results are shown
	// in descending order. When you sort by display name, results are
	// shown in ascending order.
	SortBy ListExportSetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc', where 'asc' is
	// ascending and 'desc' is descending. The default order is 'desc'
	// except for numeric values.
	SortOrder ListExportSetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListExportSetsRequest wrapper for the ListExportSets operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListExportSets.go.html to see an example of how to use ListExportSetsRequest.

func (ListExportSetsRequest) BinaryRequestBody

func (request ListExportSetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListExportSetsRequest) HTTPRequest

func (request ListExportSetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListExportSetsRequest) RetryPolicy

func (request ListExportSetsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListExportSetsRequest) String

func (request ListExportSetsRequest) String() string

func (ListExportSetsRequest) ValidateEnumValue

func (request ListExportSetsRequest) 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

type ListExportSetsResponse

type ListExportSetsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ExportSetSummary instances
	Items []ExportSetSummary `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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If
	// you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListExportSetsResponse wrapper for the ListExportSets operation

func (ListExportSetsResponse) HTTPResponse

func (response ListExportSetsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListExportSetsResponse) String

func (response ListExportSetsResponse) String() string

type ListExportSetsSortByEnum

type ListExportSetsSortByEnum string

ListExportSetsSortByEnum Enum with underlying type: string

const (
	ListExportSetsSortByTimecreated ListExportSetsSortByEnum = "TIMECREATED"
	ListExportSetsSortByDisplayname ListExportSetsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListExportSetsSortByEnum

func GetListExportSetsSortByEnumValues

func GetListExportSetsSortByEnumValues() []ListExportSetsSortByEnum

GetListExportSetsSortByEnumValues Enumerates the set of values for ListExportSetsSortByEnum

func GetMappingListExportSetsSortByEnum

func GetMappingListExportSetsSortByEnum(val string) (ListExportSetsSortByEnum, bool)

GetMappingListExportSetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListExportSetsSortOrderEnum

type ListExportSetsSortOrderEnum string

ListExportSetsSortOrderEnum Enum with underlying type: string

const (
	ListExportSetsSortOrderAsc  ListExportSetsSortOrderEnum = "ASC"
	ListExportSetsSortOrderDesc ListExportSetsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListExportSetsSortOrderEnum

func GetListExportSetsSortOrderEnumValues

func GetListExportSetsSortOrderEnumValues() []ListExportSetsSortOrderEnum

GetListExportSetsSortOrderEnumValues Enumerates the set of values for ListExportSetsSortOrderEnum

func GetMappingListExportSetsSortOrderEnum

func GetMappingListExportSetsSortOrderEnum(val string) (ListExportSetsSortOrderEnum, bool)

GetMappingListExportSetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListExportsLifecycleStateEnum

type ListExportsLifecycleStateEnum string

ListExportsLifecycleStateEnum Enum with underlying type: string

const (
	ListExportsLifecycleStateCreating ListExportsLifecycleStateEnum = "CREATING"
	ListExportsLifecycleStateActive   ListExportsLifecycleStateEnum = "ACTIVE"
	ListExportsLifecycleStateDeleting ListExportsLifecycleStateEnum = "DELETING"
	ListExportsLifecycleStateDeleted  ListExportsLifecycleStateEnum = "DELETED"
	ListExportsLifecycleStateFailed   ListExportsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListExportsLifecycleStateEnum

func GetListExportsLifecycleStateEnumValues

func GetListExportsLifecycleStateEnumValues() []ListExportsLifecycleStateEnum

GetListExportsLifecycleStateEnumValues Enumerates the set of values for ListExportsLifecycleStateEnum

func GetMappingListExportsLifecycleStateEnum

func GetMappingListExportsLifecycleStateEnum(val string) (ListExportsLifecycleStateEnum, bool)

GetMappingListExportsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListExportsRequest

type ListExportsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page,
	// or items to return in a paginated "List" call.
	// 1 is the minimum, 1000 is the maximum.
	// For important details about how pagination works,
	// see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `500`
	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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export set.
	ExportSetId *string `mandatory:"false" contributesTo:"query" name:"exportSetId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system.
	FileSystemId *string `mandatory:"false" contributesTo:"query" name:"fileSystemId"`

	// Filter results by the specified lifecycle state. Must be a valid
	// state for the resource type.
	LifecycleState ListExportsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for
	// the resouce type.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The field to sort by. You can provide either value, but not both.
	// By default, when you sort by time created, results are shown
	// in descending order. When you sort by path, results are
	// shown in ascending alphanumeric order.
	SortBy ListExportsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc', where 'asc' is
	// ascending and 'desc' is descending. The default order is 'desc'
	// except for numeric values.
	SortOrder ListExportsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListExportsRequest wrapper for the ListExports operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListExports.go.html to see an example of how to use ListExportsRequest.

func (ListExportsRequest) BinaryRequestBody

func (request ListExportsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListExportsRequest) HTTPRequest

func (request ListExportsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListExportsRequest) RetryPolicy

func (request ListExportsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListExportsRequest) String

func (request ListExportsRequest) String() string

func (ListExportsRequest) ValidateEnumValue

func (request ListExportsRequest) 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

type ListExportsResponse

type ListExportsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ExportSummary instances
	Items []ExportSummary `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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If
	// you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListExportsResponse wrapper for the ListExports operation

func (ListExportsResponse) HTTPResponse

func (response ListExportsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListExportsResponse) String

func (response ListExportsResponse) String() string

type ListExportsSortByEnum

type ListExportsSortByEnum string

ListExportsSortByEnum Enum with underlying type: string

const (
	ListExportsSortByTimecreated ListExportsSortByEnum = "TIMECREATED"
	ListExportsSortByPath        ListExportsSortByEnum = "PATH"
)

Set of constants representing the allowable values for ListExportsSortByEnum

func GetListExportsSortByEnumValues

func GetListExportsSortByEnumValues() []ListExportsSortByEnum

GetListExportsSortByEnumValues Enumerates the set of values for ListExportsSortByEnum

func GetMappingListExportsSortByEnum

func GetMappingListExportsSortByEnum(val string) (ListExportsSortByEnum, bool)

GetMappingListExportsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListExportsSortOrderEnum

type ListExportsSortOrderEnum string

ListExportsSortOrderEnum Enum with underlying type: string

const (
	ListExportsSortOrderAsc  ListExportsSortOrderEnum = "ASC"
	ListExportsSortOrderDesc ListExportsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListExportsSortOrderEnum

func GetListExportsSortOrderEnumValues

func GetListExportsSortOrderEnumValues() []ListExportsSortOrderEnum

GetListExportsSortOrderEnumValues Enumerates the set of values for ListExportsSortOrderEnum

func GetMappingListExportsSortOrderEnum

func GetMappingListExportsSortOrderEnum(val string) (ListExportsSortOrderEnum, bool)

GetMappingListExportsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListFileSystemsLifecycleStateEnum

type ListFileSystemsLifecycleStateEnum string

ListFileSystemsLifecycleStateEnum Enum with underlying type: string

const (
	ListFileSystemsLifecycleStateCreating ListFileSystemsLifecycleStateEnum = "CREATING"
	ListFileSystemsLifecycleStateActive   ListFileSystemsLifecycleStateEnum = "ACTIVE"
	ListFileSystemsLifecycleStateDeleting ListFileSystemsLifecycleStateEnum = "DELETING"
	ListFileSystemsLifecycleStateDeleted  ListFileSystemsLifecycleStateEnum = "DELETED"
	ListFileSystemsLifecycleStateFailed   ListFileSystemsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListFileSystemsLifecycleStateEnum

func GetListFileSystemsLifecycleStateEnumValues

func GetListFileSystemsLifecycleStateEnumValues() []ListFileSystemsLifecycleStateEnum

GetListFileSystemsLifecycleStateEnumValues Enumerates the set of values for ListFileSystemsLifecycleStateEnum

func GetMappingListFileSystemsLifecycleStateEnum

func GetMappingListFileSystemsLifecycleStateEnum(val string) (ListFileSystemsLifecycleStateEnum, bool)

GetMappingListFileSystemsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListFileSystemsRequest

type ListFileSystemsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"`

	// For list pagination. The maximum number of results per page,
	// or items to return in a paginated "List" call.
	// 1 is the minimum, 1000 is the maximum.
	// For important details about how pagination works,
	// see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `500`
	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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Example: `My resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Filter results by the specified lifecycle state. Must be a valid
	// state for the resource type.
	LifecycleState ListFileSystemsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for
	// the resouce type.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot used to create a cloned file system. See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm).
	SourceSnapshotId *string `mandatory:"false" contributesTo:"query" name:"sourceSnapshotId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system that contains the source snapshot of a cloned file system. See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm).
	ParentFileSystemId *string `mandatory:"false" contributesTo:"query" name:"parentFileSystemId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy
	// that is associated with the file systems.
	FilesystemSnapshotPolicyId *string `mandatory:"false" contributesTo:"query" name:"filesystemSnapshotPolicyId"`

	// The field to sort by. You can provide either value, but not both.
	// By default, when you sort by time created, results are shown
	// in descending order. When you sort by display name, results are
	// shown in ascending order.
	SortBy ListFileSystemsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc', where 'asc' is
	// ascending and 'desc' is descending. The default order is 'desc'
	// except for numeric values.
	SortOrder ListFileSystemsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListFileSystemsRequest wrapper for the ListFileSystems operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListFileSystems.go.html to see an example of how to use ListFileSystemsRequest.

func (ListFileSystemsRequest) BinaryRequestBody

func (request ListFileSystemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListFileSystemsRequest) HTTPRequest

func (request ListFileSystemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListFileSystemsRequest) RetryPolicy

func (request ListFileSystemsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListFileSystemsRequest) String

func (request ListFileSystemsRequest) String() string

func (ListFileSystemsRequest) ValidateEnumValue

func (request ListFileSystemsRequest) 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

type ListFileSystemsResponse

type ListFileSystemsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []FileSystemSummary instances
	Items []FileSystemSummary `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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If
	// you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListFileSystemsResponse wrapper for the ListFileSystems operation

func (ListFileSystemsResponse) HTTPResponse

func (response ListFileSystemsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListFileSystemsResponse) String

func (response ListFileSystemsResponse) String() string

type ListFileSystemsSortByEnum

type ListFileSystemsSortByEnum string

ListFileSystemsSortByEnum Enum with underlying type: string

const (
	ListFileSystemsSortByTimecreated ListFileSystemsSortByEnum = "TIMECREATED"
	ListFileSystemsSortByDisplayname ListFileSystemsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListFileSystemsSortByEnum

func GetListFileSystemsSortByEnumValues

func GetListFileSystemsSortByEnumValues() []ListFileSystemsSortByEnum

GetListFileSystemsSortByEnumValues Enumerates the set of values for ListFileSystemsSortByEnum

func GetMappingListFileSystemsSortByEnum

func GetMappingListFileSystemsSortByEnum(val string) (ListFileSystemsSortByEnum, bool)

GetMappingListFileSystemsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListFileSystemsSortOrderEnum

type ListFileSystemsSortOrderEnum string

ListFileSystemsSortOrderEnum Enum with underlying type: string

const (
	ListFileSystemsSortOrderAsc  ListFileSystemsSortOrderEnum = "ASC"
	ListFileSystemsSortOrderDesc ListFileSystemsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListFileSystemsSortOrderEnum

func GetListFileSystemsSortOrderEnumValues

func GetListFileSystemsSortOrderEnumValues() []ListFileSystemsSortOrderEnum

GetListFileSystemsSortOrderEnumValues Enumerates the set of values for ListFileSystemsSortOrderEnum

func GetMappingListFileSystemsSortOrderEnum

func GetMappingListFileSystemsSortOrderEnum(val string) (ListFileSystemsSortOrderEnum, bool)

GetMappingListFileSystemsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListFilesystemSnapshotPoliciesLifecycleStateEnum added in v65.40.0

type ListFilesystemSnapshotPoliciesLifecycleStateEnum string

ListFilesystemSnapshotPoliciesLifecycleStateEnum Enum with underlying type: string

const (
	ListFilesystemSnapshotPoliciesLifecycleStateCreating ListFilesystemSnapshotPoliciesLifecycleStateEnum = "CREATING"
	ListFilesystemSnapshotPoliciesLifecycleStateActive   ListFilesystemSnapshotPoliciesLifecycleStateEnum = "ACTIVE"
	ListFilesystemSnapshotPoliciesLifecycleStateDeleting ListFilesystemSnapshotPoliciesLifecycleStateEnum = "DELETING"
	ListFilesystemSnapshotPoliciesLifecycleStateDeleted  ListFilesystemSnapshotPoliciesLifecycleStateEnum = "DELETED"
	ListFilesystemSnapshotPoliciesLifecycleStateFailed   ListFilesystemSnapshotPoliciesLifecycleStateEnum = "FAILED"
	ListFilesystemSnapshotPoliciesLifecycleStateInactive ListFilesystemSnapshotPoliciesLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for ListFilesystemSnapshotPoliciesLifecycleStateEnum

func GetListFilesystemSnapshotPoliciesLifecycleStateEnumValues added in v65.40.0

func GetListFilesystemSnapshotPoliciesLifecycleStateEnumValues() []ListFilesystemSnapshotPoliciesLifecycleStateEnum

GetListFilesystemSnapshotPoliciesLifecycleStateEnumValues Enumerates the set of values for ListFilesystemSnapshotPoliciesLifecycleStateEnum

func GetMappingListFilesystemSnapshotPoliciesLifecycleStateEnum added in v65.40.0

func GetMappingListFilesystemSnapshotPoliciesLifecycleStateEnum(val string) (ListFilesystemSnapshotPoliciesLifecycleStateEnum, bool)

GetMappingListFilesystemSnapshotPoliciesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListFilesystemSnapshotPoliciesRequest added in v65.40.0

type ListFilesystemSnapshotPoliciesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"`

	// For list pagination. The maximum number of results per page,
	// or items to return in a paginated "List" call.
	// 1 is the minimum, 1000 is the maximum.
	// For important details about how pagination works,
	// see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `500`
	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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Example: `My resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Filter results by the specified lifecycle state. Must be a valid
	// state for the resource type.
	LifecycleState ListFilesystemSnapshotPoliciesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for
	// the resouce type.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The field to sort by. You can provide either value, but not both.
	// By default, when you sort by time created, results are shown
	// in descending order. When you sort by displayName, results are
	// shown in ascending alphanumeric order.
	SortBy ListFilesystemSnapshotPoliciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc', where 'asc' is
	// ascending and 'desc' is descending. The default order is 'desc'
	// except for numeric values.
	SortOrder ListFilesystemSnapshotPoliciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListFilesystemSnapshotPoliciesRequest wrapper for the ListFilesystemSnapshotPolicies operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListFilesystemSnapshotPolicies.go.html to see an example of how to use ListFilesystemSnapshotPoliciesRequest.

func (ListFilesystemSnapshotPoliciesRequest) BinaryRequestBody added in v65.40.0

func (request ListFilesystemSnapshotPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListFilesystemSnapshotPoliciesRequest) HTTPRequest added in v65.40.0

func (request ListFilesystemSnapshotPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListFilesystemSnapshotPoliciesRequest) RetryPolicy added in v65.40.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListFilesystemSnapshotPoliciesRequest) String added in v65.40.0

func (ListFilesystemSnapshotPoliciesRequest) ValidateEnumValue added in v65.40.0

func (request ListFilesystemSnapshotPoliciesRequest) 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

type ListFilesystemSnapshotPoliciesResponse added in v65.40.0

type ListFilesystemSnapshotPoliciesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []FilesystemSnapshotPolicySummary instances
	Items []FilesystemSnapshotPolicySummary `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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If
	// you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListFilesystemSnapshotPoliciesResponse wrapper for the ListFilesystemSnapshotPolicies operation

func (ListFilesystemSnapshotPoliciesResponse) HTTPResponse added in v65.40.0

func (response ListFilesystemSnapshotPoliciesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListFilesystemSnapshotPoliciesResponse) String added in v65.40.0

type ListFilesystemSnapshotPoliciesSortByEnum added in v65.40.0

type ListFilesystemSnapshotPoliciesSortByEnum string

ListFilesystemSnapshotPoliciesSortByEnum Enum with underlying type: string

const (
	ListFilesystemSnapshotPoliciesSortByTimecreated ListFilesystemSnapshotPoliciesSortByEnum = "TIMECREATED"
	ListFilesystemSnapshotPoliciesSortByDisplayname ListFilesystemSnapshotPoliciesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListFilesystemSnapshotPoliciesSortByEnum

func GetListFilesystemSnapshotPoliciesSortByEnumValues added in v65.40.0

func GetListFilesystemSnapshotPoliciesSortByEnumValues() []ListFilesystemSnapshotPoliciesSortByEnum

GetListFilesystemSnapshotPoliciesSortByEnumValues Enumerates the set of values for ListFilesystemSnapshotPoliciesSortByEnum

func GetMappingListFilesystemSnapshotPoliciesSortByEnum added in v65.40.0

func GetMappingListFilesystemSnapshotPoliciesSortByEnum(val string) (ListFilesystemSnapshotPoliciesSortByEnum, bool)

GetMappingListFilesystemSnapshotPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListFilesystemSnapshotPoliciesSortOrderEnum added in v65.40.0

type ListFilesystemSnapshotPoliciesSortOrderEnum string

ListFilesystemSnapshotPoliciesSortOrderEnum Enum with underlying type: string

const (
	ListFilesystemSnapshotPoliciesSortOrderAsc  ListFilesystemSnapshotPoliciesSortOrderEnum = "ASC"
	ListFilesystemSnapshotPoliciesSortOrderDesc ListFilesystemSnapshotPoliciesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListFilesystemSnapshotPoliciesSortOrderEnum

func GetListFilesystemSnapshotPoliciesSortOrderEnumValues added in v65.40.0

func GetListFilesystemSnapshotPoliciesSortOrderEnumValues() []ListFilesystemSnapshotPoliciesSortOrderEnum

GetListFilesystemSnapshotPoliciesSortOrderEnumValues Enumerates the set of values for ListFilesystemSnapshotPoliciesSortOrderEnum

func GetMappingListFilesystemSnapshotPoliciesSortOrderEnum added in v65.40.0

func GetMappingListFilesystemSnapshotPoliciesSortOrderEnum(val string) (ListFilesystemSnapshotPoliciesSortOrderEnum, bool)

GetMappingListFilesystemSnapshotPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMountTargetsLifecycleStateEnum

type ListMountTargetsLifecycleStateEnum string

ListMountTargetsLifecycleStateEnum Enum with underlying type: string

const (
	ListMountTargetsLifecycleStateCreating ListMountTargetsLifecycleStateEnum = "CREATING"
	ListMountTargetsLifecycleStateActive   ListMountTargetsLifecycleStateEnum = "ACTIVE"
	ListMountTargetsLifecycleStateDeleting ListMountTargetsLifecycleStateEnum = "DELETING"
	ListMountTargetsLifecycleStateDeleted  ListMountTargetsLifecycleStateEnum = "DELETED"
	ListMountTargetsLifecycleStateFailed   ListMountTargetsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListMountTargetsLifecycleStateEnum

func GetListMountTargetsLifecycleStateEnumValues

func GetListMountTargetsLifecycleStateEnumValues() []ListMountTargetsLifecycleStateEnum

GetListMountTargetsLifecycleStateEnumValues Enumerates the set of values for ListMountTargetsLifecycleStateEnum

func GetMappingListMountTargetsLifecycleStateEnum

func GetMappingListMountTargetsLifecycleStateEnum(val string) (ListMountTargetsLifecycleStateEnum, bool)

GetMappingListMountTargetsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMountTargetsRequest

type ListMountTargetsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"`

	// For list pagination. The maximum number of results per page,
	// or items to return in a paginated "List" call.
	// 1 is the minimum, 1000 is the maximum.
	// For important details about how pagination works,
	// see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `500`
	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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Example: `My resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export set.
	ExportSetId *string `mandatory:"false" contributesTo:"query" name:"exportSetId"`

	// Filter results by the specified lifecycle state. Must be a valid
	// state for the resource type.
	LifecycleState ListMountTargetsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for
	// the resouce type.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The field to sort by. You can choose either value, but not both.
	// By default, when you sort by time created, results are shown
	// in descending order. When you sort by display name, results are
	// shown in ascending order.
	SortBy ListMountTargetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc', where 'asc' is
	// ascending and 'desc' is descending. The default order is 'desc'
	// except for numeric values.
	SortOrder ListMountTargetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListMountTargetsRequest wrapper for the ListMountTargets operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListMountTargets.go.html to see an example of how to use ListMountTargetsRequest.

func (ListMountTargetsRequest) BinaryRequestBody

func (request ListMountTargetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMountTargetsRequest) HTTPRequest

func (request ListMountTargetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMountTargetsRequest) RetryPolicy

func (request ListMountTargetsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListMountTargetsRequest) String

func (request ListMountTargetsRequest) String() string

func (ListMountTargetsRequest) ValidateEnumValue

func (request ListMountTargetsRequest) 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

type ListMountTargetsResponse

type ListMountTargetsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []MountTargetSummary instances
	Items []MountTargetSummary `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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If
	// you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListMountTargetsResponse wrapper for the ListMountTargets operation

func (ListMountTargetsResponse) HTTPResponse

func (response ListMountTargetsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListMountTargetsResponse) String

func (response ListMountTargetsResponse) String() string

type ListMountTargetsSortByEnum

type ListMountTargetsSortByEnum string

ListMountTargetsSortByEnum Enum with underlying type: string

const (
	ListMountTargetsSortByTimecreated ListMountTargetsSortByEnum = "TIMECREATED"
	ListMountTargetsSortByDisplayname ListMountTargetsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListMountTargetsSortByEnum

func GetListMountTargetsSortByEnumValues

func GetListMountTargetsSortByEnumValues() []ListMountTargetsSortByEnum

GetListMountTargetsSortByEnumValues Enumerates the set of values for ListMountTargetsSortByEnum

func GetMappingListMountTargetsSortByEnum

func GetMappingListMountTargetsSortByEnum(val string) (ListMountTargetsSortByEnum, bool)

GetMappingListMountTargetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMountTargetsSortOrderEnum

type ListMountTargetsSortOrderEnum string

ListMountTargetsSortOrderEnum Enum with underlying type: string

const (
	ListMountTargetsSortOrderAsc  ListMountTargetsSortOrderEnum = "ASC"
	ListMountTargetsSortOrderDesc ListMountTargetsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMountTargetsSortOrderEnum

func GetListMountTargetsSortOrderEnumValues

func GetListMountTargetsSortOrderEnumValues() []ListMountTargetsSortOrderEnum

GetListMountTargetsSortOrderEnumValues Enumerates the set of values for ListMountTargetsSortOrderEnum

func GetMappingListMountTargetsSortOrderEnum

func GetMappingListMountTargetsSortOrderEnum(val string) (ListMountTargetsSortOrderEnum, bool)

GetMappingListMountTargetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListOutboundConnectorsLifecycleStateEnum added in v65.44.0

type ListOutboundConnectorsLifecycleStateEnum string

ListOutboundConnectorsLifecycleStateEnum Enum with underlying type: string

const (
	ListOutboundConnectorsLifecycleStateCreating ListOutboundConnectorsLifecycleStateEnum = "CREATING"
	ListOutboundConnectorsLifecycleStateActive   ListOutboundConnectorsLifecycleStateEnum = "ACTIVE"
	ListOutboundConnectorsLifecycleStateDeleting ListOutboundConnectorsLifecycleStateEnum = "DELETING"
	ListOutboundConnectorsLifecycleStateDeleted  ListOutboundConnectorsLifecycleStateEnum = "DELETED"
	ListOutboundConnectorsLifecycleStateFailed   ListOutboundConnectorsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListOutboundConnectorsLifecycleStateEnum

func GetListOutboundConnectorsLifecycleStateEnumValues added in v65.44.0

func GetListOutboundConnectorsLifecycleStateEnumValues() []ListOutboundConnectorsLifecycleStateEnum

GetListOutboundConnectorsLifecycleStateEnumValues Enumerates the set of values for ListOutboundConnectorsLifecycleStateEnum

func GetMappingListOutboundConnectorsLifecycleStateEnum added in v65.44.0

func GetMappingListOutboundConnectorsLifecycleStateEnum(val string) (ListOutboundConnectorsLifecycleStateEnum, bool)

GetMappingListOutboundConnectorsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListOutboundConnectorsRequest added in v65.44.0

type ListOutboundConnectorsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"`

	// For list pagination. The maximum number of results per page,
	// or items to return in a paginated "List" call.
	// 1 is the minimum, 1000 is the maximum.
	// For important details about how pagination works,
	// see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `500`
	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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Filter results by the specified lifecycle state. Must be a valid
	// state for the resource type.
	LifecycleState ListOutboundConnectorsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Example: `My resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for
	// the resouce type.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The field to sort by. You can choose either value, but not both.
	// By default, when you sort by time created, results are shown
	// in descending order. When you sort by display name, results are
	// shown in ascending order.
	SortBy ListOutboundConnectorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc', where 'asc' is
	// ascending and 'desc' is descending. The default order is 'desc'
	// except for numeric values.
	SortOrder ListOutboundConnectorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListOutboundConnectorsRequest wrapper for the ListOutboundConnectors operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListOutboundConnectors.go.html to see an example of how to use ListOutboundConnectorsRequest.

func (ListOutboundConnectorsRequest) BinaryRequestBody added in v65.44.0

func (request ListOutboundConnectorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListOutboundConnectorsRequest) HTTPRequest added in v65.44.0

func (request ListOutboundConnectorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListOutboundConnectorsRequest) RetryPolicy added in v65.44.0

func (request ListOutboundConnectorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListOutboundConnectorsRequest) String added in v65.44.0

func (request ListOutboundConnectorsRequest) String() string

func (ListOutboundConnectorsRequest) ValidateEnumValue added in v65.44.0

func (request ListOutboundConnectorsRequest) 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

type ListOutboundConnectorsResponse added in v65.44.0

type ListOutboundConnectorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []OutboundConnectorSummary instances
	Items []OutboundConnectorSummary `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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If
	// you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListOutboundConnectorsResponse wrapper for the ListOutboundConnectors operation

func (ListOutboundConnectorsResponse) HTTPResponse added in v65.44.0

func (response ListOutboundConnectorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListOutboundConnectorsResponse) String added in v65.44.0

func (response ListOutboundConnectorsResponse) String() string

type ListOutboundConnectorsSortByEnum added in v65.44.0

type ListOutboundConnectorsSortByEnum string

ListOutboundConnectorsSortByEnum Enum with underlying type: string

const (
	ListOutboundConnectorsSortByTimecreated ListOutboundConnectorsSortByEnum = "TIMECREATED"
	ListOutboundConnectorsSortByDisplayname ListOutboundConnectorsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListOutboundConnectorsSortByEnum

func GetListOutboundConnectorsSortByEnumValues added in v65.44.0

func GetListOutboundConnectorsSortByEnumValues() []ListOutboundConnectorsSortByEnum

GetListOutboundConnectorsSortByEnumValues Enumerates the set of values for ListOutboundConnectorsSortByEnum

func GetMappingListOutboundConnectorsSortByEnum added in v65.44.0

func GetMappingListOutboundConnectorsSortByEnum(val string) (ListOutboundConnectorsSortByEnum, bool)

GetMappingListOutboundConnectorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListOutboundConnectorsSortOrderEnum added in v65.44.0

type ListOutboundConnectorsSortOrderEnum string

ListOutboundConnectorsSortOrderEnum Enum with underlying type: string

const (
	ListOutboundConnectorsSortOrderAsc  ListOutboundConnectorsSortOrderEnum = "ASC"
	ListOutboundConnectorsSortOrderDesc ListOutboundConnectorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListOutboundConnectorsSortOrderEnum

func GetListOutboundConnectorsSortOrderEnumValues added in v65.44.0

func GetListOutboundConnectorsSortOrderEnumValues() []ListOutboundConnectorsSortOrderEnum

GetListOutboundConnectorsSortOrderEnumValues Enumerates the set of values for ListOutboundConnectorsSortOrderEnum

func GetMappingListOutboundConnectorsSortOrderEnum added in v65.44.0

func GetMappingListOutboundConnectorsSortOrderEnum(val string) (ListOutboundConnectorsSortOrderEnum, bool)

GetMappingListOutboundConnectorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReplicationTargetsLifecycleStateEnum added in v65.22.0

type ListReplicationTargetsLifecycleStateEnum string

ListReplicationTargetsLifecycleStateEnum Enum with underlying type: string

const (
	ListReplicationTargetsLifecycleStateCreating ListReplicationTargetsLifecycleStateEnum = "CREATING"
	ListReplicationTargetsLifecycleStateActive   ListReplicationTargetsLifecycleStateEnum = "ACTIVE"
	ListReplicationTargetsLifecycleStateDeleting ListReplicationTargetsLifecycleStateEnum = "DELETING"
	ListReplicationTargetsLifecycleStateDeleted  ListReplicationTargetsLifecycleStateEnum = "DELETED"
	ListReplicationTargetsLifecycleStateFailed   ListReplicationTargetsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListReplicationTargetsLifecycleStateEnum

func GetListReplicationTargetsLifecycleStateEnumValues added in v65.22.0

func GetListReplicationTargetsLifecycleStateEnumValues() []ListReplicationTargetsLifecycleStateEnum

GetListReplicationTargetsLifecycleStateEnumValues Enumerates the set of values for ListReplicationTargetsLifecycleStateEnum

func GetMappingListReplicationTargetsLifecycleStateEnum added in v65.22.0

func GetMappingListReplicationTargetsLifecycleStateEnum(val string) (ListReplicationTargetsLifecycleStateEnum, bool)

GetMappingListReplicationTargetsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReplicationTargetsRequest added in v65.22.0

type ListReplicationTargetsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"`

	// For list pagination. The maximum number of results per page,
	// or items to return in a paginated "List" call.
	// 1 is the minimum, 1000 is the maximum.
	// For important details about how pagination works,
	// see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `500`
	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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Filter results by the specified lifecycle state. Must be a valid
	// state for the resource type.
	LifecycleState ListReplicationTargetsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Example: `My resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for
	// the resouce type.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The field to sort by. You can choose either value, but not both.
	// By default, when you sort by `timeCreated`, results are shown
	// in descending order. When you sort by `displayName`, results are
	// shown in ascending order.
	SortBy ListReplicationTargetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc', where 'asc' is
	// ascending and 'desc' is descending. The default order is 'desc'
	// except for numeric values.
	SortOrder ListReplicationTargetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListReplicationTargetsRequest wrapper for the ListReplicationTargets operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListReplicationTargets.go.html to see an example of how to use ListReplicationTargetsRequest.

func (ListReplicationTargetsRequest) BinaryRequestBody added in v65.22.0

func (request ListReplicationTargetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListReplicationTargetsRequest) HTTPRequest added in v65.22.0

func (request ListReplicationTargetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListReplicationTargetsRequest) RetryPolicy added in v65.22.0

func (request ListReplicationTargetsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListReplicationTargetsRequest) String added in v65.22.0

func (request ListReplicationTargetsRequest) String() string

func (ListReplicationTargetsRequest) ValidateEnumValue added in v65.22.0

func (request ListReplicationTargetsRequest) 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

type ListReplicationTargetsResponse added in v65.22.0

type ListReplicationTargetsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ReplicationTargetSummary instances
	Items []ReplicationTargetSummary `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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If
	// you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListReplicationTargetsResponse wrapper for the ListReplicationTargets operation

func (ListReplicationTargetsResponse) HTTPResponse added in v65.22.0

func (response ListReplicationTargetsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListReplicationTargetsResponse) String added in v65.22.0

func (response ListReplicationTargetsResponse) String() string

type ListReplicationTargetsSortByEnum added in v65.22.0

type ListReplicationTargetsSortByEnum string

ListReplicationTargetsSortByEnum Enum with underlying type: string

const (
	ListReplicationTargetsSortByTimecreated ListReplicationTargetsSortByEnum = "timeCreated"
	ListReplicationTargetsSortByDisplayname ListReplicationTargetsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListReplicationTargetsSortByEnum

func GetListReplicationTargetsSortByEnumValues added in v65.22.0

func GetListReplicationTargetsSortByEnumValues() []ListReplicationTargetsSortByEnum

GetListReplicationTargetsSortByEnumValues Enumerates the set of values for ListReplicationTargetsSortByEnum

func GetMappingListReplicationTargetsSortByEnum added in v65.22.0

func GetMappingListReplicationTargetsSortByEnum(val string) (ListReplicationTargetsSortByEnum, bool)

GetMappingListReplicationTargetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReplicationTargetsSortOrderEnum added in v65.22.0

type ListReplicationTargetsSortOrderEnum string

ListReplicationTargetsSortOrderEnum Enum with underlying type: string

const (
	ListReplicationTargetsSortOrderAsc  ListReplicationTargetsSortOrderEnum = "ASC"
	ListReplicationTargetsSortOrderDesc ListReplicationTargetsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListReplicationTargetsSortOrderEnum

func GetListReplicationTargetsSortOrderEnumValues added in v65.22.0

func GetListReplicationTargetsSortOrderEnumValues() []ListReplicationTargetsSortOrderEnum

GetListReplicationTargetsSortOrderEnumValues Enumerates the set of values for ListReplicationTargetsSortOrderEnum

func GetMappingListReplicationTargetsSortOrderEnum added in v65.22.0

func GetMappingListReplicationTargetsSortOrderEnum(val string) (ListReplicationTargetsSortOrderEnum, bool)

GetMappingListReplicationTargetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReplicationsLifecycleStateEnum added in v65.22.0

type ListReplicationsLifecycleStateEnum string

ListReplicationsLifecycleStateEnum Enum with underlying type: string

const (
	ListReplicationsLifecycleStateCreating ListReplicationsLifecycleStateEnum = "CREATING"
	ListReplicationsLifecycleStateActive   ListReplicationsLifecycleStateEnum = "ACTIVE"
	ListReplicationsLifecycleStateDeleting ListReplicationsLifecycleStateEnum = "DELETING"
	ListReplicationsLifecycleStateDeleted  ListReplicationsLifecycleStateEnum = "DELETED"
	ListReplicationsLifecycleStateFailed   ListReplicationsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListReplicationsLifecycleStateEnum

func GetListReplicationsLifecycleStateEnumValues added in v65.22.0

func GetListReplicationsLifecycleStateEnumValues() []ListReplicationsLifecycleStateEnum

GetListReplicationsLifecycleStateEnumValues Enumerates the set of values for ListReplicationsLifecycleStateEnum

func GetMappingListReplicationsLifecycleStateEnum added in v65.22.0

func GetMappingListReplicationsLifecycleStateEnum(val string) (ListReplicationsLifecycleStateEnum, bool)

GetMappingListReplicationsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReplicationsRequest added in v65.22.0

type ListReplicationsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"`

	// For list pagination. The maximum number of results per page,
	// or items to return in a paginated "List" call.
	// 1 is the minimum, 1000 is the maximum.
	// For important details about how pagination works,
	// see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `500`
	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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Filter results by the specified lifecycle state. Must be a valid
	// state for the resource type.
	LifecycleState ListReplicationsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Example: `My resource`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for
	// the resouce type.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The field to sort by. You can choose either value, but not both.
	// By default, when you sort by time created, results are shown
	// in descending order. When you sort by display name, results are
	// shown in ascending order.
	SortBy ListReplicationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc', where 'asc' is
	// ascending and 'desc' is descending. The default order is 'desc'
	// except for numeric values.
	SortOrder ListReplicationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the source file system.
	FileSystemId *string `mandatory:"false" contributesTo:"query" name:"fileSystemId"`

	// 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
}

ListReplicationsRequest wrapper for the ListReplications operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListReplications.go.html to see an example of how to use ListReplicationsRequest.

func (ListReplicationsRequest) BinaryRequestBody added in v65.22.0

func (request ListReplicationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListReplicationsRequest) HTTPRequest added in v65.22.0

func (request ListReplicationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListReplicationsRequest) RetryPolicy added in v65.22.0

func (request ListReplicationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListReplicationsRequest) String added in v65.22.0

func (request ListReplicationsRequest) String() string

func (ListReplicationsRequest) ValidateEnumValue added in v65.22.0

func (request ListReplicationsRequest) 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

type ListReplicationsResponse added in v65.22.0

type ListReplicationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ReplicationSummary instances
	Items []ReplicationSummary `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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If
	// you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListReplicationsResponse wrapper for the ListReplications operation

func (ListReplicationsResponse) HTTPResponse added in v65.22.0

func (response ListReplicationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListReplicationsResponse) String added in v65.22.0

func (response ListReplicationsResponse) String() string

type ListReplicationsSortByEnum added in v65.22.0

type ListReplicationsSortByEnum string

ListReplicationsSortByEnum Enum with underlying type: string

const (
	ListReplicationsSortByTimecreated ListReplicationsSortByEnum = "timeCreated"
	ListReplicationsSortByDisplayname ListReplicationsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListReplicationsSortByEnum

func GetListReplicationsSortByEnumValues added in v65.22.0

func GetListReplicationsSortByEnumValues() []ListReplicationsSortByEnum

GetListReplicationsSortByEnumValues Enumerates the set of values for ListReplicationsSortByEnum

func GetMappingListReplicationsSortByEnum added in v65.22.0

func GetMappingListReplicationsSortByEnum(val string) (ListReplicationsSortByEnum, bool)

GetMappingListReplicationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReplicationsSortOrderEnum added in v65.22.0

type ListReplicationsSortOrderEnum string

ListReplicationsSortOrderEnum Enum with underlying type: string

const (
	ListReplicationsSortOrderAsc  ListReplicationsSortOrderEnum = "ASC"
	ListReplicationsSortOrderDesc ListReplicationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListReplicationsSortOrderEnum

func GetListReplicationsSortOrderEnumValues added in v65.22.0

func GetListReplicationsSortOrderEnumValues() []ListReplicationsSortOrderEnum

GetListReplicationsSortOrderEnumValues Enumerates the set of values for ListReplicationsSortOrderEnum

func GetMappingListReplicationsSortOrderEnum added in v65.22.0

func GetMappingListReplicationsSortOrderEnum(val string) (ListReplicationsSortOrderEnum, bool)

GetMappingListReplicationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSnapshotsLifecycleStateEnum

type ListSnapshotsLifecycleStateEnum string

ListSnapshotsLifecycleStateEnum Enum with underlying type: string

const (
	ListSnapshotsLifecycleStateCreating ListSnapshotsLifecycleStateEnum = "CREATING"
	ListSnapshotsLifecycleStateActive   ListSnapshotsLifecycleStateEnum = "ACTIVE"
	ListSnapshotsLifecycleStateDeleting ListSnapshotsLifecycleStateEnum = "DELETING"
	ListSnapshotsLifecycleStateDeleted  ListSnapshotsLifecycleStateEnum = "DELETED"
	ListSnapshotsLifecycleStateFailed   ListSnapshotsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListSnapshotsLifecycleStateEnum

func GetListSnapshotsLifecycleStateEnumValues

func GetListSnapshotsLifecycleStateEnumValues() []ListSnapshotsLifecycleStateEnum

GetListSnapshotsLifecycleStateEnumValues Enumerates the set of values for ListSnapshotsLifecycleStateEnum

func GetMappingListSnapshotsLifecycleStateEnum

func GetMappingListSnapshotsLifecycleStateEnum(val string) (ListSnapshotsLifecycleStateEnum, bool)

GetMappingListSnapshotsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSnapshotsRequest

type ListSnapshotsRequest struct {

	// For list pagination. The maximum number of results per page,
	// or items to return in a paginated "List" call.
	// 1 is the minimum, 100 is the maximum.
	// For important details about how pagination works,
	// see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `100`
	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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Filter results by the specified lifecycle state. Must be a valid
	// state for the resource type.
	LifecycleState ListSnapshotsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for
	// the resouce type.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy
	// that is used to create the snapshots.
	FilesystemSnapshotPolicyId *string `mandatory:"false" contributesTo:"query" name:"filesystemSnapshotPolicyId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system.
	FileSystemId *string `mandatory:"false" contributesTo:"query" name:"fileSystemId"`

	// The sort order to use, either 'asc' or 'desc', where 'asc' is
	// ascending and 'desc' is descending. The default order is 'desc'
	// except for numeric values.
	SortOrder ListSnapshotsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListSnapshotsRequest wrapper for the ListSnapshots operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListSnapshots.go.html to see an example of how to use ListSnapshotsRequest.

func (ListSnapshotsRequest) BinaryRequestBody

func (request ListSnapshotsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSnapshotsRequest) HTTPRequest

func (request ListSnapshotsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSnapshotsRequest) RetryPolicy

func (request ListSnapshotsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSnapshotsRequest) String

func (request ListSnapshotsRequest) String() string

func (ListSnapshotsRequest) ValidateEnumValue

func (request ListSnapshotsRequest) 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

type ListSnapshotsResponse

type ListSnapshotsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []SnapshotSummary instances
	Items []SnapshotSummary `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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If
	// you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListSnapshotsResponse wrapper for the ListSnapshots operation

func (ListSnapshotsResponse) HTTPResponse

func (response ListSnapshotsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSnapshotsResponse) String

func (response ListSnapshotsResponse) String() string

type ListSnapshotsSortOrderEnum

type ListSnapshotsSortOrderEnum string

ListSnapshotsSortOrderEnum Enum with underlying type: string

const (
	ListSnapshotsSortOrderAsc  ListSnapshotsSortOrderEnum = "ASC"
	ListSnapshotsSortOrderDesc ListSnapshotsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSnapshotsSortOrderEnum

func GetListSnapshotsSortOrderEnumValues

func GetListSnapshotsSortOrderEnumValues() []ListSnapshotsSortOrderEnum

GetListSnapshotsSortOrderEnumValues Enumerates the set of values for ListSnapshotsSortOrderEnum

func GetMappingListSnapshotsSortOrderEnum

func GetMappingListSnapshotsSortOrderEnum(val string) (ListSnapshotsSortOrderEnum, bool)

GetMappingListSnapshotsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type MountTarget

type MountTarget struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the mount target.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My mount target`
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target.
	Id *string `mandatory:"true" json:"id"`

	// Additional information about the current 'lifecycleState'.
	LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`

	// The current state of the mount target.
	LifecycleState MountTargetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCIDs of the private IP addresses associated with this mount target.
	PrivateIpIds []string `mandatory:"true" json:"privateIpIds"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet the mount target is in.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// The date and time the mount target was created, expressed
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The availability domain the mount target is in. May be unset
	// as a blank or NULL value.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated export set. Controls what file
	// systems will be exported through Network File System (NFS) protocol on this
	// mount target.
	ExportSetId *string `mandatory:"false" json:"exportSetId"`

	// The method used to map a Unix UID to secondary groups. If NONE, the mount target will not use the Unix UID for ID mapping.
	IdmapType MountTargetIdmapTypeEnum `mandatory:"false" json:"idmapType,omitempty"`

	LdapIdmap *LdapIdmap `mandatory:"false" json:"ldapIdmap"`

	// A list of Network Security Group OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with this mount target.
	// A maximum of 5 is allowed.
	// Setting this to an empty array after the list is created removes the mount target from all NSGs.
	// For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm).
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	Kerberos *Kerberos `mandatory:"false" json:"kerberos"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

MountTarget Provides access to a collection of file systems through one or more VNICs on a specified subnet. The set of file systems is controlled through the referenced export set.

func (MountTarget) String

func (m MountTarget) String() string

func (MountTarget) ValidateEnumValue

func (m MountTarget) 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

type MountTargetIdmapTypeEnum added in v65.44.0

type MountTargetIdmapTypeEnum string

MountTargetIdmapTypeEnum Enum with underlying type: string

const (
	MountTargetIdmapTypeLdap MountTargetIdmapTypeEnum = "LDAP"
	MountTargetIdmapTypeNone MountTargetIdmapTypeEnum = "NONE"
)

Set of constants representing the allowable values for MountTargetIdmapTypeEnum

func GetMappingMountTargetIdmapTypeEnum added in v65.44.0

func GetMappingMountTargetIdmapTypeEnum(val string) (MountTargetIdmapTypeEnum, bool)

GetMappingMountTargetIdmapTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMountTargetIdmapTypeEnumValues added in v65.44.0

func GetMountTargetIdmapTypeEnumValues() []MountTargetIdmapTypeEnum

GetMountTargetIdmapTypeEnumValues Enumerates the set of values for MountTargetIdmapTypeEnum

type MountTargetLifecycleStateEnum

type MountTargetLifecycleStateEnum string

MountTargetLifecycleStateEnum Enum with underlying type: string

const (
	MountTargetLifecycleStateCreating MountTargetLifecycleStateEnum = "CREATING"
	MountTargetLifecycleStateActive   MountTargetLifecycleStateEnum = "ACTIVE"
	MountTargetLifecycleStateDeleting MountTargetLifecycleStateEnum = "DELETING"
	MountTargetLifecycleStateDeleted  MountTargetLifecycleStateEnum = "DELETED"
	MountTargetLifecycleStateFailed   MountTargetLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for MountTargetLifecycleStateEnum

func GetMappingMountTargetLifecycleStateEnum

func GetMappingMountTargetLifecycleStateEnum(val string) (MountTargetLifecycleStateEnum, bool)

GetMappingMountTargetLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMountTargetLifecycleStateEnumValues

func GetMountTargetLifecycleStateEnumValues() []MountTargetLifecycleStateEnum

GetMountTargetLifecycleStateEnumValues Enumerates the set of values for MountTargetLifecycleStateEnum

type MountTargetSummary

type MountTargetSummary struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the mount target.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My mount target`
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the mount target.
	LifecycleState MountTargetSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCIDs of the private IP addresses associated with this mount target.
	PrivateIpIds []string `mandatory:"true" json:"privateIpIds"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet the mount target is in.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// The date and time the mount target was created, expressed
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The availability domain the mount target is in. May be unset
	// as a blank or NULL value.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated export set. Controls what file
	// systems will be exported using Network File System (NFS) protocol on
	// this mount target.
	ExportSetId *string `mandatory:"false" json:"exportSetId"`

	// A list of Network Security Group OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with this mount target.
	// A maximum of 5 is allowed.
	// Setting this to an empty array after the list is created removes the mount target from all NSGs.
	// For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm).
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

MountTargetSummary Summary information for the specified mount target.

func (MountTargetSummary) String

func (m MountTargetSummary) String() string

func (MountTargetSummary) ValidateEnumValue

func (m MountTargetSummary) 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

type MountTargetSummaryLifecycleStateEnum

type MountTargetSummaryLifecycleStateEnum string

MountTargetSummaryLifecycleStateEnum Enum with underlying type: string

const (
	MountTargetSummaryLifecycleStateCreating MountTargetSummaryLifecycleStateEnum = "CREATING"
	MountTargetSummaryLifecycleStateActive   MountTargetSummaryLifecycleStateEnum = "ACTIVE"
	MountTargetSummaryLifecycleStateDeleting MountTargetSummaryLifecycleStateEnum = "DELETING"
	MountTargetSummaryLifecycleStateDeleted  MountTargetSummaryLifecycleStateEnum = "DELETED"
	MountTargetSummaryLifecycleStateFailed   MountTargetSummaryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for MountTargetSummaryLifecycleStateEnum

func GetMappingMountTargetSummaryLifecycleStateEnum

func GetMappingMountTargetSummaryLifecycleStateEnum(val string) (MountTargetSummaryLifecycleStateEnum, bool)

GetMappingMountTargetSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMountTargetSummaryLifecycleStateEnumValues

func GetMountTargetSummaryLifecycleStateEnumValues() []MountTargetSummaryLifecycleStateEnum

GetMountTargetSummaryLifecycleStateEnumValues Enumerates the set of values for MountTargetSummaryLifecycleStateEnum

type OutboundConnector added in v65.44.0

type OutboundConnector interface {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector.
	GetCompartmentId() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector.
	GetId() *string

	// The current state of this outbound connector.
	GetLifecycleState() OutboundConnectorLifecycleStateEnum

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My outbound connector`
	GetDisplayName() *string

	// The date and time the outbound connector was created
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	GetTimeCreated() *common.SDKTime

	// The availability domain the outbound connector is in. May be unset
	// as a blank or NULL value.
	// Example: `Uocm:PHX-AD-1`
	GetAvailabilityDomain() *string

	// 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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	GetDefinedTags() map[string]map[string]interface{}
}

OutboundConnector Outbound connectors are used to help File Storage communicate with an external server, such as an LDAP server. An outbound connector contains all the information needed to connect, authenticate, and gain authorization to perform the account's required functions.

type OutboundConnectorConnectorTypeEnum added in v65.44.0

type OutboundConnectorConnectorTypeEnum string

OutboundConnectorConnectorTypeEnum Enum with underlying type: string

const (
	OutboundConnectorConnectorTypeLdapbind OutboundConnectorConnectorTypeEnum = "LDAPBIND"
)

Set of constants representing the allowable values for OutboundConnectorConnectorTypeEnum

func GetMappingOutboundConnectorConnectorTypeEnum added in v65.44.0

func GetMappingOutboundConnectorConnectorTypeEnum(val string) (OutboundConnectorConnectorTypeEnum, bool)

GetMappingOutboundConnectorConnectorTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOutboundConnectorConnectorTypeEnumValues added in v65.44.0

func GetOutboundConnectorConnectorTypeEnumValues() []OutboundConnectorConnectorTypeEnum

GetOutboundConnectorConnectorTypeEnumValues Enumerates the set of values for OutboundConnectorConnectorTypeEnum

type OutboundConnectorLifecycleStateEnum added in v65.44.0

type OutboundConnectorLifecycleStateEnum string

OutboundConnectorLifecycleStateEnum Enum with underlying type: string

const (
	OutboundConnectorLifecycleStateCreating OutboundConnectorLifecycleStateEnum = "CREATING"
	OutboundConnectorLifecycleStateActive   OutboundConnectorLifecycleStateEnum = "ACTIVE"
	OutboundConnectorLifecycleStateDeleting OutboundConnectorLifecycleStateEnum = "DELETING"
	OutboundConnectorLifecycleStateDeleted  OutboundConnectorLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for OutboundConnectorLifecycleStateEnum

func GetMappingOutboundConnectorLifecycleStateEnum added in v65.44.0

func GetMappingOutboundConnectorLifecycleStateEnum(val string) (OutboundConnectorLifecycleStateEnum, bool)

GetMappingOutboundConnectorLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOutboundConnectorLifecycleStateEnumValues added in v65.44.0

func GetOutboundConnectorLifecycleStateEnumValues() []OutboundConnectorLifecycleStateEnum

GetOutboundConnectorLifecycleStateEnumValues Enumerates the set of values for OutboundConnectorLifecycleStateEnum

type OutboundConnectorSummary added in v65.44.0

type OutboundConnectorSummary interface {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector.
	GetCompartmentId() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector.
	GetId() *string

	// The current state of this outbound connector.
	GetLifecycleState() OutboundConnectorSummaryLifecycleStateEnum

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My outbound connector`
	GetDisplayName() *string

	// The date and time the outbound connector was created
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	GetTimeCreated() *common.SDKTime

	// The availability domain the outbound connector is in. May be unset
	// as a blank or NULL value.
	// Example: `Uocm:PHX-AD-1`
	GetAvailabilityDomain() *string

	// 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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	GetDefinedTags() map[string]map[string]interface{}
}

OutboundConnectorSummary Summary information for an outbound connector.

type OutboundConnectorSummaryLifecycleStateEnum added in v65.44.0

type OutboundConnectorSummaryLifecycleStateEnum string

OutboundConnectorSummaryLifecycleStateEnum Enum with underlying type: string

const (
	OutboundConnectorSummaryLifecycleStateCreating OutboundConnectorSummaryLifecycleStateEnum = "CREATING"
	OutboundConnectorSummaryLifecycleStateActive   OutboundConnectorSummaryLifecycleStateEnum = "ACTIVE"
	OutboundConnectorSummaryLifecycleStateDeleting OutboundConnectorSummaryLifecycleStateEnum = "DELETING"
	OutboundConnectorSummaryLifecycleStateDeleted  OutboundConnectorSummaryLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for OutboundConnectorSummaryLifecycleStateEnum

func GetMappingOutboundConnectorSummaryLifecycleStateEnum added in v65.44.0

func GetMappingOutboundConnectorSummaryLifecycleStateEnum(val string) (OutboundConnectorSummaryLifecycleStateEnum, bool)

GetMappingOutboundConnectorSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOutboundConnectorSummaryLifecycleStateEnumValues added in v65.44.0

func GetOutboundConnectorSummaryLifecycleStateEnumValues() []OutboundConnectorSummaryLifecycleStateEnum

GetOutboundConnectorSummaryLifecycleStateEnumValues Enumerates the set of values for OutboundConnectorSummaryLifecycleStateEnum

type PauseFilesystemSnapshotPolicyRequest added in v65.40.0

type PauseFilesystemSnapshotPolicyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy.
	FilesystemSnapshotPolicyId *string `mandatory:"true" contributesTo:"path" name:"filesystemSnapshotPolicyId"`

	// 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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

PauseFilesystemSnapshotPolicyRequest wrapper for the PauseFilesystemSnapshotPolicy operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/PauseFilesystemSnapshotPolicy.go.html to see an example of how to use PauseFilesystemSnapshotPolicyRequest.

func (PauseFilesystemSnapshotPolicyRequest) BinaryRequestBody added in v65.40.0

func (request PauseFilesystemSnapshotPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (PauseFilesystemSnapshotPolicyRequest) HTTPRequest added in v65.40.0

func (request PauseFilesystemSnapshotPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PauseFilesystemSnapshotPolicyRequest) RetryPolicy added in v65.40.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (PauseFilesystemSnapshotPolicyRequest) String added in v65.40.0

func (PauseFilesystemSnapshotPolicyRequest) ValidateEnumValue added in v65.40.0

func (request PauseFilesystemSnapshotPolicyRequest) 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

type PauseFilesystemSnapshotPolicyResponse added in v65.40.0

type PauseFilesystemSnapshotPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The FilesystemSnapshotPolicy instance
	FilesystemSnapshotPolicy `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If
	// you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

PauseFilesystemSnapshotPolicyResponse wrapper for the PauseFilesystemSnapshotPolicy operation

func (PauseFilesystemSnapshotPolicyResponse) HTTPResponse added in v65.40.0

func (response PauseFilesystemSnapshotPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (PauseFilesystemSnapshotPolicyResponse) String added in v65.40.0

type Replication added in v65.22.0

type Replication struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication.
	Id *string `mandatory:"true" json:"id"`

	// The current lifecycle state of the replication.
	LifecycleState ReplicationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My replication`
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the replication was created
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2021-01-04T20:01:29.100Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the source file system.
	SourceId *string `mandatory:"true" json:"sourceId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the target file system.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the ReplicationTarget.
	ReplicationTargetId *string `mandatory:"true" json:"replicationTargetId"`

	// The availability domain that contains the replication. May be unset as a blank or `NULL` value.
	// Example: `Uocm:PHX-AD-2`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// Duration in minutes between replication snapshots.
	ReplicationInterval *int64 `mandatory:"false" json:"replicationInterval"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the last snapshot that has been replicated completely.
	// Empty if the copy of the initial snapshot is not complete.
	LastSnapshotId *string `mandatory:"false" json:"lastSnapshotId"`

	// The snapshotTime of the most recent recoverable replication snapshot
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2021-04-04T20:01:29.100Z`
	RecoveryPointTime *common.SDKTime `mandatory:"false" json:"recoveryPointTime"`

	// The current state of the snapshot during replication operations.
	DeltaStatus ReplicationDeltaStatusEnum `mandatory:"false" json:"deltaStatus,omitempty"`

	// Additional information about the current 'lifecycleState'.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Percentage progress of the current replication cycle.
	DeltaProgress *int64 `mandatory:"false" json:"deltaProgress"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

Replication Replications are the primary resource that governs the policy of cross-region replication between source and target file systems. Replications are associated with a secondary resource called a ReplicationTarget located in another availability domain in the same or different region. The replication retrieves the delta of data between two snapshots of a source file system and sends it to the associated `ReplicationTarget`, which applies it to the target file system. For more information, see File System Replication (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/FSreplication.htm).

func (Replication) String added in v65.22.0

func (m Replication) String() string

func (Replication) ValidateEnumValue added in v65.22.0

func (m Replication) 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

type ReplicationDeltaStatusEnum added in v65.22.0

type ReplicationDeltaStatusEnum string

ReplicationDeltaStatusEnum Enum with underlying type: string

const (
	ReplicationDeltaStatusIdle         ReplicationDeltaStatusEnum = "IDLE"
	ReplicationDeltaStatusCapturing    ReplicationDeltaStatusEnum = "CAPTURING"
	ReplicationDeltaStatusApplying     ReplicationDeltaStatusEnum = "APPLYING"
	ReplicationDeltaStatusServiceError ReplicationDeltaStatusEnum = "SERVICE_ERROR"
	ReplicationDeltaStatusUserError    ReplicationDeltaStatusEnum = "USER_ERROR"
	ReplicationDeltaStatusFailed       ReplicationDeltaStatusEnum = "FAILED"
	ReplicationDeltaStatusTransferring ReplicationDeltaStatusEnum = "TRANSFERRING"
)

Set of constants representing the allowable values for ReplicationDeltaStatusEnum

func GetMappingReplicationDeltaStatusEnum added in v65.22.0

func GetMappingReplicationDeltaStatusEnum(val string) (ReplicationDeltaStatusEnum, bool)

GetMappingReplicationDeltaStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReplicationDeltaStatusEnumValues added in v65.22.0

func GetReplicationDeltaStatusEnumValues() []ReplicationDeltaStatusEnum

GetReplicationDeltaStatusEnumValues Enumerates the set of values for ReplicationDeltaStatusEnum

type ReplicationEstimate added in v65.22.0

type ReplicationEstimate struct {

	// The rate of change on source filesystem which was used to provide the estimate in MegaBytes per second.
	ChangeRateInMBps *int `mandatory:"true" json:"changeRateInMBps"`

	// Specifies whether replication can be enabled on the file system.
	IsReplicationSupported *bool `mandatory:"true" json:"isReplicationSupported"`

	// The minimum supported replication interval for specified file system in minutes.
	MinimumSupportedIntervalInMinutes *int `mandatory:"true" json:"minimumSupportedIntervalInMinutes"`

	// The approximate time required for the base sync between source and target to finish.
	EstimatedBaseCopyTimeInMinutes *int `mandatory:"true" json:"estimatedBaseCopyTimeInMinutes"`

	// Array of allowed target region names which can be paired with source file system.
	AllowedTargetRegions []string `mandatory:"true" json:"allowedTargetRegions"`
}

ReplicationEstimate Details for response from replication estimation.

func (ReplicationEstimate) String added in v65.22.0

func (m ReplicationEstimate) String() string

func (ReplicationEstimate) ValidateEnumValue added in v65.22.0

func (m ReplicationEstimate) 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

type ReplicationLifecycleStateEnum added in v65.22.0

type ReplicationLifecycleStateEnum string

ReplicationLifecycleStateEnum Enum with underlying type: string

const (
	ReplicationLifecycleStateCreating ReplicationLifecycleStateEnum = "CREATING"
	ReplicationLifecycleStateActive   ReplicationLifecycleStateEnum = "ACTIVE"
	ReplicationLifecycleStateDeleting ReplicationLifecycleStateEnum = "DELETING"
	ReplicationLifecycleStateDeleted  ReplicationLifecycleStateEnum = "DELETED"
	ReplicationLifecycleStateFailed   ReplicationLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ReplicationLifecycleStateEnum

func GetMappingReplicationLifecycleStateEnum added in v65.22.0

func GetMappingReplicationLifecycleStateEnum(val string) (ReplicationLifecycleStateEnum, bool)

GetMappingReplicationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReplicationLifecycleStateEnumValues added in v65.22.0

func GetReplicationLifecycleStateEnumValues() []ReplicationLifecycleStateEnum

GetReplicationLifecycleStateEnumValues Enumerates the set of values for ReplicationLifecycleStateEnum

type ReplicationSummary added in v65.22.0

type ReplicationSummary struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication.
	Id *string `mandatory:"true" json:"id"`

	// The current state of this replication.
	// This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource.
	LifecycleState ReplicationSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My replication`
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the replication was created
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2020-02-04T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The availability domain the replication is in. The replication must be in the same availability domain as the source file system.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Duration in minutes between replication snapshots.
	ReplicationInterval *int64 `mandatory:"false" json:"replicationInterval"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Additional information about the current `lifecycleState`.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The `snapshotTime` of the most recent recoverable replication snapshot
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2021-04-04T20:01:29.100Z`
	RecoveryPointTime *common.SDKTime `mandatory:"false" json:"recoveryPointTime"`
}

ReplicationSummary Summary information for a replication.

func (ReplicationSummary) String added in v65.22.0

func (m ReplicationSummary) String() string

func (ReplicationSummary) ValidateEnumValue added in v65.22.0

func (m ReplicationSummary) 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

type ReplicationSummaryLifecycleStateEnum added in v65.22.0

type ReplicationSummaryLifecycleStateEnum string

ReplicationSummaryLifecycleStateEnum Enum with underlying type: string

const (
	ReplicationSummaryLifecycleStateCreating ReplicationSummaryLifecycleStateEnum = "CREATING"
	ReplicationSummaryLifecycleStateActive   ReplicationSummaryLifecycleStateEnum = "ACTIVE"
	ReplicationSummaryLifecycleStateDeleting ReplicationSummaryLifecycleStateEnum = "DELETING"
	ReplicationSummaryLifecycleStateDeleted  ReplicationSummaryLifecycleStateEnum = "DELETED"
	ReplicationSummaryLifecycleStateFailed   ReplicationSummaryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ReplicationSummaryLifecycleStateEnum

func GetMappingReplicationSummaryLifecycleStateEnum added in v65.22.0

func GetMappingReplicationSummaryLifecycleStateEnum(val string) (ReplicationSummaryLifecycleStateEnum, bool)

GetMappingReplicationSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReplicationSummaryLifecycleStateEnumValues added in v65.22.0

func GetReplicationSummaryLifecycleStateEnumValues() []ReplicationSummaryLifecycleStateEnum

GetReplicationSummaryLifecycleStateEnumValues Enumerates the set of values for ReplicationSummaryLifecycleStateEnum

type ReplicationTarget added in v65.22.0

type ReplicationTarget struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication.
	Id *string `mandatory:"true" json:"id"`

	// The current state of this replication.
	LifecycleState ReplicationTargetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// A user-friendly name. This name is same as the replication display name for the associated resource.
	// Example: `My Replication`
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the replication target was created in target region.
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2021-01-04T20:01:29.100Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of source filesystem.
	SourceId *string `mandatory:"true" json:"sourceId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of target filesystem.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of replication.
	ReplicationId *string `mandatory:"true" json:"replicationId"`

	// The availability domain the replication resource is in. May be unset
	// as a blank or NULL value.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the last snapshot snapshot which was completely applied to the target file system.
	// Empty while the initial snapshot is being applied.
	LastSnapshotId *string `mandatory:"false" json:"lastSnapshotId"`

	// The snapshotTime of the most recent recoverable replication snapshot
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2021-04-04T20:01:29.100Z`
	RecoveryPointTime *common.SDKTime `mandatory:"false" json:"recoveryPointTime"`

	// The current state of the snapshot during replication operations.
	DeltaStatus ReplicationTargetDeltaStatusEnum `mandatory:"false" json:"deltaStatus,omitempty"`

	// Percentage progress of the current replication cycle.
	DeltaProgress *int64 `mandatory:"false" json:"deltaProgress"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Additional information about the current `lifecycleState`.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

ReplicationTarget Replication targets are associated with a primary resource called a Replication located in another availability domain in the same or different region. The replication retrieves the delta of data between two snapshots of a source file system and sends it to the associated `ReplicationTarget`, which applies it to the target file system. All operations (except `DELETE`) must be done using the associated replication resource. Deleting a `ReplicationTarget` allows the target file system to be exported. Deleting a `ReplicationTarget` does not delete the associated `Replication` resource, but places it in a `FAILED` state. For more information, see File System Replication (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/FSreplication.htm).

func (ReplicationTarget) String added in v65.22.0

func (m ReplicationTarget) String() string

func (ReplicationTarget) ValidateEnumValue added in v65.22.0

func (m ReplicationTarget) 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

type ReplicationTargetDeltaStatusEnum added in v65.22.0

type ReplicationTargetDeltaStatusEnum string

ReplicationTargetDeltaStatusEnum Enum with underlying type: string

const (
	ReplicationTargetDeltaStatusIdle         ReplicationTargetDeltaStatusEnum = "IDLE"
	ReplicationTargetDeltaStatusCapturing    ReplicationTargetDeltaStatusEnum = "CAPTURING"
	ReplicationTargetDeltaStatusApplying     ReplicationTargetDeltaStatusEnum = "APPLYING"
	ReplicationTargetDeltaStatusServiceError ReplicationTargetDeltaStatusEnum = "SERVICE_ERROR"
	ReplicationTargetDeltaStatusUserError    ReplicationTargetDeltaStatusEnum = "USER_ERROR"
	ReplicationTargetDeltaStatusFailed       ReplicationTargetDeltaStatusEnum = "FAILED"
	ReplicationTargetDeltaStatusTransferring ReplicationTargetDeltaStatusEnum = "TRANSFERRING"
)

Set of constants representing the allowable values for ReplicationTargetDeltaStatusEnum

func GetMappingReplicationTargetDeltaStatusEnum added in v65.22.0

func GetMappingReplicationTargetDeltaStatusEnum(val string) (ReplicationTargetDeltaStatusEnum, bool)

GetMappingReplicationTargetDeltaStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReplicationTargetDeltaStatusEnumValues added in v65.22.0

func GetReplicationTargetDeltaStatusEnumValues() []ReplicationTargetDeltaStatusEnum

GetReplicationTargetDeltaStatusEnumValues Enumerates the set of values for ReplicationTargetDeltaStatusEnum

type ReplicationTargetLifecycleStateEnum added in v65.22.0

type ReplicationTargetLifecycleStateEnum string

ReplicationTargetLifecycleStateEnum Enum with underlying type: string

const (
	ReplicationTargetLifecycleStateCreating ReplicationTargetLifecycleStateEnum = "CREATING"
	ReplicationTargetLifecycleStateActive   ReplicationTargetLifecycleStateEnum = "ACTIVE"
	ReplicationTargetLifecycleStateDeleting ReplicationTargetLifecycleStateEnum = "DELETING"
	ReplicationTargetLifecycleStateDeleted  ReplicationTargetLifecycleStateEnum = "DELETED"
	ReplicationTargetLifecycleStateFailed   ReplicationTargetLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ReplicationTargetLifecycleStateEnum

func GetMappingReplicationTargetLifecycleStateEnum added in v65.22.0

func GetMappingReplicationTargetLifecycleStateEnum(val string) (ReplicationTargetLifecycleStateEnum, bool)

GetMappingReplicationTargetLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReplicationTargetLifecycleStateEnumValues added in v65.22.0

func GetReplicationTargetLifecycleStateEnumValues() []ReplicationTargetLifecycleStateEnum

GetReplicationTargetLifecycleStateEnumValues Enumerates the set of values for ReplicationTargetLifecycleStateEnum

type ReplicationTargetSummary added in v65.22.0

type ReplicationTargetSummary struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication target.
	Id *string `mandatory:"true" json:"id"`

	// The current state of this replication.
	LifecycleState ReplicationTargetSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// A user-friendly name. This name is the same as the associated replication name.
	// Example: `My replication`
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the replication was created
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2021-02-02T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The availability domain the replication target is in. Must be in the same availability domain as the target file system.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Additional information about the current 'lifecycleState'.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The snapshotTime of the most recent recoverable replication snapshot
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2021-04-04T20:01:29.100Z`
	RecoveryPointTime *common.SDKTime `mandatory:"false" json:"recoveryPointTime"`
}

ReplicationTargetSummary Summary information for replication target.

func (ReplicationTargetSummary) String added in v65.22.0

func (m ReplicationTargetSummary) String() string

func (ReplicationTargetSummary) ValidateEnumValue added in v65.22.0

func (m ReplicationTargetSummary) 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

type ReplicationTargetSummaryLifecycleStateEnum added in v65.22.0

type ReplicationTargetSummaryLifecycleStateEnum string

ReplicationTargetSummaryLifecycleStateEnum Enum with underlying type: string

const (
	ReplicationTargetSummaryLifecycleStateCreating ReplicationTargetSummaryLifecycleStateEnum = "CREATING"
	ReplicationTargetSummaryLifecycleStateActive   ReplicationTargetSummaryLifecycleStateEnum = "ACTIVE"
	ReplicationTargetSummaryLifecycleStateDeleting ReplicationTargetSummaryLifecycleStateEnum = "DELETING"
	ReplicationTargetSummaryLifecycleStateDeleted  ReplicationTargetSummaryLifecycleStateEnum = "DELETED"
	ReplicationTargetSummaryLifecycleStateFailed   ReplicationTargetSummaryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ReplicationTargetSummaryLifecycleStateEnum

func GetMappingReplicationTargetSummaryLifecycleStateEnum added in v65.22.0

func GetMappingReplicationTargetSummaryLifecycleStateEnum(val string) (ReplicationTargetSummaryLifecycleStateEnum, bool)

GetMappingReplicationTargetSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReplicationTargetSummaryLifecycleStateEnumValues added in v65.22.0

func GetReplicationTargetSummaryLifecycleStateEnumValues() []ReplicationTargetSummaryLifecycleStateEnum

GetReplicationTargetSummaryLifecycleStateEnumValues Enumerates the set of values for ReplicationTargetSummaryLifecycleStateEnum

type Snapshot

type Snapshot struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system from which the snapshot
	// was created.
	FileSystemId *string `mandatory:"true" json:"fileSystemId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the snapshot.
	LifecycleState SnapshotLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Name of the snapshot. This value is immutable.
	// Avoid entering confidential information.
	// Example: `Sunday`
	Name *string `mandatory:"true" json:"name"`

	// The date and time the snapshot was created, expressed
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Specifies generation type of the snapshot.
	SnapshotType SnapshotSnapshotTypeEnum `mandatory:"false" json:"snapshotType,omitempty"`

	// The date and time the snapshot was taken, expressed
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// This value might be the same or different from `timeCreated` depending
	// on the following factors:
	// - If the snapshot is created in the original file system directory.
	// - If the snapshot is cloned from a file system.
	// - If the snapshot is replicated from a file system.
	// Example: `2020-08-25T21:10:29.600Z`
	SnapshotTime *common.SDKTime `mandatory:"false" json:"snapshotTime"`

	// An OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) identifying the parent from which this snapshot was cloned.
	// If this snapshot was not cloned, then the `provenanceId` is the same as the snapshot `id` value.
	// If this snapshot was cloned, then the `provenanceId` value is the parent's `provenanceId`.
	// See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm).
	ProvenanceId *string `mandatory:"false" json:"provenanceId"`

	// Specifies whether the snapshot has been cloned.
	// See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm).
	IsCloneSource *bool `mandatory:"false" json:"isCloneSource"`

	// Additional information about the current `lifecycleState`.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The time when this snapshot will be deleted.
	ExpirationTime *common.SDKTime `mandatory:"false" json:"expirationTime"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy that created this snapshot.
	FilesystemSnapshotPolicyId *string `mandatory:"false" json:"filesystemSnapshotPolicyId"`
}

Snapshot A point-in-time snapshot of a specified file system.

func (Snapshot) String

func (m Snapshot) String() string

func (Snapshot) ValidateEnumValue

func (m Snapshot) 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

type SnapshotLifecycleStateEnum

type SnapshotLifecycleStateEnum string

SnapshotLifecycleStateEnum Enum with underlying type: string

const (
	SnapshotLifecycleStateCreating SnapshotLifecycleStateEnum = "CREATING"
	SnapshotLifecycleStateActive   SnapshotLifecycleStateEnum = "ACTIVE"
	SnapshotLifecycleStateDeleting SnapshotLifecycleStateEnum = "DELETING"
	SnapshotLifecycleStateDeleted  SnapshotLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for SnapshotLifecycleStateEnum

func GetMappingSnapshotLifecycleStateEnum

func GetMappingSnapshotLifecycleStateEnum(val string) (SnapshotLifecycleStateEnum, bool)

GetMappingSnapshotLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSnapshotLifecycleStateEnumValues

func GetSnapshotLifecycleStateEnumValues() []SnapshotLifecycleStateEnum

GetSnapshotLifecycleStateEnumValues Enumerates the set of values for SnapshotLifecycleStateEnum

type SnapshotSchedule added in v65.40.0

type SnapshotSchedule struct {

	// The frequency of scheduled snapshots.
	Period SnapshotSchedulePeriodEnum `mandatory:"true" json:"period"`

	// Time zone used for scheduling the snapshot.
	TimeZone SnapshotScheduleTimeZoneEnum `mandatory:"true" json:"timeZone"`

	// A name prefix to be applied to snapshots created by this schedule.
	// Example: `compliance1`
	SchedulePrefix *string `mandatory:"false" json:"schedulePrefix"`

	// The starting point used to begin the scheduling of the snapshots based upon recurrence string
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// If no `timeScheduleStart` is provided, the value will be set to the time when the schedule was created.
	TimeScheduleStart *common.SDKTime `mandatory:"false" json:"timeScheduleStart"`

	// The number of seconds to retain snapshots created with this schedule.
	// Snapshot expiration time will not be set if this value is empty.
	RetentionDurationInSeconds *int64 `mandatory:"false" json:"retentionDurationInSeconds"`

	// The hour of the day to create a DAILY, WEEKLY, MONTHLY, or YEARLY snapshot.
	// If not set, a value will be chosen at creation time.
	HourOfDay *int `mandatory:"false" json:"hourOfDay"`

	// The day of the week to create a scheduled snapshot.
	// Used for WEEKLY snapshot schedules.
	DayOfWeek SnapshotScheduleDayOfWeekEnum `mandatory:"false" json:"dayOfWeek,omitempty"`

	// The day of the month to create a scheduled snapshot.
	// If the day does not exist for the month, snapshot creation will be skipped.
	// Used for MONTHLY and YEARLY snapshot schedules.
	DayOfMonth *int `mandatory:"false" json:"dayOfMonth"`

	// The month to create a scheduled snapshot.
	// Used only for YEARLY snapshot schedules.
	Month SnapshotScheduleMonthEnum `mandatory:"false" json:"month,omitempty"`
}

SnapshotSchedule The snapshot schedule is a structure within a parent file system snapshot policy. It contains data about the frequency of snapshot creation and the retention time of the taken snapshots.

func (SnapshotSchedule) String added in v65.40.0

func (m SnapshotSchedule) String() string

func (SnapshotSchedule) ValidateEnumValue added in v65.40.0

func (m SnapshotSchedule) 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

type SnapshotScheduleDayOfWeekEnum added in v65.40.0

type SnapshotScheduleDayOfWeekEnum string

SnapshotScheduleDayOfWeekEnum Enum with underlying type: string

const (
	SnapshotScheduleDayOfWeekMonday    SnapshotScheduleDayOfWeekEnum = "MONDAY"
	SnapshotScheduleDayOfWeekTuesday   SnapshotScheduleDayOfWeekEnum = "TUESDAY"
	SnapshotScheduleDayOfWeekWednesday SnapshotScheduleDayOfWeekEnum = "WEDNESDAY"
	SnapshotScheduleDayOfWeekThursday  SnapshotScheduleDayOfWeekEnum = "THURSDAY"
	SnapshotScheduleDayOfWeekFriday    SnapshotScheduleDayOfWeekEnum = "FRIDAY"
	SnapshotScheduleDayOfWeekSaturday  SnapshotScheduleDayOfWeekEnum = "SATURDAY"
	SnapshotScheduleDayOfWeekSunday    SnapshotScheduleDayOfWeekEnum = "SUNDAY"
)

Set of constants representing the allowable values for SnapshotScheduleDayOfWeekEnum

func GetMappingSnapshotScheduleDayOfWeekEnum added in v65.40.0

func GetMappingSnapshotScheduleDayOfWeekEnum(val string) (SnapshotScheduleDayOfWeekEnum, bool)

GetMappingSnapshotScheduleDayOfWeekEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSnapshotScheduleDayOfWeekEnumValues added in v65.40.0

func GetSnapshotScheduleDayOfWeekEnumValues() []SnapshotScheduleDayOfWeekEnum

GetSnapshotScheduleDayOfWeekEnumValues Enumerates the set of values for SnapshotScheduleDayOfWeekEnum

type SnapshotScheduleMonthEnum added in v65.40.0

type SnapshotScheduleMonthEnum string

SnapshotScheduleMonthEnum Enum with underlying type: string

const (
	SnapshotScheduleMonthJanuary   SnapshotScheduleMonthEnum = "JANUARY"
	SnapshotScheduleMonthFebruary  SnapshotScheduleMonthEnum = "FEBRUARY"
	SnapshotScheduleMonthMarch     SnapshotScheduleMonthEnum = "MARCH"
	SnapshotScheduleMonthApril     SnapshotScheduleMonthEnum = "APRIL"
	SnapshotScheduleMonthMay       SnapshotScheduleMonthEnum = "MAY"
	SnapshotScheduleMonthJune      SnapshotScheduleMonthEnum = "JUNE"
	SnapshotScheduleMonthJuly      SnapshotScheduleMonthEnum = "JULY"
	SnapshotScheduleMonthAugust    SnapshotScheduleMonthEnum = "AUGUST"
	SnapshotScheduleMonthSeptember SnapshotScheduleMonthEnum = "SEPTEMBER"
	SnapshotScheduleMonthOctober   SnapshotScheduleMonthEnum = "OCTOBER"
	SnapshotScheduleMonthNovember  SnapshotScheduleMonthEnum = "NOVEMBER"
	SnapshotScheduleMonthDecember  SnapshotScheduleMonthEnum = "DECEMBER"
)

Set of constants representing the allowable values for SnapshotScheduleMonthEnum

func GetMappingSnapshotScheduleMonthEnum added in v65.40.0

func GetMappingSnapshotScheduleMonthEnum(val string) (SnapshotScheduleMonthEnum, bool)

GetMappingSnapshotScheduleMonthEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSnapshotScheduleMonthEnumValues added in v65.40.0

func GetSnapshotScheduleMonthEnumValues() []SnapshotScheduleMonthEnum

GetSnapshotScheduleMonthEnumValues Enumerates the set of values for SnapshotScheduleMonthEnum

type SnapshotSchedulePeriodEnum added in v65.40.0

type SnapshotSchedulePeriodEnum string

SnapshotSchedulePeriodEnum Enum with underlying type: string

const (
	SnapshotSchedulePeriodHourly  SnapshotSchedulePeriodEnum = "HOURLY"
	SnapshotSchedulePeriodDaily   SnapshotSchedulePeriodEnum = "DAILY"
	SnapshotSchedulePeriodWeekly  SnapshotSchedulePeriodEnum = "WEEKLY"
	SnapshotSchedulePeriodMonthly SnapshotSchedulePeriodEnum = "MONTHLY"
	SnapshotSchedulePeriodYearly  SnapshotSchedulePeriodEnum = "YEARLY"
)

Set of constants representing the allowable values for SnapshotSchedulePeriodEnum

func GetMappingSnapshotSchedulePeriodEnum added in v65.40.0

func GetMappingSnapshotSchedulePeriodEnum(val string) (SnapshotSchedulePeriodEnum, bool)

GetMappingSnapshotSchedulePeriodEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSnapshotSchedulePeriodEnumValues added in v65.40.0

func GetSnapshotSchedulePeriodEnumValues() []SnapshotSchedulePeriodEnum

GetSnapshotSchedulePeriodEnumValues Enumerates the set of values for SnapshotSchedulePeriodEnum

type SnapshotScheduleTimeZoneEnum added in v65.40.0

type SnapshotScheduleTimeZoneEnum string

SnapshotScheduleTimeZoneEnum Enum with underlying type: string

const (
	SnapshotScheduleTimeZoneUtc                    SnapshotScheduleTimeZoneEnum = "UTC"
	SnapshotScheduleTimeZoneRegionalDataCenterTime SnapshotScheduleTimeZoneEnum = "REGIONAL_DATA_CENTER_TIME"
)

Set of constants representing the allowable values for SnapshotScheduleTimeZoneEnum

func GetMappingSnapshotScheduleTimeZoneEnum added in v65.40.0

func GetMappingSnapshotScheduleTimeZoneEnum(val string) (SnapshotScheduleTimeZoneEnum, bool)

GetMappingSnapshotScheduleTimeZoneEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSnapshotScheduleTimeZoneEnumValues added in v65.40.0

func GetSnapshotScheduleTimeZoneEnumValues() []SnapshotScheduleTimeZoneEnum

GetSnapshotScheduleTimeZoneEnumValues Enumerates the set of values for SnapshotScheduleTimeZoneEnum

type SnapshotSnapshotTypeEnum added in v65.22.0

type SnapshotSnapshotTypeEnum string

SnapshotSnapshotTypeEnum Enum with underlying type: string

const (
	SnapshotSnapshotTypeUser        SnapshotSnapshotTypeEnum = "USER"
	SnapshotSnapshotTypePolicyBased SnapshotSnapshotTypeEnum = "POLICY_BASED"
	SnapshotSnapshotTypeReplication SnapshotSnapshotTypeEnum = "REPLICATION"
)

Set of constants representing the allowable values for SnapshotSnapshotTypeEnum

func GetMappingSnapshotSnapshotTypeEnum added in v65.22.0

func GetMappingSnapshotSnapshotTypeEnum(val string) (SnapshotSnapshotTypeEnum, bool)

GetMappingSnapshotSnapshotTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSnapshotSnapshotTypeEnumValues added in v65.22.0

func GetSnapshotSnapshotTypeEnumValues() []SnapshotSnapshotTypeEnum

GetSnapshotSnapshotTypeEnumValues Enumerates the set of values for SnapshotSnapshotTypeEnum

type SnapshotSummary

type SnapshotSummary struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system from which the snapshot was created.
	FileSystemId *string `mandatory:"true" json:"fileSystemId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the snapshot.
	LifecycleState SnapshotSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Name of the snapshot. This value is immutable.
	// Avoid entering confidential information.
	// Example: `Sunday`
	Name *string `mandatory:"true" json:"name"`

	// The date and time the snapshot was created, expressed
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Specifies the generation type of the snapshot.
	SnapshotType SnapshotSummarySnapshotTypeEnum `mandatory:"false" json:"snapshotType,omitempty"`

	// The date and time the snapshot was taken, expressed
	// in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
	// This value might be the same or different from `timeCreated` depending
	// on the following factors:
	// - If the snapshot is created in the original file system directory.
	// - If the snapshot is cloned from a file system.
	// - If the snapshot is replicated from a file system.
	// Example: `2020-08-25T21:10:29.600Z`
	SnapshotTime *common.SDKTime `mandatory:"false" json:"snapshotTime"`

	// The time when this snapshot will be deleted.
	ExpirationTime *common.SDKTime `mandatory:"false" json:"expirationTime"`

	// An OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) identifying the parent from which this snapshot was cloned.
	// If this snapshot was not cloned, then the `provenanceId` is the same as the snapshot `id` value.
	// If this snapshot was cloned, then the `provenanceId` value is the parent's `provenanceId`.
	// See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm).
	ProvenanceId *string `mandatory:"false" json:"provenanceId"`

	// Specifies whether the snapshot has been cloned.
	// See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm).
	IsCloneSource *bool `mandatory:"false" json:"isCloneSource"`

	// Additional information about the current `lifecycleState`.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

SnapshotSummary Summary information for a snapshot.

func (SnapshotSummary) String

func (m SnapshotSummary) String() string

func (SnapshotSummary) ValidateEnumValue

func (m SnapshotSummary) 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

type SnapshotSummaryLifecycleStateEnum

type SnapshotSummaryLifecycleStateEnum string

SnapshotSummaryLifecycleStateEnum Enum with underlying type: string

const (
	SnapshotSummaryLifecycleStateCreating SnapshotSummaryLifecycleStateEnum = "CREATING"
	SnapshotSummaryLifecycleStateActive   SnapshotSummaryLifecycleStateEnum = "ACTIVE"
	SnapshotSummaryLifecycleStateDeleting SnapshotSummaryLifecycleStateEnum = "DELETING"
	SnapshotSummaryLifecycleStateDeleted  SnapshotSummaryLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for SnapshotSummaryLifecycleStateEnum

func GetMappingSnapshotSummaryLifecycleStateEnum

func GetMappingSnapshotSummaryLifecycleStateEnum(val string) (SnapshotSummaryLifecycleStateEnum, bool)

GetMappingSnapshotSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSnapshotSummaryLifecycleStateEnumValues

func GetSnapshotSummaryLifecycleStateEnumValues() []SnapshotSummaryLifecycleStateEnum

GetSnapshotSummaryLifecycleStateEnumValues Enumerates the set of values for SnapshotSummaryLifecycleStateEnum

type SnapshotSummarySnapshotTypeEnum added in v65.22.0

type SnapshotSummarySnapshotTypeEnum string

SnapshotSummarySnapshotTypeEnum Enum with underlying type: string

const (
	SnapshotSummarySnapshotTypeUser        SnapshotSummarySnapshotTypeEnum = "USER"
	SnapshotSummarySnapshotTypePolicyBased SnapshotSummarySnapshotTypeEnum = "POLICY_BASED"
	SnapshotSummarySnapshotTypeReplication SnapshotSummarySnapshotTypeEnum = "REPLICATION"
)

Set of constants representing the allowable values for SnapshotSummarySnapshotTypeEnum

func GetMappingSnapshotSummarySnapshotTypeEnum added in v65.22.0

func GetMappingSnapshotSummarySnapshotTypeEnum(val string) (SnapshotSummarySnapshotTypeEnum, bool)

GetMappingSnapshotSummarySnapshotTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSnapshotSummarySnapshotTypeEnumValues added in v65.22.0

func GetSnapshotSummarySnapshotTypeEnumValues() []SnapshotSummarySnapshotTypeEnum

GetSnapshotSummarySnapshotTypeEnumValues Enumerates the set of values for SnapshotSummarySnapshotTypeEnum

type SourceDetails

type SourceDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system that contains the source snapshot of a cloned file system.
	// See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm).
	ParentFileSystemId *string `mandatory:"false" json:"parentFileSystemId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the source snapshot used to create a cloned file system.
	// See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm).
	SourceSnapshotId *string `mandatory:"false" json:"sourceSnapshotId"`
}

SourceDetails Source information for the file system.

func (SourceDetails) String

func (m SourceDetails) String() string

func (SourceDetails) ValidateEnumValue

func (m SourceDetails) 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

type UnpauseFilesystemSnapshotPolicyRequest added in v65.40.0

type UnpauseFilesystemSnapshotPolicyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy.
	FilesystemSnapshotPolicyId *string `mandatory:"true" contributesTo:"path" name:"filesystemSnapshotPolicyId"`

	// 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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UnpauseFilesystemSnapshotPolicyRequest wrapper for the UnpauseFilesystemSnapshotPolicy operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UnpauseFilesystemSnapshotPolicy.go.html to see an example of how to use UnpauseFilesystemSnapshotPolicyRequest.

func (UnpauseFilesystemSnapshotPolicyRequest) BinaryRequestBody added in v65.40.0

func (request UnpauseFilesystemSnapshotPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UnpauseFilesystemSnapshotPolicyRequest) HTTPRequest added in v65.40.0

func (request UnpauseFilesystemSnapshotPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UnpauseFilesystemSnapshotPolicyRequest) RetryPolicy added in v65.40.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UnpauseFilesystemSnapshotPolicyRequest) String added in v65.40.0

func (UnpauseFilesystemSnapshotPolicyRequest) ValidateEnumValue added in v65.40.0

func (request UnpauseFilesystemSnapshotPolicyRequest) 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

type UnpauseFilesystemSnapshotPolicyResponse added in v65.40.0

type UnpauseFilesystemSnapshotPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The FilesystemSnapshotPolicy instance
	FilesystemSnapshotPolicy `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If
	// you need to contact Oracle about a particular request,
	// please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

UnpauseFilesystemSnapshotPolicyResponse wrapper for the UnpauseFilesystemSnapshotPolicy operation

func (UnpauseFilesystemSnapshotPolicyResponse) HTTPResponse added in v65.40.0

func (response UnpauseFilesystemSnapshotPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UnpauseFilesystemSnapshotPolicyResponse) String added in v65.40.0

type UpdateExportDetails

type UpdateExportDetails struct {

	// Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
	IsIdmapGroupsForSysAuth *bool `mandatory:"false" json:"isIdmapGroupsForSysAuth"`

	// New export options for the export.
	// **Setting to the empty array will make the export invisible to all clients.**
	// Leaving unset will leave the `exportOptions` unchanged.
	ExportOptions []ClientOptions `mandatory:"false" json:"exportOptions"`
}

UpdateExportDetails Details for updating the export.

func (UpdateExportDetails) String

func (m UpdateExportDetails) String() string

func (UpdateExportDetails) ValidateEnumValue

func (m UpdateExportDetails) 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

type UpdateExportRequest

type UpdateExportRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export.
	ExportId *string `mandatory:"true" contributesTo:"path" name:"exportId"`

	// Details object for updating an export.
	UpdateExportDetails `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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateExportRequest wrapper for the UpdateExport operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateExport.go.html to see an example of how to use UpdateExportRequest.

func (UpdateExportRequest) BinaryRequestBody

func (request UpdateExportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateExportRequest) HTTPRequest

func (request UpdateExportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateExportRequest) RetryPolicy

func (request UpdateExportRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateExportRequest) String

func (request UpdateExportRequest) String() string

func (UpdateExportRequest) ValidateEnumValue

func (request UpdateExportRequest) 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

type UpdateExportResponse

type UpdateExportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Export instance
	Export `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"`
}

UpdateExportResponse wrapper for the UpdateExport operation

func (UpdateExportResponse) HTTPResponse

func (response UpdateExportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateExportResponse) String

func (response UpdateExportResponse) String() string

type UpdateExportSetDetails

type UpdateExportSetDetails struct {

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My export set`
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Controls the maximum `tbytes`, `fbytes`, and `abytes`
	// values reported by `NFS FSSTAT` calls through any associated
	// mount targets. This is an advanced feature. For most
	// applications, use the default value. The
	// `tbytes` value reported by `FSSTAT` will be
	// `maxFsStatBytes`. The value of `fbytes` and `abytes` will be
	// `maxFsStatBytes` minus the metered size of the file
	// system. If the metered size is larger than `maxFsStatBytes`,
	// then `fbytes` and `abytes` will both be '0'.
	MaxFsStatBytes *int64 `mandatory:"false" json:"maxFsStatBytes"`

	// Controls the maximum `ffiles`, `ffiles`, and `afiles`
	// values reported by `NFS FSSTAT` calls through any associated
	// mount targets. This is an advanced feature. For most
	// applications, use the default value. The
	// `tfiles` value reported by `FSSTAT` will be
	// `maxFsStatFiles`. The value of `ffiles` and `afiles` will be
	// `maxFsStatFiles` minus the metered size of the file
	// system. If the metered size is larger than `maxFsStatFiles`,
	// then `ffiles` and `afiles` will both be '0'.
	MaxFsStatFiles *int64 `mandatory:"false" json:"maxFsStatFiles"`
}

UpdateExportSetDetails Details for updating the export set.

func (UpdateExportSetDetails) String

func (m UpdateExportSetDetails) String() string

func (UpdateExportSetDetails) ValidateEnumValue

func (m UpdateExportSetDetails) 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

type UpdateExportSetRequest

type UpdateExportSetRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export set.
	ExportSetId *string `mandatory:"true" contributesTo:"path" name:"exportSetId"`

	// Details object for updating an export set.
	UpdateExportSetDetails `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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateExportSetRequest wrapper for the UpdateExportSet operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateExportSet.go.html to see an example of how to use UpdateExportSetRequest.

func (UpdateExportSetRequest) BinaryRequestBody

func (request UpdateExportSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateExportSetRequest) HTTPRequest

func (request UpdateExportSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateExportSetRequest) RetryPolicy

func (request UpdateExportSetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateExportSetRequest) String

func (request UpdateExportSetRequest) String() string

func (UpdateExportSetRequest) ValidateEnumValue

func (request UpdateExportSetRequest) 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

type UpdateExportSetResponse

type UpdateExportSetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ExportSet instance
	ExportSet `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"`
}

UpdateExportSetResponse wrapper for the UpdateExportSet operation

func (UpdateExportSetResponse) HTTPResponse

func (response UpdateExportSetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateExportSetResponse) String

func (response UpdateExportSetResponse) String() string

type UpdateFileSystemDetails

type UpdateFileSystemDetails struct {

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My file system`
	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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Key Management master encryption key to associate with the specified file system.
	// If this value is empty, the Update operation will remove the associated key, if there is one, from the file system.
	// (The file system will continue to be encrypted, but with an encryption key managed by Oracle.)
	// If updating to a new Key Management key, the old key must remain enabled so that files previously encrypted continue
	// to be accessible. For more information, see Overview of Key Management (https://docs.cloud.oracle.com/Content/KeyManagement/Concepts/keyoverview.htm).
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated file system snapshot policy, which
	// controls the frequency of snapshot creation and retention period of the taken snapshots.
	// If string is empty, the policy reference (if any) would be removed.
	FilesystemSnapshotPolicyId *string `mandatory:"false" json:"filesystemSnapshotPolicyId"`
}

UpdateFileSystemDetails Details for updating the file system.

func (UpdateFileSystemDetails) String

func (m UpdateFileSystemDetails) String() string

func (UpdateFileSystemDetails) ValidateEnumValue

func (m UpdateFileSystemDetails) 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

type UpdateFileSystemRequest

type UpdateFileSystemRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system.
	FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"`

	// Details object for updating a file system.
	UpdateFileSystemDetails `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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateFileSystemRequest wrapper for the UpdateFileSystem operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateFileSystem.go.html to see an example of how to use UpdateFileSystemRequest.

func (UpdateFileSystemRequest) BinaryRequestBody

func (request UpdateFileSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateFileSystemRequest) HTTPRequest

func (request UpdateFileSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateFileSystemRequest) RetryPolicy

func (request UpdateFileSystemRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateFileSystemRequest) String

func (request UpdateFileSystemRequest) String() string

func (UpdateFileSystemRequest) ValidateEnumValue

func (request UpdateFileSystemRequest) 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

type UpdateFileSystemResponse

type UpdateFileSystemResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The FileSystem instance
	FileSystem `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"`
}

UpdateFileSystemResponse wrapper for the UpdateFileSystem operation

func (UpdateFileSystemResponse) HTTPResponse

func (response UpdateFileSystemResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateFileSystemResponse) String

func (response UpdateFileSystemResponse) String() string

type UpdateFilesystemSnapshotPolicyDetails added in v65.40.0

type UpdateFilesystemSnapshotPolicyDetails struct {

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `policy1`
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The prefix to apply to all snapshots created by this policy.
	// Example: `acme`
	PolicyPrefix *string `mandatory:"false" json:"policyPrefix"`

	// The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy.
	// If using the CLI, provide the schedule as a list of JSON strings, with the list wrapped in
	// quotation marks, i.e.
	// “`
	//   --schedules '[{"timeZone":"UTC","period":"DAILY","hourOfDay":18},{"timeZone":"UTC","period":"HOURLY"}]'
	// “`
	Schedules []SnapshotSchedule `mandatory:"false" json:"schedules"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateFilesystemSnapshotPolicyDetails Details for updating the file system snapshot policy.

func (UpdateFilesystemSnapshotPolicyDetails) String added in v65.40.0

func (UpdateFilesystemSnapshotPolicyDetails) ValidateEnumValue added in v65.40.0

func (m UpdateFilesystemSnapshotPolicyDetails) 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

type UpdateFilesystemSnapshotPolicyRequest added in v65.40.0

type UpdateFilesystemSnapshotPolicyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy.
	FilesystemSnapshotPolicyId *string `mandatory:"true" contributesTo:"path" name:"filesystemSnapshotPolicyId"`

	// Details object for updating a file system snapshot policy.
	UpdateFilesystemSnapshotPolicyDetails `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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateFilesystemSnapshotPolicyRequest wrapper for the UpdateFilesystemSnapshotPolicy operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateFilesystemSnapshotPolicy.go.html to see an example of how to use UpdateFilesystemSnapshotPolicyRequest.

func (UpdateFilesystemSnapshotPolicyRequest) BinaryRequestBody added in v65.40.0

func (request UpdateFilesystemSnapshotPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateFilesystemSnapshotPolicyRequest) HTTPRequest added in v65.40.0

func (request UpdateFilesystemSnapshotPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateFilesystemSnapshotPolicyRequest) RetryPolicy added in v65.40.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateFilesystemSnapshotPolicyRequest) String added in v65.40.0

func (UpdateFilesystemSnapshotPolicyRequest) ValidateEnumValue added in v65.40.0

func (request UpdateFilesystemSnapshotPolicyRequest) 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

type UpdateFilesystemSnapshotPolicyResponse added in v65.40.0

type UpdateFilesystemSnapshotPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The FilesystemSnapshotPolicy instance
	FilesystemSnapshotPolicy `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"`
}

UpdateFilesystemSnapshotPolicyResponse wrapper for the UpdateFilesystemSnapshotPolicy operation

func (UpdateFilesystemSnapshotPolicyResponse) HTTPResponse added in v65.40.0

func (response UpdateFilesystemSnapshotPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateFilesystemSnapshotPolicyResponse) String added in v65.40.0

type UpdateKerberosDetails added in v65.44.0

type UpdateKerberosDetails struct {

	// Kerberos realm that this mount target will join.
	KerberosRealm *string `mandatory:"false" json:"kerberosRealm"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the keytab secret in the Vault.
	KeyTabSecretId *string `mandatory:"false" json:"keyTabSecretId"`

	// Version of the keytab secret in the Vault to use.
	CurrentKeyTabSecretVersion *int `mandatory:"false" json:"currentKeyTabSecretVersion"`

	// Version of the keytab secert in the Vault to use as a backup.
	BackupKeyTabSecretVersion *int `mandatory:"false" json:"backupKeyTabSecretVersion"`

	// Specifies whether to enable or disable Kerberos.
	IsKerberosEnabled *bool `mandatory:"false" json:"isKerberosEnabled"`
}

UpdateKerberosDetails Kerberos details needed to update configuration.

func (UpdateKerberosDetails) String added in v65.44.0

func (m UpdateKerberosDetails) String() string

func (UpdateKerberosDetails) ValidateEnumValue added in v65.44.0

func (m UpdateKerberosDetails) 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

type UpdateLdapIdmapDetails added in v65.44.0

type UpdateLdapIdmapDetails struct {

	// Schema type of the LDAP account.
	SchemaType UpdateLdapIdmapDetailsSchemaTypeEnum `mandatory:"false" json:"schemaType,omitempty"`

	// The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
	CacheRefreshIntervalSeconds *int `mandatory:"false" json:"cacheRefreshIntervalSeconds"`

	// The maximum amount of time the mount target is allowed to use a cached entry.
	CacheLifetimeSeconds *int `mandatory:"false" json:"cacheLifetimeSeconds"`

	// The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
	NegativeCacheLifetimeSeconds *int `mandatory:"false" json:"negativeCacheLifetimeSeconds"`

	// All LDAP searches are recursive starting at this user.
	// Example: `CN=User,DC=domain,DC=com`
	UserSearchBase *string `mandatory:"false" json:"userSearchBase"`

	// All LDAP searches are recursive starting at this group.
	// Example: `CN=Group,DC=domain,DC=com`
	GroupSearchBase *string `mandatory:"false" json:"groupSearchBase"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the first connector to use to communicate with the LDAP server.
	OutboundConnector1Id *string `mandatory:"false" json:"outboundConnector1Id"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the second connector to use to communicate with the LDAP server.
	OutboundConnector2Id *string `mandatory:"false" json:"outboundConnector2Id"`
}

UpdateLdapIdmapDetails Mount target details about the LDAP ID mapping configuration.

func (UpdateLdapIdmapDetails) String added in v65.44.0

func (m UpdateLdapIdmapDetails) String() string

func (UpdateLdapIdmapDetails) ValidateEnumValue added in v65.44.0

func (m UpdateLdapIdmapDetails) 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

type UpdateLdapIdmapDetailsSchemaTypeEnum added in v65.44.0

type UpdateLdapIdmapDetailsSchemaTypeEnum string

UpdateLdapIdmapDetailsSchemaTypeEnum Enum with underlying type: string

const (
	UpdateLdapIdmapDetailsSchemaTypeRfc2307 UpdateLdapIdmapDetailsSchemaTypeEnum = "RFC2307"
)

Set of constants representing the allowable values for UpdateLdapIdmapDetailsSchemaTypeEnum

func GetMappingUpdateLdapIdmapDetailsSchemaTypeEnum added in v65.44.0

func GetMappingUpdateLdapIdmapDetailsSchemaTypeEnum(val string) (UpdateLdapIdmapDetailsSchemaTypeEnum, bool)

GetMappingUpdateLdapIdmapDetailsSchemaTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateLdapIdmapDetailsSchemaTypeEnumValues added in v65.44.0

func GetUpdateLdapIdmapDetailsSchemaTypeEnumValues() []UpdateLdapIdmapDetailsSchemaTypeEnum

GetUpdateLdapIdmapDetailsSchemaTypeEnumValues Enumerates the set of values for UpdateLdapIdmapDetailsSchemaTypeEnum

type UpdateMountTargetDetails

type UpdateMountTargetDetails struct {

	// A user-friendly name. Does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My mount target`
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The method used to map a Unix UID to secondary groups, if any.
	IdmapType MountTargetIdmapTypeEnum `mandatory:"false" json:"idmapType,omitempty"`

	LdapIdmap *UpdateLdapIdmapDetails `mandatory:"false" json:"ldapIdmap"`

	// A list of Network Security Group OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with this mount target.
	// A maximum of 5 is allowed.
	// Setting this to an empty array after the list is created removes the mount target from all NSGs.
	// For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm).
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	Kerberos *UpdateKerberosDetails `mandatory:"false" json:"kerberos"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateMountTargetDetails Details for updating the mount target.

func (UpdateMountTargetDetails) String

func (m UpdateMountTargetDetails) String() string

func (UpdateMountTargetDetails) ValidateEnumValue

func (m UpdateMountTargetDetails) 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

type UpdateMountTargetRequest

type UpdateMountTargetRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target.
	MountTargetId *string `mandatory:"true" contributesTo:"path" name:"mountTargetId"`

	// Details object for updating a mount target.
	UpdateMountTargetDetails `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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateMountTargetRequest wrapper for the UpdateMountTarget operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateMountTarget.go.html to see an example of how to use UpdateMountTargetRequest.

func (UpdateMountTargetRequest) BinaryRequestBody

func (request UpdateMountTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateMountTargetRequest) HTTPRequest

func (request UpdateMountTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateMountTargetRequest) RetryPolicy

func (request UpdateMountTargetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateMountTargetRequest) String

func (request UpdateMountTargetRequest) String() string

func (UpdateMountTargetRequest) ValidateEnumValue

func (request UpdateMountTargetRequest) 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

type UpdateMountTargetResponse

type UpdateMountTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The MountTarget instance
	MountTarget `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"`
}

UpdateMountTargetResponse wrapper for the UpdateMountTarget operation

func (UpdateMountTargetResponse) HTTPResponse

func (response UpdateMountTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateMountTargetResponse) String

func (response UpdateMountTargetResponse) String() string

type UpdateOutboundConnectorDetails added in v65.44.0

type UpdateOutboundConnectorDetails struct {

	// A user-friendly name. Does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// Example: `My Outbound Connector`
	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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateOutboundConnectorDetails Details for updating the outbound connector.

func (UpdateOutboundConnectorDetails) String added in v65.44.0

func (UpdateOutboundConnectorDetails) ValidateEnumValue added in v65.44.0

func (m UpdateOutboundConnectorDetails) 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

type UpdateOutboundConnectorRequest added in v65.44.0

type UpdateOutboundConnectorRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector.
	OutboundConnectorId *string `mandatory:"true" contributesTo:"path" name:"outboundConnectorId"`

	// Details object for updating a outbound connector.
	UpdateOutboundConnectorDetails `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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateOutboundConnectorRequest wrapper for the UpdateOutboundConnector operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateOutboundConnector.go.html to see an example of how to use UpdateOutboundConnectorRequest.

func (UpdateOutboundConnectorRequest) BinaryRequestBody added in v65.44.0

func (request UpdateOutboundConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateOutboundConnectorRequest) HTTPRequest added in v65.44.0

func (request UpdateOutboundConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateOutboundConnectorRequest) RetryPolicy added in v65.44.0

func (request UpdateOutboundConnectorRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateOutboundConnectorRequest) String added in v65.44.0

func (request UpdateOutboundConnectorRequest) String() string

func (UpdateOutboundConnectorRequest) ValidateEnumValue added in v65.44.0

func (request UpdateOutboundConnectorRequest) 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

type UpdateOutboundConnectorResponse added in v65.44.0

type UpdateOutboundConnectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OutboundConnector instance
	OutboundConnector `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"`
}

UpdateOutboundConnectorResponse wrapper for the UpdateOutboundConnector operation

func (UpdateOutboundConnectorResponse) HTTPResponse added in v65.44.0

func (response UpdateOutboundConnectorResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateOutboundConnectorResponse) String added in v65.44.0

func (response UpdateOutboundConnectorResponse) String() string

type UpdateReplicationDetails added in v65.22.0

type UpdateReplicationDetails struct {

	// A user-friendly name. Does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	// A replication target will also updated with the same `displayName`.
	// Example: `My replication`
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Duration in minutes between replication snapshots.
	ReplicationInterval *int64 `mandatory:"false" json:"replicationInterval"`

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateReplicationDetails Details for updating the replication and replication target.

func (UpdateReplicationDetails) String added in v65.22.0

func (m UpdateReplicationDetails) String() string

func (UpdateReplicationDetails) ValidateEnumValue added in v65.22.0

func (m UpdateReplicationDetails) 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

type UpdateReplicationRequest added in v65.22.0

type UpdateReplicationRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication.
	ReplicationId *string `mandatory:"true" contributesTo:"path" name:"replicationId"`

	// Details object for updating a replication.
	UpdateReplicationDetails `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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateReplicationRequest wrapper for the UpdateReplication operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateReplication.go.html to see an example of how to use UpdateReplicationRequest.

func (UpdateReplicationRequest) BinaryRequestBody added in v65.22.0

func (request UpdateReplicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateReplicationRequest) HTTPRequest added in v65.22.0

func (request UpdateReplicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateReplicationRequest) RetryPolicy added in v65.22.0

func (request UpdateReplicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateReplicationRequest) String added in v65.22.0

func (request UpdateReplicationRequest) String() string

func (UpdateReplicationRequest) ValidateEnumValue added in v65.22.0

func (request UpdateReplicationRequest) 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

type UpdateReplicationResponse added in v65.22.0

type UpdateReplicationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Replication instance
	Replication `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"`
}

UpdateReplicationResponse wrapper for the UpdateReplication operation

func (UpdateReplicationResponse) HTTPResponse added in v65.22.0

func (response UpdateReplicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateReplicationResponse) String added in v65.22.0

func (response UpdateReplicationResponse) String() string

type UpdateSnapshotDetails

type UpdateSnapshotDetails struct {

	// 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The UTC time when this snapshot will be deleted. To remove the expiration time, set this field to the minimum date-time value using Date(0).
	// Example: `Thu Jan 01 01:00:00 GMT 1970`
	ExpirationTime *common.SDKTime `mandatory:"false" json:"expirationTime"`
}

UpdateSnapshotDetails Details for updating the snapshot.

func (UpdateSnapshotDetails) String

func (m UpdateSnapshotDetails) String() string

func (UpdateSnapshotDetails) ValidateEnumValue

func (m UpdateSnapshotDetails) 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

type UpdateSnapshotRequest

type UpdateSnapshotRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot.
	SnapshotId *string `mandatory:"true" contributesTo:"path" name:"snapshotId"`

	// Details object for updating a snapshot.
	UpdateSnapshotDetails `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 identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateSnapshotRequest wrapper for the UpdateSnapshot operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateSnapshot.go.html to see an example of how to use UpdateSnapshotRequest.

func (UpdateSnapshotRequest) BinaryRequestBody

func (request UpdateSnapshotRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSnapshotRequest) HTTPRequest

func (request UpdateSnapshotRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSnapshotRequest) RetryPolicy

func (request UpdateSnapshotRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSnapshotRequest) String

func (request UpdateSnapshotRequest) String() string

func (UpdateSnapshotRequest) ValidateEnumValue

func (request UpdateSnapshotRequest) 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

type UpdateSnapshotResponse

type UpdateSnapshotResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Snapshot instance
	Snapshot `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"`
}

UpdateSnapshotResponse wrapper for the UpdateSnapshot operation

func (UpdateSnapshotResponse) HTTPResponse

func (response UpdateSnapshotResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSnapshotResponse) String

func (response UpdateSnapshotResponse) String() string

type ValidateKeyTabsDetails added in v65.44.0

type ValidateKeyTabsDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target whose keytabs are to be validated.
	MountTargetId *string `mandatory:"false" json:"mountTargetId"`

	KeyTabSecretDetails *KeyTabSecretDetails `mandatory:"false" json:"keyTabSecretDetails"`
}

ValidateKeyTabsDetails Validate keytabs request details.

func (ValidateKeyTabsDetails) String added in v65.44.0

func (m ValidateKeyTabsDetails) String() string

func (ValidateKeyTabsDetails) ValidateEnumValue added in v65.44.0

func (m ValidateKeyTabsDetails) 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

type ValidateKeyTabsRequest added in v65.44.0

type ValidateKeyTabsRequest struct {

	// Keytab secret details or mount target ID for validating keytabs.
	ValidateKeyTabsDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ValidateKeyTabsRequest wrapper for the ValidateKeyTabs operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ValidateKeyTabs.go.html to see an example of how to use ValidateKeyTabsRequest.

func (ValidateKeyTabsRequest) BinaryRequestBody added in v65.44.0

func (request ValidateKeyTabsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ValidateKeyTabsRequest) HTTPRequest added in v65.44.0

func (request ValidateKeyTabsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ValidateKeyTabsRequest) RetryPolicy added in v65.44.0

func (request ValidateKeyTabsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ValidateKeyTabsRequest) String added in v65.44.0

func (request ValidateKeyTabsRequest) String() string

func (ValidateKeyTabsRequest) ValidateEnumValue added in v65.44.0

func (request ValidateKeyTabsRequest) 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

type ValidateKeyTabsResponse added in v65.44.0

type ValidateKeyTabsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ValidateKeyTabsResponseDetails instance
	ValidateKeyTabsResponseDetails `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ValidateKeyTabsResponse wrapper for the ValidateKeyTabs operation

func (ValidateKeyTabsResponse) HTTPResponse added in v65.44.0

func (response ValidateKeyTabsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ValidateKeyTabsResponse) String added in v65.44.0

func (response ValidateKeyTabsResponse) String() string

type ValidateKeyTabsResponseDetails added in v65.44.0

type ValidateKeyTabsResponseDetails struct {

	// An array of keytab entries (principal, encryptionType, keyVersionNumber).
	CurrentKerberosKeytabEntries []KerberosKeytabEntry `mandatory:"true" json:"currentKerberosKeytabEntries"`

	// An array of keytab entries (principal, encryptionType, keyVersionNumber).
	BackupKerberosKeytabEntries []KerberosKeytabEntry `mandatory:"false" json:"backupKerberosKeytabEntries"`
}

ValidateKeyTabsResponseDetails Validate keytabs response details.

func (ValidateKeyTabsResponseDetails) String added in v65.44.0

func (ValidateKeyTabsResponseDetails) ValidateEnumValue added in v65.44.0

func (m ValidateKeyTabsResponseDetails) 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL