Documentation
¶
Overview ¶
Module files.v4.operations of Nutanix Files APIs
Index ¶
- type ADServerSpec
- type AdDnsFailoverApiResponse
- type AdDnsFailoverSpec
- type FailoverApiResponse
- type FailoverSpec
- type FailoverType
- type FileDetail
- type GetReplicationJobApiResponse
- type JobStatus
- type ListReplicationJobsApiResponse
- type MigrationJob
- type MigrationStatusInfo
- type OneOfAdDnsFailoverApiResponseData
- type OneOfFailoverApiResponseData
- type OneOfGetReplicationJobApiResponseData
- func (p *OneOfGetReplicationJobApiResponseData) GetValue() interface{}
- func (p *OneOfGetReplicationJobApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfGetReplicationJobApiResponseData) SetValue(v interface{}) error
- func (p *OneOfGetReplicationJobApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfListReplicationJobsApiResponseData
- func (p *OneOfListReplicationJobsApiResponseData) GetValue() interface{}
- func (p *OneOfListReplicationJobsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfListReplicationJobsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfListReplicationJobsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfResumeReplicationApiResponseData
- func (p *OneOfResumeReplicationApiResponseData) GetValue() interface{}
- func (p *OneOfResumeReplicationApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfResumeReplicationApiResponseData) SetValue(v interface{}) error
- func (p *OneOfResumeReplicationApiResponseData) UnmarshalJSON(b []byte) error
- type ReplicationDirection
- type ReplicationJob
- type ResumeReplicationApiResponse
- type ResumeReplicationSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADServerSpec ¶
type ADServerSpec struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Credential *import1.Credential `json:"credential"` /* Use a specific domain controller for the join-domain operation in a multi-DC active directory setup. By default, AFS discovers a site local domain controller for join-domain operation. The preferred domain controller cannot be an IP address. It has to be FQDN (example: dc_name.dom.companyname.com) */ PreferredDomainController *string `json:"preferredDomainController,omitempty"` }
Configuration to access the file server active directory server.
func NewADServerSpec ¶
func NewADServerSpec() *ADServerSpec
func (*ADServerSpec) MarshalJSON ¶
func (p *ADServerSpec) MarshalJSON() ([]byte, error)
type AdDnsFailoverApiResponse ¶
type AdDnsFailoverApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfAdDnsFailoverApiResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /files/v4.0/operations/$actions/ad-dns-failover Post operation
func NewAdDnsFailoverApiResponse ¶
func NewAdDnsFailoverApiResponse() *AdDnsFailoverApiResponse
func (*AdDnsFailoverApiResponse) GetData ¶
func (p *AdDnsFailoverApiResponse) GetData() interface{}
func (*AdDnsFailoverApiResponse) SetData ¶
func (p *AdDnsFailoverApiResponse) SetData(v interface{}) error
type AdDnsFailoverSpec ¶
type AdDnsFailoverSpec struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` ActiveDirectory *ADServerSpec `json:"activeDirectory,omitempty"` Dns *import1.DnsRecordSpec `json:"dns,omitempty"` /* The external identifier of the primary file server for the replication. */ PrimaryFileServerExtId *string `json:"primaryFileServerExtId"` /* The external identifier of the secondary file server for the replication. */ SecondaryFileServerExtId *string `json:"secondaryFileServerExtId"` Type *FailoverType `json:"type,omitempty"` }
func NewAdDnsFailoverSpec ¶
func NewAdDnsFailoverSpec() *AdDnsFailoverSpec
type FailoverApiResponse ¶
type FailoverApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfFailoverApiResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /files/v4.0/operations/$actions/failover Post operation
func NewFailoverApiResponse ¶
func NewFailoverApiResponse() *FailoverApiResponse
func (*FailoverApiResponse) GetData ¶
func (p *FailoverApiResponse) GetData() interface{}
func (*FailoverApiResponse) SetData ¶
func (p *FailoverApiResponse) SetData(v interface{}) error
type FailoverSpec ¶
type FailoverSpec struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` ActiveDirectory *ADServerSpec `json:"activeDirectory,omitempty"` Dns *import1.DnsRecordSpec `json:"dns,omitempty"` /* The external identifier of the primary file server for the replication. */ PrimaryFileServerExtId *string `json:"primaryFileServerExtId"` /* The external identifier of the secondary file server for the replication. */ SecondaryFileServerExtId *string `json:"secondaryFileServerExtId"` Type *FailoverType `json:"type,omitempty"` }
Failover model.
func NewFailoverSpec ¶
func NewFailoverSpec() *FailoverSpec
func (*FailoverSpec) MarshalJSON ¶
func (p *FailoverSpec) MarshalJSON() ([]byte, error)
type FailoverType ¶
type FailoverType int
Failover type value.
const ( FAILOVERTYPE_UNKNOWN FailoverType = 0 FAILOVERTYPE_REDACTED FailoverType = 1 FAILOVERTYPE_PLANNED FailoverType = 2 FAILOVERTYPE_UNPLANNED FailoverType = 3 FAILOVERTYPE_FAILBACK FailoverType = 4 )
func (*FailoverType) MarshalJSON ¶
func (e *FailoverType) MarshalJSON() ([]byte, error)
func (FailoverType) Ref ¶
func (e FailoverType) Ref() *FailoverType
func (*FailoverType) UnmarshalJSON ¶
func (e *FailoverType) UnmarshalJSON(b []byte) error
type FileDetail ¶
func NewFileDetail ¶
func NewFileDetail() *FileDetail
type GetReplicationJobApiResponse ¶
type GetReplicationJobApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetReplicationJobApiResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /files/v4.0/operations/replication-jobs/{extId} Get operation
func NewGetReplicationJobApiResponse ¶
func NewGetReplicationJobApiResponse() *GetReplicationJobApiResponse
func (*GetReplicationJobApiResponse) GetData ¶
func (p *GetReplicationJobApiResponse) GetData() interface{}
func (*GetReplicationJobApiResponse) SetData ¶
func (p *GetReplicationJobApiResponse) SetData(v interface{}) error
type JobStatus ¶
type JobStatus int
Status of each job.
func (*JobStatus) MarshalJSON ¶
func (*JobStatus) UnmarshalJSON ¶
type ListReplicationJobsApiResponse ¶
type ListReplicationJobsApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfListReplicationJobsApiResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /files/v4.0/operations/replication-jobs Get operation
func NewListReplicationJobsApiResponse ¶
func NewListReplicationJobsApiResponse() *ListReplicationJobsApiResponse
func (*ListReplicationJobsApiResponse) GetData ¶
func (p *ListReplicationJobsApiResponse) GetData() interface{}
func (*ListReplicationJobsApiResponse) SetData ¶
func (p *ListReplicationJobsApiResponse) SetData(v interface{}) error
type MigrationJob ¶
type MigrationJob struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* The average data throughput for the migration sub-plan in bytes/sec. */ AverageDataThroughputBps *float32 `json:"averageDataThroughputBps,omitempty"` /* The average entities throughput for migration sub-plan in entities/sec. */ AverageEntitiesThroughput *int64 `json:"averageEntitiesThroughput,omitempty"` /* The average average file scan rate for migration sub-plan in files/sec. */ AverageFilesScannedPerSecond *int64 `json:"averageFilesScannedPerSecond,omitempty"` /* End time for the migration sub-plan. */ EndTime *time.Time `json:"endTime,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /* The iteration number for the migration sub-plan. */ IterationNumber *int64 `json:"iterationNumber,omitempty"` /* A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource. */ Links []import4.ApiLink `json:"links,omitempty"` /* The number of migration sub-plan deleted directories. */ NumberOfDirectoriesDeleted *int64 `json:"numberOfDirectoriesDeleted,omitempty"` /* The number of the transferred failed directories for the migration sub-plan. */ NumberOfDirectoriesFailed *int64 `json:"numberOfDirectoriesFailed,omitempty"` /* The number of the transferred directories for the migration sub-plan. */ NumberOfDirectoriesTransferred *int64 `json:"numberOfDirectoriesTransferred,omitempty"` /* The number of migration sub-plan deleted files. */ NumberOfFilesDeleted *int64 `json:"numberOfFilesDeleted,omitempty"` /* The number of transferred failed files for the migration sub-plan. */ NumberOfFilesFailed *int64 `json:"numberOfFilesFailed,omitempty"` /* The number of migration sub-plan files scanned. */ NumberOfFilesScanned *int64 `json:"numberOfFilesScanned,omitempty"` /* The number of migration sub-plan files skipped. */ NumberOfFilesSkipped *int64 `json:"numberOfFilesSkipped,omitempty"` /* The number of the transferred files for the migration sub-plan. */ NumberOfFilesTransferred *int64 `json:"numberOfFilesTransferred,omitempty"` /* The number of migration sub-plan deleted streams. */ NumberOfStreamsDeleted *int64 `json:"numberOfStreamsDeleted,omitempty"` /* The number of migration sub-plan failed streams. */ NumberOfStreamsFailed *int64 `json:"numberOfStreamsFailed,omitempty"` /* The number of migration sub-plan streams transferred. */ NumberOfStreamsTransferred *int64 `json:"numberOfStreamsTransferred,omitempty"` OverallStatus *MigrationStatusInfo `json:"overallStatus,omitempty"` /* Start time for the migration sub-plan. */ StartTime *time.Time `json:"startTime,omitempty"` /* List of sub-job status. When a migration leader's job moves to running state, it creates node jobs on each node of the file server, and the status of the node job can be different than the leader job, for example: one node job can be queued, but another node job can be in a running state, but to maintain consistency, we cannot change the status of the leader job based on node jobs. */ SubJobsStatus []MigrationStatusInfo `json:"subJobsStatus,omitempty"` /* The extId of migration sub-plan. */ SubPlanExtId *string `json:"subPlanExtId,omitempty"` /* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` /* The skipped bytes for the migration sub-plan. */ TotalDataSkippedBytes *int64 `json:"totalDataSkippedBytes,omitempty"` /* The transferred bytes for the migration sub-plan. */ TotalDataTransferredBytes *int64 `json:"totalDataTransferredBytes,omitempty"` /* The number of migration sub-plan bytes metadata transferred. */ TotalMetadataTransferredBytes *int64 `json:"totalMetadataTransferredBytes,omitempty"` }
Migration plan job details.
func NewMigrationJob ¶
func NewMigrationJob() *MigrationJob
type MigrationStatusInfo ¶
type MigrationStatusInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Status *import1.MigrationStatus `json:"status"` /* Indicates the status message of the migration sub-plan. It updates after each migration step, informing the current migration sub-plan stage. This is a read-only field. */ StatusMsg *string `json:"statusMsg"` }
Status information details
func NewMigrationStatusInfo ¶
func NewMigrationStatusInfo() *MigrationStatusInfo
func (*MigrationStatusInfo) MarshalJSON ¶
func (p *MigrationStatusInfo) MarshalJSON() ([]byte, error)
type OneOfAdDnsFailoverApiResponseData ¶
type OneOfAdDnsFailoverApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfAdDnsFailoverApiResponseData ¶
func NewOneOfAdDnsFailoverApiResponseData() *OneOfAdDnsFailoverApiResponseData
func (*OneOfAdDnsFailoverApiResponseData) GetValue ¶
func (p *OneOfAdDnsFailoverApiResponseData) GetValue() interface{}
func (*OneOfAdDnsFailoverApiResponseData) MarshalJSON ¶
func (p *OneOfAdDnsFailoverApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfAdDnsFailoverApiResponseData) SetValue ¶
func (p *OneOfAdDnsFailoverApiResponseData) SetValue(v interface{}) error
func (*OneOfAdDnsFailoverApiResponseData) UnmarshalJSON ¶
func (p *OneOfAdDnsFailoverApiResponseData) UnmarshalJSON(b []byte) error
type OneOfFailoverApiResponseData ¶
type OneOfFailoverApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfFailoverApiResponseData ¶
func NewOneOfFailoverApiResponseData() *OneOfFailoverApiResponseData
func (*OneOfFailoverApiResponseData) GetValue ¶
func (p *OneOfFailoverApiResponseData) GetValue() interface{}
func (*OneOfFailoverApiResponseData) MarshalJSON ¶
func (p *OneOfFailoverApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfFailoverApiResponseData) SetValue ¶
func (p *OneOfFailoverApiResponseData) SetValue(v interface{}) error
func (*OneOfFailoverApiResponseData) UnmarshalJSON ¶
func (p *OneOfFailoverApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetReplicationJobApiResponseData ¶
type OneOfGetReplicationJobApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetReplicationJobApiResponseData ¶
func NewOneOfGetReplicationJobApiResponseData() *OneOfGetReplicationJobApiResponseData
func (*OneOfGetReplicationJobApiResponseData) GetValue ¶
func (p *OneOfGetReplicationJobApiResponseData) GetValue() interface{}
func (*OneOfGetReplicationJobApiResponseData) MarshalJSON ¶
func (p *OneOfGetReplicationJobApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetReplicationJobApiResponseData) SetValue ¶
func (p *OneOfGetReplicationJobApiResponseData) SetValue(v interface{}) error
func (*OneOfGetReplicationJobApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetReplicationJobApiResponseData) UnmarshalJSON(b []byte) error
type OneOfListReplicationJobsApiResponseData ¶
type OneOfListReplicationJobsApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListReplicationJobsApiResponseData ¶
func NewOneOfListReplicationJobsApiResponseData() *OneOfListReplicationJobsApiResponseData
func (*OneOfListReplicationJobsApiResponseData) GetValue ¶
func (p *OneOfListReplicationJobsApiResponseData) GetValue() interface{}
func (*OneOfListReplicationJobsApiResponseData) MarshalJSON ¶
func (p *OneOfListReplicationJobsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListReplicationJobsApiResponseData) SetValue ¶
func (p *OneOfListReplicationJobsApiResponseData) SetValue(v interface{}) error
func (*OneOfListReplicationJobsApiResponseData) UnmarshalJSON ¶
func (p *OneOfListReplicationJobsApiResponseData) UnmarshalJSON(b []byte) error
type OneOfResumeReplicationApiResponseData ¶
type OneOfResumeReplicationApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfResumeReplicationApiResponseData ¶
func NewOneOfResumeReplicationApiResponseData() *OneOfResumeReplicationApiResponseData
func (*OneOfResumeReplicationApiResponseData) GetValue ¶
func (p *OneOfResumeReplicationApiResponseData) GetValue() interface{}
func (*OneOfResumeReplicationApiResponseData) MarshalJSON ¶
func (p *OneOfResumeReplicationApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfResumeReplicationApiResponseData) SetValue ¶
func (p *OneOfResumeReplicationApiResponseData) SetValue(v interface{}) error
func (*OneOfResumeReplicationApiResponseData) UnmarshalJSON ¶
func (p *OneOfResumeReplicationApiResponseData) UnmarshalJSON(b []byte) error
type ReplicationDirection ¶
type ReplicationDirection int
Post failover, resume replication direction enum value.
const ( REPLICATIONDIRECTION_UNKNOWN ReplicationDirection = 0 REPLICATIONDIRECTION_REDACTED ReplicationDirection = 1 REPLICATIONDIRECTION_PRIMARY_TO_SECONDARY ReplicationDirection = 2 REPLICATIONDIRECTION_SECONDARY_TO_PRIMARY ReplicationDirection = 3 )
func (ReplicationDirection) GetName ¶
func (e ReplicationDirection) GetName() string
Returns the name of the enum
func (*ReplicationDirection) MarshalJSON ¶
func (e *ReplicationDirection) MarshalJSON() ([]byte, error)
func (ReplicationDirection) Ref ¶
func (e ReplicationDirection) Ref() *ReplicationDirection
func (*ReplicationDirection) UnmarshalJSON ¶
func (e *ReplicationDirection) UnmarshalJSON(b []byte) error
type ReplicationJob ¶
type ReplicationJob struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Average throughput for the replication job in Bytes per second. */ AverageThroughputBps *int64 `json:"averageThroughputBps,omitempty"` /* Actual bytes transferred for the replication job. */ BytesTransferred *int64 `json:"bytesTransferred,omitempty"` /* End time for the replication job in ISO format. */ EndTime *time.Time `json:"endTime,omitempty"` /* Estimated bytes for the replication job. */ EstimatedBytes *int64 `json:"estimatedBytes,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /* Delete propagation set/unset the replication job. If delete propagation is enabled, the deletes on source will be propagated to target */ IsDeletePropagationEnabled *bool `json:"isDeletePropagationEnabled,omitempty"` /* A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource. */ Links []import4.ApiLink `json:"links,omitempty"` /* Number of Estimated files for the replication job. */ NumberOfEstimatedFiles *int64 `json:"numberOfEstimatedFiles,omitempty"` /* Number of Files failed for the replication job. */ NumberOfFilesFailed *int64 `json:"numberOfFilesFailed,omitempty"` /* Number of Actual Files transferred for the replication job. */ NumberOfFilesTransferred *int64 `json:"numberOfFilesTransferred,omitempty"` /* External identifier of the policy. */ PolicyExtId *string `json:"policyExtId,omitempty"` /* Progress (%) of the replication job. */ ProgressPercentage *int64 `json:"progressPercentage,omitempty"` ReplicationSummary *import1.ReplicationSummary `json:"replicationSummary,omitempty"` /* The external identifier of the primary file server for the replication. */ SourceFileServerExtId *string `json:"sourceFileServerExtId,omitempty"` /* The external identifier of the source mount target. Example:9c1e537d-6777-4c22-5d41-ddd0c3337aa9. */ SourceMountTargetExtId *string `json:"sourceMountTargetExtId,omitempty"` /* User provided source path for the replication job. */ SourceMountTargetPath *string `json:"sourceMountTargetPath,omitempty"` /* Start time for the replication job in ISO format. */ StartTime *time.Time `json:"startTime,omitempty"` Status *JobStatus `json:"status,omitempty"` /* Status Message for the replication job. If the job failed or completed with errors, this field provides the reason for the failure. If the job succeeded, this field provides the success message - Replication is complete. */ StatusMessage *string `json:"statusMessage,omitempty"` /* The external identifier of the secondary file server for the replication. */ TargetFileServerExtId *string `json:"targetFileServerExtId,omitempty"` /* The external identifier of the target mount target. Example:9c1e537d-6777-4c22-5d41-ddd0c3337aa9. */ TargetMountTargetExtId *string `json:"targetMountTargetExtId,omitempty"` /* User provided target path for the replication job. */ TargetMountTargetPath *string `json:"targetMountTargetPath,omitempty"` /* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
Replication job details.
func NewReplicationJob ¶
func NewReplicationJob() *ReplicationJob
type ResumeReplicationApiResponse ¶
type ResumeReplicationApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfResumeReplicationApiResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /files/v4.0/operations/$actions/resume-replication Post operation
func NewResumeReplicationApiResponse ¶
func NewResumeReplicationApiResponse() *ResumeReplicationApiResponse
func (*ResumeReplicationApiResponse) GetData ¶
func (p *ResumeReplicationApiResponse) GetData() interface{}
func (*ResumeReplicationApiResponse) SetData ¶
func (p *ResumeReplicationApiResponse) SetData(v interface{}) error
type ResumeReplicationSpec ¶
type ResumeReplicationSpec struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` ActiveDirectory *ADServerSpec `json:"activeDirectory,omitempty"` Dns *import1.DnsRecordSpec `json:"dns,omitempty"` /* The external identifier of the primary file server for the replication. */ PrimaryFileServerExtId *string `json:"primaryFileServerExtId"` ReplicationDirection *ReplicationDirection `json:"replicationDirection,omitempty"` /* The external identifier of the secondary file server for the replication. */ SecondaryFileServerExtId *string `json:"secondaryFileServerExtId"` Type *FailoverType `json:"type,omitempty"` }
This contains the parameters to resume mount target level replication after performing failover.
func NewResumeReplicationSpec ¶
func NewResumeReplicationSpec() *ResumeReplicationSpec
func (*ResumeReplicationSpec) MarshalJSON ¶
func (p *ResumeReplicationSpec) MarshalJSON() ([]byte, error)